diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 40f557b9ef..9e3326deeb 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -11221,7 +11221,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" ], @@ -29393,6 +29393,197 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "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 when cap is enabled", + "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" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, + "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", @@ -38574,6 +38765,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": [ @@ -38736,6 +38931,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } } }, @@ -39143,7 +39343,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -63937,7 +64137,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", @@ -63961,8 +64161,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64005,8 +64212,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64033,8 +64247,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64061,8 +64282,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64095,8 +64323,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -71042,6 +71277,305 @@ } } }, + "/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", + "nullable": true, + "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", @@ -79305,6 +79839,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } }, "required": [ @@ -125207,6 +125746,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "example": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -141795,6 +142343,26 @@ }, "nullable": true }, + "git-user": { + "title": "Git User", + "description": "Metaproperties for Git author/committer information.", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "\"Chris Wanstrath\"" + }, + "email": { + "type": "string", + "example": "\"chris@ozmm.org\"" + }, + "date": { + "type": "string", + "format": "date-time", + "example": "\"2007-10-29T02:42:39.000-07:00\"" + } + } + }, "verification": { "title": "Verification", "type": "object", @@ -152539,6 +153107,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index dcc1219513..8e09d49885 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -8324,7 +8324,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. @@ -21885,6 +21885,147 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration 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 view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + 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 when cap is enabled + 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" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs + 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 @@ -28502,6 +28643,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: @@ -28630,6 +28775,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true examples: default: value: @@ -28932,6 +29082,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -47217,10 +47369,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 @@ -47239,8 +47390,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: @@ -47265,8 +47421,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -47284,8 +47445,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -47303,8 +47469,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -47326,8 +47497,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" @@ -52217,6 +52393,229 @@ 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 + nullable: true + 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 @@ -58154,6 +58553,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true required: - name examples: @@ -91643,6 +92047,12 @@ components: type: string example: - example.com + storage: + type: array + items: + type: string + example: + - example.com actions: type: array items: @@ -104702,6 +105112,21 @@ components: format: date-time example: '"2007-10-29T02:42:39.000-07:00"' nullable: true + git-user: + title: Git User + description: Metaproperties for Git author/committer information. + type: object + properties: + name: + type: string + example: '"Chris Wanstrath"' + email: + type: string + example: '"chris@ozmm.org"' + date: + type: string + format: date-time + example: '"2007-10-29T02:42:39.000-07:00"' verification: title: Verification type: object @@ -112882,6 +113307,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/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index 7ec4bc2d6c..f6b0aa81f8 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -11221,7 +11221,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" ], @@ -29346,6 +29346,197 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "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 when cap is enabled", + "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" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, + "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", @@ -38527,6 +38718,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": [ @@ -38689,6 +38884,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } } }, @@ -39096,7 +39296,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -63854,7 +64054,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", @@ -63878,8 +64078,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -63922,8 +64129,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -63950,8 +64164,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -63978,8 +64199,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64012,8 +64240,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -70959,6 +71194,305 @@ } } }, + "/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", + "nullable": true, + "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", @@ -79222,6 +79756,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } }, "required": [ @@ -124719,6 +125258,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "example": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -141226,6 +141774,26 @@ }, "nullable": true }, + "git-user": { + "title": "Git User", + "description": "Metaproperties for Git author/committer information.", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "\"Chris Wanstrath\"" + }, + "email": { + "type": "string", + "example": "\"chris@ozmm.org\"" + }, + "date": { + "type": "string", + "format": "date-time", + "example": "\"2007-10-29T02:42:39.000-07:00\"" + } + } + }, "verification": { "title": "Verification", "type": "object", @@ -151954,6 +152522,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/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index e24a6824a5..82e4d721bc 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -8324,7 +8324,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. @@ -21850,6 +21850,147 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration 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 view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + 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 when cap is enabled + 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" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs + 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 @@ -28465,6 +28606,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: @@ -28593,6 +28738,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true examples: default: value: @@ -28895,6 +29045,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -47145,10 +47297,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 @@ -47167,8 +47318,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: @@ -47193,8 +47349,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -47212,8 +47373,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -47231,8 +47397,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -47254,8 +47425,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" @@ -52145,6 +52321,229 @@ 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 + nullable: true + 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 @@ -58082,6 +58481,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true required: - name examples: @@ -91258,6 +91662,12 @@ components: type: string example: - example.com + storage: + type: array + items: + type: string + example: + - example.com actions: type: array items: @@ -104250,6 +104660,21 @@ components: format: date-time example: '"2007-10-29T02:42:39.000-07:00"' nullable: true + git-user: + title: Git User + description: Metaproperties for Git author/committer information. + type: object + properties: + name: + type: string + example: '"Chris Wanstrath"' + email: + type: string + example: '"chris@ozmm.org"' + date: + type: string + format: date-time + example: '"2007-10-29T02:42:39.000-07:00"' verification: title: Verification type: object @@ -112417,6 +112842,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 38af8ee8ea..81079c6ba2 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -11235,7 +11235,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" ], @@ -29510,6 +29510,197 @@ } } }, + "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "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 when cap is enabled", + "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" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, + "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", @@ -38766,6 +38957,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": [ @@ -38948,6 +39143,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } } }, @@ -39355,7 +39555,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -64225,7 +64425,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", @@ -64249,8 +64449,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64293,8 +64500,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64321,8 +64535,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64349,8 +64570,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -64383,8 +64611,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -71349,6 +71584,305 @@ } } }, + "/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", + "nullable": true, + "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", @@ -79612,6 +80146,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } }, "required": [ @@ -125936,6 +126475,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "example": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -142920,6 +143468,26 @@ }, "nullable": true }, + "git-user": { + "title": "Git User", + "description": "Metaproperties for Git author/committer information.", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "\"Chris Wanstrath\"" + }, + "email": { + "type": "string", + "example": "\"chris@ozmm.org\"" + }, + "date": { + "type": "string", + "format": "date-time", + "example": "\"2007-10-29T02:42:39.000-07:00\"" + } + } + }, "verification": { "title": "Verification", "type": "object", @@ -153854,6 +154422,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index d8db2a935d..38c7544306 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -8332,7 +8332,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. @@ -21947,6 +21947,147 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration 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 view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + 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 when cap is enabled + 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" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs + 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 @@ -28604,6 +28745,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: @@ -28743,6 +28888,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true examples: default: value: @@ -29045,6 +29195,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -47395,10 +47547,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 @@ -47417,8 +47568,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: @@ -47443,8 +47599,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -47462,8 +47623,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -47481,8 +47647,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -47504,8 +47675,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" @@ -52405,6 +52581,229 @@ 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 + nullable: true + 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 @@ -58342,6 +58741,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true required: - name examples: @@ -92121,6 +92525,12 @@ components: type: string example: - example.com + storage: + type: array + items: + type: string + example: + - example.com actions: type: array items: @@ -105501,6 +105911,21 @@ components: format: date-time example: '"2007-10-29T02:42:39.000-07:00"' nullable: true + git-user: + title: Git User + description: Metaproperties for Git author/committer information. + type: object + properties: + name: + type: string + example: '"Chris Wanstrath"' + email: + type: string + example: '"chris@ozmm.org"' + date: + type: string + format: date-time + example: '"2007-10-29T02:42:39.000-07:00"' verification: title: Verification type: object @@ -113835,6 +114260,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 0b0d689ddf..d207fe3a90 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -61528,7 +61528,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" ], @@ -61743,6 +61743,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "example": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -151444,17 +151453,17 @@ } } }, - "/orgs/{org}/invitations": { + "/orgs/{org}/interaction-limits/pulls/creation-cap": { "get": { - "summary": "List pending organization invitations", - "description": "The return hash contains a `role` field which refers to the Organization\nInvitation role and will be one of the following values: `direct_member`, `admin`,\n`billing_manager`, or `hiring_manager`. If the invitee is not a GitHub\nmember, the `login` field in the return hash will be `null`.", + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", "tags": [ - "orgs" + "interactions" ], - "operationId": "orgs/list-pending-invitations", + "operationId": "interactions/get-pull-request-creation-cap-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/members#list-pending-organization-invitations" + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" }, "parameters": [ { @@ -151465,56 +151474,6 @@ "schema": { "type": "string" } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "role", - "description": "Filter invitations by their member role.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "admin", - "direct_member", - "billing_manager", - "hiring_manager" - ], - "default": "all" - } - }, - { - "name": "invitation_source", - "description": "Filter invitations by their invitation source.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "member", - "scim" - ], - "default": "all" - } } ], "responses": { @@ -151523,243 +151482,686 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "title": "Organization Invitation", - "description": "Organization Invitation", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "login": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "role": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "failed_at": { - "type": "string", - "nullable": true - }, - "failed_reason": { - "type": "string", - "nullable": true - }, - "inviter": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "team_count": { - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\"" - }, - "invitation_teams_url": { - "type": "string", - "example": "\"https://api.github.com/organizations/16/invitations/1/teams\"" - }, - "invitation_source": { - "type": "string", - "example": "\"member\"" - } + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" }, - "required": [ - "id", - "login", - "email", - "role", - "created_at", - "inviter", - "team_count", - "invitation_teams_url", - "node_id" - ] - } + "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": { - "value": [ - { - "id": 1, - "login": "monalisa", - "node_id": "MDQ6VXNlcjE=", - "email": "octocat@github.com", - "role": "direct_member", - "created_at": "2016-11-30T06:46:10-08:00", - "failed_at": "", - "failed_reason": "", - "inviter": { - "login": "other_user", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/other_user_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/other_user", - "html_url": "https://github.com/other_user", - "followers_url": "https://api.github.com/users/other_user/followers", - "following_url": "https://api.github.com/users/other_user/following{/other_user}", - "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", - "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", - "organizations_url": "https://api.github.com/users/other_user/orgs", - "repos_url": "https://api.github.com/users/other_user/repos", - "events_url": "https://api.github.com/users/other_user/events{/privacy}", - "received_events_url": "https://api.github.com/users/other_user/received_events", - "type": "User", - "site_admin": false - }, - "team_count": 2, - "invitation_teams_url": "https://api.github.com/organizations/2/invitations/1/teams", - "invitation_source": "member" - } - ] + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } } } } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } } }, - "404": { - "description": "Resource not found", + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/invitations": { + "get": { + "summary": "List pending organization invitations", + "description": "The return hash contains a `role` field which refers to the Organization\nInvitation role and will be one of the following values: `direct_member`, `admin`,\n`billing_manager`, or `hiring_manager`. If the invitee is not a GitHub\nmember, the `login` field in the return hash will be `null`.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-pending-invitations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/members#list-pending-organization-invitations" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "role", + "description": "Filter invitations by their member role.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "admin", + "direct_member", + "billing_manager", + "hiring_manager" + ], + "default": "all" + } + }, + { + "name": "invitation_source", + "description": "Filter invitations by their invitation source.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "member", + "scim" + ], + "default": "all" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Invitation", + "description": "Organization Invitation", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string", + "nullable": true + }, + "role": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "failed_at": { + "type": "string", + "nullable": true + }, + "failed_reason": { + "type": "string", + "nullable": true + }, + "inviter": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "team_count": { + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\"" + }, + "invitation_teams_url": { + "type": "string", + "example": "\"https://api.github.com/organizations/16/invitations/1/teams\"" + }, + "invitation_source": { + "type": "string", + "example": "\"member\"" + } + }, + "required": [ + "id", + "login", + "email", + "role", + "created_at", + "inviter", + "team_count", + "invitation_teams_url", + "node_id" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "login": "monalisa", + "node_id": "MDQ6VXNlcjE=", + "email": "octocat@github.com", + "role": "direct_member", + "created_at": "2016-11-30T06:46:10-08:00", + "failed_at": "", + "failed_reason": "", + "inviter": { + "login": "other_user", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/other_user", + "html_url": "https://github.com/other_user", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "repos_url": "https://api.github.com/users/other_user/repos", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "type": "User", + "site_admin": false + }, + "team_count": 2, + "invitation_teams_url": "https://api.github.com/organizations/2/invitations/1/teams", + "invitation_source": "member" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -231738,6 +232140,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": [ @@ -233130,6 +233536,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } } }, @@ -235307,7 +235718,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -431111,7 +431522,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", @@ -431135,8 +431546,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -431179,8 +431597,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -431207,8 +431632,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -431235,8 +431667,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -431269,8 +431708,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -552186,200 +552632,1165 @@ "schema": { "type": "integer" } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "nullable": true, - "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", + "nullable": true, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "nullable": true, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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." } } } @@ -552439,13 +553850,6 @@ } } } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" } } }, @@ -626050,6 +627454,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } }, "required": [ diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index fc14a20054..c573aaa56d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1030,7 +1030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &718 + - &719 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14323,7 +14323,7 @@ paths: properties: action: type: string - discussion: &815 + discussion: &816 title: Discussion description: A Discussion in a repository. type: object @@ -15068,7 +15068,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &730 + sub_issues_summary: &731 title: Sub-issues Summary type: object properties: @@ -15195,7 +15195,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &731 + issue_dependencies_summary: &732 title: Issue Dependencies Summary type: object properties: @@ -16008,7 +16008,7 @@ paths: type: string release: allOf: - - &642 + - &643 title: Release description: A release. type: object @@ -16079,7 +16079,7 @@ paths: author: *4 assets: type: array - items: &643 + items: &644 title: Release Asset description: Data related to a release. type: object @@ -16670,7 +16670,7 @@ paths: url: type: string format: uri - user: &739 + user: &740 title: Public User description: Public User type: object @@ -19734,7 +19734,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. @@ -19888,6 +19888,12 @@ paths: type: string example: - example.com + storage: + type: array + items: + type: string + example: + - example.com actions: type: array items: @@ -22544,7 +22550,7 @@ paths: parameters: - *79 - *125 - - &791 + - &792 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 @@ -22656,7 +22662,7 @@ paths: - *125 - *126 - *127 - - &792 + - &793 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22664,7 +22670,7 @@ paths: schema: type: string - *130 - - &793 + - &794 name: sku description: The SKU to query for usage. in: query @@ -30543,12 +30549,12 @@ paths: required: - subject_digests examples: - default: &772 + default: &773 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &773 + withPredicateType: &774 value: subject_digests: - sha256:abc123 @@ -30606,7 +30612,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &774 + default: &775 value: attestations_subject_digests: - sha256:abc: @@ -40097,6 +40103,140 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration 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 view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - *79 + 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 when cap is enabled + value: + enabled: true + max_open_pull_requests: 1 + '403': *29 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs + 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: + - *79 + 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': *29 + '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 @@ -42616,7 +42756,7 @@ paths: parameters: - *79 - *270 - - &755 + - &756 name: repo_name description: repo_name parameter in: path @@ -43657,7 +43797,7 @@ paths: - nuget - container - *79 - - &756 + - &757 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43698,7 +43838,7 @@ paths: default: *277 '403': *29 '401': *25 - '400': &758 + '400': &759 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45795,7 +45935,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &846 + properties: &847 id: type: number description: The unique identifier of the status update. @@ -45843,7 +45983,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &847 + required: &848 - id - node_id - created_at @@ -46700,7 +46840,7 @@ paths: - updated_at - project_url examples: - default: &778 + default: &779 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46877,7 +47017,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &779 + items: &780 type: object properties: name: @@ -46914,7 +47054,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &780 + iteration_configuration: &781 type: object description: The configuration for iteration fields. properties: @@ -46964,7 +47104,7 @@ paths: value: name: Due date data_type: date - single_select_field: &781 + single_select_field: &782 summary: Create a single select field value: name: Priority @@ -46991,7 +47131,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &782 + iteration_field: &783 summary: Create an iteration field value: name: Sprint @@ -47017,7 +47157,7 @@ paths: application/json: schema: *298 examples: - text_field: &783 + text_field: &784 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47026,7 +47166,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: &784 + number_field: &785 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47035,7 +47175,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: &785 + date_field: &786 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47044,7 +47184,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: &786 + single_select_field: &787 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47078,7 +47218,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &787 + iteration_field: &788 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47124,7 +47264,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *294 - - &788 + - &789 name: field_id description: The unique identifier of the field. in: path @@ -47139,7 +47279,7 @@ paths: application/json: schema: *298 examples: - default: &789 + default: &790 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48336,7 +48476,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &769 + schema: &770 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48513,7 +48653,7 @@ paths: parameters: - *294 - *79 - - &790 + - &791 name: view_number description: The number that identifies the project view. in: path @@ -50480,7 +50620,7 @@ paths: - *79 - *17 - *19 - - &651 + - &652 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50762,7 +50902,7 @@ paths: - repository_property rules: type: array - items: &652 + items: &653 title: Repository Rule type: object description: A repository rule. @@ -50824,7 +50964,7 @@ paths: type: string enum: - required_linear_history - - &649 + - &650 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51463,7 +51603,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &650 + - &651 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -51775,7 +51915,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *79 - - &653 + - &654 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 @@ -51790,7 +51930,7 @@ paths: in: query schema: type: string - - &654 + - &655 name: time_period description: |- The time period to filter by. @@ -51806,14 +51946,14 @@ paths: - week - month default: day - - &655 + - &656 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 - - &656 + - &657 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51826,7 +51966,7 @@ paths: - bypass - all default: all - - &657 + - &658 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. @@ -51849,7 +51989,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &659 title: Rule Suites description: Response type: array @@ -51904,7 +52044,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &659 + default: &660 value: - id: 21 actor_id: 12 @@ -51948,7 +52088,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *79 - - &660 + - &661 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51964,7 +52104,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 title: Rule Suite description: Response type: object @@ -52063,7 +52203,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &662 + default: &663 value: id: 21 actor_id: 12 @@ -52310,7 +52450,7 @@ paths: type: string format: date-time examples: - default: &664 + default: &665 value: - version_id: 3 actor: @@ -52363,7 +52503,7 @@ paths: description: Response content: application/json: - schema: &665 + schema: &666 allOf: - *343 - type: object @@ -52435,7 +52575,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *79 - - &666 + - &667 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52446,7 +52586,7 @@ paths: enum: - open - resolved - - &667 + - &668 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52456,7 +52596,7 @@ paths: required: false schema: type: string - - &668 + - &669 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52467,7 +52607,7 @@ paths: required: false schema: type: string - - &669 + - &670 name: exclude_providers in: query description: |- @@ -52478,7 +52618,7 @@ paths: required: false schema: type: string - - &670 + - &671 name: providers in: query description: |- @@ -52489,7 +52629,7 @@ paths: required: false schema: type: string - - &671 + - &672 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52498,7 +52638,7 @@ paths: required: false schema: type: string - - &672 + - &673 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52517,7 +52657,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &673 + - &674 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. @@ -52532,7 +52672,7 @@ paths: - *63 - *19 - *17 - - &674 + - &675 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 @@ -52542,7 +52682,7 @@ paths: required: false schema: type: string - - &675 + - &676 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 @@ -52552,7 +52692,7 @@ paths: required: false schema: type: string - - &676 + - &677 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52561,7 +52701,7 @@ paths: required: false schema: type: string - - &677 + - &678 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52570,7 +52710,7 @@ paths: schema: type: boolean default: false - - &678 + - &679 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52579,7 +52719,7 @@ paths: schema: type: boolean default: false - - &679 + - &680 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52588,7 +52728,7 @@ paths: schema: type: boolean default: false - - &680 + - &681 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52599,7 +52739,7 @@ paths: required: false schema: type: boolean - - &681 + - &682 name: included_metadata in: query description: |- @@ -52610,7 +52750,7 @@ paths: required: false schema: type: string - - &682 + - &683 name: owner_email_hash in: query description: |- @@ -52648,14 +52788,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &683 + state: &684 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: &684 + resolution: &685 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52772,8 +52912,8 @@ paths: pull request. ' - oneOf: &685 - - &687 + oneOf: &686 + - &688 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52831,7 +52971,7 @@ paths: - blob_url - commit_sha - commit_url - - &688 + - &689 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. @@ -52886,7 +53026,7 @@ paths: - page_url - commit_sha - commit_url - - &689 + - &690 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52906,7 +53046,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &690 + - &691 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52926,7 +53066,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &691 + - &692 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52946,7 +53086,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &692 + - &693 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52960,7 +53100,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &693 + - &694 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52974,7 +53114,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &694 + - &695 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52988,7 +53128,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &695 + - &696 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. @@ -53008,7 +53148,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &696 + - &697 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. @@ -53028,7 +53168,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &697 + - &698 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. @@ -53048,7 +53188,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &698 + - &699 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. @@ -53068,7 +53208,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &699 + - &700 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 request. @@ -53320,7 +53460,7 @@ paths: subcategory: custom-patterns parameters: - *79 - - &700 + - &701 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -53331,7 +53471,7 @@ paths: enum: - published - unpublished - - &701 + - &702 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -53342,7 +53482,7 @@ paths: enum: - enabled - disabled - - &702 + - &703 name: sort description: The property to sort the results by. in: query @@ -53436,7 +53576,7 @@ paths: - state - push_protection_enabled examples: - default: &703 + default: &704 value: - id: 1 name: Example Custom Pattern @@ -53499,7 +53639,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &704 + items: &705 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -53536,7 +53676,7 @@ paths: items: type: string examples: - default: &705 + default: &706 value: patterns: - name: Example Custom Pattern @@ -53562,7 +53702,7 @@ paths: description: The list of successfully created custom patterns. items: *344 examples: - default: &706 + default: &707 value: created_patterns: - id: 1 @@ -53614,7 +53754,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &707 + items: &708 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -53668,7 +53808,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &708 + items: &709 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -53691,7 +53831,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &709 + default: &710 value: patterns: - pattern_id: 2 @@ -53737,7 +53877,7 @@ paths: required: true content: application/json: - schema: &710 + schema: &711 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`, @@ -53778,7 +53918,7 @@ paths: type: string custom_pattern_version: *345 examples: - default: &711 + default: &712 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -53795,7 +53935,7 @@ paths: application/json: schema: *344 examples: - default: &712 + default: &713 value: id: 1 name: Example Custom Pattern @@ -54099,7 +54239,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 description: A repository security advisory. type: object properties: @@ -54390,7 +54530,7 @@ paths: - private_fork additionalProperties: false examples: - default: &717 + default: &718 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55616,6 +55756,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: @@ -56109,6 +56253,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true examples: default: value: @@ -56243,7 +56392,7 @@ paths: application/json: schema: type: array - items: &733 + items: &734 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 @@ -56362,7 +56511,7 @@ paths: - type - url examples: - default: &734 + default: &735 value: - login: octocat id: 1 @@ -56448,7 +56597,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &735 + response-if-user-is-a-team-maintainer: &736 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56513,7 +56662,7 @@ paths: application/json: schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: &736 + response-if-users-membership-with-team-is-now-pending: &737 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56567,6 +56716,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -56627,7 +56778,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &737 + schema: &738 title: Team Repository description: A team's access to a repository. type: object @@ -57284,7 +57435,7 @@ paths: type: array items: *211 examples: - response-if-child-teams-exist: &738 + response-if-child-teams-exist: &739 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62933,7 +63084,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &809 + properties: &810 url: type: string format: uri @@ -63018,7 +63169,7 @@ paths: nullable: true properties: *84 required: *85 - required: &810 + required: &811 - id - node_id - sha @@ -69113,7 +69264,7 @@ paths: check. type: array items: *94 - deployment: &802 + deployment: &803 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70025,7 +70176,7 @@ paths: type: string format: date-time nullable: true - head_commit: &830 + head_commit: &831 title: Simple Commit description: A commit. type: object @@ -74771,14 +74922,14 @@ paths: type: integer machines: type: array - items: &744 + items: &745 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *481 required: *482 examples: - default: &745 + default: &746 value: total_count: 2 machines: @@ -77924,7 +78075,7 @@ paths: application/json: schema: type: array - items: &722 + items: &723 title: Status description: The status of a commit. type: object @@ -78893,7 +79044,7 @@ paths: - size - type - url - - &640 + - &641 title: Content File description: Content File type: object @@ -79507,7 +79658,7 @@ paths: items: type: object properties: - placeholder_id: &713 + placeholder_id: &714 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -85586,7 +85737,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &838 + last_response: &839 title: Hook Response type: object properties: @@ -86638,7 +86789,7 @@ paths: parameters: - *357 - *358 - - &767 + - &768 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87357,7 +87508,7 @@ paths: type: array items: *559 examples: - default: &760 + default: &761 value: - id: 1 repository: @@ -89937,10 +90088,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 @@ -89959,8 +90109,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: @@ -89985,8 +90140,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -90004,8 +90164,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -90023,8 +90188,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -90046,8 +90216,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: *571 '422': *15 @@ -99031,6 +99206,287 @@ 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: + - *357 + - *358 + - *633 + requestBody: + required: false + content: + application/json: + schema: + type: object + nullable: true + 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: &636 + 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: *636 + 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: *636 + 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: *636 + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': *15 + '403': *29 + '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: + - *357 + - *358 + - *633 + - 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: *636 + 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': *29 + '404': *6 "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -100251,7 +100707,7 @@ paths: application/json: schema: type: array - items: &636 + items: &637 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100490,9 +100946,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: &638 + default: &639 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100558,7 +101014,7 @@ paths: - *357 - *358 - *633 - - &637 + - &638 name: review_id description: The unique identifier of the review. in: path @@ -100570,9 +101026,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: &639 + default: &640 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100634,7 +101090,7 @@ paths: - *357 - *358 - *633 - - *637 + - *638 requestBody: required: true content: @@ -100657,7 +101113,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -100722,15 +101178,15 @@ paths: - *357 - *358 - *633 - - *637 + - *638 responses: '200': description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *638 + default: *639 '422': *7 '404': *6 x-github: @@ -100760,7 +101216,7 @@ paths: - *357 - *358 - *633 - - *637 + - *638 - *17 - *19 responses: @@ -100998,7 +101454,7 @@ paths: - *357 - *358 - *633 - - *637 + - *638 requestBody: required: true content: @@ -101026,7 +101482,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -101092,7 +101548,7 @@ paths: - *357 - *358 - *633 - - *637 + - *638 requestBody: required: true content: @@ -101127,9 +101583,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *639 + default: *640 '404': *6 '422': *7 '403': *29 @@ -101230,9 +101686,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: &641 + default: &642 value: type: file encoding: base64 @@ -101295,9 +101751,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 '422': *15 x-github: @@ -101330,7 +101786,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -101506,9 +101962,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: &646 + default: &647 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101615,7 +102071,7 @@ paths: parameters: - *357 - *358 - - &644 + - &645 name: asset_id description: The unique identifier of the asset. in: path @@ -101627,9 +102083,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &645 + default: &646 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 @@ -101682,7 +102138,7 @@ paths: parameters: - *357 - *358 - - *644 + - *645 requestBody: required: false content: @@ -101710,9 +102166,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *645 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101730,7 +102186,7 @@ paths: parameters: - *357 - *358 - - *644 + - *645 responses: '204': description: Response @@ -101848,9 +102304,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *646 + default: *647 '404': *6 x-github: githubCloudOnly: false @@ -101882,9 +102338,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *646 + default: *647 '404': *6 x-github: githubCloudOnly: false @@ -101908,7 +102364,7 @@ paths: parameters: - *357 - *358 - - &647 + - &648 name: release_id description: The unique identifier of the release. in: path @@ -101922,9 +102378,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: *642 + schema: *643 examples: - default: *646 + default: *647 '401': description: Unauthorized x-github: @@ -101950,7 +102406,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 requestBody: required: false content: @@ -102014,9 +102470,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *646 + default: *647 '404': description: Not Found if the discussion category name is invalid content: @@ -102039,7 +102495,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 responses: '204': description: Response @@ -102062,7 +102518,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 - *17 - *19 responses: @@ -102072,7 +102528,7 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: default: value: @@ -102155,7 +102611,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 - name: name in: query required: true @@ -102181,7 +102637,7 @@ paths: description: Response for successful upload content: application/json: - schema: *643 + schema: *644 examples: response-for-successful-upload: value: @@ -102238,7 +102694,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 - 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. @@ -102287,7 +102743,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 requestBody: required: true content: @@ -102350,7 +102806,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 - *564 responses: '204': @@ -102394,7 +102850,7 @@ paths: oneOf: - allOf: - *319 - - &648 + - &649 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102415,70 +102871,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *320 - - *648 + - *649 - allOf: - *321 - - *648 + - *649 - allOf: - *322 - - *648 + - *649 - allOf: + - *650 - *649 - - *648 - allOf: - *323 - - *648 + - *649 - allOf: - *324 - - *648 + - *649 - allOf: - *325 - - *648 + - *649 - allOf: - *326 - - *648 + - *649 - allOf: - *327 - - *648 + - *649 - allOf: - *328 - - *648 + - *649 - allOf: - *329 - - *648 + - *649 - allOf: - *330 - - *648 + - *649 - allOf: - *331 - - *648 + - *649 - allOf: - *332 - - *648 + - *649 - allOf: - *337 - - *648 + - *649 - allOf: - *338 - - *648 + - *649 - allOf: - *339 - - *648 + - *649 - allOf: - - *650 - - *648 + - *651 + - *649 - allOf: - *333 - - *648 + - *649 - allOf: - *334 - - *648 + - *649 - allOf: - *335 - - *648 + - *649 - allOf: - *336 - - *648 + - *649 examples: default: value: @@ -102529,7 +102985,7 @@ paths: schema: type: boolean default: true - - *651 + - *652 responses: '200': description: Response @@ -102614,7 +103070,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *652 + items: *653 required: - name - enforcement @@ -102647,7 +103103,7 @@ paths: application/json: schema: *340 examples: - default: &663 + default: &664 value: id: 42 name: super cool ruleset @@ -102697,11 +103153,11 @@ paths: parameters: - *357 - *358 - - *653 - *654 - *655 - *656 - *657 + - *658 - *17 - *19 responses: @@ -102709,9 +103165,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *659 + default: *660 '404': *6 '500': *56 x-github: @@ -102734,15 +103190,15 @@ paths: parameters: - *357 - *358 - - *660 + - *661 responses: '200': description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *6 '500': *56 x-github: @@ -102793,7 +103249,7 @@ paths: application/json: schema: *340 examples: - default: *663 + default: *664 '404': *6 '500': *56 put: @@ -102846,7 +103302,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *652 + items: *653 examples: default: value: @@ -102876,7 +103332,7 @@ paths: application/json: schema: *340 examples: - default: *663 + default: *664 '404': *6 '422': *15 '500': *56 @@ -102938,7 +103394,7 @@ paths: type: array items: *343 examples: - default: *664 + default: *665 '404': *6 '500': *56 x-github: @@ -102976,7 +103432,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: default: value: @@ -103033,7 +103489,6 @@ paths: parameters: - *357 - *358 - - *666 - *667 - *668 - *669 @@ -103041,10 +103496,10 @@ paths: - *671 - *672 - *673 + - *674 - *63 - *19 - *17 - - *674 - *675 - *676 - *677 @@ -103053,6 +103508,7 @@ paths: - *680 - *681 - *682 + - *683 responses: '200': description: Response @@ -103079,8 +103535,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *683 - resolution: *684 + state: *684 + resolution: *685 resolved_at: type: string format: date-time @@ -103186,7 +103642,7 @@ paths: pull request. ' - oneOf: *685 + oneOf: *686 nullable: true has_more_locations: type: boolean @@ -103353,13 +103809,13 @@ paths: - *357 - *358 - *457 - - *679 + - *680 responses: '200': description: Response content: application/json: - schema: &686 + schema: &687 type: object properties: number: *189 @@ -103377,8 +103833,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *683 - resolution: *684 + state: *684 + resolution: *685 resolved_at: type: string format: date-time @@ -103484,7 +103940,7 @@ paths: pull request. ' - oneOf: *685 + oneOf: *686 nullable: true has_more_locations: type: boolean @@ -103512,7 +103968,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &859 + metadata: &860 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -103595,8 +104051,8 @@ paths: schema: type: object properties: - state: *683 - resolution: *684 + state: *684 + resolution: *685 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103640,7 +104096,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: default: value: @@ -103755,7 +104211,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &861 + items: &862 type: object properties: type: @@ -103781,7 +104237,6 @@ paths: example: commit details: oneOf: - - *687 - *688 - *689 - *690 @@ -103794,6 +104249,7 @@ paths: - *697 - *698 - *699 + - *700 examples: default: value: @@ -103884,9 +104340,9 @@ paths: parameters: - *357 - *358 - - *700 - *701 - *702 + - *703 - *63 - *19 - *17 @@ -103899,7 +104355,7 @@ paths: type: array items: *344 examples: - default: *703 + default: *704 headers: Link: *71 '403': *29 @@ -103936,9 +104392,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *704 + items: *705 examples: - default: *705 + default: *706 responses: '201': description: All patterns created successfully. @@ -103952,7 +104408,7 @@ paths: description: The list of successfully created custom patterns. items: *344 examples: - default: *706 + default: *707 '400': *14 '403': *29 '404': *6 @@ -103976,7 +104432,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *707 + items: *708 delete: summary: Bulk delete repository custom patterns description: |- @@ -104010,7 +104466,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *708 + items: *709 post_delete_action: type: string description: |- @@ -104023,7 +104479,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *709 + default: *710 responses: '204': description: All patterns deleted successfully. @@ -104062,9 +104518,9 @@ paths: required: true content: application/json: - schema: *710 + schema: *711 examples: - default: *711 + default: *712 responses: '200': description: Pattern updated successfully. @@ -104072,7 +104528,7 @@ paths: application/json: schema: *344 examples: - default: *712 + default: *713 '400': *14 '403': *29 '404': *6 @@ -104103,14 +104559,14 @@ paths: schema: type: object properties: - reason: &714 + reason: &715 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *713 + placeholder_id: *714 required: - reason - placeholder_id @@ -104127,7 +104583,7 @@ paths: schema: type: object properties: - reason: *714 + reason: *715 expire_at: type: string format: date-time @@ -104189,7 +104645,7 @@ paths: properties: incremental_scans: type: array - items: &715 + items: &716 description: Information on a single scan performed by secret scanning on the repository type: object @@ -104220,15 +104676,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *715 + items: *716 backfill_scans: type: array - items: *715 + items: *716 custom_pattern_backfill_scans: type: array items: allOf: - - *715 + - *716 - type: object properties: pattern_name: @@ -104241,7 +104697,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *715 + items: *716 examples: default: value: @@ -104351,9 +104807,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *717 + default: *718 '400': *14 '404': *6 x-github: @@ -104537,9 +104993,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: &719 + default: &720 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104877,7 +105333,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: default: value: @@ -105026,15 +105482,15 @@ paths: parameters: - *357 - *358 - - *718 + - *719 responses: '200': description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: *719 + default: *720 '403': *29 '404': *6 x-github: @@ -105060,7 +105516,7 @@ paths: parameters: - *357 - *358 - - *718 + - *719 requestBody: required: true content: @@ -105219,10 +105675,10 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: *719 - add_credit: *719 + default: *720 + add_credit: *720 '403': *29 '404': *6 '422': @@ -105262,7 +105718,7 @@ paths: parameters: - *357 - *358 - - *718 + - *719 responses: '202': *40 '400': *14 @@ -105291,7 +105747,7 @@ paths: parameters: - *357 - *358 - - *718 + - *719 responses: '202': description: Response @@ -105521,7 +105977,7 @@ paths: format: date-time pull_requests: type: array - items: &720 + items: &721 title: Pull Request Stack Pull Request type: object allOf: @@ -105797,7 +106253,7 @@ paths: format: date-time pull_requests: type: array - items: *720 + items: *721 examples: default: value: @@ -105990,7 +106446,7 @@ paths: format: date-time pull_requests: type: array - items: *720 + items: *721 examples: default: value: @@ -106244,7 +106700,7 @@ paths: format: date-time pull_requests: type: array - items: *720 + items: *721 examples: default: value: @@ -106460,7 +106916,7 @@ paths: application/json: schema: type: array - items: &721 + items: &722 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106833,7 +107289,7 @@ paths: application/json: schema: type: array - items: *721 + items: *722 examples: default: value: @@ -106921,7 +107377,7 @@ paths: description: Response content: application/json: - schema: *722 + schema: *723 examples: default: value: @@ -107015,7 +107471,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &723 + schema: &724 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107110,7 +107566,7 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: default: value: @@ -107317,7 +107773,7 @@ paths: description: Response content: application/json: - schema: &724 + schema: &725 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107329,7 +107785,7 @@ paths: required: - names examples: - default: &725 + default: &726 value: names: - octocat @@ -107384,9 +107840,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *725 + default: *726 '404': *6 '422': *7 x-github: @@ -107409,7 +107865,7 @@ paths: parameters: - *357 - *358 - - &726 + - &727 name: per description: The time frame to display results for. in: query @@ -107438,7 +107894,7 @@ paths: example: 128 clones: type: array - items: &727 + items: &728 title: Traffic type: object properties: @@ -107679,7 +108135,7 @@ paths: parameters: - *357 - *358 - - *726 + - *727 responses: '200': description: Response @@ -107698,7 +108154,7 @@ paths: example: 3782 views: type: array - items: *727 + items: *728 required: - uniques - count @@ -108470,7 +108926,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &728 + text_matches: &729 title: Search Result Text Matches type: array items: @@ -108632,7 +109088,7 @@ paths: enum: - author-date - committer-date - - &729 + - &730 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 @@ -108760,7 +109216,7 @@ paths: type: number node_id: type: string - text_matches: *728 + text_matches: *729 required: - sha - node_id @@ -108952,7 +109408,7 @@ paths: - interactions - created - updated - - *729 + - *730 - *17 - *19 - name: advanced_search @@ -109066,8 +109522,8 @@ paths: description: type: string nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -109102,7 +109558,7 @@ paths: type: string format: date-time nullable: true - text_matches: *728 + text_matches: *729 pull_request: type: object properties: @@ -109384,7 +109840,7 @@ paths: enum: - created - updated - - *729 + - *730 - *17 - *19 responses: @@ -109428,7 +109884,7 @@ paths: nullable: true score: type: number - text_matches: *728 + text_matches: *729 required: - id - node_id @@ -109513,7 +109969,7 @@ paths: - forks - help-wanted-issues - updated - - *729 + - *730 - *17 - *19 responses: @@ -109761,7 +110217,7 @@ paths: - admin - pull - push - text_matches: *728 + text_matches: *729 temp_clone_token: type: string allow_merge_commit: @@ -110061,7 +110517,7 @@ paths: type: string format: uri nullable: true - text_matches: *728 + text_matches: *729 related: type: array nullable: true @@ -110252,7 +110708,7 @@ paths: - followers - repositories - joined - - *729 + - *730 - *17 - *19 responses: @@ -110356,7 +110812,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *728 + text_matches: *729 blog: type: string nullable: true @@ -110435,7 +110891,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &732 + - &733 name: team_id description: The unique identifier of the team. in: path @@ -110476,7 +110932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *732 + - *733 requestBody: required: true content: @@ -110525,6 +110981,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true required: - name examples: @@ -110576,7 +111037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *732 + - *733 responses: '204': description: Response @@ -110605,7 +111066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *732 + - *733 - *17 - *19 responses: @@ -110645,7 +111106,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *732 + - *733 - name: role description: Filters members returned by their role in the team. in: query @@ -110666,9 +111127,9 @@ paths: application/json: schema: type: array - items: *733 + items: *734 examples: - default: *734 + default: *735 headers: Link: *71 '404': *6 @@ -110696,7 +111157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *732 + - *733 - *75 responses: '204': @@ -110733,7 +111194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *732 + - *733 - *75 responses: '204': @@ -110773,7 +111234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *732 + - *733 - *75 responses: '204': @@ -110810,7 +111271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *732 + - *733 - *75 responses: '200': @@ -110819,7 +111280,7 @@ paths: application/json: schema: *356 examples: - response-if-user-is-a-team-maintainer: *735 + response-if-user-is-a-team-maintainer: *736 '404': *6 x-github: githubCloudOnly: false @@ -110852,7 +111313,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *732 + - *733 - *75 requestBody: required: false @@ -110880,7 +111341,7 @@ paths: application/json: schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: *736 + response-if-users-membership-with-team-is-now-pending: *737 '403': description: Forbidden if team synchronization is set up '422': @@ -110914,7 +111375,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *732 + - *733 - *75 responses: '204': @@ -110942,7 +111403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *732 + - *733 - *17 - *19 responses: @@ -110984,7 +111445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *732 + - *733 - *357 - *358 responses: @@ -110992,7 +111453,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *737 + schema: *738 examples: alternative-response-with-extra-repository-information: value: @@ -111143,7 +111604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *732 + - *733 - *357 - *358 requestBody: @@ -111195,7 +111656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *732 + - *733 - *357 - *358 responses: @@ -111222,7 +111683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *732 + - *733 - *17 - *19 responses: @@ -111234,7 +111695,7 @@ paths: type: array items: *211 examples: - response-if-child-teams-exist: *738 + response-if-child-teams-exist: *739 headers: Link: *71 '404': *6 @@ -111267,7 +111728,7 @@ paths: application/json: schema: oneOf: - - &740 + - &741 title: Private User description: Private User type: object @@ -111470,7 +111931,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *739 + - *740 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -111623,7 +112084,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *741 examples: default: value: @@ -112021,7 +112482,7 @@ paths: type: integer secrets: type: array - items: &741 + items: &742 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112137,7 +112598,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *742 examples: default: value: @@ -112550,7 +113011,7 @@ paths: description: Response content: application/json: - schema: &742 + schema: &743 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112591,7 +113052,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &743 + default: &744 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112636,9 +113097,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *743 examples: - default: *743 + default: *744 '404': *6 x-github: githubCloudOnly: false @@ -112675,9 +113136,9 @@ paths: type: integer machines: type: array - items: *744 + items: *745 examples: - default: *745 + default: *746 '304': *38 '500': *56 '401': *25 @@ -113616,7 +114077,7 @@ paths: type: array items: *276 examples: - default: &757 + default: &758 value: - id: 197 name: hello_docker @@ -113717,7 +114178,7 @@ paths: application/json: schema: type: array - items: &746 + items: &747 title: Email description: Email type: object @@ -113782,9 +114243,9 @@ paths: application/json: schema: type: array - items: *746 + items: *747 examples: - default: &759 + default: &760 value: - email: octocat@github.com verified: true @@ -113859,7 +114320,7 @@ paths: application/json: schema: type: array - items: *746 + items: *747 examples: default: value: @@ -114115,7 +114576,7 @@ paths: application/json: schema: type: array - items: &747 + items: &748 title: GPG Key description: A unique encryption key type: object @@ -114246,7 +114707,7 @@ paths: - subkeys - revoked examples: - default: &776 + default: &777 value: - id: 3 name: Octocat's GPG Key @@ -114331,9 +114792,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *748 examples: - default: &748 + default: &749 value: id: 3 name: Octocat's GPG Key @@ -114390,7 +114851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &749 + - &750 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114402,9 +114863,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *748 examples: - default: *748 + default: *749 '404': *6 '304': *38 '403': *29 @@ -114427,7 +114888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *749 + - *750 responses: '204': description: Response @@ -114894,7 +115355,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 title: Key description: Key type: object @@ -114995,9 +115456,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &751 + default: &752 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115036,9 +115497,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *751 + default: *752 '404': *6 '304': *38 '403': *29 @@ -115094,7 +115555,7 @@ paths: application/json: schema: type: array - items: &752 + items: &753 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115162,7 +115623,7 @@ paths: - account - plan examples: - default: &753 + default: &754 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115224,9 +115685,9 @@ paths: application/json: schema: type: array - items: *752 + items: *753 examples: - default: *753 + default: *754 headers: Link: *71 '304': *38 @@ -115469,7 +115930,7 @@ paths: application/json: schema: *267 examples: - default: &754 + default: &755 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -115518,7 +115979,7 @@ paths: application/json: schema: *267 examples: - default: *754 + default: *755 '403': *29 '404': *6 '422': *15 @@ -116243,7 +116704,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *270 - - *755 + - *756 responses: '204': description: Response @@ -116358,7 +116819,7 @@ paths: - docker - nuget - container - - *756 + - *757 - *19 - *17 responses: @@ -116370,8 +116831,8 @@ paths: type: array items: *276 examples: - default: *757 - '400': *758 + default: *758 + '400': *759 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116400,7 +116861,7 @@ paths: application/json: schema: *276 examples: - default: &777 + default: &778 value: id: 40201 name: octo-name @@ -116762,9 +117223,9 @@ paths: application/json: schema: type: array - items: *746 + items: *747 examples: - default: *759 + default: *760 headers: Link: *71 '304': *38 @@ -116877,7 +117338,7 @@ paths: type: array items: *83 examples: - default: &766 + default: &767 summary: Default response value: - id: 1296269 @@ -117223,7 +117684,7 @@ paths: type: array items: *559 examples: - default: *760 + default: *761 headers: Link: *71 '304': *38 @@ -117302,7 +117763,7 @@ paths: application/json: schema: type: array - items: &761 + items: &762 title: Social account description: Social media account type: object @@ -117317,7 +117778,7 @@ paths: - provider - url examples: - default: &762 + default: &763 value: - provider: twitter url: https://twitter.com/github @@ -117379,9 +117840,9 @@ paths: application/json: schema: type: array - items: *761 + items: *762 examples: - default: *762 + default: *763 '422': *15 '304': *38 '404': *6 @@ -117468,7 +117929,7 @@ paths: application/json: schema: type: array - items: &763 + items: &764 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117488,7 +117949,7 @@ paths: - title - created_at examples: - default: &794 + default: &795 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117552,9 +118013,9 @@ paths: description: Response content: application/json: - schema: *763 + schema: *764 examples: - default: &764 + default: &765 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117584,7 +118045,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: - - &765 + - &766 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117596,9 +118057,9 @@ paths: description: Response content: application/json: - schema: *763 + schema: *764 examples: - default: *764 + default: *765 '404': *6 '304': *38 '403': *29 @@ -117621,7 +118082,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: - - *765 + - *766 responses: '204': description: Response @@ -117650,7 +118111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &795 + - &796 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 @@ -117675,11 +118136,11 @@ paths: type: array items: *83 examples: - default-response: *766 + default-response: *767 application/vnd.github.v3.star+json: schema: type: array - items: &796 + items: &797 title: Starred Repository description: Starred Repository type: object @@ -118048,10 +118509,10 @@ paths: application/json: schema: oneOf: + - *741 - *740 - - *739 examples: - default-response: &770 + default-response: &771 summary: Default response value: login: octocat @@ -118086,7 +118547,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &771 + response-with-git-hub-plan-information: &772 summary: Response with GitHub plan information value: login: octocat @@ -118143,7 +118604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &768 + - &769 name: user_id description: The unique identifier of the user. in: path @@ -118209,7 +118670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *767 + - *768 - *17 responses: '200': @@ -118244,7 +118705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *768 + - *769 - *294 requestBody: required: true @@ -118316,7 +118777,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *769 + schema: *770 examples: table_view: summary: Response for creating a table view @@ -118368,11 +118829,11 @@ paths: application/json: schema: oneOf: + - *741 - *740 - - *739 examples: - default-response: *770 - response-with-git-hub-plan-information: *771 + default-response: *771 + response-with-git-hub-plan-information: *772 '404': *6 x-github: githubCloudOnly: false @@ -118422,8 +118883,8 @@ paths: required: - subject_digests examples: - default: *772 - withPredicateType: *773 + default: *773 + withPredicateType: *774 responses: '200': description: Response @@ -118476,7 +118937,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *774 + default: *775 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118962,7 +119423,7 @@ paths: application/json: schema: *205 examples: - default: &775 + default: &776 summary: Example response for a user copilot space value: id: 42 @@ -119063,7 +119524,7 @@ paths: application/json: schema: *205 examples: - default: *775 + default: *776 '403': *29 '404': *6 x-github: @@ -119186,7 +119647,7 @@ paths: application/json: schema: *205 examples: - default: *775 + default: *776 '403': *29 '404': *6 '422': *15 @@ -119954,7 +120415,7 @@ paths: type: array items: *276 examples: - default: *757 + default: *758 '403': *29 '401': *25 x-github: @@ -120338,9 +120799,9 @@ paths: application/json: schema: type: array - items: *747 + items: *748 examples: - default: *776 + default: *777 headers: Link: *71 x-github: @@ -120568,7 +121029,7 @@ paths: - docker - nuget - container - - *756 + - *757 - *75 - *19 - *17 @@ -120581,10 +121042,10 @@ paths: type: array items: *276 examples: - default: *757 + default: *758 '403': *29 '401': *25 - '400': *758 + '400': *759 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120614,7 +121075,7 @@ paths: application/json: schema: *276 examples: - default: *777 + default: *778 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120963,7 +121424,7 @@ paths: type: array items: *298 examples: - default: *778 + default: *779 headers: Link: *71 '304': *38 @@ -121023,7 +121484,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *779 + items: *780 required: - name - data_type @@ -121039,7 +121500,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *780 + iteration_configuration: *781 required: - name - data_type @@ -121061,8 +121522,8 @@ paths: value: name: Due date data_type: date - single_select_field: *781 - iteration_field: *782 + single_select_field: *782 + iteration_field: *783 responses: '201': description: Response @@ -121070,11 +121531,11 @@ paths: application/json: schema: *298 examples: - text_field: *783 - number_field: *784 - date_field: *785 - single_select_field: *786 - iteration_field: *787 + text_field: *784 + number_field: *785 + date_field: *786 + single_select_field: *787 + iteration_field: *788 '304': *38 '403': *29 '401': *25 @@ -121096,7 +121557,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *294 - - *788 + - *789 - *75 responses: '200': @@ -121105,7 +121566,7 @@ paths: application/json: schema: *298 examples: - default: *789 + default: *790 headers: Link: *71 '304': *38 @@ -121459,7 +121920,7 @@ paths: parameters: - *294 - *75 - - *790 + - *791 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -121998,7 +122459,7 @@ paths: parameters: - *75 - *125 - - *791 + - *792 - *127 responses: '200': @@ -122097,9 +122558,9 @@ paths: - *125 - *126 - *127 - - *792 - - *130 - *793 + - *130 + - *794 responses: '200': description: Response when getting a billing usage summary @@ -122233,9 +122694,9 @@ paths: application/json: schema: type: array - items: *761 + items: *762 examples: - default: *762 + default: *763 headers: Link: *71 x-github: @@ -122265,9 +122726,9 @@ paths: application/json: schema: type: array - items: *763 + items: *764 examples: - default: *794 + default: *795 headers: Link: *71 x-github: @@ -122292,7 +122753,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *75 - - *795 + - *796 - *63 - *17 - *19 @@ -122304,11 +122765,11 @@ paths: schema: anyOf: - type: array - items: *796 + items: *797 - type: array items: *83 examples: - default-response: *766 + default-response: *767 headers: Link: *71 x-github: @@ -122467,7 +122928,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &797 + enterprise: &798 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122525,7 +122986,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &798 + installation: &799 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122544,7 +123005,7 @@ x-webhooks: required: - id - node_id - organization: &799 + organization: &800 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122604,13 +123065,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &800 + repository: &801 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &832 + properties: &833 id: description: Unique identifier of the repository example: 42 @@ -123305,7 +123766,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &833 + required: &834 - archive_url - assignees_url - blobs_url @@ -123456,10 +123917,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -123535,11 +123996,11 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: &801 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + rule: &802 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) @@ -123762,11 +124223,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: *801 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + rule: *802 sender: *4 required: - action @@ -123949,11 +124410,11 @@ x-webhooks: - everyone required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: *801 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + rule: *802 sender: *4 required: - action @@ -124037,7 +124498,7 @@ x-webhooks: type: string enum: - completed - check_run: &803 + check_run: &804 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124128,7 +124589,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *802 + deployment: *803 details_url: example: https://example.com type: string @@ -124213,10 +124674,10 @@ x-webhooks: - output - app - pull_requests - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + installation: *799 + enterprise: *798 + organization: *800 + repository: *801 sender: *4 required: - check_run @@ -124607,11 +125068,11 @@ x-webhooks: type: string enum: - created - check_run: *803 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *804 + installation: *799 + enterprise: *798 + organization: *800 + repository: *801 sender: *4 required: - check_run @@ -125005,11 +125466,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *803 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *804 + installation: *799 + enterprise: *798 + organization: *800 + repository: *801 requested_action: description: The action requested by the user. type: object @@ -125412,11 +125873,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *803 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *804 + installation: *799 + enterprise: *798 + organization: *800 + repository: *801 sender: *4 required: - check_run @@ -126386,10 +126847,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -127088,10 +127549,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -127784,10 +128245,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -128098,20 +128559,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &804 + commit_oid: &805 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: *797 - installation: *798 - organization: *799 - ref: &805 + enterprise: *798 + installation: *799 + organization: *800 + ref: &806 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: *800 + repository: *801 sender: *4 required: - action @@ -128506,12 +128967,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *804 - enterprise: *797 - installation: *798 - organization: *799 - ref: *805 - repository: *800 + commit_oid: *805 + enterprise: *798 + installation: *799 + organization: *800 + ref: *806 + repository: *801 sender: *4 required: - action @@ -128777,12 +129238,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *804 - enterprise: *797 - installation: *798 - organization: *799 - ref: *805 - repository: *800 + commit_oid: *805 + enterprise: *798 + installation: *799 + organization: *800 + ref: *806 + repository: *801 sender: *4 required: - action @@ -129114,12 +129575,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *804 - enterprise: *797 - installation: *798 - organization: *799 - ref: *805 - repository: *800 + commit_oid: *805 + enterprise: *798 + installation: *799 + organization: *800 + ref: *806 + repository: *801 sender: *4 required: - action @@ -129393,16 +129854,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *800 + repository: *801 sender: *4 required: - action @@ -129639,12 +130100,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *804 - enterprise: *797 - installation: *798 - organization: *799 - ref: *805 - repository: *800 + commit_oid: *805 + enterprise: *798 + installation: *799 + organization: *800 + ref: *806 + repository: *801 sender: *4 required: - action @@ -129955,10 +130416,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -130213,10 +130674,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -130296,18 +130757,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *799 - pusher_type: &806 + organization: *800 + pusher_type: &807 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &807 + ref: &808 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -130317,7 +130778,7 @@ x-webhooks: enum: - tag - branch - repository: *800 + repository: *801 sender: *4 required: - ref @@ -130400,9 +130861,9 @@ x-webhooks: enum: - created definition: *306 - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -130487,9 +130948,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -130567,9 +131028,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *306 - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -130647,9 +131108,9 @@ x-webhooks: enum: - updated definition: *306 - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -130726,10 +131187,10 @@ x-webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - repository: *800 - organization: *799 + enterprise: *798 + installation: *799 + repository: *801 + organization: *800 sender: *4 new_property_values: type: array @@ -130814,18 +131275,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - pusher_type: *806 - ref: *807 + enterprise: *798 + installation: *799 + organization: *800 + pusher_type: *807 + ref: *808 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *800 + repository: *801 sender: *4 required: - ref @@ -130906,10 +131367,10 @@ x-webhooks: enum: - assignees_changed alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -130990,10 +131451,10 @@ x-webhooks: enum: - auto_dismissed alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131075,10 +131536,10 @@ x-webhooks: enum: - auto_reopened alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131160,10 +131621,10 @@ x-webhooks: enum: - created alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131243,10 +131704,10 @@ x-webhooks: enum: - dismissed alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131326,10 +131787,10 @@ x-webhooks: enum: - fixed alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131410,10 +131871,10 @@ x-webhooks: enum: - reintroduced alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131493,10 +131954,10 @@ x-webhooks: enum: - reopened alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131573,9 +132034,9 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - key: &808 + enterprise: *798 + installation: *799 + key: &809 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131611,8 +132072,8 @@ x-webhooks: - verified - created_at - read_only - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -131689,11 +132150,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - key: *808 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + key: *809 + organization: *800 + repository: *801 sender: *4 required: - action @@ -132249,12 +132710,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: &814 + workflow: &815 title: Workflow type: object nullable: true @@ -132995,15 +133456,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *809 - required: *810 + properties: *810 + required: *811 nullable: true pull_requests: type: array items: *631 - repository: *800 - organization: *799 - installation: *798 + repository: *801 + organization: *800 + installation: *799 sender: *4 responses: '200': @@ -133074,7 +133535,7 @@ x-webhooks: type: string enum: - approved - approver: &811 + approver: &812 type: object properties: avatar_url: @@ -133117,11 +133578,11 @@ x-webhooks: type: string comment: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - reviewers: &812 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + reviewers: &813 type: array items: type: object @@ -133200,7 +133661,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &813 + workflow_job_run: &814 type: object properties: conclusion: @@ -133931,18 +134392,18 @@ x-webhooks: type: string enum: - rejected - approver: *811 + approver: *812 comment: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - reviewers: *812 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + reviewers: *813 sender: *4 since: type: string - workflow_job_run: *813 + workflow_job_run: *814 workflow_job_runs: type: array items: @@ -134646,13 +135107,13 @@ x-webhooks: type: string enum: - requested - enterprise: *797 + enterprise: *798 environment: type: string - installation: *798 - organization: *799 - repository: *800 - requestor: &819 + installation: *799 + organization: *800 + repository: *801 + requestor: &820 title: User type: object nullable: true @@ -136541,12 +137002,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: *814 + workflow: *815 workflow_run: title: Deployment Workflow Run type: object @@ -137226,7 +137687,7 @@ x-webhooks: type: string enum: - answered - answer: &817 + answer: &818 type: object properties: author_association: @@ -137383,11 +137844,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137514,11 +137975,11 @@ x-webhooks: - from required: - category - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137601,11 +138062,11 @@ x-webhooks: type: string enum: - closed - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137687,7 +138148,7 @@ x-webhooks: type: string enum: - created - comment: &816 + comment: &817 type: object properties: author_association: @@ -137844,11 +138305,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137931,12 +138392,12 @@ x-webhooks: type: string enum: - deleted - comment: *816 - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + comment: *817 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138031,12 +138492,12 @@ x-webhooks: - from required: - body - comment: *816 - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + comment: *817 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138120,11 +138581,11 @@ x-webhooks: type: string enum: - created - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138206,11 +138667,11 @@ x-webhooks: type: string enum: - deleted - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138310,11 +138771,11 @@ x-webhooks: type: string required: - from - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138396,10 +138857,10 @@ x-webhooks: type: string enum: - labeled - discussion: *815 - enterprise: *797 - installation: *798 - label: &818 + discussion: *816 + enterprise: *798 + installation: *799 + label: &819 title: Label type: object properties: @@ -138431,8 +138892,8 @@ x-webhooks: - color - default - description - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138515,11 +138976,11 @@ x-webhooks: type: string enum: - locked - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138601,11 +139062,11 @@ x-webhooks: type: string enum: - pinned - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138687,11 +139148,11 @@ x-webhooks: type: string enum: - reopened - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138776,16 +139237,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *815 - new_repository: *800 + new_discussion: *816 + new_repository: *801 required: - new_discussion - new_repository - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138868,10 +139329,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *815 - old_answer: *817 - organization: *799 - repository: *800 + discussion: *816 + old_answer: *818 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138953,12 +139414,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *815 - enterprise: *797 - installation: *798 - label: *818 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -139041,11 +139502,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -139127,11 +139588,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -139204,7 +139665,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *797 + enterprise: *798 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -139864,9 +140325,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - forkee @@ -140012,9 +140473,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pages: description: The pages that were updated. type: array @@ -140051,7 +140512,7 @@ x-webhooks: - action - sha - html_url - repository: *800 + repository: *801 sender: *4 required: - pages @@ -140127,10 +140588,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: &820 + organization: *800 + repositories: &821 description: An array of repository objects that the installation can access. type: array @@ -140156,8 +140617,8 @@ x-webhooks: - name - full_name - private - repository: *800 - requester: *819 + repository: *801 + requester: *820 sender: *4 required: - action @@ -140232,11 +140693,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: *820 - repository: *800 + organization: *800 + repositories: *821 + repository: *801 requester: nullable: true sender: *4 @@ -140312,11 +140773,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: *820 - repository: *800 + organization: *800 + repositories: *821 + repository: *801 requester: nullable: true sender: *4 @@ -140392,10 +140853,10 @@ x-webhooks: type: string enum: - added - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories_added: &821 + organization: *800 + repositories_added: &822 description: An array of repository objects, which were added to the installation. type: array @@ -140441,15 +140902,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *800 - repository_selection: &822 + repository: *801 + repository_selection: &823 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *819 + requester: *820 sender: *4 required: - action @@ -140528,10 +140989,10 @@ x-webhooks: type: string enum: - removed - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories_added: *821 + organization: *800 + repositories_added: *822 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140558,9 +141019,9 @@ x-webhooks: - name - full_name - private - repository: *800 - repository_selection: *822 - requester: *819 + repository: *801 + repository_selection: *823 + requester: *820 sender: *4 required: - action @@ -140639,11 +141100,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: *820 - repository: *800 + organization: *800 + repositories: *821 + repository: *801 requester: nullable: true sender: *4 @@ -140821,10 +141282,10 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 target_type: type: string @@ -140903,11 +141364,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: *820 - repository: *800 + organization: *800 + repositories: *821 + repository: *801 requester: nullable: true sender: *4 @@ -141174,8 +141635,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141964,8 +142425,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142314,8 +142775,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -142395,7 +142856,7 @@ x-webhooks: type: string enum: - deleted - comment: &823 + comment: &824 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -142575,8 +143036,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143361,8 +143822,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143713,8 +144174,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -143794,7 +144255,7 @@ x-webhooks: type: string enum: - edited - changes: &852 + changes: &853 description: The changes to the comment. type: object properties: @@ -143806,9 +144267,9 @@ x-webhooks: type: string required: - from - comment: *823 - enterprise: *797 - installation: *798 + comment: *824 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144596,8 +145057,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144946,8 +145407,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -145028,9 +145489,9 @@ x-webhooks: type: string enum: - pinned - comment: *823 - enterprise: *797 - installation: *798 + comment: *824 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145820,8 +146281,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146172,8 +146633,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -146253,9 +146714,9 @@ x-webhooks: type: string enum: - unpinned - comment: *823 - enterprise: *797 - installation: *798 + comment: *824 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147045,8 +147506,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147397,8 +147858,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147487,9 +147948,9 @@ x-webhooks: type: number blocking_issue: *89 blocking_issue_repo: *83 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147578,9 +148039,9 @@ x-webhooks: type: number blocking_issue: *89 blocking_issue_repo: *83 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147668,9 +148129,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147759,9 +148220,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147841,10 +148302,10 @@ x-webhooks: type: string enum: - assigned - assignee: *819 - enterprise: *797 - installation: *798 - issue: &824 + assignee: *820 + enterprise: *798 + installation: *799 + issue: &825 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148636,8 +149097,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -148757,8 +149218,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -148838,8 +149299,8 @@ x-webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -149636,8 +150097,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -149892,8 +150353,8 @@ x-webhooks: required: - state - closed_at - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -149972,8 +150433,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150761,8 +151222,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -150881,8 +151342,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -150961,8 +151422,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151772,8 +152233,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -151871,7 +152332,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &825 + milestone: &826 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152009,8 +152470,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -152109,8 +152570,8 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152902,8 +153363,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -153023,9 +153484,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *818 - organization: *799 - repository: *800 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -153105,9 +153566,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *797 - installation: *798 - issue: *824 + enterprise: *798 + installation: *799 + issue: *825 issue_field: type: object description: The issue field whose value was set or updated on the @@ -153261,8 +153722,8 @@ x-webhooks: - id required: - from - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -153342,9 +153803,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *797 - installation: *798 - issue: *824 + enterprise: *798 + installation: *799 + issue: *825 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -153425,8 +153886,8 @@ x-webhooks: nullable: true required: - id - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -153506,8 +153967,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154298,8 +154759,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -154419,9 +154880,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *818 - organization: *799 - repository: *800 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -154501,8 +154962,8 @@ x-webhooks: type: string enum: - locked - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155317,8 +155778,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -155415,8 +155876,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -155495,8 +155956,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156305,8 +156766,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -156403,9 +156864,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *825 - organization: *799 - repository: *800 + milestone: *826 + organization: *800 + repository: *801 sender: *4 required: - action @@ -157268,8 +157729,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -157853,8 +158314,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158638,8 +159099,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -158766,8 +159227,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -158847,9 +159308,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *797 - installation: *798 - issue: &826 + enterprise: *798 + installation: *799 + issue: &827 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -159635,8 +160096,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -159755,8 +160216,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -159835,8 +160296,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160649,8 +161110,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -160748,8 +161209,8 @@ x-webhooks: user_view_type: type: string type: *258 - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -161618,8 +162079,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -162217,11 +162678,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *797 - installation: *798 - issue: *826 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + issue: *827 + organization: *800 + repository: *801 sender: *4 required: - action @@ -162301,12 +162762,12 @@ x-webhooks: type: string enum: - typed - enterprise: *797 - installation: *798 - issue: *824 + enterprise: *798 + installation: *799 + issue: *825 type: *258 - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -162387,7 +162848,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &855 + assignee: &856 title: User type: object nullable: true @@ -162457,11 +162918,11 @@ x-webhooks: required: - login - id - enterprise: *797 - installation: *798 - issue: *824 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + issue: *825 + organization: *800 + repository: *801 sender: *4 required: - action @@ -162540,12 +163001,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *797 - installation: *798 - issue: *824 - label: *818 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + issue: *825 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -162625,8 +163086,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163439,8 +163900,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -163537,8 +163998,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163618,11 +164079,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *797 - installation: *798 - issue: *826 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + issue: *827 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163701,12 +164162,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *797 - installation: *798 - issue: *824 + enterprise: *798 + installation: *799 + issue: *825 type: *258 - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163786,11 +164247,11 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - label: *818 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163868,11 +164329,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - label: *818 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163982,11 +164443,11 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - label: *818 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -164068,9 +164529,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: &827 + enterprise: *798 + installation: *799 + marketplace_purchase: &828 title: Marketplace Purchase type: object required: @@ -164153,8 +164614,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *799 - previous_marketplace_purchase: &828 + organization: *800 + previous_marketplace_purchase: &829 title: Marketplace Purchase type: object properties: @@ -164234,7 +164695,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *801 sender: *4 required: - action @@ -164314,10 +164775,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *827 - organization: *799 + enterprise: *798 + installation: *799 + marketplace_purchase: *828 + organization: *800 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -164400,7 +164861,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *801 sender: *4 required: - action @@ -164482,10 +164943,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *827 - organization: *799 + enterprise: *798 + installation: *799 + marketplace_purchase: *828 + organization: *800 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -164567,7 +165028,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *801 sender: *4 required: - action @@ -164648,8 +165109,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 marketplace_purchase: title: Marketplace Purchase type: object @@ -164731,9 +165192,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *799 - previous_marketplace_purchase: *828 - repository: *800 + organization: *800 + previous_marketplace_purchase: *829 + repository: *801 sender: *4 required: - action @@ -164813,12 +165274,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *827 - organization: *799 - previous_marketplace_purchase: *828 - repository: *800 + enterprise: *798 + installation: *799 + marketplace_purchase: *828 + organization: *800 + previous_marketplace_purchase: *829 + repository: *801 sender: *4 required: - action @@ -164920,11 +165381,11 @@ x-webhooks: type: string required: - to - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165024,11 +165485,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165107,11 +165568,11 @@ x-webhooks: type: string enum: - removed - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165189,11 +165650,11 @@ x-webhooks: type: string enum: - added - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165269,7 +165730,7 @@ x-webhooks: required: - login - id - team: &829 + team: &830 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -165492,11 +165953,11 @@ x-webhooks: type: string enum: - removed - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165573,7 +166034,7 @@ x-webhooks: required: - login - id - team: *829 + team: *830 required: - action - scope @@ -165655,8 +166116,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *798 - merge_group: &831 + installation: *799 + merge_group: &832 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -165675,15 +166136,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *830 + head_commit: *831 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165769,10 +166230,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *798 - merge_group: *831 - organization: *799 - repository: *800 + installation: *799 + merge_group: *832 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165845,7 +166306,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 + enterprise: *798 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165954,16 +166415,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *798 - organization: *799 + installation: *799 + organization: *800 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *832 - required: *833 + properties: *833 + required: *834 nullable: true sender: *4 required: @@ -166044,11 +166505,11 @@ x-webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - milestone: *825 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + milestone: *826 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166127,9 +166588,9 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - milestone: &834 + enterprise: *798 + installation: *799 + milestone: &835 title: Milestone description: A collection of related issues and pull requests. type: object @@ -166266,8 +166727,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166346,11 +166807,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - milestone: *825 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + milestone: *826 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166460,11 +166921,11 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - milestone: *825 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + milestone: *826 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166544,11 +167005,11 @@ x-webhooks: type: string enum: - opened - enterprise: *797 - installation: *798 - milestone: *834 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + milestone: *835 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166627,11 +167088,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *819 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + blocked_user: *820 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166710,11 +167171,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *819 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + blocked_user: *820 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166793,9 +167254,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - membership: &835 + enterprise: *798 + installation: *799 + membership: &836 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166902,8 +167363,8 @@ x-webhooks: - role - organization_url - user - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166981,11 +167442,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *797 - installation: *798 - membership: *835 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + membership: *836 + organization: *800 + repository: *801 sender: *4 required: - action @@ -167064,8 +167525,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -167181,10 +167642,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 - user: *819 + user: *820 required: - action - invitation @@ -167262,11 +167723,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *797 - installation: *798 - membership: *835 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + membership: *836 + organization: *800 + repository: *801 sender: *4 required: - action @@ -167353,11 +167814,11 @@ x-webhooks: properties: from: type: string - enterprise: *797 - installation: *798 - membership: *835 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + membership: *836 + organization: *800 + repository: *801 sender: *4 required: - action @@ -167434,9 +167895,9 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 package: description: Information about the package. type: object @@ -167935,7 +168396,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &836 + items: &837 title: Ruby Gems metadata type: object properties: @@ -168030,7 +168491,7 @@ x-webhooks: - owner - package_version - registry - repository: *800 + repository: *801 sender: *4 required: - action @@ -168106,9 +168567,9 @@ x-webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 package: description: Information about the package. type: object @@ -168461,7 +168922,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *836 + items: *837 source_url: type: string format: uri @@ -168531,7 +168992,7 @@ x-webhooks: - owner - package_version - registry - repository: *800 + repository: *801 sender: *4 required: - action @@ -168707,12 +169168,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *797 + enterprise: *798 id: type: integer - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - id @@ -168789,7 +169250,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &837 + personal_access_token_request: &838 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168935,10 +169396,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *797 - organization: *799 + enterprise: *798 + organization: *800 sender: *4 - installation: *798 + installation: *799 required: - action - personal_access_token_request @@ -169015,11 +169476,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *837 - enterprise: *797 - organization: *799 + personal_access_token_request: *838 + enterprise: *798 + organization: *800 sender: *4 - installation: *798 + installation: *799 required: - action - personal_access_token_request @@ -169095,11 +169556,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *837 - enterprise: *797 - organization: *799 + personal_access_token_request: *838 + enterprise: *798 + organization: *800 sender: *4 - installation: *798 + installation: *799 required: - action - personal_access_token_request @@ -169174,11 +169635,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *837 - organization: *799 - enterprise: *797 + personal_access_token_request: *838 + organization: *800 + enterprise: *798 sender: *4 - installation: *798 + installation: *799 required: - action - personal_access_token_request @@ -169283,7 +169744,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *838 + last_response: *839 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -169315,8 +169776,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 zen: description: Random string of GitHub zen. @@ -169561,10 +170022,10 @@ x-webhooks: - from required: - note - enterprise: *797 - installation: *798 - organization: *799 - project_card: &839 + enterprise: *798 + installation: *799 + organization: *800 + project_card: &840 title: Project Card type: object properties: @@ -169683,7 +170144,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *800 + repository: *801 sender: *4 required: - action @@ -169764,11 +170225,11 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project_card: *839 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project_card: *840 + repository: *801 sender: *4 required: - action @@ -169848,9 +170309,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 project_card: title: Project Card type: object @@ -169978,8 +170439,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *832 - required: *833 + properties: *833 + required: *834 nullable: true sender: *4 required: @@ -170073,11 +170534,11 @@ x-webhooks: - from required: - note - enterprise: *797 - installation: *798 - organization: *799 - project_card: *839 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project_card: *840 + repository: *801 sender: *4 required: - action @@ -170171,9 +170632,9 @@ x-webhooks: - from required: - column_id - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 project_card: allOf: - title: Project Card @@ -170363,7 +170824,7 @@ x-webhooks: type: string required: - after_id - repository: *800 + repository: *801 sender: *4 required: - action @@ -170443,10 +170904,10 @@ x-webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - organization: *799 - project: &841 + enterprise: *798 + installation: *799 + organization: *800 + project: &842 title: Project type: object properties: @@ -170570,7 +171031,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *800 + repository: *801 sender: *4 required: - action @@ -170650,10 +171111,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project_column: &840 + enterprise: *798 + installation: *799 + organization: *800 + project_column: &841 title: Project Column type: object properties: @@ -170692,7 +171153,7 @@ x-webhooks: - name - created_at - updated_at - repository: *800 + repository: *801 sender: *4 required: - action @@ -170771,18 +171232,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - project_column: *840 + enterprise: *798 + installation: *799 + organization: *800 + project_column: *841 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *832 - required: *833 + properties: *833 + required: *834 nullable: true sender: *4 required: @@ -170872,11 +171333,11 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - project_column: *840 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project_column: *841 + repository: *801 sender: *4 required: - action @@ -170956,11 +171417,11 @@ x-webhooks: type: string enum: - moved - enterprise: *797 - installation: *798 - organization: *799 - project_column: *840 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project_column: *841 + repository: *801 sender: *4 required: - action @@ -171040,11 +171501,11 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project: *841 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project: *842 + repository: *801 sender: *4 required: - action @@ -171124,18 +171585,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - project: *841 + enterprise: *798 + installation: *799 + organization: *800 + project: *842 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *832 - required: *833 + properties: *833 + required: *834 nullable: true sender: *4 required: @@ -171237,11 +171698,11 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - project: *841 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project: *842 + repository: *801 sender: *4 required: - action @@ -171320,11 +171781,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 - organization: *799 - project: *841 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project: *842 + repository: *801 sender: *4 required: - action @@ -171405,8 +171866,8 @@ x-webhooks: type: string enum: - closed - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -171488,8 +171949,8 @@ x-webhooks: type: string enum: - created - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -171571,8 +172032,8 @@ x-webhooks: type: string enum: - deleted - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -171690,8 +172151,8 @@ x-webhooks: type: string to: type: string - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -171775,7 +172236,7 @@ x-webhooks: type: string enum: - archived - changes: &845 + changes: &846 type: object properties: archived_at: @@ -171789,9 +172250,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *798 - organization: *799 - projects_v2_item: &842 + installation: *799 + organization: *800 + projects_v2_item: &843 title: Projects v2 Item description: An item belonging to a project type: object @@ -171926,9 +172387,9 @@ x-webhooks: nullable: true to: type: string - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -172010,9 +172471,9 @@ x-webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -172093,9 +172554,9 @@ x-webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -172201,7 +172662,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &843 + - &844 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -172223,7 +172684,7 @@ x-webhooks: required: - id - name - - &844 + - &845 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -172257,8 +172718,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *843 - *844 + - *845 required: - field_value - type: object @@ -172274,9 +172735,9 @@ x-webhooks: nullable: true required: - body - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -172371,9 +172832,9 @@ x-webhooks: to: type: string nullable: true - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -172456,10 +172917,10 @@ x-webhooks: type: string enum: - restored - changes: *845 - installation: *798 - organization: *799 - projects_v2_item: *842 + changes: *846 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -172541,8 +173002,8 @@ x-webhooks: type: string enum: - reopened - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -172624,14 +173085,14 @@ x-webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2_status_update: &848 + installation: *799 + organization: *800 + projects_v2_status_update: &849 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *846 - required: *847 + properties: *847 + required: *848 sender: *4 required: - action @@ -172712,9 +173173,9 @@ x-webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *799 + organization: *800 + projects_v2_status_update: *849 sender: *4 required: - action @@ -172850,9 +173311,9 @@ x-webhooks: type: string format: date nullable: true - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *799 + organization: *800 + projects_v2_status_update: *849 sender: *4 required: - action @@ -172923,10 +173384,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - repository @@ -173003,13 +173464,13 @@ x-webhooks: type: string enum: - assigned - assignee: *819 - enterprise: *797 - installation: *798 - number: &849 + assignee: *820 + enterprise: *798 + installation: *799 + number: &850 description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -175315,7 +175776,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -175397,11 +175858,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -177702,7 +178163,7 @@ x-webhooks: - draft reason: type: string - repository: *800 + repository: *801 sender: *4 required: - action @@ -177784,11 +178245,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -180089,7 +180550,7 @@ x-webhooks: - draft reason: type: string - repository: *800 + repository: *801 sender: *4 required: - action @@ -180171,11 +180632,11 @@ x-webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: &850 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: &851 allOf: - *631 - type: object @@ -180239,7 +180700,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *800 + repository: *801 sender: *4 required: - action @@ -180320,12 +180781,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -180405,11 +180866,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *797 + enterprise: *798 milestone: *614 - number: *849 - organization: *799 - pull_request: &851 + number: *850 + organization: *800 + pull_request: &852 title: Pull Request type: object properties: @@ -182695,7 +183156,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -182774,11 +183235,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -185083,7 +185544,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *800 + repository: *801 sender: *4 required: - action @@ -185207,12 +185668,12 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -185292,11 +185753,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -187586,7 +188047,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -187666,11 +188127,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *797 - installation: *798 - label: *818 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + label: *819 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -189975,7 +190436,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -190056,10 +190517,10 @@ x-webhooks: type: string enum: - locked - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -192362,7 +192823,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -192442,12 +192903,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *797 + enterprise: *798 milestone: *614 - number: *849 - organization: *799 - pull_request: *851 - repository: *800 + number: *850 + organization: *800 + pull_request: *852 + repository: *801 sender: *4 required: - action @@ -192526,12 +192987,12 @@ x-webhooks: type: string enum: - opened - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -192612,12 +193073,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -192697,12 +193158,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -193068,9 +193529,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: type: object properties: @@ -195263,7 +195724,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *801 sender: *4 required: - action @@ -195343,7 +195804,7 @@ x-webhooks: type: string enum: - deleted - comment: &853 + comment: &854 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195628,9 +196089,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: type: object properties: @@ -197811,7 +198272,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *801 sender: *4 required: - action @@ -197891,11 +198352,11 @@ x-webhooks: type: string enum: - edited - changes: *852 - comment: *853 - enterprise: *797 - installation: *798 - organization: *799 + changes: *853 + comment: *854 + enterprise: *798 + installation: *799 + organization: *800 pull_request: type: object properties: @@ -200079,7 +200540,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *801 sender: *4 required: - action @@ -200160,9 +200621,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -202358,7 +202819,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *801 review: description: The review that was affected. type: object @@ -202605,9 +203066,9 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -204661,8 +205122,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 - review: &854 + repository: *801 + review: &855 description: The review that was affected. type: object properties: @@ -204895,12 +205356,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -207206,7 +207667,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 requested_reviewer: title: User type: object @@ -207290,12 +207751,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -209608,7 +210069,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209800,12 +210261,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -212113,7 +212574,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 requested_reviewer: title: User type: object @@ -212198,12 +212659,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -214502,7 +214963,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214683,9 +215144,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -216883,8 +217344,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 - review: *854 + repository: *801 + review: *855 sender: *4 required: - action @@ -216964,9 +217425,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -219059,7 +219520,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *801 sender: *4 thread: type: object @@ -219446,9 +219907,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -221527,7 +221988,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *801 sender: *4 thread: type: object @@ -221911,11 +222372,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 stack: *628 - number: *849 - organization: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -224220,7 +224681,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -224306,10 +224767,10 @@ x-webhooks: type: string before: type: string - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -226603,7 +227064,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -226685,11 +227146,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *855 - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + assignee: *856 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -228995,7 +229456,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -229074,11 +229535,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *797 - installation: *798 - label: *818 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + label: *819 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -231374,7 +231835,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -231455,10 +231916,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -233746,7 +234207,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -233946,7 +234407,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *797 + enterprise: *798 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -234038,8 +234499,8 @@ x-webhooks: - url - author - committer - installation: *798 - organization: *799 + installation: *799 + organization: *800 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -234625,9 +235086,9 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 registry_package: type: object properties: @@ -235073,7 +235534,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *836 + items: *837 summary: type: string tag_name: @@ -235127,7 +235588,7 @@ x-webhooks: - owner - package_version - registry - repository: *800 + repository: *801 sender: *4 required: - action @@ -235205,9 +235666,9 @@ x-webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 registry_package: type: object properties: @@ -235515,7 +235976,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *836 + items: *837 summary: type: string tag_name: @@ -235564,7 +236025,7 @@ x-webhooks: - owner - package_version - registry - repository: *800 + repository: *801 sender: *4 required: - action @@ -235641,10 +236102,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - release: &856 + enterprise: *798 + installation: *799 + organization: *800 + release: &857 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -235962,7 +236423,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *800 + repository: *801 sender: *4 required: - action @@ -236039,11 +236500,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + release: *857 + repository: *801 sender: *4 required: - action @@ -236160,11 +236621,11 @@ x-webhooks: type: boolean required: - to - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + release: *857 + repository: *801 sender: *4 required: - action @@ -236242,9 +236703,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -236566,7 +237027,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *800 + repository: *801 sender: *4 required: - action @@ -236642,10 +237103,10 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - release: &857 + enterprise: *798 + installation: *799 + organization: *800 + release: &858 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -236964,7 +237425,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *800 + repository: *801 sender: *4 required: - action @@ -237040,11 +237501,11 @@ x-webhooks: type: string enum: - released - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + release: *857 + repository: *801 sender: *4 required: - action @@ -237120,11 +237581,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *797 - installation: *798 - organization: *799 - release: *857 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + release: *858 + repository: *801 sender: *4 required: - action @@ -237200,11 +237661,11 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_advisory: *716 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + repository_advisory: *717 sender: *4 required: - action @@ -237280,11 +237741,11 @@ x-webhooks: type: string enum: - reported - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_advisory: *716 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + repository_advisory: *717 sender: *4 required: - action @@ -237360,10 +237821,10 @@ x-webhooks: type: string enum: - archived - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237440,10 +237901,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237521,10 +237982,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237608,10 +238069,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237723,10 +238184,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237798,10 +238259,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 status: type: string @@ -237882,10 +238343,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237962,10 +238423,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238059,10 +238520,10 @@ x-webhooks: - name required: - repository - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238142,10 +238603,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 repository_ruleset: *340 sender: *4 required: @@ -238224,10 +238685,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 repository_ruleset: *340 sender: *4 required: @@ -238306,10 +238767,10 @@ x-webhooks: type: string enum: - edited - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 repository_ruleset: *340 changes: type: object @@ -238371,16 +238832,16 @@ x-webhooks: properties: added: type: array - items: *652 + items: *653 deleted: type: array - items: *652 + items: *653 updated: type: array items: type: object properties: - rule: *652 + rule: *653 changes: type: object properties: @@ -238614,10 +239075,10 @@ x-webhooks: - from required: - owner - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238695,10 +239156,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238776,7 +239237,7 @@ x-webhooks: type: string enum: - create - alert: &858 + alert: &859 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -238898,10 +239359,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239107,10 +239568,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239188,11 +239649,11 @@ x-webhooks: type: string enum: - reopen - alert: *858 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *859 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239391,10 +239852,10 @@ x-webhooks: enum: - fixed - open - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239472,7 +239933,7 @@ x-webhooks: type: string enum: - assigned - alert: &860 + alert: &861 type: object properties: number: *189 @@ -239622,12 +240083,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *859 + metadata: *860 assignee: *4 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239705,11 +240166,11 @@ x-webhooks: type: string enum: - created - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239790,11 +240251,11 @@ x-webhooks: type: string enum: - created - alert: *860 - installation: *798 - location: *861 - organization: *799 - repository: *800 + alert: *861 + installation: *799 + location: *862 + organization: *800 + repository: *801 sender: *4 required: - location @@ -240032,11 +240493,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -240113,11 +240574,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -240194,11 +240655,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -240276,11 +240737,11 @@ x-webhooks: type: string enum: - reopened - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -240358,11 +240819,11 @@ x-webhooks: type: string enum: - resolved - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -240440,12 +240901,12 @@ x-webhooks: type: string enum: - unassigned - alert: *860 + alert: *861 assignee: *4 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -240523,11 +240984,11 @@ x-webhooks: type: string enum: - validated - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -240653,10 +241114,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *800 - enterprise: *797 - installation: *798 - organization: *799 + repository: *801 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -240734,11 +241195,11 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - security_advisory: &862 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + security_advisory: &863 description: The details of the security advisory, including summary, description, and severity. type: object @@ -240921,11 +241382,11 @@ x-webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - security_advisory: *862 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + security_advisory: *863 sender: *4 required: - action @@ -240998,10 +241459,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -241186,9 +241647,9 @@ x-webhooks: type: object properties: security_and_analysis: *313 - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: *360 sender: *4 required: @@ -241267,12 +241728,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: &863 + sponsorship: &864 type: object properties: created_at: @@ -241573,12 +242034,12 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - sponsorship @@ -241666,12 +242127,12 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - changes @@ -241748,17 +242209,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &864 + effective_date: &865 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: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - sponsorship @@ -241832,7 +242293,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &865 + changes: &866 type: object properties: tier: @@ -241876,13 +242337,13 @@ x-webhooks: - from required: - tier - effective_date: *864 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + effective_date: *865 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - changes @@ -241959,13 +242420,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *865 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + changes: *866 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - changes @@ -242039,10 +242500,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242125,10 +242586,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242548,15 +243009,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *797 + enterprise: *798 id: description: The unique identifier of the status. type: integer - installation: *798 + installation: *799 name: type: string - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 sha: description: The Commit SHA. @@ -242671,9 +243132,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -242762,9 +243223,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -242853,9 +243314,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -242944,9 +243405,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -243022,12 +243483,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - team: &866 + team: &867 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -243250,9 +243711,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -243710,7 +244171,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - team @@ -243786,9 +244247,9 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -244246,7 +244707,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - team @@ -244323,9 +244784,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -244783,7 +245244,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - team @@ -244927,9 +245388,9 @@ x-webhooks: - from required: - permissions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -245387,7 +245848,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - changes @@ -245465,9 +245926,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -245925,7 +246386,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - team @@ -246001,10 +246462,10 @@ x-webhooks: type: string enum: - started - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -246077,16 +246538,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *797 + enterprise: *798 inputs: type: object nullable: true additionalProperties: true - installation: *798 - organization: *799 + installation: *799 + organization: *800 ref: type: string - repository: *800 + repository: *801 sender: *4 workflow: type: string @@ -246168,10 +246629,10 @@ x-webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 workflow_job: allOf: @@ -246487,10 +246948,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 workflow_job: allOf: @@ -246829,10 +247290,10 @@ x-webhooks: type: string enum: - queued - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 workflow_job: type: object @@ -247046,10 +247507,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 workflow_job: type: object @@ -247265,12 +247726,12 @@ x-webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: *814 + workflow: *815 workflow_run: title: Workflow Run type: object @@ -248269,12 +248730,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: *814 + workflow: *815 workflow_run: title: Workflow Run type: object @@ -249258,12 +249719,12 @@ x-webhooks: type: string enum: - requested - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: *814 + workflow: *815 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 185814be0a..b9026df26b 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -58458,7 +58458,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" ], @@ -58673,6 +58673,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "example": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -147679,17 +147688,17 @@ } } }, - "/orgs/{org}/invitations": { + "/orgs/{org}/interaction-limits/pulls/creation-cap": { "get": { - "summary": "List pending organization invitations", - "description": "The return hash contains a `role` field which refers to the Organization\nInvitation role and will be one of the following values: `direct_member`, `admin`,\n`billing_manager`, or `hiring_manager`. If the invitee is not a GitHub\nmember, the `login` field in the return hash will be `null`.", + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", "tags": [ - "orgs" + "interactions" ], - "operationId": "orgs/list-pending-invitations", + "operationId": "interactions/get-pull-request-creation-cap-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/members#list-pending-organization-invitations" + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" }, "parameters": [ { @@ -147700,56 +147709,6 @@ "schema": { "type": "string" } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "role", - "description": "Filter invitations by their member role.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "admin", - "direct_member", - "billing_manager", - "hiring_manager" - ], - "default": "all" - } - }, - { - "name": "invitation_source", - "description": "Filter invitations by their invitation source.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "member", - "scim" - ], - "default": "all" - } } ], "responses": { @@ -147758,243 +147717,686 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "title": "Organization Invitation", - "description": "Organization Invitation", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "login": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "role": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "failed_at": { - "type": "string", - "nullable": true - }, - "failed_reason": { - "type": "string", - "nullable": true - }, - "inviter": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "team_count": { - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\"" - }, - "invitation_teams_url": { - "type": "string", - "example": "\"https://api.github.com/organizations/16/invitations/1/teams\"" - }, - "invitation_source": { - "type": "string", - "example": "\"member\"" - } + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" }, - "required": [ - "id", - "login", - "email", - "role", - "created_at", - "inviter", - "team_count", - "invitation_teams_url", - "node_id" - ] - } + "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": { - "value": [ - { - "id": 1, - "login": "monalisa", - "node_id": "MDQ6VXNlcjE=", - "email": "octocat@github.com", - "role": "direct_member", - "created_at": "2016-11-30T06:46:10-08:00", - "failed_at": "", - "failed_reason": "", - "inviter": { - "login": "other_user", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/other_user_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/other_user", - "html_url": "https://github.com/other_user", - "followers_url": "https://api.github.com/users/other_user/followers", - "following_url": "https://api.github.com/users/other_user/following{/other_user}", - "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", - "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", - "organizations_url": "https://api.github.com/users/other_user/orgs", - "repos_url": "https://api.github.com/users/other_user/repos", - "events_url": "https://api.github.com/users/other_user/events{/privacy}", - "received_events_url": "https://api.github.com/users/other_user/received_events", - "type": "User", - "site_admin": false - }, - "team_count": 2, - "invitation_teams_url": "https://api.github.com/organizations/2/invitations/1/teams", - "invitation_source": "member" - } - ] + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } } } } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } } }, - "404": { - "description": "Resource not found", + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/invitations": { + "get": { + "summary": "List pending organization invitations", + "description": "The return hash contains a `role` field which refers to the Organization\nInvitation role and will be one of the following values: `direct_member`, `admin`,\n`billing_manager`, or `hiring_manager`. If the invitee is not a GitHub\nmember, the `login` field in the return hash will be `null`.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-pending-invitations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/members#list-pending-organization-invitations" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "role", + "description": "Filter invitations by their member role.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "admin", + "direct_member", + "billing_manager", + "hiring_manager" + ], + "default": "all" + } + }, + { + "name": "invitation_source", + "description": "Filter invitations by their invitation source.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "member", + "scim" + ], + "default": "all" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Invitation", + "description": "Organization Invitation", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string", + "nullable": true + }, + "role": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "failed_at": { + "type": "string", + "nullable": true + }, + "failed_reason": { + "type": "string", + "nullable": true + }, + "inviter": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "team_count": { + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\"" + }, + "invitation_teams_url": { + "type": "string", + "example": "\"https://api.github.com/organizations/16/invitations/1/teams\"" + }, + "invitation_source": { + "type": "string", + "example": "\"member\"" + } + }, + "required": [ + "id", + "login", + "email", + "role", + "created_at", + "inviter", + "team_count", + "invitation_teams_url", + "node_id" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "login": "monalisa", + "node_id": "MDQ6VXNlcjE=", + "email": "octocat@github.com", + "role": "direct_member", + "created_at": "2016-11-30T06:46:10-08:00", + "failed_at": "", + "failed_reason": "", + "inviter": { + "login": "other_user", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/other_user", + "html_url": "https://github.com/other_user", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "repos_url": "https://api.github.com/users/other_user/repos", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "type": "User", + "site_admin": false + }, + "team_count": 2, + "invitation_teams_url": "https://api.github.com/organizations/2/invitations/1/teams", + "invitation_source": "member" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -225864,6 +226266,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": [ @@ -227256,6 +227662,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } } }, @@ -229433,7 +229844,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -423100,7 +423511,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", @@ -423124,8 +423535,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -423168,8 +423586,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -423196,8 +423621,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -423224,8 +423656,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -423258,8 +423697,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -541543,200 +541989,1165 @@ "schema": { "type": "integer" } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "nullable": true, - "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", + "nullable": true, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "nullable": true, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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." } } } @@ -541796,13 +543207,6 @@ } } } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" } } }, @@ -614640,6 +616044,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } }, "required": [ diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index a0e2f2d125..248f0ddf86 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -1001,7 +1001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &718 + - &719 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14253,7 +14253,7 @@ paths: properties: action: type: string - discussion: &815 + discussion: &816 title: Discussion description: A Discussion in a repository. type: object @@ -14991,7 +14991,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &730 + sub_issues_summary: &731 title: Sub-issues Summary type: object properties: @@ -15118,7 +15118,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &731 + issue_dependencies_summary: &732 title: Issue Dependencies Summary type: object properties: @@ -15930,7 +15930,7 @@ paths: type: string release: allOf: - - &642 + - &643 title: Release description: A release. type: object @@ -16001,7 +16001,7 @@ paths: author: *4 assets: type: array - items: &643 + items: &644 title: Release Asset description: Data related to a release. type: object @@ -19430,7 +19430,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. @@ -19584,6 +19584,12 @@ paths: type: string example: - example.com + storage: + type: array + items: + type: string + example: + - example.com actions: type: array items: @@ -22238,7 +22244,7 @@ paths: parameters: - *79 - *125 - - &791 + - &792 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 @@ -22350,7 +22356,7 @@ paths: - *125 - *126 - *127 - - &792 + - &793 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22358,7 +22364,7 @@ paths: schema: type: string - *130 - - &793 + - &794 name: sku description: The SKU to query for usage. in: query @@ -30228,12 +30234,12 @@ paths: required: - subject_digests examples: - default: &772 + default: &773 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &773 + withPredicateType: &774 value: subject_digests: - sha256:abc123 @@ -30277,7 +30283,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &774 + default: &775 value: attestations_subject_digests: - sha256:abc: @@ -39749,6 +39755,140 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration 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 view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - *79 + 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 when cap is enabled + value: + enabled: true + max_open_pull_requests: 1 + '403': *29 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs + 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: + - *79 + 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': *29 + '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 @@ -42270,7 +42410,7 @@ paths: parameters: - *79 - *270 - - &754 + - &755 name: repo_name description: repo_name parameter in: path @@ -43198,7 +43338,7 @@ paths: - nuget - container - *79 - - &755 + - &756 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43239,7 +43379,7 @@ paths: default: *277 '403': *29 '401': *25 - '400': &757 + '400': &758 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45447,7 +45587,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &846 + properties: &847 id: type: number description: The unique identifier of the status update. @@ -45495,7 +45635,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &847 + required: &848 - id - node_id - created_at @@ -46339,7 +46479,7 @@ paths: - updated_at - project_url examples: - default: &778 + default: &779 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46516,7 +46656,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &779 + items: &780 type: object properties: name: @@ -46553,7 +46693,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &780 + iteration_configuration: &781 type: object description: The configuration for iteration fields. properties: @@ -46603,7 +46743,7 @@ paths: value: name: Due date data_type: date - single_select_field: &781 + single_select_field: &782 summary: Create a single select field value: name: Priority @@ -46630,7 +46770,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &782 + iteration_field: &783 summary: Create an iteration field value: name: Sprint @@ -46656,7 +46796,7 @@ paths: application/json: schema: *298 examples: - text_field: &783 + text_field: &784 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46665,7 +46805,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: &784 + number_field: &785 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46674,7 +46814,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: &785 + date_field: &786 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46683,7 +46823,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: &786 + single_select_field: &787 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46717,7 +46857,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &787 + iteration_field: &788 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46763,7 +46903,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *294 - - &788 + - &789 name: field_id description: The unique identifier of the field. in: path @@ -46778,7 +46918,7 @@ paths: application/json: schema: *298 examples: - default: &789 + default: &790 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47975,7 +48115,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &769 + schema: &770 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48152,7 +48292,7 @@ paths: parameters: - *294 - *79 - - &790 + - &791 name: view_number description: The number that identifies the project view. in: path @@ -50113,7 +50253,7 @@ paths: - *79 - *17 - *19 - - &651 + - &652 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50395,7 +50535,7 @@ paths: - repository_property rules: type: array - items: &652 + items: &653 title: Repository Rule type: object description: A repository rule. @@ -50457,7 +50597,7 @@ paths: type: string enum: - required_linear_history - - &649 + - &650 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51096,7 +51236,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &650 + - &651 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -51408,7 +51548,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *79 - - &653 + - &654 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 @@ -51423,7 +51563,7 @@ paths: in: query schema: type: string - - &654 + - &655 name: time_period description: |- The time period to filter by. @@ -51439,14 +51579,14 @@ paths: - week - month default: day - - &655 + - &656 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 - - &656 + - &657 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51459,7 +51599,7 @@ paths: - bypass - all default: all - - &657 + - &658 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. @@ -51482,7 +51622,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &659 title: Rule Suites description: Response type: array @@ -51537,7 +51677,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &659 + default: &660 value: - id: 21 actor_id: 12 @@ -51581,7 +51721,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *79 - - &660 + - &661 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51597,7 +51737,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 title: Rule Suite description: Response type: object @@ -51696,7 +51836,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &662 + default: &663 value: id: 21 actor_id: 12 @@ -51943,7 +52083,7 @@ paths: type: string format: date-time examples: - default: &664 + default: &665 value: - version_id: 3 actor: @@ -51996,7 +52136,7 @@ paths: description: Response content: application/json: - schema: &665 + schema: &666 allOf: - *343 - type: object @@ -52068,7 +52208,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *79 - - &666 + - &667 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52079,7 +52219,7 @@ paths: enum: - open - resolved - - &667 + - &668 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52089,7 +52229,7 @@ paths: required: false schema: type: string - - &668 + - &669 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52100,7 +52240,7 @@ paths: required: false schema: type: string - - &669 + - &670 name: exclude_providers in: query description: |- @@ -52111,7 +52251,7 @@ paths: required: false schema: type: string - - &670 + - &671 name: providers in: query description: |- @@ -52122,7 +52262,7 @@ paths: required: false schema: type: string - - &671 + - &672 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52131,7 +52271,7 @@ paths: required: false schema: type: string - - &672 + - &673 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52150,7 +52290,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &673 + - &674 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. @@ -52165,7 +52305,7 @@ paths: - *63 - *19 - *17 - - &674 + - &675 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 @@ -52175,7 +52315,7 @@ paths: required: false schema: type: string - - &675 + - &676 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 @@ -52185,7 +52325,7 @@ paths: required: false schema: type: string - - &676 + - &677 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52194,7 +52334,7 @@ paths: required: false schema: type: string - - &677 + - &678 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52203,7 +52343,7 @@ paths: schema: type: boolean default: false - - &678 + - &679 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52212,7 +52352,7 @@ paths: schema: type: boolean default: false - - &679 + - &680 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52221,7 +52361,7 @@ paths: schema: type: boolean default: false - - &680 + - &681 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52232,7 +52372,7 @@ paths: required: false schema: type: boolean - - &681 + - &682 name: included_metadata in: query description: |- @@ -52243,7 +52383,7 @@ paths: required: false schema: type: string - - &682 + - &683 name: owner_email_hash in: query description: |- @@ -52281,14 +52421,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &683 + state: &684 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: &684 + resolution: &685 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52405,8 +52545,8 @@ paths: pull request. ' - oneOf: &685 - - &687 + oneOf: &686 + - &688 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52464,7 +52604,7 @@ paths: - blob_url - commit_sha - commit_url - - &688 + - &689 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. @@ -52519,7 +52659,7 @@ paths: - page_url - commit_sha - commit_url - - &689 + - &690 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52539,7 +52679,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &690 + - &691 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52559,7 +52699,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &691 + - &692 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52579,7 +52719,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &692 + - &693 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52593,7 +52733,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &693 + - &694 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52607,7 +52747,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &694 + - &695 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52621,7 +52761,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &695 + - &696 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. @@ -52641,7 +52781,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &696 + - &697 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. @@ -52661,7 +52801,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &697 + - &698 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. @@ -52681,7 +52821,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &698 + - &699 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. @@ -52701,7 +52841,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &699 + - &700 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 request. @@ -52953,7 +53093,7 @@ paths: subcategory: custom-patterns parameters: - *79 - - &700 + - &701 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -52964,7 +53104,7 @@ paths: enum: - published - unpublished - - &701 + - &702 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -52975,7 +53115,7 @@ paths: enum: - enabled - disabled - - &702 + - &703 name: sort description: The property to sort the results by. in: query @@ -53069,7 +53209,7 @@ paths: - state - push_protection_enabled examples: - default: &703 + default: &704 value: - id: 1 name: Example Custom Pattern @@ -53132,7 +53272,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &704 + items: &705 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -53169,7 +53309,7 @@ paths: items: type: string examples: - default: &705 + default: &706 value: patterns: - name: Example Custom Pattern @@ -53195,7 +53335,7 @@ paths: description: The list of successfully created custom patterns. items: *344 examples: - default: &706 + default: &707 value: created_patterns: - id: 1 @@ -53247,7 +53387,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &707 + items: &708 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -53301,7 +53441,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &708 + items: &709 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -53324,7 +53464,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &709 + default: &710 value: patterns: - pattern_id: 2 @@ -53370,7 +53510,7 @@ paths: required: true content: application/json: - schema: &710 + schema: &711 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`, @@ -53411,7 +53551,7 @@ paths: type: string custom_pattern_version: *345 examples: - default: &711 + default: &712 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -53428,7 +53568,7 @@ paths: application/json: schema: *344 examples: - default: &712 + default: &713 value: id: 1 name: Example Custom Pattern @@ -53732,7 +53872,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 description: A repository security advisory. type: object properties: @@ -54004,7 +54144,7 @@ paths: - private_fork additionalProperties: false examples: - default: &717 + default: &718 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55222,6 +55362,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: @@ -55715,6 +55859,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true examples: default: value: @@ -55849,7 +55998,7 @@ paths: application/json: schema: type: array - items: &733 + items: &734 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 @@ -55968,7 +56117,7 @@ paths: - type - url examples: - default: &734 + default: &735 value: - login: octocat id: 1 @@ -56054,7 +56203,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &735 + response-if-user-is-a-team-maintainer: &736 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56119,7 +56268,7 @@ paths: application/json: schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: &736 + response-if-users-membership-with-team-is-now-pending: &737 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56173,6 +56322,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -56233,7 +56384,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &737 + schema: &738 title: Team Repository description: A team's access to a repository. type: object @@ -56883,7 +57034,7 @@ paths: type: array items: *211 examples: - response-if-child-teams-exist: &738 + response-if-child-teams-exist: &739 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62524,7 +62675,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &809 + properties: &810 url: type: string format: uri @@ -62609,7 +62760,7 @@ paths: nullable: true properties: *84 required: *85 - required: &810 + required: &811 - id - node_id - sha @@ -68681,7 +68832,7 @@ paths: check. type: array items: *94 - deployment: &802 + deployment: &803 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69593,7 +69744,7 @@ paths: type: string format: date-time nullable: true - head_commit: &830 + head_commit: &831 title: Simple Commit description: A commit. type: object @@ -74337,14 +74488,14 @@ paths: type: integer machines: type: array - items: &743 + items: &744 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *481 required: *482 examples: - default: &744 + default: &745 value: total_count: 2 machines: @@ -77490,7 +77641,7 @@ paths: application/json: schema: type: array - items: &722 + items: &723 title: Status description: The status of a commit. type: object @@ -78459,7 +78610,7 @@ paths: - size - type - url - - &640 + - &641 title: Content File description: Content File type: object @@ -79073,7 +79224,7 @@ paths: items: type: object properties: - placeholder_id: &713 + placeholder_id: &714 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -85152,7 +85303,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &838 + last_response: &839 title: Hook Response type: object properties: @@ -86204,7 +86355,7 @@ paths: parameters: - *357 - *358 - - &767 + - &768 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86923,7 +87074,7 @@ paths: type: array items: *559 examples: - default: &759 + default: &760 value: - id: 1 repository: @@ -89453,10 +89604,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 @@ -89475,8 +89625,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: @@ -89501,8 +89656,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -89520,8 +89680,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -89539,8 +89704,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -89562,8 +89732,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: *571 '422': *15 @@ -98514,6 +98689,287 @@ 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: + - *357 + - *358 + - *633 + requestBody: + required: false + content: + application/json: + schema: + type: object + nullable: true + 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: &636 + 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: *636 + 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: *636 + 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: *636 + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': *15 + '403': *29 + '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: + - *357 + - *358 + - *633 + - 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: *636 + 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': *29 + '404': *6 "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -99714,7 +100170,7 @@ paths: application/json: schema: type: array - items: &636 + items: &637 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99953,9 +100409,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: &638 + default: &639 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100021,7 +100477,7 @@ paths: - *357 - *358 - *633 - - &637 + - &638 name: review_id description: The unique identifier of the review. in: path @@ -100033,9 +100489,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: &639 + default: &640 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100097,7 +100553,7 @@ paths: - *357 - *358 - *633 - - *637 + - *638 requestBody: required: true content: @@ -100120,7 +100576,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -100185,15 +100641,15 @@ paths: - *357 - *358 - *633 - - *637 + - *638 responses: '200': description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *638 + default: *639 '422': *7 '404': *6 x-github: @@ -100223,7 +100679,7 @@ paths: - *357 - *358 - *633 - - *637 + - *638 - *17 - *19 responses: @@ -100461,7 +100917,7 @@ paths: - *357 - *358 - *633 - - *637 + - *638 requestBody: required: true content: @@ -100489,7 +100945,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -100555,7 +101011,7 @@ paths: - *357 - *358 - *633 - - *637 + - *638 requestBody: required: true content: @@ -100590,9 +101046,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *639 + default: *640 '404': *6 '422': *7 '403': *29 @@ -100693,9 +101149,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: &641 + default: &642 value: type: file encoding: base64 @@ -100758,9 +101214,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 '422': *15 x-github: @@ -100793,7 +101249,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -100969,9 +101425,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: &646 + default: &647 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101078,7 +101534,7 @@ paths: parameters: - *357 - *358 - - &644 + - &645 name: asset_id description: The unique identifier of the asset. in: path @@ -101090,9 +101546,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &645 + default: &646 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 @@ -101145,7 +101601,7 @@ paths: parameters: - *357 - *358 - - *644 + - *645 requestBody: required: false content: @@ -101173,9 +101629,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *645 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101193,7 +101649,7 @@ paths: parameters: - *357 - *358 - - *644 + - *645 responses: '204': description: Response @@ -101311,9 +101767,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *646 + default: *647 '404': *6 x-github: githubCloudOnly: false @@ -101345,9 +101801,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *646 + default: *647 '404': *6 x-github: githubCloudOnly: false @@ -101371,7 +101827,7 @@ paths: parameters: - *357 - *358 - - &647 + - &648 name: release_id description: The unique identifier of the release. in: path @@ -101385,9 +101841,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: *642 + schema: *643 examples: - default: *646 + default: *647 '401': description: Unauthorized x-github: @@ -101413,7 +101869,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 requestBody: required: false content: @@ -101477,9 +101933,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *646 + default: *647 '404': description: Not Found if the discussion category name is invalid content: @@ -101502,7 +101958,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 responses: '204': description: Response @@ -101525,7 +101981,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 - *17 - *19 responses: @@ -101535,7 +101991,7 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: default: value: @@ -101618,7 +102074,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 - name: name in: query required: true @@ -101644,7 +102100,7 @@ paths: description: Response for successful upload content: application/json: - schema: *643 + schema: *644 examples: response-for-successful-upload: value: @@ -101701,7 +102157,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 - 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. @@ -101750,7 +102206,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 requestBody: required: true content: @@ -101813,7 +102269,7 @@ paths: parameters: - *357 - *358 - - *647 + - *648 - *564 responses: '204': @@ -101857,7 +102313,7 @@ paths: oneOf: - allOf: - *319 - - &648 + - &649 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101878,70 +102334,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *320 - - *648 + - *649 - allOf: - *321 - - *648 + - *649 - allOf: - *322 - - *648 + - *649 - allOf: + - *650 - *649 - - *648 - allOf: - *323 - - *648 + - *649 - allOf: - *324 - - *648 + - *649 - allOf: - *325 - - *648 + - *649 - allOf: - *326 - - *648 + - *649 - allOf: - *327 - - *648 + - *649 - allOf: - *328 - - *648 + - *649 - allOf: - *329 - - *648 + - *649 - allOf: - *330 - - *648 + - *649 - allOf: - *331 - - *648 + - *649 - allOf: - *332 - - *648 + - *649 - allOf: - *337 - - *648 + - *649 - allOf: - *338 - - *648 + - *649 - allOf: - *339 - - *648 + - *649 - allOf: - - *650 - - *648 + - *651 + - *649 - allOf: - *333 - - *648 + - *649 - allOf: - *334 - - *648 + - *649 - allOf: - *335 - - *648 + - *649 - allOf: - *336 - - *648 + - *649 examples: default: value: @@ -101992,7 +102448,7 @@ paths: schema: type: boolean default: true - - *651 + - *652 responses: '200': description: Response @@ -102077,7 +102533,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *652 + items: *653 required: - name - enforcement @@ -102110,7 +102566,7 @@ paths: application/json: schema: *340 examples: - default: &663 + default: &664 value: id: 42 name: super cool ruleset @@ -102160,11 +102616,11 @@ paths: parameters: - *357 - *358 - - *653 - *654 - *655 - *656 - *657 + - *658 - *17 - *19 responses: @@ -102172,9 +102628,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *659 + default: *660 '404': *6 '500': *56 x-github: @@ -102197,15 +102653,15 @@ paths: parameters: - *357 - *358 - - *660 + - *661 responses: '200': description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *6 '500': *56 x-github: @@ -102256,7 +102712,7 @@ paths: application/json: schema: *340 examples: - default: *663 + default: *664 '404': *6 '500': *56 put: @@ -102309,7 +102765,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *652 + items: *653 examples: default: value: @@ -102339,7 +102795,7 @@ paths: application/json: schema: *340 examples: - default: *663 + default: *664 '404': *6 '422': *15 '500': *56 @@ -102401,7 +102857,7 @@ paths: type: array items: *343 examples: - default: *664 + default: *665 '404': *6 '500': *56 x-github: @@ -102439,7 +102895,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: default: value: @@ -102496,7 +102952,6 @@ paths: parameters: - *357 - *358 - - *666 - *667 - *668 - *669 @@ -102504,10 +102959,10 @@ paths: - *671 - *672 - *673 + - *674 - *63 - *19 - *17 - - *674 - *675 - *676 - *677 @@ -102516,6 +102971,7 @@ paths: - *680 - *681 - *682 + - *683 responses: '200': description: Response @@ -102542,8 +102998,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *683 - resolution: *684 + state: *684 + resolution: *685 resolved_at: type: string format: date-time @@ -102649,7 +103105,7 @@ paths: pull request. ' - oneOf: *685 + oneOf: *686 nullable: true has_more_locations: type: boolean @@ -102816,13 +103272,13 @@ paths: - *357 - *358 - *457 - - *679 + - *680 responses: '200': description: Response content: application/json: - schema: &686 + schema: &687 type: object properties: number: *189 @@ -102840,8 +103296,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *683 - resolution: *684 + state: *684 + resolution: *685 resolved_at: type: string format: date-time @@ -102947,7 +103403,7 @@ paths: pull request. ' - oneOf: *685 + oneOf: *686 nullable: true has_more_locations: type: boolean @@ -102975,7 +103431,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &859 + metadata: &860 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -103058,8 +103514,8 @@ paths: schema: type: object properties: - state: *683 - resolution: *684 + state: *684 + resolution: *685 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103103,7 +103559,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: default: value: @@ -103218,7 +103674,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &861 + items: &862 type: object properties: type: @@ -103244,7 +103700,6 @@ paths: example: commit details: oneOf: - - *687 - *688 - *689 - *690 @@ -103257,6 +103712,7 @@ paths: - *697 - *698 - *699 + - *700 examples: default: value: @@ -103347,9 +103803,9 @@ paths: parameters: - *357 - *358 - - *700 - *701 - *702 + - *703 - *63 - *19 - *17 @@ -103362,7 +103818,7 @@ paths: type: array items: *344 examples: - default: *703 + default: *704 headers: Link: *71 '403': *29 @@ -103399,9 +103855,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *704 + items: *705 examples: - default: *705 + default: *706 responses: '201': description: All patterns created successfully. @@ -103415,7 +103871,7 @@ paths: description: The list of successfully created custom patterns. items: *344 examples: - default: *706 + default: *707 '400': *14 '403': *29 '404': *6 @@ -103439,7 +103895,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *707 + items: *708 delete: summary: Bulk delete repository custom patterns description: |- @@ -103473,7 +103929,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *708 + items: *709 post_delete_action: type: string description: |- @@ -103486,7 +103942,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *709 + default: *710 responses: '204': description: All patterns deleted successfully. @@ -103525,9 +103981,9 @@ paths: required: true content: application/json: - schema: *710 + schema: *711 examples: - default: *711 + default: *712 responses: '200': description: Pattern updated successfully. @@ -103535,7 +103991,7 @@ paths: application/json: schema: *344 examples: - default: *712 + default: *713 '400': *14 '403': *29 '404': *6 @@ -103566,14 +104022,14 @@ paths: schema: type: object properties: - reason: &714 + reason: &715 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *713 + placeholder_id: *714 required: - reason - placeholder_id @@ -103590,7 +104046,7 @@ paths: schema: type: object properties: - reason: *714 + reason: *715 expire_at: type: string format: date-time @@ -103652,7 +104108,7 @@ paths: properties: incremental_scans: type: array - items: &715 + items: &716 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103683,15 +104139,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *715 + items: *716 backfill_scans: type: array - items: *715 + items: *716 custom_pattern_backfill_scans: type: array items: allOf: - - *715 + - *716 - type: object properties: pattern_name: @@ -103704,7 +104160,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *715 + items: *716 examples: default: value: @@ -103814,9 +104270,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *717 + default: *718 '400': *14 '404': *6 x-github: @@ -104000,9 +104456,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: &719 + default: &720 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104337,7 +104793,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: default: value: @@ -104485,15 +104941,15 @@ paths: parameters: - *357 - *358 - - *718 + - *719 responses: '200': description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: *719 + default: *720 '403': *29 '404': *6 x-github: @@ -104519,7 +104975,7 @@ paths: parameters: - *357 - *358 - - *718 + - *719 requestBody: required: true content: @@ -104678,10 +105134,10 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: *719 - add_credit: *719 + default: *720 + add_credit: *720 '403': *29 '404': *6 '422': @@ -104721,7 +105177,7 @@ paths: parameters: - *357 - *358 - - *718 + - *719 responses: '202': *40 '400': *14 @@ -104750,7 +105206,7 @@ paths: parameters: - *357 - *358 - - *718 + - *719 responses: '202': description: Response @@ -104980,7 +105436,7 @@ paths: format: date-time pull_requests: type: array - items: &720 + items: &721 title: Pull Request Stack Pull Request type: object allOf: @@ -105256,7 +105712,7 @@ paths: format: date-time pull_requests: type: array - items: *720 + items: *721 examples: default: value: @@ -105449,7 +105905,7 @@ paths: format: date-time pull_requests: type: array - items: *720 + items: *721 examples: default: value: @@ -105703,7 +106159,7 @@ paths: format: date-time pull_requests: type: array - items: *720 + items: *721 examples: default: value: @@ -105919,7 +106375,7 @@ paths: application/json: schema: type: array - items: &721 + items: &722 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106292,7 +106748,7 @@ paths: application/json: schema: type: array - items: *721 + items: *722 examples: default: value: @@ -106380,7 +106836,7 @@ paths: description: Response content: application/json: - schema: *722 + schema: *723 examples: default: value: @@ -106474,7 +106930,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &723 + schema: &724 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -106569,7 +107025,7 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: default: value: @@ -106776,7 +107232,7 @@ paths: description: Response content: application/json: - schema: &724 + schema: &725 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106788,7 +107244,7 @@ paths: required: - names examples: - default: &725 + default: &726 value: names: - octocat @@ -106843,9 +107299,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *725 + default: *726 '404': *6 '422': *7 x-github: @@ -106868,7 +107324,7 @@ paths: parameters: - *357 - *358 - - &726 + - &727 name: per description: The time frame to display results for. in: query @@ -106897,7 +107353,7 @@ paths: example: 128 clones: type: array - items: &727 + items: &728 title: Traffic type: object properties: @@ -107138,7 +107594,7 @@ paths: parameters: - *357 - *358 - - *726 + - *727 responses: '200': description: Response @@ -107157,7 +107613,7 @@ paths: example: 3782 views: type: array - items: *727 + items: *728 required: - uniques - count @@ -107928,7 +108384,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &728 + text_matches: &729 title: Search Result Text Matches type: array items: @@ -108090,7 +108546,7 @@ paths: enum: - author-date - committer-date - - &729 + - &730 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 @@ -108218,7 +108674,7 @@ paths: type: number node_id: type: string - text_matches: *728 + text_matches: *729 required: - sha - node_id @@ -108410,7 +108866,7 @@ paths: - interactions - created - updated - - *729 + - *730 - *17 - *19 - name: advanced_search @@ -108524,8 +108980,8 @@ paths: description: type: string nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -108553,7 +109009,7 @@ paths: type: string format: date-time nullable: true - text_matches: *728 + text_matches: *729 pull_request: type: object properties: @@ -108833,7 +109289,7 @@ paths: enum: - created - updated - - *729 + - *730 - *17 - *19 responses: @@ -108877,7 +109333,7 @@ paths: nullable: true score: type: number - text_matches: *728 + text_matches: *729 required: - id - node_id @@ -108962,7 +109418,7 @@ paths: - forks - help-wanted-issues - updated - - *729 + - *730 - *17 - *19 responses: @@ -109210,7 +109666,7 @@ paths: - admin - pull - push - text_matches: *728 + text_matches: *729 temp_clone_token: type: string allow_merge_commit: @@ -109510,7 +109966,7 @@ paths: type: string format: uri nullable: true - text_matches: *728 + text_matches: *729 related: type: array nullable: true @@ -109701,7 +110157,7 @@ paths: - followers - repositories - joined - - *729 + - *730 - *17 - *19 responses: @@ -109805,7 +110261,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *728 + text_matches: *729 blog: type: string nullable: true @@ -109884,7 +110340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &732 + - &733 name: team_id description: The unique identifier of the team. in: path @@ -109925,7 +110381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *732 + - *733 requestBody: required: true content: @@ -109974,6 +110430,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true required: - name examples: @@ -110025,7 +110486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *732 + - *733 responses: '204': description: Response @@ -110054,7 +110515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *732 + - *733 - *17 - *19 responses: @@ -110094,7 +110555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *732 + - *733 - name: role description: Filters members returned by their role in the team. in: query @@ -110115,9 +110576,9 @@ paths: application/json: schema: type: array - items: *733 + items: *734 examples: - default: *734 + default: *735 headers: Link: *71 '404': *6 @@ -110145,7 +110606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *732 + - *733 - *75 responses: '204': @@ -110182,7 +110643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *732 + - *733 - *75 responses: '204': @@ -110222,7 +110683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *732 + - *733 - *75 responses: '204': @@ -110259,7 +110720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *732 + - *733 - *75 responses: '200': @@ -110268,7 +110729,7 @@ paths: application/json: schema: *356 examples: - response-if-user-is-a-team-maintainer: *735 + response-if-user-is-a-team-maintainer: *736 '404': *6 x-github: githubCloudOnly: false @@ -110301,7 +110762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *732 + - *733 - *75 requestBody: required: false @@ -110329,7 +110790,7 @@ paths: application/json: schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: *736 + response-if-users-membership-with-team-is-now-pending: *737 '403': description: Forbidden if team synchronization is set up '422': @@ -110363,7 +110824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *732 + - *733 - *75 responses: '204': @@ -110391,7 +110852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *732 + - *733 - *17 - *19 responses: @@ -110433,7 +110894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *732 + - *733 - *357 - *358 responses: @@ -110441,7 +110902,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *737 + schema: *738 examples: alternative-response-with-extra-repository-information: value: @@ -110591,7 +111052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *732 + - *733 - *357 - *358 requestBody: @@ -110643,7 +111104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *732 + - *733 - *357 - *358 responses: @@ -110670,7 +111131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *732 + - *733 - *17 - *19 responses: @@ -110682,7 +111143,7 @@ paths: type: array items: *211 examples: - response-if-child-teams-exist: *738 + response-if-child-teams-exist: *739 headers: Link: *71 '404': *6 @@ -110715,7 +111176,7 @@ paths: application/json: schema: oneOf: - - &739 + - &740 title: Private User description: Private User type: object @@ -110918,7 +111379,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &766 + - &767 title: Public User description: Public User type: object @@ -111230,7 +111691,7 @@ paths: description: Response content: application/json: - schema: *739 + schema: *740 examples: default: value: @@ -111628,7 +112089,7 @@ paths: type: integer secrets: type: array - items: &740 + items: &741 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111744,7 +112205,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *741 examples: default: value: @@ -112157,7 +112618,7 @@ paths: description: Response content: application/json: - schema: &741 + schema: &742 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112198,7 +112659,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &742 + default: &743 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112243,9 +112704,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *742 examples: - default: *742 + default: *743 '404': *6 x-github: githubCloudOnly: false @@ -112282,9 +112743,9 @@ paths: type: integer machines: type: array - items: *743 + items: *744 examples: - default: *744 + default: *745 '304': *38 '500': *56 '401': *25 @@ -113223,7 +113684,7 @@ paths: type: array items: *276 examples: - default: &756 + default: &757 value: - id: 197 name: hello_docker @@ -113324,7 +113785,7 @@ paths: application/json: schema: type: array - items: &745 + items: &746 title: Email description: Email type: object @@ -113389,9 +113850,9 @@ paths: application/json: schema: type: array - items: *745 + items: *746 examples: - default: &758 + default: &759 value: - email: octocat@github.com verified: true @@ -113466,7 +113927,7 @@ paths: application/json: schema: type: array - items: *745 + items: *746 examples: default: value: @@ -113722,7 +114183,7 @@ paths: application/json: schema: type: array - items: &746 + items: &747 title: GPG Key description: A unique encryption key type: object @@ -113853,7 +114314,7 @@ paths: - subkeys - revoked examples: - default: &776 + default: &777 value: - id: 3 name: Octocat's GPG Key @@ -113938,9 +114399,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *747 examples: - default: &747 + default: &748 value: id: 3 name: Octocat's GPG Key @@ -113997,7 +114458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &748 + - &749 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114009,9 +114470,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *747 examples: - default: *747 + default: *748 '404': *6 '304': *38 '403': *29 @@ -114034,7 +114495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *748 + - *749 responses: '204': description: Response @@ -114501,7 +114962,7 @@ paths: application/json: schema: type: array - items: &749 + items: &750 title: Key description: Key type: object @@ -114602,9 +115063,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *750 examples: - default: &750 + default: &751 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114643,9 +115104,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *750 examples: - default: *750 + default: *751 '404': *6 '304': *38 '403': *29 @@ -114701,7 +115162,7 @@ paths: application/json: schema: type: array - items: &751 + items: &752 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114769,7 +115230,7 @@ paths: - account - plan examples: - default: &752 + default: &753 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114831,9 +115292,9 @@ paths: application/json: schema: type: array - items: *751 + items: *752 examples: - default: *752 + default: *753 headers: Link: *71 '304': *38 @@ -115076,7 +115537,7 @@ paths: application/json: schema: *267 examples: - default: &753 + default: &754 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -115125,7 +115586,7 @@ paths: application/json: schema: *267 examples: - default: *753 + default: *754 '403': *29 '404': *6 '422': *15 @@ -115850,7 +116311,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *270 - - *754 + - *755 responses: '204': description: Response @@ -115963,7 +116424,7 @@ paths: - docker - nuget - container - - *755 + - *756 - *19 - *17 responses: @@ -115975,8 +116436,8 @@ paths: type: array items: *276 examples: - default: *756 - '400': *757 + default: *757 + '400': *758 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116005,7 +116466,7 @@ paths: application/json: schema: *276 examples: - default: &777 + default: &778 value: id: 40201 name: octo-name @@ -116367,9 +116828,9 @@ paths: application/json: schema: type: array - items: *745 + items: *746 examples: - default: *758 + default: *759 headers: Link: *71 '304': *38 @@ -116482,7 +116943,7 @@ paths: type: array items: *83 examples: - default: &765 + default: &766 summary: Default response value: - id: 1296269 @@ -116829,7 +117290,7 @@ paths: type: array items: *559 examples: - default: *759 + default: *760 headers: Link: *71 '304': *38 @@ -116909,7 +117370,7 @@ paths: application/json: schema: type: array - items: &760 + items: &761 title: Social account description: Social media account type: object @@ -116924,7 +117385,7 @@ paths: - provider - url examples: - default: &761 + default: &762 value: - provider: twitter url: https://twitter.com/github @@ -116986,9 +117447,9 @@ paths: application/json: schema: type: array - items: *760 + items: *761 examples: - default: *761 + default: *762 '422': *15 '304': *38 '404': *6 @@ -117075,7 +117536,7 @@ paths: application/json: schema: type: array - items: &762 + items: &763 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117095,7 +117556,7 @@ paths: - title - created_at examples: - default: &794 + default: &795 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117159,9 +117620,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *763 examples: - default: &763 + default: &764 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117191,7 +117652,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: - - &764 + - &765 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117203,9 +117664,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *763 examples: - default: *763 + default: *764 '404': *6 '304': *38 '403': *29 @@ -117228,7 +117689,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: - - *764 + - *765 responses: '204': description: Response @@ -117257,7 +117718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &795 + - &796 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 @@ -117282,11 +117743,11 @@ paths: type: array items: *83 examples: - default-response: *765 + default-response: *766 application/vnd.github.v3.star+json: schema: type: array - items: &796 + items: &797 title: Starred Repository description: Starred Repository type: object @@ -117655,10 +118116,10 @@ paths: application/json: schema: oneOf: - - *739 - - *766 + - *740 + - *767 examples: - default-response: &770 + default-response: &771 summary: Default response value: login: octocat @@ -117693,7 +118154,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &771 + response-with-git-hub-plan-information: &772 summary: Response with GitHub plan information value: login: octocat @@ -117750,7 +118211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &768 + - &769 name: user_id description: The unique identifier of the user. in: path @@ -117816,7 +118277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *767 + - *768 - *17 responses: '200': @@ -117851,7 +118312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *768 + - *769 - *294 requestBody: required: true @@ -117923,7 +118384,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *769 + schema: *770 examples: table_view: summary: Response for creating a table view @@ -117975,11 +118436,11 @@ paths: application/json: schema: oneOf: - - *739 - - *766 + - *740 + - *767 examples: - default-response: *770 - response-with-git-hub-plan-information: *771 + default-response: *771 + response-with-git-hub-plan-information: *772 '404': *6 x-github: githubCloudOnly: false @@ -118029,8 +118490,8 @@ paths: required: - subject_digests examples: - default: *772 - withPredicateType: *773 + default: *773 + withPredicateType: *774 responses: '200': description: Response @@ -118069,7 +118530,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *774 + default: *775 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118539,7 +119000,7 @@ paths: application/json: schema: *205 examples: - default: &775 + default: &776 summary: Example response for a user copilot space value: id: 42 @@ -118640,7 +119101,7 @@ paths: application/json: schema: *205 examples: - default: *775 + default: *776 '403': *29 '404': *6 x-github: @@ -118763,7 +119224,7 @@ paths: application/json: schema: *205 examples: - default: *775 + default: *776 '403': *29 '404': *6 '422': *15 @@ -119531,7 +119992,7 @@ paths: type: array items: *276 examples: - default: *756 + default: *757 '403': *29 '401': *25 x-github: @@ -119915,9 +120376,9 @@ paths: application/json: schema: type: array - items: *746 + items: *747 examples: - default: *776 + default: *777 headers: Link: *71 x-github: @@ -120145,7 +120606,7 @@ paths: - docker - nuget - container - - *755 + - *756 - *75 - *19 - *17 @@ -120158,10 +120619,10 @@ paths: type: array items: *276 examples: - default: *756 + default: *757 '403': *29 '401': *25 - '400': *757 + '400': *758 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120191,7 +120652,7 @@ paths: application/json: schema: *276 examples: - default: *777 + default: *778 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120540,7 +121001,7 @@ paths: type: array items: *298 examples: - default: *778 + default: *779 headers: Link: *71 '304': *38 @@ -120600,7 +121061,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *779 + items: *780 required: - name - data_type @@ -120616,7 +121077,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *780 + iteration_configuration: *781 required: - name - data_type @@ -120638,8 +121099,8 @@ paths: value: name: Due date data_type: date - single_select_field: *781 - iteration_field: *782 + single_select_field: *782 + iteration_field: *783 responses: '201': description: Response @@ -120647,11 +121108,11 @@ paths: application/json: schema: *298 examples: - text_field: *783 - number_field: *784 - date_field: *785 - single_select_field: *786 - iteration_field: *787 + text_field: *784 + number_field: *785 + date_field: *786 + single_select_field: *787 + iteration_field: *788 '304': *38 '403': *29 '401': *25 @@ -120673,7 +121134,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *294 - - *788 + - *789 - *75 responses: '200': @@ -120682,7 +121143,7 @@ paths: application/json: schema: *298 examples: - default: *789 + default: *790 headers: Link: *71 '304': *38 @@ -121036,7 +121497,7 @@ paths: parameters: - *294 - *75 - - *790 + - *791 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -121575,7 +122036,7 @@ paths: parameters: - *75 - *125 - - *791 + - *792 - *127 responses: '200': @@ -121674,9 +122135,9 @@ paths: - *125 - *126 - *127 - - *792 - - *130 - *793 + - *130 + - *794 responses: '200': description: Response when getting a billing usage summary @@ -121810,9 +122271,9 @@ paths: application/json: schema: type: array - items: *760 + items: *761 examples: - default: *761 + default: *762 headers: Link: *71 x-github: @@ -121842,9 +122303,9 @@ paths: application/json: schema: type: array - items: *762 + items: *763 examples: - default: *794 + default: *795 headers: Link: *71 x-github: @@ -121869,7 +122330,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *75 - - *795 + - *796 - *63 - *17 - *19 @@ -121881,11 +122342,11 @@ paths: schema: anyOf: - type: array - items: *796 + items: *797 - type: array items: *83 examples: - default-response: *765 + default-response: *766 headers: Link: *71 x-github: @@ -122044,7 +122505,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &797 + enterprise: &798 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122102,7 +122563,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &798 + installation: &799 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122121,7 +122582,7 @@ x-webhooks: required: - id - node_id - organization: &799 + organization: &800 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122181,13 +122642,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &800 + repository: &801 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &832 + properties: &833 id: description: Unique identifier of the repository example: 42 @@ -122871,7 +123332,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &833 + required: &834 - archive_url - assignees_url - blobs_url @@ -123022,10 +123483,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -123101,11 +123562,11 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: &801 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + rule: &802 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) @@ -123328,11 +123789,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: *801 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + rule: *802 sender: *4 required: - action @@ -123515,11 +123976,11 @@ x-webhooks: - everyone required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: *801 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + rule: *802 sender: *4 required: - action @@ -123603,7 +124064,7 @@ x-webhooks: type: string enum: - completed - check_run: &803 + check_run: &804 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123694,7 +124155,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *802 + deployment: *803 details_url: example: https://example.com type: string @@ -123779,10 +124240,10 @@ x-webhooks: - output - app - pull_requests - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + installation: *799 + enterprise: *798 + organization: *800 + repository: *801 sender: *4 required: - check_run @@ -124173,11 +124634,11 @@ x-webhooks: type: string enum: - created - check_run: *803 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *804 + installation: *799 + enterprise: *798 + organization: *800 + repository: *801 sender: *4 required: - check_run @@ -124571,11 +125032,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *803 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *804 + installation: *799 + enterprise: *798 + organization: *800 + repository: *801 requested_action: description: The action requested by the user. type: object @@ -124978,11 +125439,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *803 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *804 + installation: *799 + enterprise: *798 + organization: *800 + repository: *801 sender: *4 required: - check_run @@ -125952,10 +126413,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -126654,10 +127115,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -127350,10 +127811,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -127664,20 +128125,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &804 + commit_oid: &805 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: *797 - installation: *798 - organization: *799 - ref: &805 + enterprise: *798 + installation: *799 + organization: *800 + ref: &806 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: *800 + repository: *801 sender: *4 required: - action @@ -128072,12 +128533,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *804 - enterprise: *797 - installation: *798 - organization: *799 - ref: *805 - repository: *800 + commit_oid: *805 + enterprise: *798 + installation: *799 + organization: *800 + ref: *806 + repository: *801 sender: *4 required: - action @@ -128343,12 +128804,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *804 - enterprise: *797 - installation: *798 - organization: *799 - ref: *805 - repository: *800 + commit_oid: *805 + enterprise: *798 + installation: *799 + organization: *800 + ref: *806 + repository: *801 sender: *4 required: - action @@ -128680,12 +129141,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *804 - enterprise: *797 - installation: *798 - organization: *799 - ref: *805 - repository: *800 + commit_oid: *805 + enterprise: *798 + installation: *799 + organization: *800 + ref: *806 + repository: *801 sender: *4 required: - action @@ -128959,16 +129420,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *800 + repository: *801 sender: *4 required: - action @@ -129205,12 +129666,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *804 - enterprise: *797 - installation: *798 - organization: *799 - ref: *805 - repository: *800 + commit_oid: *805 + enterprise: *798 + installation: *799 + organization: *800 + ref: *806 + repository: *801 sender: *4 required: - action @@ -129521,10 +129982,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -129779,10 +130240,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -129862,18 +130323,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *799 - pusher_type: &806 + organization: *800 + pusher_type: &807 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &807 + ref: &808 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -129883,7 +130344,7 @@ x-webhooks: enum: - tag - branch - repository: *800 + repository: *801 sender: *4 required: - ref @@ -129966,9 +130427,9 @@ x-webhooks: enum: - created definition: *306 - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -130053,9 +130514,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -130133,9 +130594,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *306 - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -130213,9 +130674,9 @@ x-webhooks: enum: - updated definition: *306 - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -130292,10 +130753,10 @@ x-webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - repository: *800 - organization: *799 + enterprise: *798 + installation: *799 + repository: *801 + organization: *800 sender: *4 new_property_values: type: array @@ -130380,18 +130841,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - pusher_type: *806 - ref: *807 + enterprise: *798 + installation: *799 + organization: *800 + pusher_type: *807 + ref: *808 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *800 + repository: *801 sender: *4 required: - ref @@ -130472,10 +130933,10 @@ x-webhooks: enum: - assignees_changed alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -130556,10 +131017,10 @@ x-webhooks: enum: - auto_dismissed alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -130641,10 +131102,10 @@ x-webhooks: enum: - auto_reopened alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -130726,10 +131187,10 @@ x-webhooks: enum: - created alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -130809,10 +131270,10 @@ x-webhooks: enum: - dismissed alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -130892,10 +131353,10 @@ x-webhooks: enum: - fixed alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -130976,10 +131437,10 @@ x-webhooks: enum: - reintroduced alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131059,10 +131520,10 @@ x-webhooks: enum: - reopened alert: *515 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + installation: *799 + organization: *800 + enterprise: *798 + repository: *801 sender: *4 required: - action @@ -131139,9 +131600,9 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - key: &808 + enterprise: *798 + installation: *799 + key: &809 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131177,8 +131638,8 @@ x-webhooks: - verified - created_at - read_only - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -131255,11 +131716,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - key: *808 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + key: *809 + organization: *800 + repository: *801 sender: *4 required: - action @@ -131815,12 +132276,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: &814 + workflow: &815 title: Workflow type: object nullable: true @@ -132561,15 +133022,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *809 - required: *810 + properties: *810 + required: *811 nullable: true pull_requests: type: array items: *631 - repository: *800 - organization: *799 - installation: *798 + repository: *801 + organization: *800 + installation: *799 sender: *4 responses: '200': @@ -132640,7 +133101,7 @@ x-webhooks: type: string enum: - approved - approver: &811 + approver: &812 type: object properties: avatar_url: @@ -132683,11 +133144,11 @@ x-webhooks: type: string comment: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - reviewers: &812 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + reviewers: &813 type: array items: type: object @@ -132766,7 +133227,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &813 + workflow_job_run: &814 type: object properties: conclusion: @@ -133497,18 +133958,18 @@ x-webhooks: type: string enum: - rejected - approver: *811 + approver: *812 comment: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - reviewers: *812 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + reviewers: *813 sender: *4 since: type: string - workflow_job_run: *813 + workflow_job_run: *814 workflow_job_runs: type: array items: @@ -134212,13 +134673,13 @@ x-webhooks: type: string enum: - requested - enterprise: *797 + enterprise: *798 environment: type: string - installation: *798 - organization: *799 - repository: *800 - requestor: &819 + installation: *799 + organization: *800 + repository: *801 + requestor: &820 title: User type: object nullable: true @@ -136107,12 +136568,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: *814 + workflow: *815 workflow_run: title: Deployment Workflow Run type: object @@ -136792,7 +137253,7 @@ x-webhooks: type: string enum: - answered - answer: &817 + answer: &818 type: object properties: author_association: @@ -136949,11 +137410,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137080,11 +137541,11 @@ x-webhooks: - from required: - category - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137167,11 +137628,11 @@ x-webhooks: type: string enum: - closed - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137253,7 +137714,7 @@ x-webhooks: type: string enum: - created - comment: &816 + comment: &817 type: object properties: author_association: @@ -137410,11 +137871,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137497,12 +137958,12 @@ x-webhooks: type: string enum: - deleted - comment: *816 - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + comment: *817 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137597,12 +138058,12 @@ x-webhooks: - from required: - body - comment: *816 - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + comment: *817 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137686,11 +138147,11 @@ x-webhooks: type: string enum: - created - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137772,11 +138233,11 @@ x-webhooks: type: string enum: - deleted - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137876,11 +138337,11 @@ x-webhooks: type: string required: - from - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -137962,10 +138423,10 @@ x-webhooks: type: string enum: - labeled - discussion: *815 - enterprise: *797 - installation: *798 - label: &818 + discussion: *816 + enterprise: *798 + installation: *799 + label: &819 title: Label type: object properties: @@ -137997,8 +138458,8 @@ x-webhooks: - color - default - description - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138081,11 +138542,11 @@ x-webhooks: type: string enum: - locked - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138167,11 +138628,11 @@ x-webhooks: type: string enum: - pinned - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138253,11 +138714,11 @@ x-webhooks: type: string enum: - reopened - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138342,16 +138803,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *815 - new_repository: *800 + new_discussion: *816 + new_repository: *801 required: - new_discussion - new_repository - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138434,10 +138895,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *815 - old_answer: *817 - organization: *799 - repository: *800 + discussion: *816 + old_answer: *818 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138519,12 +138980,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *815 - enterprise: *797 - installation: *798 - label: *818 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138607,11 +139068,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138693,11 +139154,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *815 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *816 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -138770,7 +139231,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *797 + enterprise: *798 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -139430,9 +139891,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - forkee @@ -139578,9 +140039,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pages: description: The pages that were updated. type: array @@ -139617,7 +140078,7 @@ x-webhooks: - action - sha - html_url - repository: *800 + repository: *801 sender: *4 required: - pages @@ -139693,10 +140154,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: &820 + organization: *800 + repositories: &821 description: An array of repository objects that the installation can access. type: array @@ -139722,8 +140183,8 @@ x-webhooks: - name - full_name - private - repository: *800 - requester: *819 + repository: *801 + requester: *820 sender: *4 required: - action @@ -139798,11 +140259,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: *820 - repository: *800 + organization: *800 + repositories: *821 + repository: *801 requester: nullable: true sender: *4 @@ -139878,11 +140339,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: *820 - repository: *800 + organization: *800 + repositories: *821 + repository: *801 requester: nullable: true sender: *4 @@ -139958,10 +140419,10 @@ x-webhooks: type: string enum: - added - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories_added: &821 + organization: *800 + repositories_added: &822 description: An array of repository objects, which were added to the installation. type: array @@ -140007,15 +140468,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *800 - repository_selection: &822 + repository: *801 + repository_selection: &823 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *819 + requester: *820 sender: *4 required: - action @@ -140094,10 +140555,10 @@ x-webhooks: type: string enum: - removed - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories_added: *821 + organization: *800 + repositories_added: *822 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140124,9 +140585,9 @@ x-webhooks: - name - full_name - private - repository: *800 - repository_selection: *822 - requester: *819 + repository: *801 + repository_selection: *823 + requester: *820 sender: *4 required: - action @@ -140205,11 +140666,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: *820 - repository: *800 + organization: *800 + repositories: *821 + repository: *801 requester: nullable: true sender: *4 @@ -140387,10 +140848,10 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 target_type: type: string @@ -140469,11 +140930,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *797 + enterprise: *798 installation: *22 - organization: *799 - repositories: *820 - repository: *800 + organization: *800 + repositories: *821 + repository: *801 requester: nullable: true sender: *4 @@ -140740,8 +141201,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141530,8 +141991,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141880,8 +142341,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -141961,7 +142422,7 @@ x-webhooks: type: string enum: - deleted - comment: &823 + comment: &824 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -142141,8 +142602,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142927,8 +143388,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143279,8 +143740,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -143360,7 +143821,7 @@ x-webhooks: type: string enum: - edited - changes: &852 + changes: &853 description: The changes to the comment. type: object properties: @@ -143372,9 +143833,9 @@ x-webhooks: type: string required: - from - comment: *823 - enterprise: *797 - installation: *798 + comment: *824 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144162,8 +144623,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144512,8 +144973,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -144594,9 +145055,9 @@ x-webhooks: type: string enum: - pinned - comment: *823 - enterprise: *797 - installation: *798 + comment: *824 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145386,8 +145847,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145738,8 +146199,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -145819,9 +146280,9 @@ x-webhooks: type: string enum: - unpinned - comment: *823 - enterprise: *797 - installation: *798 + comment: *824 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146611,8 +147072,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146963,8 +147424,8 @@ x-webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147053,9 +147514,9 @@ x-webhooks: type: number blocking_issue: *89 blocking_issue_repo: *83 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147144,9 +147605,9 @@ x-webhooks: type: number blocking_issue: *89 blocking_issue_repo: *83 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147234,9 +147695,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147325,9 +147786,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -147407,10 +147868,10 @@ x-webhooks: type: string enum: - assigned - assignee: *819 - enterprise: *797 - installation: *798 - issue: &824 + assignee: *820 + enterprise: *798 + installation: *799 + issue: &825 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148202,8 +148663,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -148323,8 +148784,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -148404,8 +148865,8 @@ x-webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -149202,8 +149663,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -149458,8 +149919,8 @@ x-webhooks: required: - state - closed_at - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -149538,8 +149999,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150327,8 +150788,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -150447,8 +150908,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -150527,8 +150988,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151338,8 +151799,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -151437,7 +151898,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &825 + milestone: &826 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151575,8 +152036,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -151675,8 +152136,8 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152468,8 +152929,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -152589,9 +153050,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *818 - organization: *799 - repository: *800 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -152671,9 +153132,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *797 - installation: *798 - issue: *824 + enterprise: *798 + installation: *799 + issue: *825 issue_field: type: object description: The issue field whose value was set or updated on the @@ -152827,8 +153288,8 @@ x-webhooks: - id required: - from - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -152908,9 +153369,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *797 - installation: *798 - issue: *824 + enterprise: *798 + installation: *799 + issue: *825 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -152991,8 +153452,8 @@ x-webhooks: nullable: true required: - id - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -153072,8 +153533,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153864,8 +154325,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -153985,9 +154446,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *818 - organization: *799 - repository: *800 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -154067,8 +154528,8 @@ x-webhooks: type: string enum: - locked - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154883,8 +155344,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -154981,8 +155442,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -155061,8 +155522,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155871,8 +156332,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -155969,9 +156430,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *825 - organization: *799 - repository: *800 + milestone: *826 + organization: *800 + repository: *801 sender: *4 required: - action @@ -156834,8 +157295,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -157419,8 +157880,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158204,8 +158665,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -158332,8 +158793,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -158413,9 +158874,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *797 - installation: *798 - issue: &826 + enterprise: *798 + installation: *799 + issue: &827 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -159201,8 +159662,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -159321,8 +159782,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -159401,8 +159862,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160215,8 +160676,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -160314,8 +160775,8 @@ x-webhooks: user_view_type: type: string type: *258 - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -161184,8 +161645,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -161783,11 +162244,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *797 - installation: *798 - issue: *826 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + issue: *827 + organization: *800 + repository: *801 sender: *4 required: - action @@ -161867,12 +162328,12 @@ x-webhooks: type: string enum: - typed - enterprise: *797 - installation: *798 - issue: *824 + enterprise: *798 + installation: *799 + issue: *825 type: *258 - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -161953,7 +162414,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &855 + assignee: &856 title: User type: object nullable: true @@ -162023,11 +162484,11 @@ x-webhooks: required: - login - id - enterprise: *797 - installation: *798 - issue: *824 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + issue: *825 + organization: *800 + repository: *801 sender: *4 required: - action @@ -162106,12 +162567,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *797 - installation: *798 - issue: *824 - label: *818 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + issue: *825 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -162191,8 +162652,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163005,8 +163466,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *730 - issue_dependencies_summary: *731 + sub_issues_summary: *731 + issue_dependencies_summary: *732 issue_field_values: type: array items: *576 @@ -163103,8 +163564,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163184,11 +163645,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *797 - installation: *798 - issue: *826 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + issue: *827 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163267,12 +163728,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *797 - installation: *798 - issue: *824 + enterprise: *798 + installation: *799 + issue: *825 type: *258 - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163352,11 +163813,11 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - label: *818 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163434,11 +163895,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - label: *818 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163548,11 +164009,11 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - label: *818 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + label: *819 + organization: *800 + repository: *801 sender: *4 required: - action @@ -163634,9 +164095,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: &827 + enterprise: *798 + installation: *799 + marketplace_purchase: &828 title: Marketplace Purchase type: object required: @@ -163719,8 +164180,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *799 - previous_marketplace_purchase: &828 + organization: *800 + previous_marketplace_purchase: &829 title: Marketplace Purchase type: object properties: @@ -163800,7 +164261,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *801 sender: *4 required: - action @@ -163880,10 +164341,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *827 - organization: *799 + enterprise: *798 + installation: *799 + marketplace_purchase: *828 + organization: *800 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163966,7 +164427,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *801 sender: *4 required: - action @@ -164048,10 +164509,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *827 - organization: *799 + enterprise: *798 + installation: *799 + marketplace_purchase: *828 + organization: *800 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -164133,7 +164594,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *801 sender: *4 required: - action @@ -164214,8 +164675,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 marketplace_purchase: title: Marketplace Purchase type: object @@ -164297,9 +164758,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *799 - previous_marketplace_purchase: *828 - repository: *800 + organization: *800 + previous_marketplace_purchase: *829 + repository: *801 sender: *4 required: - action @@ -164379,12 +164840,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *827 - organization: *799 - previous_marketplace_purchase: *828 - repository: *800 + enterprise: *798 + installation: *799 + marketplace_purchase: *828 + organization: *800 + previous_marketplace_purchase: *829 + repository: *801 sender: *4 required: - action @@ -164486,11 +164947,11 @@ x-webhooks: type: string required: - to - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 sender: *4 required: - action @@ -164590,11 +165051,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 sender: *4 required: - action @@ -164673,11 +165134,11 @@ x-webhooks: type: string enum: - removed - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 sender: *4 required: - action @@ -164755,11 +165216,11 @@ x-webhooks: type: string enum: - added - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164835,7 +165296,7 @@ x-webhooks: required: - login - id - team: &829 + team: &830 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -165058,11 +165519,11 @@ x-webhooks: type: string enum: - removed - enterprise: *797 - installation: *798 - member: *819 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + member: *820 + organization: *800 + repository: *801 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165139,7 +165600,7 @@ x-webhooks: required: - login - id - team: *829 + team: *830 required: - action - scope @@ -165221,8 +165682,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *798 - merge_group: &831 + installation: *799 + merge_group: &832 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -165241,15 +165702,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *830 + head_commit: *831 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165335,10 +165796,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *798 - merge_group: *831 - organization: *799 - repository: *800 + installation: *799 + merge_group: *832 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165411,7 +165872,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 + enterprise: *798 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165520,16 +165981,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *798 - organization: *799 + installation: *799 + organization: *800 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *832 - required: *833 + properties: *833 + required: *834 nullable: true sender: *4 required: @@ -165610,11 +166071,11 @@ x-webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - milestone: *825 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + milestone: *826 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165693,9 +166154,9 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - milestone: &834 + enterprise: *798 + installation: *799 + milestone: &835 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165832,8 +166293,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -165912,11 +166373,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - milestone: *825 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + milestone: *826 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166026,11 +166487,11 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - milestone: *825 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + milestone: *826 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166110,11 +166571,11 @@ x-webhooks: type: string enum: - opened - enterprise: *797 - installation: *798 - milestone: *834 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + milestone: *835 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166193,11 +166654,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *819 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + blocked_user: *820 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166276,11 +166737,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *819 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + blocked_user: *820 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166359,9 +166820,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - membership: &835 + enterprise: *798 + installation: *799 + membership: &836 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166468,8 +166929,8 @@ x-webhooks: - role - organization_url - user - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166547,11 +167008,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *797 - installation: *798 - membership: *835 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + membership: *836 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166630,8 +167091,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166747,10 +167208,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 - user: *819 + user: *820 required: - action - invitation @@ -166828,11 +167289,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *797 - installation: *798 - membership: *835 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + membership: *836 + organization: *800 + repository: *801 sender: *4 required: - action @@ -166919,11 +167380,11 @@ x-webhooks: properties: from: type: string - enterprise: *797 - installation: *798 - membership: *835 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + membership: *836 + organization: *800 + repository: *801 sender: *4 required: - action @@ -167000,9 +167461,9 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 package: description: Information about the package. type: object @@ -167501,7 +167962,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &836 + items: &837 title: Ruby Gems metadata type: object properties: @@ -167596,7 +168057,7 @@ x-webhooks: - owner - package_version - registry - repository: *800 + repository: *801 sender: *4 required: - action @@ -167672,9 +168133,9 @@ x-webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 package: description: Information about the package. type: object @@ -168027,7 +168488,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *836 + items: *837 source_url: type: string format: uri @@ -168097,7 +168558,7 @@ x-webhooks: - owner - package_version - registry - repository: *800 + repository: *801 sender: *4 required: - action @@ -168273,12 +168734,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *797 + enterprise: *798 id: type: integer - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - id @@ -168355,7 +168816,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &837 + personal_access_token_request: &838 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168501,10 +168962,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *797 - organization: *799 + enterprise: *798 + organization: *800 sender: *4 - installation: *798 + installation: *799 required: - action - personal_access_token_request @@ -168581,11 +169042,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *837 - enterprise: *797 - organization: *799 + personal_access_token_request: *838 + enterprise: *798 + organization: *800 sender: *4 - installation: *798 + installation: *799 required: - action - personal_access_token_request @@ -168661,11 +169122,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *837 - enterprise: *797 - organization: *799 + personal_access_token_request: *838 + enterprise: *798 + organization: *800 sender: *4 - installation: *798 + installation: *799 required: - action - personal_access_token_request @@ -168740,11 +169201,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *837 - organization: *799 - enterprise: *797 + personal_access_token_request: *838 + organization: *800 + enterprise: *798 sender: *4 - installation: *798 + installation: *799 required: - action - personal_access_token_request @@ -168849,7 +169310,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *838 + last_response: *839 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168881,8 +169342,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 zen: description: Random string of GitHub zen. @@ -169127,10 +169588,10 @@ x-webhooks: - from required: - note - enterprise: *797 - installation: *798 - organization: *799 - project_card: &839 + enterprise: *798 + installation: *799 + organization: *800 + project_card: &840 title: Project Card type: object properties: @@ -169249,7 +169710,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *800 + repository: *801 sender: *4 required: - action @@ -169330,11 +169791,11 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project_card: *839 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project_card: *840 + repository: *801 sender: *4 required: - action @@ -169414,9 +169875,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 project_card: title: Project Card type: object @@ -169544,8 +170005,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *832 - required: *833 + properties: *833 + required: *834 nullable: true sender: *4 required: @@ -169639,11 +170100,11 @@ x-webhooks: - from required: - note - enterprise: *797 - installation: *798 - organization: *799 - project_card: *839 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project_card: *840 + repository: *801 sender: *4 required: - action @@ -169737,9 +170198,9 @@ x-webhooks: - from required: - column_id - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 project_card: allOf: - title: Project Card @@ -169929,7 +170390,7 @@ x-webhooks: type: string required: - after_id - repository: *800 + repository: *801 sender: *4 required: - action @@ -170009,10 +170470,10 @@ x-webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - organization: *799 - project: &841 + enterprise: *798 + installation: *799 + organization: *800 + project: &842 title: Project type: object properties: @@ -170136,7 +170597,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *800 + repository: *801 sender: *4 required: - action @@ -170216,10 +170677,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project_column: &840 + enterprise: *798 + installation: *799 + organization: *800 + project_column: &841 title: Project Column type: object properties: @@ -170258,7 +170719,7 @@ x-webhooks: - name - created_at - updated_at - repository: *800 + repository: *801 sender: *4 required: - action @@ -170337,18 +170798,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - project_column: *840 + enterprise: *798 + installation: *799 + organization: *800 + project_column: *841 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *832 - required: *833 + properties: *833 + required: *834 nullable: true sender: *4 required: @@ -170438,11 +170899,11 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - project_column: *840 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project_column: *841 + repository: *801 sender: *4 required: - action @@ -170522,11 +170983,11 @@ x-webhooks: type: string enum: - moved - enterprise: *797 - installation: *798 - organization: *799 - project_column: *840 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project_column: *841 + repository: *801 sender: *4 required: - action @@ -170606,11 +171067,11 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project: *841 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project: *842 + repository: *801 sender: *4 required: - action @@ -170690,18 +171151,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - project: *841 + enterprise: *798 + installation: *799 + organization: *800 + project: *842 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *832 - required: *833 + properties: *833 + required: *834 nullable: true sender: *4 required: @@ -170803,11 +171264,11 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - project: *841 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project: *842 + repository: *801 sender: *4 required: - action @@ -170886,11 +171347,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 - organization: *799 - project: *841 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + project: *842 + repository: *801 sender: *4 required: - action @@ -170971,8 +171432,8 @@ x-webhooks: type: string enum: - closed - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -171054,8 +171515,8 @@ x-webhooks: type: string enum: - created - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -171137,8 +171598,8 @@ x-webhooks: type: string enum: - deleted - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -171256,8 +171717,8 @@ x-webhooks: type: string to: type: string - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -171341,7 +171802,7 @@ x-webhooks: type: string enum: - archived - changes: &845 + changes: &846 type: object properties: archived_at: @@ -171355,9 +171816,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *798 - organization: *799 - projects_v2_item: &842 + installation: *799 + organization: *800 + projects_v2_item: &843 title: Projects v2 Item description: An item belonging to a project type: object @@ -171492,9 +171953,9 @@ x-webhooks: nullable: true to: type: string - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -171576,9 +172037,9 @@ x-webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -171659,9 +172120,9 @@ x-webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -171767,7 +172228,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &843 + - &844 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171789,7 +172250,7 @@ x-webhooks: required: - id - name - - &844 + - &845 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171823,8 +172284,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *843 - *844 + - *845 required: - field_value - type: object @@ -171840,9 +172301,9 @@ x-webhooks: nullable: true required: - body - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -171937,9 +172398,9 @@ x-webhooks: to: type: string nullable: true - installation: *798 - organization: *799 - projects_v2_item: *842 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -172022,10 +172483,10 @@ x-webhooks: type: string enum: - restored - changes: *845 - installation: *798 - organization: *799 - projects_v2_item: *842 + changes: *846 + installation: *799 + organization: *800 + projects_v2_item: *843 sender: *4 required: - action @@ -172107,8 +172568,8 @@ x-webhooks: type: string enum: - reopened - installation: *798 - organization: *799 + installation: *799 + organization: *800 projects_v2: *292 sender: *4 required: @@ -172190,14 +172651,14 @@ x-webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2_status_update: &848 + installation: *799 + organization: *800 + projects_v2_status_update: &849 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *846 - required: *847 + properties: *847 + required: *848 sender: *4 required: - action @@ -172278,9 +172739,9 @@ x-webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *799 + organization: *800 + projects_v2_status_update: *849 sender: *4 required: - action @@ -172416,9 +172877,9 @@ x-webhooks: type: string format: date nullable: true - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *799 + organization: *800 + projects_v2_status_update: *849 sender: *4 required: - action @@ -172489,10 +172950,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - repository @@ -172569,13 +173030,13 @@ x-webhooks: type: string enum: - assigned - assignee: *819 - enterprise: *797 - installation: *798 - number: &849 + assignee: *820 + enterprise: *798 + installation: *799 + number: &850 description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -174863,7 +175324,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -174945,11 +175406,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -177232,7 +177693,7 @@ x-webhooks: - draft reason: type: string - repository: *800 + repository: *801 sender: *4 required: - action @@ -177314,11 +177775,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -179601,7 +180062,7 @@ x-webhooks: - draft reason: type: string - repository: *800 + repository: *801 sender: *4 required: - action @@ -179683,11 +180144,11 @@ x-webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: &850 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: &851 allOf: - *631 - type: object @@ -179751,7 +180212,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *800 + repository: *801 sender: *4 required: - action @@ -179832,12 +180293,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -179917,11 +180378,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *797 + enterprise: *798 milestone: *614 - number: *849 - organization: *799 - pull_request: &851 + number: *850 + organization: *800 + pull_request: &852 title: Pull Request type: object properties: @@ -182203,7 +182664,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -182282,11 +182743,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -184587,7 +185048,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *800 + repository: *801 sender: *4 required: - action @@ -184711,12 +185172,12 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -184796,11 +185257,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -187086,7 +187547,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -187166,11 +187627,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *797 - installation: *798 - label: *818 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + label: *819 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -189457,7 +189918,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -189538,10 +189999,10 @@ x-webhooks: type: string enum: - locked - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -191826,7 +192287,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -191906,12 +192367,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *797 + enterprise: *798 milestone: *614 - number: *849 - organization: *799 - pull_request: *851 - repository: *800 + number: *850 + organization: *800 + pull_request: *852 + repository: *801 sender: *4 required: - action @@ -191990,12 +192451,12 @@ x-webhooks: type: string enum: - opened - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -192076,12 +192537,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -192161,12 +192622,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 + pull_request: *851 + repository: *801 sender: *4 required: - action @@ -192532,9 +192993,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: type: object properties: @@ -194709,7 +195170,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *801 sender: *4 required: - action @@ -194789,7 +195250,7 @@ x-webhooks: type: string enum: - deleted - comment: &853 + comment: &854 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195074,9 +195535,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: type: object properties: @@ -197239,7 +197700,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *801 sender: *4 required: - action @@ -197319,11 +197780,11 @@ x-webhooks: type: string enum: - edited - changes: *852 - comment: *853 - enterprise: *797 - installation: *798 - organization: *799 + changes: *853 + comment: *854 + enterprise: *798 + installation: *799 + organization: *800 pull_request: type: object properties: @@ -199489,7 +199950,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *801 sender: *4 required: - action @@ -199570,9 +200031,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -201750,7 +202211,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *801 review: description: The review that was affected. type: object @@ -201997,9 +202458,9 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -204049,8 +204510,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 - review: &854 + repository: *801 + review: &855 description: The review that was affected. type: object properties: @@ -204283,12 +204744,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -206576,7 +207037,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 requested_reviewer: title: User type: object @@ -206660,12 +207121,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -208960,7 +209421,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209152,12 +209613,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -211447,7 +211908,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 requested_reviewer: title: User type: object @@ -211532,12 +211993,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 number: description: The pull request number. type: integer - organization: *799 + organization: *800 pull_request: title: Pull Request type: object @@ -213818,7 +214279,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213999,9 +214460,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -216181,8 +216642,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 - review: *854 + repository: *801 + review: *855 sender: *4 required: - action @@ -216262,9 +216723,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -218353,7 +218814,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *801 sender: *4 thread: type: object @@ -218740,9 +219201,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 pull_request: title: Simple Pull Request type: object @@ -220817,7 +221278,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *801 sender: *4 thread: type: object @@ -221201,11 +221662,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *797 - installation: *798 + enterprise: *798 + installation: *799 stack: *628 - number: *849 - organization: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -223492,7 +223953,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -223578,10 +224039,10 @@ x-webhooks: type: string before: type: string - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -225857,7 +226318,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -225939,11 +226400,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *855 - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + assignee: *856 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -228231,7 +228692,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -228310,11 +228771,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *797 - installation: *798 - label: *818 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + label: *819 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -230592,7 +231053,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -230673,10 +231134,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *798 + installation: *799 + number: *850 + organization: *800 pull_request: title: Pull Request type: object @@ -232946,7 +233407,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *801 sender: *4 required: - action @@ -233146,7 +233607,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *797 + enterprise: *798 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -233238,8 +233699,8 @@ x-webhooks: - url - author - committer - installation: *798 - organization: *799 + installation: *799 + organization: *800 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -233825,9 +234286,9 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 registry_package: type: object properties: @@ -234273,7 +234734,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *836 + items: *837 summary: type: string tag_name: @@ -234327,7 +234788,7 @@ x-webhooks: - owner - package_version - registry - repository: *800 + repository: *801 sender: *4 required: - action @@ -234405,9 +234866,9 @@ x-webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 registry_package: type: object properties: @@ -234715,7 +235176,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *836 + items: *837 summary: type: string tag_name: @@ -234764,7 +235225,7 @@ x-webhooks: - owner - package_version - registry - repository: *800 + repository: *801 sender: *4 required: - action @@ -234841,10 +235302,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - release: &856 + enterprise: *798 + installation: *799 + organization: *800 + release: &857 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -235162,7 +235623,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *800 + repository: *801 sender: *4 required: - action @@ -235239,11 +235700,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + release: *857 + repository: *801 sender: *4 required: - action @@ -235360,11 +235821,11 @@ x-webhooks: type: boolean required: - to - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + release: *857 + repository: *801 sender: *4 required: - action @@ -235442,9 +235903,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -235766,7 +236227,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *800 + repository: *801 sender: *4 required: - action @@ -235842,10 +236303,10 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - release: &857 + enterprise: *798 + installation: *799 + organization: *800 + release: &858 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -236164,7 +236625,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *800 + repository: *801 sender: *4 required: - action @@ -236240,11 +236701,11 @@ x-webhooks: type: string enum: - released - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + release: *857 + repository: *801 sender: *4 required: - action @@ -236320,11 +236781,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *797 - installation: *798 - organization: *799 - release: *857 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + release: *858 + repository: *801 sender: *4 required: - action @@ -236400,11 +236861,11 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_advisory: *716 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + repository_advisory: *717 sender: *4 required: - action @@ -236480,11 +236941,11 @@ x-webhooks: type: string enum: - reported - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_advisory: *716 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + repository_advisory: *717 sender: *4 required: - action @@ -236560,10 +237021,10 @@ x-webhooks: type: string enum: - archived - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -236640,10 +237101,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -236721,10 +237182,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -236808,10 +237269,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -236923,10 +237384,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -236998,10 +237459,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 status: type: string @@ -237082,10 +237543,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237162,10 +237623,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237259,10 +237720,10 @@ x-webhooks: - name required: - repository - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237342,10 +237803,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 repository_ruleset: *340 sender: *4 required: @@ -237424,10 +237885,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 repository_ruleset: *340 sender: *4 required: @@ -237506,10 +237967,10 @@ x-webhooks: type: string enum: - edited - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 repository_ruleset: *340 changes: type: object @@ -237571,16 +238032,16 @@ x-webhooks: properties: added: type: array - items: *652 + items: *653 deleted: type: array - items: *652 + items: *653 updated: type: array items: type: object properties: - rule: *652 + rule: *653 changes: type: object properties: @@ -237814,10 +238275,10 @@ x-webhooks: - from required: - owner - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237895,10 +238356,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -237976,7 +238437,7 @@ x-webhooks: type: string enum: - create - alert: &858 + alert: &859 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -238098,10 +238559,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238307,10 +238768,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238388,11 +238849,11 @@ x-webhooks: type: string enum: - reopen - alert: *858 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *859 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238591,10 +239052,10 @@ x-webhooks: enum: - fixed - open - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238672,7 +239133,7 @@ x-webhooks: type: string enum: - assigned - alert: &860 + alert: &861 type: object properties: number: *189 @@ -238822,12 +239283,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *859 + metadata: *860 assignee: *4 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238905,11 +239366,11 @@ x-webhooks: type: string enum: - created - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -238990,11 +239451,11 @@ x-webhooks: type: string enum: - created - alert: *860 - installation: *798 - location: *861 - organization: *799 - repository: *800 + alert: *861 + installation: *799 + location: *862 + organization: *800 + repository: *801 sender: *4 required: - location @@ -239232,11 +239693,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239313,11 +239774,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239394,11 +239855,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239476,11 +239937,11 @@ x-webhooks: type: string enum: - reopened - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239558,11 +240019,11 @@ x-webhooks: type: string enum: - resolved - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239640,12 +240101,12 @@ x-webhooks: type: string enum: - unassigned - alert: *860 + alert: *861 assignee: *4 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239723,11 +240184,11 @@ x-webhooks: type: string enum: - validated - alert: *860 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *861 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -239853,10 +240314,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *800 - enterprise: *797 - installation: *798 - organization: *799 + repository: *801 + enterprise: *798 + installation: *799 + organization: *800 sender: *4 required: - action @@ -239934,11 +240395,11 @@ x-webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - security_advisory: &862 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + security_advisory: &863 description: The details of the security advisory, including summary, description, and severity. type: object @@ -240109,11 +240570,11 @@ x-webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - security_advisory: *862 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 + security_advisory: *863 sender: *4 required: - action @@ -240186,10 +240647,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -240362,9 +240823,9 @@ x-webhooks: type: object properties: security_and_analysis: *313 - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: *360 sender: *4 required: @@ -240443,12 +240904,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: &863 + sponsorship: &864 type: object properties: created_at: @@ -240749,12 +241210,12 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - sponsorship @@ -240842,12 +241303,12 @@ x-webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - changes @@ -240924,17 +241385,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &864 + effective_date: &865 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: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - sponsorship @@ -241008,7 +241469,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &865 + changes: &866 type: object properties: tier: @@ -241052,13 +241513,13 @@ x-webhooks: - from required: - tier - effective_date: *864 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + effective_date: *865 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - changes @@ -241135,13 +241596,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *865 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + changes: *866 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - sponsorship: *863 + sponsorship: *864 required: - action - changes @@ -241215,10 +241676,10 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241301,10 +241762,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241724,15 +242185,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *797 + enterprise: *798 id: description: The unique identifier of the status. type: integer - installation: *798 + installation: *799 name: type: string - organization: *799 - repository: *800 + organization: *800 + repository: *801 sender: *4 sha: description: The Commit SHA. @@ -241847,9 +242308,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -241938,9 +242399,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -242029,9 +242490,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -242120,9 +242581,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *89 - installation: *798 - organization: *799 - repository: *800 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -242198,12 +242659,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - team: &866 + team: &867 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -242426,9 +242887,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -242886,7 +243347,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - team @@ -242962,9 +243423,9 @@ x-webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -243422,7 +243883,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - team @@ -243499,9 +243960,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -243959,7 +244420,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - team @@ -244103,9 +244564,9 @@ x-webhooks: - from required: - permissions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -244563,7 +245024,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - changes @@ -244641,9 +245102,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *798 + installation: *799 + organization: *800 repository: title: Repository description: A git repository @@ -245101,7 +245562,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *866 + team: *867 required: - action - team @@ -245177,10 +245638,10 @@ x-webhooks: type: string enum: - started - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 required: - action @@ -245253,16 +245714,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *797 + enterprise: *798 inputs: type: object nullable: true additionalProperties: true - installation: *798 - organization: *799 + installation: *799 + organization: *800 ref: type: string - repository: *800 + repository: *801 sender: *4 workflow: type: string @@ -245344,10 +245805,10 @@ x-webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 workflow_job: allOf: @@ -245663,10 +246124,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 workflow_job: allOf: @@ -246005,10 +246466,10 @@ x-webhooks: type: string enum: - queued - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 workflow_job: type: object @@ -246222,10 +246683,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 workflow_job: type: object @@ -246441,12 +246902,12 @@ x-webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: *814 + workflow: *815 workflow_run: title: Workflow Run type: object @@ -247445,12 +247906,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: *814 + workflow: *815 workflow_run: title: Workflow Run type: object @@ -248434,12 +248895,12 @@ x-webhooks: type: string enum: - requested - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *798 + installation: *799 + organization: *800 + repository: *801 sender: *4 - workflow: *814 + workflow: *815 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index d8f77feb89..028a5d2e71 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -62645,7 +62645,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" ], @@ -62860,6 +62860,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "example": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -153999,17 +154008,17 @@ } } }, - "/orgs/{org}/invitations": { + "/orgs/{org}/interaction-limits/pulls/creation-cap": { "get": { - "summary": "List pending organization invitations", - "description": "The return hash contains a `role` field which refers to the Organization\nInvitation role and will be one of the following values: `direct_member`, `admin`,\n`billing_manager`, or `hiring_manager`. If the invitee is not a GitHub\nmember, the `login` field in the return hash will be `null`.", + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", "tags": [ - "orgs" + "interactions" ], - "operationId": "orgs/list-pending-invitations", + "operationId": "interactions/get-pull-request-creation-cap-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/members#list-pending-organization-invitations" + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" }, "parameters": [ { @@ -154020,56 +154029,6 @@ "schema": { "type": "string" } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "role", - "description": "Filter invitations by their member role.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "admin", - "direct_member", - "billing_manager", - "hiring_manager" - ], - "default": "all" - } - }, - { - "name": "invitation_source", - "description": "Filter invitations by their invitation source.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "member", - "scim" - ], - "default": "all" - } } ], "responses": { @@ -154078,243 +154037,686 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "title": "Organization Invitation", - "description": "Organization Invitation", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "login": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "role": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "failed_at": { - "type": "string", - "nullable": true - }, - "failed_reason": { - "type": "string", - "nullable": true - }, - "inviter": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "team_count": { - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\"" - }, - "invitation_teams_url": { - "type": "string", - "example": "\"https://api.github.com/organizations/16/invitations/1/teams\"" - }, - "invitation_source": { - "type": "string", - "example": "\"member\"" - } + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" }, - "required": [ - "id", - "login", - "email", - "role", - "created_at", - "inviter", - "team_count", - "invitation_teams_url", - "node_id" - ] - } + "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": { - "value": [ - { - "id": 1, - "login": "monalisa", - "node_id": "MDQ6VXNlcjE=", - "email": "octocat@github.com", - "role": "direct_member", - "created_at": "2016-11-30T06:46:10-08:00", - "failed_at": "", - "failed_reason": "", - "inviter": { - "login": "other_user", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/other_user_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/other_user", - "html_url": "https://github.com/other_user", - "followers_url": "https://api.github.com/users/other_user/followers", - "following_url": "https://api.github.com/users/other_user/following{/other_user}", - "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", - "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", - "organizations_url": "https://api.github.com/users/other_user/orgs", - "repos_url": "https://api.github.com/users/other_user/repos", - "events_url": "https://api.github.com/users/other_user/events{/privacy}", - "received_events_url": "https://api.github.com/users/other_user/received_events", - "type": "User", - "site_admin": false - }, - "team_count": 2, - "invitation_teams_url": "https://api.github.com/organizations/2/invitations/1/teams", - "invitation_source": "member" - } - ] + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } } } } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } } }, - "404": { - "description": "Resource not found", + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/invitations": { + "get": { + "summary": "List pending organization invitations", + "description": "The return hash contains a `role` field which refers to the Organization\nInvitation role and will be one of the following values: `direct_member`, `admin`,\n`billing_manager`, or `hiring_manager`. If the invitee is not a GitHub\nmember, the `login` field in the return hash will be `null`.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-pending-invitations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/members#list-pending-organization-invitations" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "role", + "description": "Filter invitations by their member role.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "admin", + "direct_member", + "billing_manager", + "hiring_manager" + ], + "default": "all" + } + }, + { + "name": "invitation_source", + "description": "Filter invitations by their invitation source.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "member", + "scim" + ], + "default": "all" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Invitation", + "description": "Organization Invitation", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string", + "nullable": true + }, + "role": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "failed_at": { + "type": "string", + "nullable": true + }, + "failed_reason": { + "type": "string", + "nullable": true + }, + "inviter": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "team_count": { + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\"" + }, + "invitation_teams_url": { + "type": "string", + "example": "\"https://api.github.com/organizations/16/invitations/1/teams\"" + }, + "invitation_source": { + "type": "string", + "example": "\"member\"" + } + }, + "required": [ + "id", + "login", + "email", + "role", + "created_at", + "inviter", + "team_count", + "invitation_teams_url", + "node_id" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "login": "monalisa", + "node_id": "MDQ6VXNlcjE=", + "email": "octocat@github.com", + "role": "direct_member", + "created_at": "2016-11-30T06:46:10-08:00", + "failed_at": "", + "failed_reason": "", + "inviter": { + "login": "other_user", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/other_user", + "html_url": "https://github.com/other_user", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "repos_url": "https://api.github.com/users/other_user/repos", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "type": "User", + "site_admin": false + }, + "team_count": 2, + "invitation_teams_url": "https://api.github.com/organizations/2/invitations/1/teams", + "invitation_source": "member" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -238141,6 +238543,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": [ @@ -239553,6 +239959,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } } }, @@ -241730,7 +242141,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -441511,7 +441922,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", @@ -441535,8 +441946,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -441579,8 +441997,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -441607,8 +442032,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -441635,8 +442067,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -441669,8 +442108,15 @@ "high" ] }, - "already_applied": { + "ignored": { "type": "boolean" + }, + "ignored_reason": { + "type": "string", + "enum": [ + "already_applied", + "issue_already_closed" + ] } } } @@ -565990,200 +566436,1165 @@ "schema": { "type": "integer" } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "nullable": true, - "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", + "nullable": true, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "nullable": true, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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." } } } @@ -566243,13 +567654,6 @@ } } } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" } } }, @@ -641591,6 +642995,11 @@ "type": "integer", "description": "The ID of a team to set as the parent team.", "nullable": true + }, + "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.", + "nullable": true } }, "required": [ diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index e564b42d02..3fd2c7e756 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1081,7 +1081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &721 + - &722 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14496,7 +14496,7 @@ paths: properties: action: type: string - discussion: &818 + discussion: &819 title: Discussion description: A Discussion in a repository. type: object @@ -15241,7 +15241,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &733 + sub_issues_summary: &734 title: Sub-issues Summary type: object properties: @@ -15368,7 +15368,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &734 + issue_dependencies_summary: &735 title: Issue Dependencies Summary type: object properties: @@ -16224,7 +16224,7 @@ paths: type: string release: allOf: - - &645 + - &646 title: Release description: A release. type: object @@ -16295,7 +16295,7 @@ paths: author: *4 assets: type: array - items: &646 + items: &647 title: Release Asset description: Data related to a release. type: object @@ -16915,7 +16915,7 @@ paths: url: type: string format: uri - user: &742 + user: &743 title: Public User description: Public User type: object @@ -19993,7 +19993,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. @@ -20147,6 +20147,12 @@ paths: type: string example: - example.com + storage: + type: array + items: + type: string + example: + - example.com actions: type: array items: @@ -22809,7 +22815,7 @@ paths: parameters: - *79 - *125 - - &794 + - &795 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 @@ -22921,7 +22927,7 @@ paths: - *125 - *126 - *127 - - &795 + - &796 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22929,7 +22935,7 @@ paths: schema: type: string - *130 - - &796 + - &797 name: sku description: The SKU to query for usage. in: query @@ -30836,12 +30842,12 @@ paths: required: - subject_digests examples: - default: &775 + default: &776 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &776 + withPredicateType: &777 value: subject_digests: - sha256:abc123 @@ -30899,7 +30905,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &777 + default: &778 value: attestations_subject_digests: - sha256:abc: @@ -40428,6 +40434,140 @@ paths: enabledForGitHubApps: true category: interactions subcategory: orgs + "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration 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 view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - *79 + 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 when cap is enabled + value: + enabled: true + max_open_pull_requests: 1 + '403': *29 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs + 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: + - *79 + 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': *29 + '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 @@ -42970,7 +43110,7 @@ paths: parameters: - *79 - *271 - - &758 + - &759 name: repo_name description: repo_name parameter in: path @@ -44029,7 +44169,7 @@ paths: - nuget - container - *79 - - &759 + - &760 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44070,7 +44210,7 @@ paths: default: *278 '403': *29 '401': *25 - '400': &761 + '400': &762 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46167,7 +46307,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &850 + properties: &851 id: type: number description: The unique identifier of the status update. @@ -46215,7 +46355,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &851 + required: &852 - id - node_id - created_at @@ -47144,7 +47284,7 @@ paths: - updated_at - project_url examples: - default: &781 + default: &782 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47321,7 +47461,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &782 + items: &783 type: object properties: name: @@ -47358,7 +47498,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &783 + iteration_configuration: &784 type: object description: The configuration for iteration fields. properties: @@ -47408,7 +47548,7 @@ paths: value: name: Due date data_type: date - single_select_field: &784 + single_select_field: &785 summary: Create a single select field value: name: Priority @@ -47435,7 +47575,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &785 + iteration_field: &786 summary: Create an iteration field value: name: Sprint @@ -47461,7 +47601,7 @@ paths: application/json: schema: *299 examples: - text_field: &786 + text_field: &787 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47470,7 +47610,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: &787 + number_field: &788 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47479,7 +47619,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: &788 + date_field: &789 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47488,7 +47628,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: &789 + single_select_field: &790 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47522,7 +47662,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &790 + iteration_field: &791 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47568,7 +47708,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *295 - - &791 + - &792 name: field_id description: The unique identifier of the field. in: path @@ -47583,7 +47723,7 @@ paths: application/json: schema: *299 examples: - default: &792 + default: &793 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48780,7 +48920,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &772 + schema: &773 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48957,7 +49097,7 @@ paths: parameters: - *295 - *79 - - &793 + - &794 name: view_number description: The number that identifies the project view. in: path @@ -50948,7 +51088,7 @@ paths: - *79 - *17 - *19 - - &654 + - &655 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51230,7 +51370,7 @@ paths: - repository_property rules: type: array - items: &655 + items: &656 title: Repository Rule type: object description: A repository rule. @@ -51292,7 +51432,7 @@ paths: type: string enum: - required_linear_history - - &652 + - &653 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51931,7 +52071,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &653 + - &654 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -52243,7 +52383,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *79 - - &656 + - &657 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 @@ -52258,7 +52398,7 @@ paths: in: query schema: type: string - - &657 + - &658 name: time_period description: |- The time period to filter by. @@ -52274,14 +52414,14 @@ paths: - week - month default: day - - &658 + - &659 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 - - &659 + - &660 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52294,7 +52434,7 @@ paths: - bypass - all default: all - - &660 + - &661 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. @@ -52317,7 +52457,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 title: Rule Suites description: Response type: array @@ -52372,7 +52512,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &662 + default: &663 value: - id: 21 actor_id: 12 @@ -52416,7 +52556,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *79 - - &663 + - &664 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52432,7 +52572,7 @@ paths: description: Response content: application/json: - schema: &664 + schema: &665 title: Rule Suite description: Response type: object @@ -52531,7 +52671,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &665 + default: &666 value: id: 21 actor_id: 12 @@ -52778,7 +52918,7 @@ paths: type: string format: date-time examples: - default: &667 + default: &668 value: - version_id: 3 actor: @@ -52831,7 +52971,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &669 allOf: - *345 - type: object @@ -52903,7 +53043,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *79 - - &669 + - &670 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52914,7 +53054,7 @@ paths: enum: - open - resolved - - &670 + - &671 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52924,7 +53064,7 @@ paths: required: false schema: type: string - - &671 + - &672 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52935,7 +53075,7 @@ paths: required: false schema: type: string - - &672 + - &673 name: exclude_providers in: query description: |- @@ -52946,7 +53086,7 @@ paths: required: false schema: type: string - - &673 + - &674 name: providers in: query description: |- @@ -52957,7 +53097,7 @@ paths: required: false schema: type: string - - &674 + - &675 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52966,7 +53106,7 @@ paths: required: false schema: type: string - - &675 + - &676 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52985,7 +53125,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &676 + - &677 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. @@ -53000,7 +53140,7 @@ paths: - *63 - *19 - *17 - - &677 + - &678 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 @@ -53010,7 +53150,7 @@ paths: required: false schema: type: string - - &678 + - &679 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 @@ -53020,7 +53160,7 @@ paths: required: false schema: type: string - - &679 + - &680 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53029,7 +53169,7 @@ paths: required: false schema: type: string - - &680 + - &681 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53038,7 +53178,7 @@ paths: schema: type: boolean default: false - - &681 + - &682 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53047,7 +53187,7 @@ paths: schema: type: boolean default: false - - &682 + - &683 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53056,7 +53196,7 @@ paths: schema: type: boolean default: false - - &683 + - &684 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53067,7 +53207,7 @@ paths: required: false schema: type: boolean - - &684 + - &685 name: included_metadata in: query description: |- @@ -53078,7 +53218,7 @@ paths: required: false schema: type: string - - &685 + - &686 name: owner_email_hash in: query description: |- @@ -53116,14 +53256,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &686 + state: &687 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: &687 + resolution: &688 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -53240,8 +53380,8 @@ paths: pull request. ' - oneOf: &688 - - &690 + oneOf: &689 + - &691 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53299,7 +53439,7 @@ paths: - blob_url - commit_sha - commit_url - - &691 + - &692 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. @@ -53354,7 +53494,7 @@ paths: - page_url - commit_sha - commit_url - - &692 + - &693 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53374,7 +53514,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &693 + - &694 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53394,7 +53534,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &694 + - &695 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53414,7 +53554,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &695 + - &696 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53428,7 +53568,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &696 + - &697 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53442,7 +53582,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &697 + - &698 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53456,7 +53596,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &698 + - &699 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. @@ -53476,7 +53616,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &699 + - &700 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. @@ -53496,7 +53636,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &700 + - &701 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. @@ -53516,7 +53656,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &701 + - &702 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. @@ -53536,7 +53676,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &702 + - &703 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 request. @@ -53788,7 +53928,7 @@ paths: subcategory: custom-patterns parameters: - *79 - - &703 + - &704 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -53799,7 +53939,7 @@ paths: enum: - published - unpublished - - &704 + - &705 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -53810,7 +53950,7 @@ paths: enum: - enabled - disabled - - &705 + - &706 name: sort description: The property to sort the results by. in: query @@ -53904,7 +54044,7 @@ paths: - state - push_protection_enabled examples: - default: &706 + default: &707 value: - id: 1 name: Example Custom Pattern @@ -53967,7 +54107,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &707 + items: &708 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -54004,7 +54144,7 @@ paths: items: type: string examples: - default: &708 + default: &709 value: patterns: - name: Example Custom Pattern @@ -54030,7 +54170,7 @@ paths: description: The list of successfully created custom patterns. items: *346 examples: - default: &709 + default: &710 value: created_patterns: - id: 1 @@ -54082,7 +54222,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &710 + items: &711 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -54136,7 +54276,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &711 + items: &712 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -54159,7 +54299,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &712 + default: &713 value: patterns: - pattern_id: 2 @@ -54205,7 +54345,7 @@ paths: required: true content: application/json: - schema: &713 + schema: &714 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`, @@ -54246,7 +54386,7 @@ paths: type: string custom_pattern_version: *347 examples: - default: &714 + default: &715 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -54263,7 +54403,7 @@ paths: application/json: schema: *346 examples: - default: &715 + default: &716 value: id: 1 name: Example Custom Pattern @@ -54567,7 +54707,7 @@ paths: application/json: schema: type: array - items: &719 + items: &720 description: A repository security advisory. type: object properties: @@ -54890,7 +55030,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &720 + default: &721 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56116,6 +56256,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: @@ -56620,6 +56764,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true examples: default: value: @@ -56754,7 +56903,7 @@ paths: application/json: schema: type: array - items: &736 + items: &737 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 @@ -56873,7 +57022,7 @@ paths: - type - url examples: - default: &737 + default: &738 value: - login: octocat id: 1 @@ -56959,7 +57108,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &738 + response-if-user-is-a-team-maintainer: &739 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57024,7 +57173,7 @@ paths: application/json: schema: *358 examples: - response-if-users-membership-with-team-is-now-pending: &739 + response-if-users-membership-with-team-is-now-pending: &740 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57078,6 +57227,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -57138,7 +57289,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &740 + schema: &741 title: Team Repository description: A team's access to a repository. type: object @@ -57880,7 +58031,7 @@ paths: type: array items: *211 examples: - response-if-child-teams-exist: &741 + response-if-child-teams-exist: &742 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -63549,7 +63700,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &812 + properties: &813 url: type: string format: uri @@ -63634,7 +63785,7 @@ paths: nullable: true properties: *84 required: *85 - required: &813 + required: &814 - id - node_id - sha @@ -69754,7 +69905,7 @@ paths: check. type: array items: *94 - deployment: &805 + deployment: &806 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70666,7 +70817,7 @@ paths: type: string format: date-time nullable: true - head_commit: &833 + head_commit: &834 title: Simple Commit description: A commit. type: object @@ -75429,14 +75580,14 @@ paths: type: integer machines: type: array - items: &747 + items: &748 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *483 required: *484 examples: - default: &748 + default: &749 value: total_count: 2 machines: @@ -78582,7 +78733,7 @@ paths: application/json: schema: type: array - items: &725 + items: &726 title: Status description: The status of a commit. type: object @@ -79551,7 +79702,7 @@ paths: - size - type - url - - &643 + - &644 title: Content File description: Content File type: object @@ -80195,7 +80346,7 @@ paths: items: type: object properties: - placeholder_id: &716 + placeholder_id: &717 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -86274,7 +86425,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &842 + last_response: &843 title: Hook Response type: object properties: @@ -87326,7 +87477,7 @@ paths: parameters: - *359 - *360 - - &770 + - &771 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88045,7 +88196,7 @@ paths: type: array items: *561 examples: - default: &763 + default: &764 value: - id: 1 repository: @@ -90648,10 +90799,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 @@ -90670,8 +90820,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: @@ -90696,8 +90851,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed labels: type: array items: @@ -90715,8 +90875,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed assignees: type: array items: @@ -90734,8 +90899,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed state: type: array items: @@ -90757,8 +90927,13 @@ paths: - low - medium - high - already_applied: + ignored: type: boolean + ignored_reason: + type: string + enum: + - already_applied + - issue_already_closed examples: default: *574 '422': *15 @@ -99857,6 +100032,287 @@ 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: + - *359 + - *360 + - *636 + requestBody: + required: false + content: + application/json: + schema: + type: object + nullable: true + 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: &639 + 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: *639 + 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: *639 + 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: *639 + examples: + response-if-pull-request-is-not-ready-to-be-merged: + value: + status: failed + details: + message: Pull request is closed. + '422': *15 + '403': *29 + '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: + - *359 + - *360 + - *636 + - 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: *639 + 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': *29 + '404': *6 "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": get: summary: Get all requested reviewers for a pull request @@ -101088,7 +101544,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101327,9 +101783,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &641 + default: &642 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101395,7 +101851,7 @@ paths: - *359 - *360 - *636 - - &640 + - &641 name: review_id description: The unique identifier of the review. in: path @@ -101407,9 +101863,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &642 + default: &643 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101471,7 +101927,7 @@ paths: - *359 - *360 - *636 - - *640 + - *641 requestBody: required: true content: @@ -101494,7 +101950,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: default: value: @@ -101559,15 +102015,15 @@ paths: - *359 - *360 - *636 - - *640 + - *641 responses: '200': description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *641 + default: *642 '422': *7 '404': *6 x-github: @@ -101597,7 +102053,7 @@ paths: - *359 - *360 - *636 - - *640 + - *641 - *17 - *19 responses: @@ -101835,7 +102291,7 @@ paths: - *359 - *360 - *636 - - *640 + - *641 requestBody: required: true content: @@ -101863,7 +102319,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: default: value: @@ -101929,7 +102385,7 @@ paths: - *359 - *360 - *636 - - *640 + - *641 requestBody: required: true content: @@ -101964,9 +102420,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *642 + default: *643 '404': *6 '422': *7 '403': *29 @@ -102067,9 +102523,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &644 + default: &645 value: type: file encoding: base64 @@ -102132,9 +102588,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '422': *15 x-github: @@ -102167,7 +102623,7 @@ paths: application/json: schema: type: array - items: *645 + items: *646 examples: default: value: @@ -102343,9 +102799,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: - default: &649 + default: &650 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -102452,7 +102908,7 @@ paths: parameters: - *359 - *360 - - &647 + - &648 name: asset_id description: The unique identifier of the asset. in: path @@ -102464,9 +102920,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: &648 + default: &649 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 @@ -102519,7 +102975,7 @@ paths: parameters: - *359 - *360 - - *647 + - *648 requestBody: required: false content: @@ -102547,9 +103003,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: *648 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102567,7 +103023,7 @@ paths: parameters: - *359 - *360 - - *647 + - *648 responses: '204': description: Response @@ -102685,9 +103141,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: - default: *649 + default: *650 '404': *6 x-github: githubCloudOnly: false @@ -102719,9 +103175,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: - default: *649 + default: *650 '404': *6 x-github: githubCloudOnly: false @@ -102745,7 +103201,7 @@ paths: parameters: - *359 - *360 - - &650 + - &651 name: release_id description: The unique identifier of the release. in: path @@ -102759,9 +103215,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: *645 + schema: *646 examples: - default: *649 + default: *650 '401': description: Unauthorized x-github: @@ -102787,7 +103243,7 @@ paths: parameters: - *359 - *360 - - *650 + - *651 requestBody: required: false content: @@ -102851,9 +103307,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: - default: *649 + default: *650 '404': description: Not Found if the discussion category name is invalid content: @@ -102876,7 +103332,7 @@ paths: parameters: - *359 - *360 - - *650 + - *651 responses: '204': description: Response @@ -102899,7 +103355,7 @@ paths: parameters: - *359 - *360 - - *650 + - *651 - *17 - *19 responses: @@ -102909,7 +103365,7 @@ paths: application/json: schema: type: array - items: *646 + items: *647 examples: default: value: @@ -102992,7 +103448,7 @@ paths: parameters: - *359 - *360 - - *650 + - *651 - name: name in: query required: true @@ -103018,7 +103474,7 @@ paths: description: Response for successful upload content: application/json: - schema: *646 + schema: *647 examples: response-for-successful-upload: value: @@ -103075,7 +103531,7 @@ paths: parameters: - *359 - *360 - - *650 + - *651 - 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. @@ -103124,7 +103580,7 @@ paths: parameters: - *359 - *360 - - *650 + - *651 requestBody: required: true content: @@ -103187,7 +103643,7 @@ paths: parameters: - *359 - *360 - - *650 + - *651 - *566 responses: '204': @@ -103231,7 +103687,7 @@ paths: oneOf: - allOf: - *321 - - &651 + - &652 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103252,70 +103708,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *322 - - *651 + - *652 - allOf: - *323 - - *651 + - *652 - allOf: - *324 - - *651 + - *652 - allOf: + - *653 - *652 - - *651 - allOf: - *325 - - *651 + - *652 - allOf: - *326 - - *651 + - *652 - allOf: - *327 - - *651 + - *652 - allOf: - *328 - - *651 + - *652 - allOf: - *329 - - *651 + - *652 - allOf: - *330 - - *651 + - *652 - allOf: - *331 - - *651 + - *652 - allOf: - *332 - - *651 + - *652 - allOf: - *333 - - *651 + - *652 - allOf: - *334 - - *651 + - *652 - allOf: - *339 - - *651 + - *652 - allOf: - *340 - - *651 + - *652 - allOf: - *341 - - *651 + - *652 - allOf: - - *653 - - *651 + - *654 + - *652 - allOf: - *335 - - *651 + - *652 - allOf: - *336 - - *651 + - *652 - allOf: - *337 - - *651 + - *652 - allOf: - *338 - - *651 + - *652 examples: default: value: @@ -103366,7 +103822,7 @@ paths: schema: type: boolean default: true - - *654 + - *655 responses: '200': description: Response @@ -103451,7 +103907,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *655 + items: *656 required: - name - enforcement @@ -103484,7 +103940,7 @@ paths: application/json: schema: *342 examples: - default: &666 + default: &667 value: id: 42 name: super cool ruleset @@ -103534,11 +103990,11 @@ paths: parameters: - *359 - *360 - - *656 - *657 - *658 - *659 - *660 + - *661 - *17 - *19 responses: @@ -103546,9 +104002,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *6 '500': *56 x-github: @@ -103571,15 +104027,15 @@ paths: parameters: - *359 - *360 - - *663 + - *664 responses: '200': description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '404': *6 '500': *56 x-github: @@ -103630,7 +104086,7 @@ paths: application/json: schema: *342 examples: - default: *666 + default: *667 '404': *6 '500': *56 put: @@ -103683,7 +104139,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *655 + items: *656 examples: default: value: @@ -103713,7 +104169,7 @@ paths: application/json: schema: *342 examples: - default: *666 + default: *667 '404': *6 '422': *15 '500': *56 @@ -103775,7 +104231,7 @@ paths: type: array items: *345 examples: - default: *667 + default: *668 '404': *6 '500': *56 x-github: @@ -103813,7 +104269,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -103870,7 +104326,6 @@ paths: parameters: - *359 - *360 - - *669 - *670 - *671 - *672 @@ -103878,10 +104333,10 @@ paths: - *674 - *675 - *676 + - *677 - *63 - *19 - *17 - - *677 - *678 - *679 - *680 @@ -103890,6 +104345,7 @@ paths: - *683 - *684 - *685 + - *686 responses: '200': description: Response @@ -103916,8 +104372,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *686 - resolution: *687 + state: *687 + resolution: *688 resolved_at: type: string format: date-time @@ -104023,7 +104479,7 @@ paths: pull request. ' - oneOf: *688 + oneOf: *689 nullable: true has_more_locations: type: boolean @@ -104190,13 +104646,13 @@ paths: - *359 - *360 - *459 - - *682 + - *683 responses: '200': description: Response content: application/json: - schema: &689 + schema: &690 type: object properties: number: *189 @@ -104214,8 +104670,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *686 - resolution: *687 + state: *687 + resolution: *688 resolved_at: type: string format: date-time @@ -104321,7 +104777,7 @@ paths: pull request. ' - oneOf: *688 + oneOf: *689 nullable: true has_more_locations: type: boolean @@ -104349,7 +104805,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &863 + metadata: &864 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -104432,8 +104888,8 @@ paths: schema: type: object properties: - state: *686 - resolution: *687 + state: *687 + resolution: *688 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -104477,7 +104933,7 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: default: value: @@ -104592,7 +105048,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &865 + items: &866 type: object properties: type: @@ -104618,7 +105074,6 @@ paths: example: commit details: oneOf: - - *690 - *691 - *692 - *693 @@ -104631,6 +105086,7 @@ paths: - *700 - *701 - *702 + - *703 examples: default: value: @@ -104721,9 +105177,9 @@ paths: parameters: - *359 - *360 - - *703 - *704 - *705 + - *706 - *63 - *19 - *17 @@ -104736,7 +105192,7 @@ paths: type: array items: *346 examples: - default: *706 + default: *707 headers: Link: *71 '403': *29 @@ -104773,9 +105229,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *707 + items: *708 examples: - default: *708 + default: *709 responses: '201': description: All patterns created successfully. @@ -104789,7 +105245,7 @@ paths: description: The list of successfully created custom patterns. items: *346 examples: - default: *709 + default: *710 '400': *14 '403': *29 '404': *6 @@ -104813,7 +105269,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *710 + items: *711 delete: summary: Bulk delete repository custom patterns description: |- @@ -104847,7 +105303,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *711 + items: *712 post_delete_action: type: string description: |- @@ -104860,7 +105316,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *712 + default: *713 responses: '204': description: All patterns deleted successfully. @@ -104899,9 +105355,9 @@ paths: required: true content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 responses: '200': description: Pattern updated successfully. @@ -104909,7 +105365,7 @@ paths: application/json: schema: *346 examples: - default: *715 + default: *716 '400': *14 '403': *29 '404': *6 @@ -104940,14 +105396,14 @@ paths: schema: type: object properties: - reason: &717 + reason: &718 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *716 + placeholder_id: *717 required: - reason - placeholder_id @@ -104964,7 +105420,7 @@ paths: schema: type: object properties: - reason: *717 + reason: *718 expire_at: type: string format: date-time @@ -105026,7 +105482,7 @@ paths: properties: incremental_scans: type: array - items: &718 + items: &719 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105057,15 +105513,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *718 + items: *719 backfill_scans: type: array - items: *718 + items: *719 custom_pattern_backfill_scans: type: array items: allOf: - - *718 + - *719 - type: object properties: pattern_name: @@ -105078,7 +105534,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *718 + items: *719 examples: default: value: @@ -105188,9 +105644,9 @@ paths: application/json: schema: type: array - items: *719 + items: *720 examples: - default: *720 + default: *721 '400': *14 '404': *6 x-github: @@ -105374,9 +105830,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: &722 + default: &723 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105720,7 +106176,7 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: default: value: @@ -105875,15 +106331,15 @@ paths: parameters: - *359 - *360 - - *721 + - *722 responses: '200': description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *722 + default: *723 '403': *29 '404': *6 x-github: @@ -105909,7 +106365,7 @@ paths: parameters: - *359 - *360 - - *721 + - *722 requestBody: required: true content: @@ -106068,10 +106524,10 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *722 - add_credit: *722 + default: *723 + add_credit: *723 '403': *29 '404': *6 '422': @@ -106111,7 +106567,7 @@ paths: parameters: - *359 - *360 - - *721 + - *722 responses: '202': *40 '400': *14 @@ -106140,7 +106596,7 @@ paths: parameters: - *359 - *360 - - *721 + - *722 responses: '202': description: Response @@ -106370,7 +106826,7 @@ paths: format: date-time pull_requests: type: array - items: &723 + items: &724 title: Pull Request Stack Pull Request type: object allOf: @@ -106646,7 +107102,7 @@ paths: format: date-time pull_requests: type: array - items: *723 + items: *724 examples: default: value: @@ -106839,7 +107295,7 @@ paths: format: date-time pull_requests: type: array - items: *723 + items: *724 examples: default: value: @@ -107093,7 +107549,7 @@ paths: format: date-time pull_requests: type: array - items: *723 + items: *724 examples: default: value: @@ -107309,7 +107765,7 @@ paths: application/json: schema: type: array - items: &724 + items: &725 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -107682,7 +108138,7 @@ paths: application/json: schema: type: array - items: *724 + items: *725 examples: default: value: @@ -107770,7 +108226,7 @@ paths: description: Response content: application/json: - schema: *725 + schema: *726 examples: default: value: @@ -107864,7 +108320,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &726 + schema: &727 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107959,7 +108415,7 @@ paths: description: Response content: application/json: - schema: *726 + schema: *727 examples: default: value: @@ -108166,7 +108622,7 @@ paths: description: Response content: application/json: - schema: &727 + schema: &728 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -108178,7 +108634,7 @@ paths: required: - names examples: - default: &728 + default: &729 value: names: - octocat @@ -108233,9 +108689,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *728 + default: *729 '404': *6 '422': *7 x-github: @@ -108258,7 +108714,7 @@ paths: parameters: - *359 - *360 - - &729 + - &730 name: per description: The time frame to display results for. in: query @@ -108287,7 +108743,7 @@ paths: example: 128 clones: type: array - items: &730 + items: &731 title: Traffic type: object properties: @@ -108528,7 +108984,7 @@ paths: parameters: - *359 - *360 - - *729 + - *730 responses: '200': description: Response @@ -108547,7 +109003,7 @@ paths: example: 3782 views: type: array - items: *730 + items: *731 required: - uniques - count @@ -109325,7 +109781,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &731 + text_matches: &732 title: Search Result Text Matches type: array items: @@ -109487,7 +109943,7 @@ paths: enum: - author-date - committer-date - - &732 + - &733 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 @@ -109615,7 +110071,7 @@ paths: type: number node_id: type: string - text_matches: *731 + text_matches: *732 required: - sha - node_id @@ -109807,7 +110263,7 @@ paths: - interactions - created - updated - - *732 + - *733 - *17 - *19 - name: advanced_search @@ -109921,8 +110377,8 @@ paths: description: type: string nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -109957,7 +110413,7 @@ paths: type: string format: date-time nullable: true - text_matches: *731 + text_matches: *732 pull_request: type: object properties: @@ -110273,7 +110729,7 @@ paths: enum: - created - updated - - *732 + - *733 - *17 - *19 responses: @@ -110317,7 +110773,7 @@ paths: nullable: true score: type: number - text_matches: *731 + text_matches: *732 required: - id - node_id @@ -110402,7 +110858,7 @@ paths: - forks - help-wanted-issues - updated - - *732 + - *733 - *17 - *19 responses: @@ -110650,7 +111106,7 @@ paths: - admin - pull - push - text_matches: *731 + text_matches: *732 temp_clone_token: type: string allow_merge_commit: @@ -110950,7 +111406,7 @@ paths: type: string format: uri nullable: true - text_matches: *731 + text_matches: *732 related: type: array nullable: true @@ -111141,7 +111597,7 @@ paths: - followers - repositories - joined - - *732 + - *733 - *17 - *19 responses: @@ -111245,7 +111701,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *731 + text_matches: *732 blog: type: string nullable: true @@ -111324,7 +111780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &735 + - &736 name: team_id description: The unique identifier of the team. in: path @@ -111365,7 +111821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *735 + - *736 requestBody: required: true content: @@ -111414,6 +111870,11 @@ paths: type: integer description: The ID of a team to set as the parent team. nullable: true + 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. + nullable: true required: - name examples: @@ -111465,7 +111926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *735 + - *736 responses: '204': description: Response @@ -111494,7 +111955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *735 + - *736 - *17 - *19 responses: @@ -111534,7 +111995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *735 + - *736 - name: role description: Filters members returned by their role in the team. in: query @@ -111555,9 +112016,9 @@ paths: application/json: schema: type: array - items: *736 + items: *737 examples: - default: *737 + default: *738 headers: Link: *71 '404': *6 @@ -111585,7 +112046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *735 + - *736 - *75 responses: '204': @@ -111622,7 +112083,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *735 + - *736 - *75 responses: '204': @@ -111662,7 +112123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *735 + - *736 - *75 responses: '204': @@ -111699,7 +112160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *735 + - *736 - *75 responses: '200': @@ -111708,7 +112169,7 @@ paths: application/json: schema: *358 examples: - response-if-user-is-a-team-maintainer: *738 + response-if-user-is-a-team-maintainer: *739 '404': *6 x-github: githubCloudOnly: false @@ -111741,7 +112202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *735 + - *736 - *75 requestBody: required: false @@ -111769,7 +112230,7 @@ paths: application/json: schema: *358 examples: - response-if-users-membership-with-team-is-now-pending: *739 + response-if-users-membership-with-team-is-now-pending: *740 '403': description: Forbidden if team synchronization is set up '422': @@ -111803,7 +112264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *735 + - *736 - *75 responses: '204': @@ -111831,7 +112292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *735 + - *736 - *17 - *19 responses: @@ -111873,7 +112334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *735 + - *736 - *359 - *360 responses: @@ -111881,7 +112342,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *740 + schema: *741 examples: alternative-response-with-extra-repository-information: value: @@ -112038,7 +112499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *735 + - *736 - *359 - *360 requestBody: @@ -112090,7 +112551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *735 + - *736 - *359 - *360 responses: @@ -112117,7 +112578,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *735 + - *736 - *17 - *19 responses: @@ -112129,7 +112590,7 @@ paths: type: array items: *211 examples: - response-if-child-teams-exist: *741 + response-if-child-teams-exist: *742 headers: Link: *71 '404': *6 @@ -112162,7 +112623,7 @@ paths: application/json: schema: oneOf: - - &743 + - &744 title: Private User description: Private User type: object @@ -112365,7 +112826,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *742 + - *743 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112518,7 +112979,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *744 examples: default: value: @@ -112916,7 +113377,7 @@ paths: type: integer secrets: type: array - items: &744 + items: &745 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113032,7 +113493,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *745 examples: default: value: @@ -113445,7 +113906,7 @@ paths: description: Response content: application/json: - schema: &745 + schema: &746 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -113486,7 +113947,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &746 + default: &747 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113531,9 +113992,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: *746 + default: *747 '404': *6 x-github: githubCloudOnly: false @@ -113570,9 +114031,9 @@ paths: type: integer machines: type: array - items: *747 + items: *748 examples: - default: *748 + default: *749 '304': *38 '500': *56 '401': *25 @@ -114511,7 +114972,7 @@ paths: type: array items: *277 examples: - default: &760 + default: &761 value: - id: 197 name: hello_docker @@ -114612,7 +115073,7 @@ paths: application/json: schema: type: array - items: &749 + items: &750 title: Email description: Email type: object @@ -114677,9 +115138,9 @@ paths: application/json: schema: type: array - items: *749 + items: *750 examples: - default: &762 + default: &763 value: - email: octocat@github.com verified: true @@ -114754,7 +115215,7 @@ paths: application/json: schema: type: array - items: *749 + items: *750 examples: default: value: @@ -115010,7 +115471,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 title: GPG Key description: A unique encryption key type: object @@ -115141,7 +115602,7 @@ paths: - subkeys - revoked examples: - default: &779 + default: &780 value: - id: 3 name: Octocat's GPG Key @@ -115226,9 +115687,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &751 + default: &752 value: id: 3 name: Octocat's GPG Key @@ -115285,7 +115746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &752 + - &753 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -115297,9 +115758,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *751 + default: *752 '404': *6 '304': *38 '403': *29 @@ -115322,7 +115783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *752 + - *753 responses: '204': description: Response @@ -115789,7 +116250,7 @@ paths: application/json: schema: type: array - items: &753 + items: &754 title: Key description: Key type: object @@ -115890,9 +116351,9 @@ paths: description: Response content: application/json: - schema: *753 + schema: *754 examples: - default: &754 + default: &755 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115931,9 +116392,9 @@ paths: description: Response content: application/json: - schema: *753 + schema: *754 examples: - default: *754 + default: *755 '404': *6 '304': *38 '403': *29 @@ -115989,7 +116450,7 @@ paths: application/json: schema: type: array - items: &755 + items: &756 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116057,7 +116518,7 @@ paths: - account - plan examples: - default: &756 + default: &757 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116119,9 +116580,9 @@ paths: application/json: schema: type: array - items: *755 + items: *756 examples: - default: *756 + default: *757 headers: Link: *71 '304': *38 @@ -116364,7 +116825,7 @@ paths: application/json: schema: *268 examples: - default: &757 + default: &758 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -116413,7 +116874,7 @@ paths: application/json: schema: *268 examples: - default: *757 + default: *758 '403': *29 '404': *6 '422': *15 @@ -117138,7 +117599,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *271 - - *758 + - *759 responses: '204': description: Response @@ -117271,7 +117732,7 @@ paths: - docker - nuget - container - - *759 + - *760 - *19 - *17 responses: @@ -117283,8 +117744,8 @@ paths: type: array items: *277 examples: - default: *760 - '400': *761 + default: *761 + '400': *762 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117313,7 +117774,7 @@ paths: application/json: schema: *277 examples: - default: &780 + default: &781 value: id: 40201 name: octo-name @@ -117675,9 +118136,9 @@ paths: application/json: schema: type: array - items: *749 + items: *750 examples: - default: *762 + default: *763 headers: Link: *71 '304': *38 @@ -117790,7 +118251,7 @@ paths: type: array items: *83 examples: - default: &769 + default: &770 summary: Default response value: - id: 1296269 @@ -118142,7 +118603,7 @@ paths: type: array items: *561 examples: - default: *763 + default: *764 headers: Link: *71 '304': *38 @@ -118227,7 +118688,7 @@ paths: application/json: schema: type: array - items: &764 + items: &765 title: Social account description: Social media account type: object @@ -118242,7 +118703,7 @@ paths: - provider - url examples: - default: &765 + default: &766 value: - provider: twitter url: https://twitter.com/github @@ -118304,9 +118765,9 @@ paths: application/json: schema: type: array - items: *764 + items: *765 examples: - default: *765 + default: *766 '422': *15 '304': *38 '404': *6 @@ -118393,7 +118854,7 @@ paths: application/json: schema: type: array - items: &766 + items: &767 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118413,7 +118874,7 @@ paths: - title - created_at examples: - default: &797 + default: &798 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -118477,9 +118938,9 @@ paths: description: Response content: application/json: - schema: *766 + schema: *767 examples: - default: &767 + default: &768 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -118509,7 +118970,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: - - &768 + - &769 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118521,9 +118982,9 @@ paths: description: Response content: application/json: - schema: *766 + schema: *767 examples: - default: *767 + default: *768 '404': *6 '304': *38 '403': *29 @@ -118546,7 +119007,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: - - *768 + - *769 responses: '204': description: Response @@ -118575,7 +119036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &798 + - &799 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 @@ -118600,11 +119061,11 @@ paths: type: array items: *83 examples: - default-response: *769 + default-response: *770 application/vnd.github.v3.star+json: schema: type: array - items: &799 + items: &800 title: Starred Repository description: Starred Repository type: object @@ -118973,10 +119434,10 @@ paths: application/json: schema: oneOf: + - *744 - *743 - - *742 examples: - default-response: &773 + default-response: &774 summary: Default response value: login: octocat @@ -119011,7 +119472,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &774 + response-with-git-hub-plan-information: &775 summary: Response with GitHub plan information value: login: octocat @@ -119068,7 +119529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &771 + - &772 name: user_id description: The unique identifier of the user. in: path @@ -119134,7 +119595,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *770 + - *771 - *17 responses: '200': @@ -119169,7 +119630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *771 + - *772 - *295 requestBody: required: true @@ -119241,7 +119702,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *772 + schema: *773 examples: table_view: summary: Response for creating a table view @@ -119293,11 +119754,11 @@ paths: application/json: schema: oneOf: + - *744 - *743 - - *742 examples: - default-response: *773 - response-with-git-hub-plan-information: *774 + default-response: *774 + response-with-git-hub-plan-information: *775 '404': *6 x-github: githubCloudOnly: false @@ -119347,8 +119808,8 @@ paths: required: - subject_digests examples: - default: *775 - withPredicateType: *776 + default: *776 + withPredicateType: *777 responses: '200': description: Response @@ -119401,7 +119862,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *777 + default: *778 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119916,7 +120377,7 @@ paths: application/json: schema: *205 examples: - default: &778 + default: &779 summary: Example response for a user copilot space value: id: 42 @@ -120017,7 +120478,7 @@ paths: application/json: schema: *205 examples: - default: *778 + default: *779 '403': *29 '404': *6 x-github: @@ -120140,7 +120601,7 @@ paths: application/json: schema: *205 examples: - default: *778 + default: *779 '403': *29 '404': *6 '422': *15 @@ -120908,7 +121369,7 @@ paths: type: array items: *277 examples: - default: *760 + default: *761 '403': *29 '401': *25 x-github: @@ -121292,9 +121753,9 @@ paths: application/json: schema: type: array - items: *750 + items: *751 examples: - default: *779 + default: *780 headers: Link: *71 x-github: @@ -121522,7 +121983,7 @@ paths: - docker - nuget - container - - *759 + - *760 - *75 - *19 - *17 @@ -121535,10 +121996,10 @@ paths: type: array items: *277 examples: - default: *760 + default: *761 '403': *29 '401': *25 - '400': *761 + '400': *762 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121568,7 +122029,7 @@ paths: application/json: schema: *277 examples: - default: *780 + default: *781 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121917,7 +122378,7 @@ paths: type: array items: *299 examples: - default: *781 + default: *782 headers: Link: *71 '304': *38 @@ -121977,7 +122438,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *782 + items: *783 required: - name - data_type @@ -121993,7 +122454,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *783 + iteration_configuration: *784 required: - name - data_type @@ -122015,8 +122476,8 @@ paths: value: name: Due date data_type: date - single_select_field: *784 - iteration_field: *785 + single_select_field: *785 + iteration_field: *786 responses: '201': description: Response @@ -122024,11 +122485,11 @@ paths: application/json: schema: *299 examples: - text_field: *786 - number_field: *787 - date_field: *788 - single_select_field: *789 - iteration_field: *790 + text_field: *787 + number_field: *788 + date_field: *789 + single_select_field: *790 + iteration_field: *791 '304': *38 '403': *29 '401': *25 @@ -122050,7 +122511,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *295 - - *791 + - *792 - *75 responses: '200': @@ -122059,7 +122520,7 @@ paths: application/json: schema: *299 examples: - default: *792 + default: *793 headers: Link: *71 '304': *38 @@ -122413,7 +122874,7 @@ paths: parameters: - *295 - *75 - - *793 + - *794 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -122952,7 +123413,7 @@ paths: parameters: - *75 - *125 - - *794 + - *795 - *127 responses: '200': @@ -123051,9 +123512,9 @@ paths: - *125 - *126 - *127 - - *795 - - *130 - *796 + - *130 + - *797 responses: '200': description: Response when getting a billing usage summary @@ -123187,9 +123648,9 @@ paths: application/json: schema: type: array - items: *764 + items: *765 examples: - default: *765 + default: *766 headers: Link: *71 x-github: @@ -123219,9 +123680,9 @@ paths: application/json: schema: type: array - items: *766 + items: *767 examples: - default: *797 + default: *798 headers: Link: *71 x-github: @@ -123246,7 +123707,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *75 - - *798 + - *799 - *63 - *17 - *19 @@ -123258,11 +123719,11 @@ paths: schema: anyOf: - type: array - items: *799 + items: *800 - type: array items: *83 examples: - default-response: *769 + default-response: *770 headers: Link: *71 x-github: @@ -123421,7 +123882,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &800 + enterprise: &801 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -123479,7 +123940,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &801 + installation: &802 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -123498,7 +123959,7 @@ x-webhooks: required: - id - node_id - organization: &802 + organization: &803 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -123558,13 +124019,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &803 + repository: &804 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &835 + properties: &836 id: description: Unique identifier of the repository example: 42 @@ -124259,7 +124720,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &836 + required: &837 - archive_url - assignees_url - blobs_url @@ -124333,7 +124794,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &837 + x-github-breaking-changes: &838 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -124424,10 +124885,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -124503,11 +124964,11 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - rule: &804 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + rule: &805 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) @@ -124730,11 +125191,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - rule: *804 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + rule: *805 sender: *4 required: - action @@ -124917,11 +125378,11 @@ x-webhooks: - everyone required: - from - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - rule: *804 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + rule: *805 sender: *4 required: - action @@ -125005,7 +125466,7 @@ x-webhooks: type: string enum: - completed - check_run: &806 + check_run: &807 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125096,7 +125557,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *805 + deployment: *806 details_url: example: https://example.com type: string @@ -125181,10 +125642,10 @@ x-webhooks: - output - app - pull_requests - installation: *801 - enterprise: *800 - organization: *802 - repository: *803 + installation: *802 + enterprise: *801 + organization: *803 + repository: *804 sender: *4 required: - check_run @@ -125575,11 +126036,11 @@ x-webhooks: type: string enum: - created - check_run: *806 - installation: *801 - enterprise: *800 - organization: *802 - repository: *803 + check_run: *807 + installation: *802 + enterprise: *801 + organization: *803 + repository: *804 sender: *4 required: - check_run @@ -125973,11 +126434,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *806 - installation: *801 - enterprise: *800 - organization: *802 - repository: *803 + check_run: *807 + installation: *802 + enterprise: *801 + organization: *803 + repository: *804 requested_action: description: The action requested by the user. type: object @@ -126380,11 +126841,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *806 - installation: *801 - enterprise: *800 - organization: *802 - repository: *803 + check_run: *807 + installation: *802 + enterprise: *801 + organization: *803 + repository: *804 sender: *4 required: - check_run @@ -127354,10 +127815,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -128056,10 +128517,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -128752,10 +129213,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -129066,20 +129527,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &807 + commit_oid: &808 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: *800 - installation: *801 - organization: *802 - ref: &808 + enterprise: *801 + installation: *802 + organization: *803 + ref: &809 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: *803 + repository: *804 sender: *4 required: - action @@ -129474,12 +129935,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *807 - enterprise: *800 - installation: *801 - organization: *802 - ref: *808 - repository: *803 + commit_oid: *808 + enterprise: *801 + installation: *802 + organization: *803 + ref: *809 + repository: *804 sender: *4 required: - action @@ -129745,12 +130206,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *807 - enterprise: *800 - installation: *801 - organization: *802 - ref: *808 - repository: *803 + commit_oid: *808 + enterprise: *801 + installation: *802 + organization: *803 + ref: *809 + repository: *804 sender: *4 required: - action @@ -130082,12 +130543,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *807 - enterprise: *800 - installation: *801 - organization: *802 - ref: *808 - repository: *803 + commit_oid: *808 + enterprise: *801 + installation: *802 + organization: *803 + ref: *809 + repository: *804 sender: *4 required: - action @@ -130361,16 +130822,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *803 + repository: *804 sender: *4 required: - action @@ -130607,12 +131068,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *807 - enterprise: *800 - installation: *801 - organization: *802 - ref: *808 - repository: *803 + commit_oid: *808 + enterprise: *801 + installation: *802 + organization: *803 + ref: *809 + repository: *804 sender: *4 required: - action @@ -130923,10 +131384,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -131181,10 +131642,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -131264,18 +131725,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *802 - pusher_type: &809 + organization: *803 + pusher_type: &810 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &810 + ref: &811 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -131285,7 +131746,7 @@ x-webhooks: enum: - tag - branch - repository: *803 + repository: *804 sender: *4 required: - ref @@ -131368,9 +131829,9 @@ x-webhooks: enum: - created definition: *307 - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 sender: *4 required: - action @@ -131455,9 +131916,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 sender: *4 required: - action @@ -131535,9 +131996,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *307 - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 sender: *4 required: - action @@ -131615,9 +132076,9 @@ x-webhooks: enum: - updated definition: *307 - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 sender: *4 required: - action @@ -131694,10 +132155,10 @@ x-webhooks: type: string enum: - updated - enterprise: *800 - installation: *801 - repository: *803 - organization: *802 + enterprise: *801 + installation: *802 + repository: *804 + organization: *803 sender: *4 new_property_values: type: array @@ -131782,18 +132243,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *800 - installation: *801 - organization: *802 - pusher_type: *809 - ref: *810 + enterprise: *801 + installation: *802 + organization: *803 + pusher_type: *810 + ref: *811 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *803 + repository: *804 sender: *4 required: - ref @@ -131874,10 +132335,10 @@ x-webhooks: enum: - assignees_changed alert: *517 - installation: *801 - organization: *802 - enterprise: *800 - repository: *803 + installation: *802 + organization: *803 + enterprise: *801 + repository: *804 sender: *4 required: - action @@ -131958,10 +132419,10 @@ x-webhooks: enum: - auto_dismissed alert: *517 - installation: *801 - organization: *802 - enterprise: *800 - repository: *803 + installation: *802 + organization: *803 + enterprise: *801 + repository: *804 sender: *4 required: - action @@ -132043,10 +132504,10 @@ x-webhooks: enum: - auto_reopened alert: *517 - installation: *801 - organization: *802 - enterprise: *800 - repository: *803 + installation: *802 + organization: *803 + enterprise: *801 + repository: *804 sender: *4 required: - action @@ -132128,10 +132589,10 @@ x-webhooks: enum: - created alert: *517 - installation: *801 - organization: *802 - enterprise: *800 - repository: *803 + installation: *802 + organization: *803 + enterprise: *801 + repository: *804 sender: *4 required: - action @@ -132211,10 +132672,10 @@ x-webhooks: enum: - dismissed alert: *517 - installation: *801 - organization: *802 - enterprise: *800 - repository: *803 + installation: *802 + organization: *803 + enterprise: *801 + repository: *804 sender: *4 required: - action @@ -132294,10 +132755,10 @@ x-webhooks: enum: - fixed alert: *517 - installation: *801 - organization: *802 - enterprise: *800 - repository: *803 + installation: *802 + organization: *803 + enterprise: *801 + repository: *804 sender: *4 required: - action @@ -132378,10 +132839,10 @@ x-webhooks: enum: - reintroduced alert: *517 - installation: *801 - organization: *802 - enterprise: *800 - repository: *803 + installation: *802 + organization: *803 + enterprise: *801 + repository: *804 sender: *4 required: - action @@ -132461,10 +132922,10 @@ x-webhooks: enum: - reopened alert: *517 - installation: *801 - organization: *802 - enterprise: *800 - repository: *803 + installation: *802 + organization: *803 + enterprise: *801 + repository: *804 sender: *4 required: - action @@ -132541,9 +133002,9 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - key: &811 + enterprise: *801 + installation: *802 + key: &812 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132579,8 +133040,8 @@ x-webhooks: - verified - created_at - read_only - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -132657,11 +133118,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - key: *811 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + key: *812 + organization: *803 + repository: *804 sender: *4 required: - action @@ -133217,12 +133678,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - workflow: &817 + workflow: &818 title: Workflow type: object nullable: true @@ -133963,15 +134424,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *812 - required: *813 + properties: *813 + required: *814 nullable: true pull_requests: type: array items: *634 - repository: *803 - organization: *802 - installation: *801 + repository: *804 + organization: *803 + installation: *802 sender: *4 responses: '200': @@ -134042,7 +134503,7 @@ x-webhooks: type: string enum: - approved - approver: &814 + approver: &815 type: object properties: avatar_url: @@ -134085,11 +134546,11 @@ x-webhooks: type: string comment: type: string - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - reviewers: &815 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + reviewers: &816 type: array items: type: object @@ -134168,7 +134629,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &816 + workflow_job_run: &817 type: object properties: conclusion: @@ -134899,18 +135360,18 @@ x-webhooks: type: string enum: - rejected - approver: *814 + approver: *815 comment: type: string - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - reviewers: *815 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + reviewers: *816 sender: *4 since: type: string - workflow_job_run: *816 + workflow_job_run: *817 workflow_job_runs: type: array items: @@ -135614,13 +136075,13 @@ x-webhooks: type: string enum: - requested - enterprise: *800 + enterprise: *801 environment: type: string - installation: *801 - organization: *802 - repository: *803 - requestor: &822 + installation: *802 + organization: *803 + repository: *804 + requestor: &823 title: User type: object nullable: true @@ -137509,12 +137970,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - workflow: *817 + workflow: *818 workflow_run: title: Deployment Workflow Run type: object @@ -138194,7 +138655,7 @@ x-webhooks: type: string enum: - answered - answer: &820 + answer: &821 type: object properties: author_association: @@ -138351,11 +138812,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -138482,11 +138943,11 @@ x-webhooks: - from required: - category - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -138569,11 +139030,11 @@ x-webhooks: type: string enum: - closed - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -138655,7 +139116,7 @@ x-webhooks: type: string enum: - created - comment: &819 + comment: &820 type: object properties: author_association: @@ -138812,11 +139273,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -138899,12 +139360,12 @@ x-webhooks: type: string enum: - deleted - comment: *819 - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + comment: *820 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -138999,12 +139460,12 @@ x-webhooks: - from required: - body - comment: *819 - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + comment: *820 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139088,11 +139549,11 @@ x-webhooks: type: string enum: - created - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139174,11 +139635,11 @@ x-webhooks: type: string enum: - deleted - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139278,11 +139739,11 @@ x-webhooks: type: string required: - from - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139364,10 +139825,10 @@ x-webhooks: type: string enum: - labeled - discussion: *818 - enterprise: *800 - installation: *801 - label: &821 + discussion: *819 + enterprise: *801 + installation: *802 + label: &822 title: Label type: object properties: @@ -139399,8 +139860,8 @@ x-webhooks: - color - default - description - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139483,11 +139944,11 @@ x-webhooks: type: string enum: - locked - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139569,11 +140030,11 @@ x-webhooks: type: string enum: - pinned - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139655,11 +140116,11 @@ x-webhooks: type: string enum: - reopened - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139744,16 +140205,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *818 - new_repository: *803 + new_discussion: *819 + new_repository: *804 required: - new_discussion - new_repository - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139836,10 +140297,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *818 - old_answer: *820 - organization: *802 - repository: *803 + discussion: *819 + old_answer: *821 + organization: *803 + repository: *804 sender: *4 required: - action @@ -139921,12 +140382,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *818 - enterprise: *800 - installation: *801 - label: *821 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + label: *822 + organization: *803 + repository: *804 sender: *4 required: - action @@ -140009,11 +140470,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -140095,11 +140556,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *818 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + discussion: *819 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -140172,7 +140633,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *800 + enterprise: *801 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -140832,9 +141293,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - forkee @@ -140980,9 +141441,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 pages: description: The pages that were updated. type: array @@ -141019,7 +141480,7 @@ x-webhooks: - action - sha - html_url - repository: *803 + repository: *804 sender: *4 required: - pages @@ -141095,10 +141556,10 @@ x-webhooks: type: string enum: - created - enterprise: *800 + enterprise: *801 installation: *22 - organization: *802 - repositories: &823 + organization: *803 + repositories: &824 description: An array of repository objects that the installation can access. type: array @@ -141124,8 +141585,8 @@ x-webhooks: - name - full_name - private - repository: *803 - requester: *822 + repository: *804 + requester: *823 sender: *4 required: - action @@ -141200,11 +141661,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 + enterprise: *801 installation: *22 - organization: *802 - repositories: *823 - repository: *803 + organization: *803 + repositories: *824 + repository: *804 requester: nullable: true sender: *4 @@ -141280,11 +141741,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *800 + enterprise: *801 installation: *22 - organization: *802 - repositories: *823 - repository: *803 + organization: *803 + repositories: *824 + repository: *804 requester: nullable: true sender: *4 @@ -141360,10 +141821,10 @@ x-webhooks: type: string enum: - added - enterprise: *800 + enterprise: *801 installation: *22 - organization: *802 - repositories_added: &824 + organization: *803 + repositories_added: &825 description: An array of repository objects, which were added to the installation. type: array @@ -141409,15 +141870,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *803 - repository_selection: &825 + repository: *804 + repository_selection: &826 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *822 + requester: *823 sender: *4 required: - action @@ -141496,10 +141957,10 @@ x-webhooks: type: string enum: - removed - enterprise: *800 + enterprise: *801 installation: *22 - organization: *802 - repositories_added: *824 + organization: *803 + repositories_added: *825 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141526,9 +141987,9 @@ x-webhooks: - name - full_name - private - repository: *803 - repository_selection: *825 - requester: *822 + repository: *804 + repository_selection: *826 + requester: *823 sender: *4 required: - action @@ -141607,11 +142068,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *800 + enterprise: *801 installation: *22 - organization: *802 - repositories: *823 - repository: *803 + organization: *803 + repositories: *824 + repository: *804 requester: nullable: true sender: *4 @@ -141789,10 +142250,10 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 target_type: type: string @@ -141871,11 +142332,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *800 + enterprise: *801 installation: *22 - organization: *802 - repositories: *823 - repository: *803 + organization: *803 + repositories: *824 + repository: *804 requester: nullable: true sender: *4 @@ -142142,8 +142603,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142932,8 +143393,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143282,8 +143743,8 @@ x-webhooks: - state - locked - assignee - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -143363,7 +143824,7 @@ x-webhooks: type: string enum: - deleted - comment: &826 + comment: &827 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -143543,8 +144004,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144329,8 +144790,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144681,8 +145142,8 @@ x-webhooks: - state - locked - assignee - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -144762,7 +145223,7 @@ x-webhooks: type: string enum: - edited - changes: &856 + changes: &857 description: The changes to the comment. type: object properties: @@ -144774,9 +145235,9 @@ x-webhooks: type: string required: - from - comment: *826 - enterprise: *800 - installation: *801 + comment: *827 + enterprise: *801 + installation: *802 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145564,8 +146025,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145914,8 +146375,8 @@ x-webhooks: - state - locked - assignee - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -145996,9 +146457,9 @@ x-webhooks: type: string enum: - pinned - comment: *826 - enterprise: *800 - installation: *801 + comment: *827 + enterprise: *801 + installation: *802 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146788,8 +147249,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147140,8 +147601,8 @@ x-webhooks: - state - locked - assignee - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -147221,9 +147682,9 @@ x-webhooks: type: string enum: - unpinned - comment: *826 - enterprise: *800 - installation: *801 + comment: *827 + enterprise: *801 + installation: *802 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -148013,8 +148474,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148365,8 +148826,8 @@ x-webhooks: - state - locked - assignee - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -148455,9 +148916,9 @@ x-webhooks: type: number blocking_issue: *89 blocking_issue_repo: *83 - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -148546,9 +149007,9 @@ x-webhooks: type: number blocking_issue: *89 blocking_issue_repo: *83 - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -148636,9 +149097,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *89 - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -148727,9 +149188,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *89 - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -148809,10 +149270,10 @@ x-webhooks: type: string enum: - assigned - assignee: *822 - enterprise: *800 - installation: *801 - issue: &827 + assignee: *823 + enterprise: *801 + installation: *802 + issue: &828 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -149604,8 +150065,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -149725,8 +150186,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -149806,8 +150267,8 @@ x-webhooks: type: string enum: - closed - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -150604,8 +151065,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -150860,8 +151321,8 @@ x-webhooks: required: - state - closed_at - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -150940,8 +151401,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151729,8 +152190,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -151849,8 +152310,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -151929,8 +152390,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152740,8 +153201,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -152839,7 +153300,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &828 + milestone: &829 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152977,8 +153438,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -153077,8 +153538,8 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153870,8 +154331,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -153991,9 +154452,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *821 - organization: *802 - repository: *803 + label: *822 + organization: *803 + repository: *804 sender: *4 required: - action @@ -154073,9 +154534,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *800 - installation: *801 - issue: *827 + enterprise: *801 + installation: *802 + issue: *828 issue_field: type: object description: The issue field whose value was set or updated on the @@ -154229,8 +154690,8 @@ x-webhooks: - id required: - from - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -154310,9 +154771,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *800 - installation: *801 - issue: *827 + enterprise: *801 + installation: *802 + issue: *828 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -154393,8 +154854,8 @@ x-webhooks: nullable: true required: - id - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -154474,8 +154935,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155266,8 +155727,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -155387,9 +155848,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *821 - organization: *802 - repository: *803 + label: *822 + organization: *803 + repository: *804 sender: *4 required: - action @@ -155469,8 +155930,8 @@ x-webhooks: type: string enum: - locked - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156285,8 +156746,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -156383,8 +156844,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -156463,8 +156924,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157273,8 +157734,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -157371,9 +157832,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *828 - organization: *802 - repository: *803 + milestone: *829 + organization: *803 + repository: *804 sender: *4 required: - action @@ -158236,8 +158697,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -158821,8 +159282,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159606,8 +160067,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -159734,8 +160195,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -159815,9 +160276,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *800 - installation: *801 - issue: &829 + enterprise: *801 + installation: *802 + issue: &830 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -160603,8 +161064,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -160723,8 +161184,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -160803,8 +161264,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -161617,8 +162078,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -161716,8 +162177,8 @@ x-webhooks: user_view_type: type: string type: *259 - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -162586,8 +163047,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -163185,11 +163646,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *800 - installation: *801 - issue: *829 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + issue: *830 + organization: *803 + repository: *804 sender: *4 required: - action @@ -163269,12 +163730,12 @@ x-webhooks: type: string enum: - typed - enterprise: *800 - installation: *801 - issue: *827 + enterprise: *801 + installation: *802 + issue: *828 type: *259 - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -163355,7 +163816,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &859 + assignee: &860 title: User type: object nullable: true @@ -163425,11 +163886,11 @@ x-webhooks: required: - login - id - enterprise: *800 - installation: *801 - issue: *827 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + issue: *828 + organization: *803 + repository: *804 sender: *4 required: - action @@ -163508,12 +163969,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *800 - installation: *801 - issue: *827 - label: *821 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + issue: *828 + label: *822 + organization: *803 + repository: *804 sender: *4 required: - action @@ -163593,8 +164054,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -164407,8 +164868,8 @@ x-webhooks: properties: *90 required: *91 nullable: true - sub_issues_summary: *733 - issue_dependencies_summary: *734 + sub_issues_summary: *734 + issue_dependencies_summary: *735 issue_field_values: type: array items: *579 @@ -164505,8 +164966,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -164586,11 +165047,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *800 - installation: *801 - issue: *829 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + issue: *830 + organization: *803 + repository: *804 sender: *4 required: - action @@ -164669,12 +165130,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *800 - installation: *801 - issue: *827 + enterprise: *801 + installation: *802 + issue: *828 type: *259 - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -164754,11 +165215,11 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - label: *821 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + label: *822 + organization: *803 + repository: *804 sender: *4 required: - action @@ -164836,11 +165297,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - label: *821 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + label: *822 + organization: *803 + repository: *804 sender: *4 required: - action @@ -164950,11 +165411,11 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 - label: *821 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + label: *822 + organization: *803 + repository: *804 sender: *4 required: - action @@ -165036,9 +165497,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *800 - installation: *801 - marketplace_purchase: &830 + enterprise: *801 + installation: *802 + marketplace_purchase: &831 title: Marketplace Purchase type: object required: @@ -165121,8 +165582,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *802 - previous_marketplace_purchase: &831 + organization: *803 + previous_marketplace_purchase: &832 title: Marketplace Purchase type: object properties: @@ -165202,7 +165663,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *803 + repository: *804 sender: *4 required: - action @@ -165282,10 +165743,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *800 - installation: *801 - marketplace_purchase: *830 - organization: *802 + enterprise: *801 + installation: *802 + marketplace_purchase: *831 + organization: *803 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165368,7 +165829,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *803 + repository: *804 sender: *4 required: - action @@ -165450,10 +165911,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *800 - installation: *801 - marketplace_purchase: *830 - organization: *802 + enterprise: *801 + installation: *802 + marketplace_purchase: *831 + organization: *803 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165535,7 +165996,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *803 + repository: *804 sender: *4 required: - action @@ -165616,8 +166077,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 marketplace_purchase: title: Marketplace Purchase type: object @@ -165699,9 +166160,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *802 - previous_marketplace_purchase: *831 - repository: *803 + organization: *803 + previous_marketplace_purchase: *832 + repository: *804 sender: *4 required: - action @@ -165781,12 +166242,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *800 - installation: *801 - marketplace_purchase: *830 - organization: *802 - previous_marketplace_purchase: *831 - repository: *803 + enterprise: *801 + installation: *802 + marketplace_purchase: *831 + organization: *803 + previous_marketplace_purchase: *832 + repository: *804 sender: *4 required: - action @@ -165888,11 +166349,11 @@ x-webhooks: type: string required: - to - enterprise: *800 - installation: *801 - member: *822 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + member: *823 + organization: *803 + repository: *804 sender: *4 required: - action @@ -165992,11 +166453,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *800 - installation: *801 - member: *822 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + member: *823 + organization: *803 + repository: *804 sender: *4 required: - action @@ -166075,11 +166536,11 @@ x-webhooks: type: string enum: - removed - enterprise: *800 - installation: *801 - member: *822 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + member: *823 + organization: *803 + repository: *804 sender: *4 required: - action @@ -166157,11 +166618,11 @@ x-webhooks: type: string enum: - added - enterprise: *800 - installation: *801 - member: *822 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + member: *823 + organization: *803 + repository: *804 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166237,7 +166698,7 @@ x-webhooks: required: - login - id - team: &832 + team: &833 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166460,11 +166921,11 @@ x-webhooks: type: string enum: - removed - enterprise: *800 - installation: *801 - member: *822 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + member: *823 + organization: *803 + repository: *804 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166541,7 +167002,7 @@ x-webhooks: required: - login - id - team: *832 + team: *833 required: - action - scope @@ -166623,8 +167084,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *801 - merge_group: &834 + installation: *802 + merge_group: &835 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166643,15 +167104,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *833 + head_commit: *834 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -166737,10 +167198,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *801 - merge_group: *834 - organization: *802 - repository: *803 + installation: *802 + merge_group: *835 + organization: *803 + repository: *804 sender: *4 required: - action @@ -166813,7 +167274,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 + enterprise: *801 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166922,17 +167383,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *801 - organization: *802 + installation: *802 + organization: *803 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *835 - required: *836 - x-github-breaking-changes: *837 + properties: *836 + required: *837 + x-github-breaking-changes: *838 nullable: true sender: *4 required: @@ -167013,11 +167474,11 @@ x-webhooks: type: string enum: - closed - enterprise: *800 - installation: *801 - milestone: *828 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + milestone: *829 + organization: *803 + repository: *804 sender: *4 required: - action @@ -167096,9 +167557,9 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - milestone: &838 + enterprise: *801 + installation: *802 + milestone: &839 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167235,8 +167696,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -167315,11 +167776,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - milestone: *828 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + milestone: *829 + organization: *803 + repository: *804 sender: *4 required: - action @@ -167429,11 +167890,11 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 - milestone: *828 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + milestone: *829 + organization: *803 + repository: *804 sender: *4 required: - action @@ -167513,11 +167974,11 @@ x-webhooks: type: string enum: - opened - enterprise: *800 - installation: *801 - milestone: *838 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + milestone: *839 + organization: *803 + repository: *804 sender: *4 required: - action @@ -167596,11 +168057,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *822 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + blocked_user: *823 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -167679,11 +168140,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *822 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + blocked_user: *823 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -167762,9 +168223,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - membership: &839 + enterprise: *801 + installation: *802 + membership: &840 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -167871,8 +168332,8 @@ x-webhooks: - role - organization_url - user - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 required: - action @@ -167950,11 +168411,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *800 - installation: *801 - membership: *839 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + membership: *840 + organization: *803 + repository: *804 sender: *4 required: - action @@ -168033,8 +168494,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168150,10 +168611,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 - user: *822 + user: *823 required: - action - invitation @@ -168231,11 +168692,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *800 - installation: *801 - membership: *839 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + membership: *840 + organization: *803 + repository: *804 sender: *4 required: - action @@ -168322,11 +168783,11 @@ x-webhooks: properties: from: type: string - enterprise: *800 - installation: *801 - membership: *839 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + membership: *840 + organization: *803 + repository: *804 sender: *4 required: - action @@ -168403,9 +168864,9 @@ x-webhooks: type: string enum: - published - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 package: description: Information about the package. type: object @@ -168904,7 +169365,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &840 + items: &841 title: Ruby Gems metadata type: object properties: @@ -168999,7 +169460,7 @@ x-webhooks: - owner - package_version - registry - repository: *803 + repository: *804 sender: *4 required: - action @@ -169075,9 +169536,9 @@ x-webhooks: type: string enum: - updated - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 package: description: Information about the package. type: object @@ -169430,7 +169891,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *840 + items: *841 source_url: type: string format: uri @@ -169500,7 +169961,7 @@ x-webhooks: - owner - package_version - registry - repository: *803 + repository: *804 sender: *4 required: - action @@ -169676,12 +170137,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *800 + enterprise: *801 id: type: integer - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - id @@ -169758,7 +170219,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &841 + personal_access_token_request: &842 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -169904,10 +170365,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *800 - organization: *802 + enterprise: *801 + organization: *803 sender: *4 - installation: *801 + installation: *802 required: - action - personal_access_token_request @@ -169984,11 +170445,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *841 - enterprise: *800 - organization: *802 + personal_access_token_request: *842 + enterprise: *801 + organization: *803 sender: *4 - installation: *801 + installation: *802 required: - action - personal_access_token_request @@ -170064,11 +170525,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *841 - enterprise: *800 - organization: *802 + personal_access_token_request: *842 + enterprise: *801 + organization: *803 sender: *4 - installation: *801 + installation: *802 required: - action - personal_access_token_request @@ -170143,11 +170604,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *841 - organization: *802 - enterprise: *800 + personal_access_token_request: *842 + organization: *803 + enterprise: *801 sender: *4 - installation: *801 + installation: *802 required: - action - personal_access_token_request @@ -170252,7 +170713,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *842 + last_response: *843 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170284,8 +170745,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 zen: description: Random string of GitHub zen. @@ -170530,10 +170991,10 @@ x-webhooks: - from required: - note - enterprise: *800 - installation: *801 - organization: *802 - project_card: &843 + enterprise: *801 + installation: *802 + organization: *803 + project_card: &844 title: Project Card type: object properties: @@ -170652,7 +171113,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *803 + repository: *804 sender: *4 required: - action @@ -170733,11 +171194,11 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - project_card: *843 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + project_card: *844 + repository: *804 sender: *4 required: - action @@ -170817,9 +171278,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 project_card: title: Project Card type: object @@ -170947,9 +171408,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *835 - required: *836 - x-github-breaking-changes: *837 + properties: *836 + required: *837 + x-github-breaking-changes: *838 nullable: true sender: *4 required: @@ -171043,11 +171504,11 @@ x-webhooks: - from required: - note - enterprise: *800 - installation: *801 - organization: *802 - project_card: *843 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + project_card: *844 + repository: *804 sender: *4 required: - action @@ -171141,9 +171602,9 @@ x-webhooks: - from required: - column_id - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 project_card: allOf: - title: Project Card @@ -171333,7 +171794,7 @@ x-webhooks: type: string required: - after_id - repository: *803 + repository: *804 sender: *4 required: - action @@ -171413,10 +171874,10 @@ x-webhooks: type: string enum: - closed - enterprise: *800 - installation: *801 - organization: *802 - project: &845 + enterprise: *801 + installation: *802 + organization: *803 + project: &846 title: Project type: object properties: @@ -171540,7 +172001,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *803 + repository: *804 sender: *4 required: - action @@ -171620,10 +172081,10 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - project_column: &844 + enterprise: *801 + installation: *802 + organization: *803 + project_column: &845 title: Project Column type: object properties: @@ -171662,7 +172123,7 @@ x-webhooks: - name - created_at - updated_at - repository: *803 + repository: *804 sender: *4 required: - action @@ -171741,19 +172202,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 - project_column: *844 + enterprise: *801 + installation: *802 + organization: *803 + project_column: *845 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *835 - required: *836 - x-github-breaking-changes: *837 + properties: *836 + required: *837 + x-github-breaking-changes: *838 nullable: true sender: *4 required: @@ -171843,11 +172304,11 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 - organization: *802 - project_column: *844 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + project_column: *845 + repository: *804 sender: *4 required: - action @@ -171927,11 +172388,11 @@ x-webhooks: type: string enum: - moved - enterprise: *800 - installation: *801 - organization: *802 - project_column: *844 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + project_column: *845 + repository: *804 sender: *4 required: - action @@ -172011,11 +172472,11 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - project: *845 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + project: *846 + repository: *804 sender: *4 required: - action @@ -172095,19 +172556,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 - project: *845 + enterprise: *801 + installation: *802 + organization: *803 + project: *846 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *835 - required: *836 - x-github-breaking-changes: *837 + properties: *836 + required: *837 + x-github-breaking-changes: *838 nullable: true sender: *4 required: @@ -172209,11 +172670,11 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 - organization: *802 - project: *845 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + project: *846 + repository: *804 sender: *4 required: - action @@ -172292,11 +172753,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *800 - installation: *801 - organization: *802 - project: *845 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + project: *846 + repository: *804 sender: *4 required: - action @@ -172377,8 +172838,8 @@ x-webhooks: type: string enum: - closed - installation: *801 - organization: *802 + installation: *802 + organization: *803 projects_v2: *293 sender: *4 required: @@ -172460,8 +172921,8 @@ x-webhooks: type: string enum: - created - installation: *801 - organization: *802 + installation: *802 + organization: *803 projects_v2: *293 sender: *4 required: @@ -172543,8 +173004,8 @@ x-webhooks: type: string enum: - deleted - installation: *801 - organization: *802 + installation: *802 + organization: *803 projects_v2: *293 sender: *4 required: @@ -172662,8 +173123,8 @@ x-webhooks: type: string to: type: string - installation: *801 - organization: *802 + installation: *802 + organization: *803 projects_v2: *293 sender: *4 required: @@ -172747,7 +173208,7 @@ x-webhooks: type: string enum: - archived - changes: &849 + changes: &850 type: object properties: archived_at: @@ -172761,9 +173222,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *801 - organization: *802 - projects_v2_item: &846 + installation: *802 + organization: *803 + projects_v2_item: &847 title: Projects v2 Item description: An item belonging to a project type: object @@ -172898,9 +173359,9 @@ x-webhooks: nullable: true to: type: string - installation: *801 - organization: *802 - projects_v2_item: *846 + installation: *802 + organization: *803 + projects_v2_item: *847 sender: *4 required: - action @@ -172982,9 +173443,9 @@ x-webhooks: type: string enum: - created - installation: *801 - organization: *802 - projects_v2_item: *846 + installation: *802 + organization: *803 + projects_v2_item: *847 sender: *4 required: - action @@ -173065,9 +173526,9 @@ x-webhooks: type: string enum: - deleted - installation: *801 - organization: *802 - projects_v2_item: *846 + installation: *802 + organization: *803 + projects_v2_item: *847 sender: *4 required: - action @@ -173173,7 +173634,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &847 + - &848 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173195,7 +173656,7 @@ x-webhooks: required: - id - name - - &848 + - &849 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173229,8 +173690,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *847 - *848 + - *849 required: - field_value - type: object @@ -173246,9 +173707,9 @@ x-webhooks: nullable: true required: - body - installation: *801 - organization: *802 - projects_v2_item: *846 + installation: *802 + organization: *803 + projects_v2_item: *847 sender: *4 required: - action @@ -173343,9 +173804,9 @@ x-webhooks: to: type: string nullable: true - installation: *801 - organization: *802 - projects_v2_item: *846 + installation: *802 + organization: *803 + projects_v2_item: *847 sender: *4 required: - action @@ -173428,10 +173889,10 @@ x-webhooks: type: string enum: - restored - changes: *849 - installation: *801 - organization: *802 - projects_v2_item: *846 + changes: *850 + installation: *802 + organization: *803 + projects_v2_item: *847 sender: *4 required: - action @@ -173513,8 +173974,8 @@ x-webhooks: type: string enum: - reopened - installation: *801 - organization: *802 + installation: *802 + organization: *803 projects_v2: *293 sender: *4 required: @@ -173596,14 +174057,14 @@ x-webhooks: type: string enum: - created - installation: *801 - organization: *802 - projects_v2_status_update: &852 + installation: *802 + organization: *803 + projects_v2_status_update: &853 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *850 - required: *851 + properties: *851 + required: *852 sender: *4 required: - action @@ -173684,9 +174145,9 @@ x-webhooks: type: string enum: - deleted - installation: *801 - organization: *802 - projects_v2_status_update: *852 + installation: *802 + organization: *803 + projects_v2_status_update: *853 sender: *4 required: - action @@ -173822,9 +174283,9 @@ x-webhooks: type: string format: date nullable: true - installation: *801 - organization: *802 - projects_v2_status_update: *852 + installation: *802 + organization: *803 + projects_v2_status_update: *853 sender: *4 required: - action @@ -173895,10 +174356,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - repository @@ -173975,13 +174436,13 @@ x-webhooks: type: string enum: - assigned - assignee: *822 - enterprise: *800 - installation: *801 - number: &853 + assignee: *823 + enterprise: *801 + installation: *802 + number: &854 description: The pull request number. type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -176287,7 +176748,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -176384,11 +176845,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 number: type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -178689,7 +179150,7 @@ x-webhooks: - draft reason: type: string - repository: *803 + repository: *804 sender: *4 required: - action @@ -178786,11 +179247,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 number: type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -181091,7 +181552,7 @@ x-webhooks: - draft reason: type: string - repository: *803 + repository: *804 sender: *4 required: - action @@ -181188,11 +181649,11 @@ x-webhooks: type: string enum: - closed - enterprise: *800 - installation: *801 - number: *853 - organization: *802 - pull_request: &854 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 + pull_request: &855 allOf: - *634 - type: object @@ -181256,7 +181717,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *803 + repository: *804 sender: *4 required: - action @@ -181337,12 +181798,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *800 - installation: *801 - number: *853 - organization: *802 - pull_request: *854 - repository: *803 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 + pull_request: *855 + repository: *804 sender: *4 required: - action @@ -181422,11 +181883,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *800 + enterprise: *801 milestone: *617 - number: *853 - organization: *802 - pull_request: &855 + number: *854 + organization: *803 + pull_request: &856 title: Pull Request type: object properties: @@ -183754,7 +184215,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *803 + repository: *804 sender: *4 required: - action @@ -183833,11 +184294,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 number: type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -186142,7 +186603,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *803 + repository: *804 sender: *4 required: - action @@ -186274,12 +186735,12 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 - number: *853 - organization: *802 - pull_request: *854 - repository: *803 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 + pull_request: *855 + repository: *804 sender: *4 required: - action @@ -186359,11 +186820,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 number: type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -188653,7 +189114,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -188741,11 +189202,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *800 - installation: *801 - label: *821 - number: *853 - organization: *802 + enterprise: *801 + installation: *802 + label: *822 + number: *854 + organization: *803 pull_request: title: Pull Request type: object @@ -191050,7 +191511,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -191146,10 +191607,10 @@ x-webhooks: type: string enum: - locked - enterprise: *800 - installation: *801 - number: *853 - organization: *802 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 pull_request: title: Pull Request type: object @@ -193452,7 +193913,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -193547,12 +194008,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *800 + enterprise: *801 milestone: *617 - number: *853 - organization: *802 - pull_request: *855 - repository: *803 + number: *854 + organization: *803 + pull_request: *856 + repository: *804 sender: *4 required: - action @@ -193631,12 +194092,12 @@ x-webhooks: type: string enum: - opened - enterprise: *800 - installation: *801 - number: *853 - organization: *802 - pull_request: *854 - repository: *803 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 + pull_request: *855 + repository: *804 sender: *4 required: - action @@ -193717,12 +194178,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *800 - installation: *801 - number: *853 - organization: *802 - pull_request: *854 - repository: *803 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 + pull_request: *855 + repository: *804 sender: *4 required: - action @@ -193802,12 +194263,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *800 - installation: *801 - number: *853 - organization: *802 - pull_request: *854 - repository: *803 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 + pull_request: *855 + repository: *804 sender: *4 required: - action @@ -194173,9 +194634,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 pull_request: type: object properties: @@ -196368,7 +196829,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *803 + repository: *804 sender: *4 required: - action @@ -196463,7 +196924,7 @@ x-webhooks: type: string enum: - deleted - comment: &857 + comment: &858 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -196748,9 +197209,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 pull_request: type: object properties: @@ -198931,7 +199392,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *803 + repository: *804 sender: *4 required: - action @@ -199026,11 +199487,11 @@ x-webhooks: type: string enum: - edited - changes: *856 - comment: *857 - enterprise: *800 - installation: *801 - organization: *802 + changes: *857 + comment: *858 + enterprise: *801 + installation: *802 + organization: *803 pull_request: type: object properties: @@ -201214,7 +201675,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *803 + repository: *804 sender: *4 required: - action @@ -201310,9 +201771,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 pull_request: title: Simple Pull Request type: object @@ -203508,7 +203969,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *803 + repository: *804 review: description: The review that was affected. type: object @@ -203770,9 +204231,9 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 pull_request: title: Simple Pull Request type: object @@ -205826,8 +206287,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *803 - review: &858 + repository: *804 + review: &859 description: The review that was affected. type: object properties: @@ -206068,12 +206529,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 number: description: The pull request number. type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -208379,7 +208840,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 requested_reviewer: title: User type: object @@ -208463,12 +208924,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 number: description: The pull request number. type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -210781,7 +211242,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210996,12 +211457,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 number: description: The pull request number. type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -213309,7 +213770,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 requested_reviewer: title: User type: object @@ -213394,12 +213855,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 number: description: The pull request number. type: integer - organization: *802 + organization: *803 pull_request: title: Pull Request type: object @@ -215698,7 +216159,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215902,9 +216363,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 pull_request: title: Simple Pull Request type: object @@ -218102,8 +218563,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *803 - review: *858 + repository: *804 + review: *859 sender: *4 required: - action @@ -218198,9 +218659,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 pull_request: title: Simple Pull Request type: object @@ -220293,7 +220754,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *803 + repository: *804 sender: *4 thread: type: object @@ -220688,9 +221149,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 pull_request: title: Simple Pull Request type: object @@ -222769,7 +223230,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *803 + repository: *804 sender: *4 thread: type: object @@ -223161,11 +223622,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *800 - installation: *801 + enterprise: *801 + installation: *802 stack: *631 - number: *853 - organization: *802 + number: *854 + organization: *803 pull_request: title: Pull Request type: object @@ -225470,7 +225931,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -225571,10 +226032,10 @@ x-webhooks: type: string before: type: string - enterprise: *800 - installation: *801 - number: *853 - organization: *802 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 pull_request: title: Pull Request type: object @@ -227868,7 +228329,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -227965,11 +228426,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *859 - enterprise: *800 - installation: *801 - number: *853 - organization: *802 + assignee: *860 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 pull_request: title: Pull Request type: object @@ -230275,7 +230736,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -230369,11 +230830,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *800 - installation: *801 - label: *821 - number: *853 - organization: *802 + enterprise: *801 + installation: *802 + label: *822 + number: *854 + organization: *803 pull_request: title: Pull Request type: object @@ -232669,7 +233130,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -232765,10 +233226,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *800 - installation: *801 - number: *853 - organization: *802 + enterprise: *801 + installation: *802 + number: *854 + organization: *803 pull_request: title: Pull Request type: object @@ -235056,7 +235517,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *803 + repository: *804 sender: *4 required: - action @@ -235271,7 +235732,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *800 + enterprise: *801 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -235363,8 +235824,8 @@ x-webhooks: - url - author - committer - installation: *801 - organization: *802 + installation: *802 + organization: *803 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -235950,9 +236411,9 @@ x-webhooks: type: string enum: - published - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 registry_package: type: object properties: @@ -236398,7 +236859,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *840 + items: *841 summary: type: string tag_name: @@ -236452,7 +236913,7 @@ x-webhooks: - owner - package_version - registry - repository: *803 + repository: *804 sender: *4 required: - action @@ -236530,9 +236991,9 @@ x-webhooks: type: string enum: - updated - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 registry_package: type: object properties: @@ -236840,7 +237301,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *840 + items: *841 summary: type: string tag_name: @@ -236889,7 +237350,7 @@ x-webhooks: - owner - package_version - registry - repository: *803 + repository: *804 sender: *4 required: - action @@ -236966,10 +237427,10 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - release: &860 + enterprise: *801 + installation: *802 + organization: *803 + release: &861 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -237287,7 +237748,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *803 + repository: *804 sender: *4 required: - action @@ -237364,11 +237825,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 - release: *860 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + release: *861 + repository: *804 sender: *4 required: - action @@ -237485,11 +237946,11 @@ x-webhooks: type: boolean required: - to - enterprise: *800 - installation: *801 - organization: *802 - release: *860 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + release: *861 + repository: *804 sender: *4 required: - action @@ -237567,9 +238028,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -237891,7 +238352,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *803 + repository: *804 sender: *4 required: - action @@ -237967,10 +238428,10 @@ x-webhooks: type: string enum: - published - enterprise: *800 - installation: *801 - organization: *802 - release: &861 + enterprise: *801 + installation: *802 + organization: *803 + release: &862 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -238289,7 +238750,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *803 + repository: *804 sender: *4 required: - action @@ -238365,11 +238826,11 @@ x-webhooks: type: string enum: - released - enterprise: *800 - installation: *801 - organization: *802 - release: *860 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + release: *861 + repository: *804 sender: *4 required: - action @@ -238445,11 +238906,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *800 - installation: *801 - organization: *802 - release: *861 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + release: *862 + repository: *804 sender: *4 required: - action @@ -238525,11 +238986,11 @@ x-webhooks: type: string enum: - published - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - repository_advisory: *719 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + repository_advisory: *720 sender: *4 required: - action @@ -238605,11 +239066,11 @@ x-webhooks: type: string enum: - reported - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - repository_advisory: *719 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + repository_advisory: *720 sender: *4 required: - action @@ -238685,10 +239146,10 @@ x-webhooks: type: string enum: - archived - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -238765,10 +239226,10 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -238846,10 +239307,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -238933,10 +239394,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -239048,10 +239509,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -239123,10 +239584,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 status: type: string @@ -239207,10 +239668,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -239287,10 +239748,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -239384,10 +239845,10 @@ x-webhooks: - name required: - repository - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -239467,10 +239928,10 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 repository_ruleset: *342 sender: *4 required: @@ -239549,10 +240010,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 repository_ruleset: *342 sender: *4 required: @@ -239631,10 +240092,10 @@ x-webhooks: type: string enum: - edited - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 repository_ruleset: *342 changes: type: object @@ -239696,16 +240157,16 @@ x-webhooks: properties: added: type: array - items: *655 + items: *656 deleted: type: array - items: *655 + items: *656 updated: type: array items: type: object properties: - rule: *655 + rule: *656 changes: type: object properties: @@ -239939,10 +240400,10 @@ x-webhooks: - from required: - owner - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -240020,10 +240481,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -240101,7 +240562,7 @@ x-webhooks: type: string enum: - create - alert: &862 + alert: &863 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -240223,10 +240684,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -240432,10 +240893,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -240513,11 +240974,11 @@ x-webhooks: type: string enum: - reopen - alert: *862 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + alert: *863 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -240716,10 +241177,10 @@ x-webhooks: enum: - fixed - open - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -240797,7 +241258,7 @@ x-webhooks: type: string enum: - assigned - alert: &864 + alert: &865 type: object properties: number: *189 @@ -240947,12 +241408,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *863 + metadata: *864 assignee: *4 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241030,11 +241491,11 @@ x-webhooks: type: string enum: - created - alert: *864 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + alert: *865 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241115,11 +241576,11 @@ x-webhooks: type: string enum: - created - alert: *864 - installation: *801 - location: *865 - organization: *802 - repository: *803 + alert: *865 + installation: *802 + location: *866 + organization: *803 + repository: *804 sender: *4 required: - location @@ -241357,11 +241818,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *864 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + alert: *865 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241438,11 +241899,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *864 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + alert: *865 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241519,11 +241980,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *864 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + alert: *865 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241601,11 +242062,11 @@ x-webhooks: type: string enum: - reopened - alert: *864 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + alert: *865 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241683,11 +242144,11 @@ x-webhooks: type: string enum: - resolved - alert: *864 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + alert: *865 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241765,12 +242226,12 @@ x-webhooks: type: string enum: - unassigned - alert: *864 + alert: *865 assignee: *4 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241848,11 +242309,11 @@ x-webhooks: type: string enum: - validated - alert: *864 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + alert: *865 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -241978,10 +242439,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *803 - enterprise: *800 - installation: *801 - organization: *802 + repository: *804 + enterprise: *801 + installation: *802 + organization: *803 sender: *4 required: - action @@ -242059,11 +242520,11 @@ x-webhooks: type: string enum: - published - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - security_advisory: &866 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + security_advisory: &867 description: The details of the security advisory, including summary, description, and severity. type: object @@ -242264,11 +242725,11 @@ x-webhooks: type: string enum: - updated - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 - security_advisory: *866 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 + security_advisory: *867 sender: *4 required: - action @@ -242341,10 +242802,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -242537,9 +242998,9 @@ x-webhooks: type: object properties: security_and_analysis: *315 - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 repository: *362 sender: *4 required: @@ -242618,12 +243079,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - sponsorship: &867 + sponsorship: &868 type: object properties: created_at: @@ -242924,12 +243385,12 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - sponsorship: *867 + sponsorship: *868 required: - action - sponsorship @@ -243017,12 +243478,12 @@ x-webhooks: type: string required: - from - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - sponsorship: *867 + sponsorship: *868 required: - action - changes @@ -243099,17 +243560,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &868 + effective_date: &869 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: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - sponsorship: *867 + sponsorship: *868 required: - action - sponsorship @@ -243183,7 +243644,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &869 + changes: &870 type: object properties: tier: @@ -243227,13 +243688,13 @@ x-webhooks: - from required: - tier - effective_date: *868 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + effective_date: *869 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - sponsorship: *867 + sponsorship: *868 required: - action - changes @@ -243310,13 +243771,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *869 - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + changes: *870 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - sponsorship: *867 + sponsorship: *868 required: - action - changes @@ -243390,10 +243851,10 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243476,10 +243937,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243899,15 +244360,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *800 + enterprise: *801 id: description: The unique identifier of the status. type: integer - installation: *801 + installation: *802 name: type: string - organization: *802 - repository: *803 + organization: *803 + repository: *804 sender: *4 sha: description: The Commit SHA. @@ -244022,9 +244483,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *89 - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -244113,9 +244574,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *89 - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -244204,9 +244665,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *89 - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -244295,9 +244756,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *89 - installation: *801 - organization: *802 - repository: *803 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -244373,12 +244834,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - team: &870 + team: &871 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -244601,9 +245062,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 repository: title: Repository description: A git repository @@ -245061,7 +245522,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *870 + team: *871 required: - action - team @@ -245137,9 +245598,9 @@ x-webhooks: type: string enum: - created - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 repository: title: Repository description: A git repository @@ -245597,7 +246058,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *870 + team: *871 required: - action - team @@ -245674,9 +246135,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 repository: title: Repository description: A git repository @@ -246134,7 +246595,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *870 + team: *871 required: - action - team @@ -246278,9 +246739,9 @@ x-webhooks: - from required: - permissions - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 repository: title: Repository description: A git repository @@ -246738,7 +247199,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *870 + team: *871 required: - action - changes @@ -246816,9 +247277,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *800 - installation: *801 - organization: *802 + enterprise: *801 + installation: *802 + organization: *803 repository: title: Repository description: A git repository @@ -247276,7 +247737,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *870 + team: *871 required: - action - team @@ -247352,10 +247813,10 @@ x-webhooks: type: string enum: - started - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 required: - action @@ -247428,16 +247889,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *800 + enterprise: *801 inputs: type: object nullable: true additionalProperties: true - installation: *801 - organization: *802 + installation: *802 + organization: *803 ref: type: string - repository: *803 + repository: *804 sender: *4 workflow: type: string @@ -247519,10 +247980,10 @@ x-webhooks: type: string enum: - completed - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 workflow_job: allOf: @@ -247838,10 +248299,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 workflow_job: allOf: @@ -248180,10 +248641,10 @@ x-webhooks: type: string enum: - queued - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 workflow_job: type: object @@ -248397,10 +248858,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 workflow_job: type: object @@ -248616,12 +249077,12 @@ x-webhooks: type: string enum: - completed - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - workflow: *817 + workflow: *818 workflow_run: title: Workflow Run type: object @@ -249620,12 +250081,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *800 - installation: *801 - organization: *802 - repository: *803 + enterprise: *801 + installation: *802 + organization: *803 + repository: *804 sender: *4 - workflow: *817 + workflow: *818 workflow_run: {"code":"deadline_exceeded","msg":"operation timed out"}