diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 47aed07dc..a339c266b 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -53468,6 +53468,1267 @@ } } }, + "/enterprises/{enterprise}/credentials": { + "get": { + "summary": "List enterprise token inventory", + "description": "Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/list-enterprise-token-inventory", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "after", + "description": "A cursor, as given in the `Link` header, for the next page of results.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "token_types", + "description": "A comma-separated list of credential types to filter by.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "authorization_state", + "description": "Filter by enterprise-access status.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + } + }, + { + "name": "owner", + "description": "Filter to credentials owned by this user, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "application", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "ZmVkY2JhOTg3NjU0MzIxMA", + "credential_id": 246810, + "hashed_token": "B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "oauth_app_user_token", + "display_name": "Acme Deploy", + "owner": { + "id": 2, + "login": "hubot" + }, + "owner_type": "user", + "application": { + "id": 42, + "name": "Acme Deploy" + }, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-03-10T14:00:00Z", + "last_used_at": "2024-06-02T08:15:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 2, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + }, + { + "id": 11, + "login": "acme-ops" + } + ], + "age_days": 83, + "never_expires": true, + "past_expiration_policy": false, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": [ + "read:user", + "repo" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "c3NoLWtleS1leGFtcGxlLTAwMQ", + "credential_id": null, + "hashed_token": null, + "fingerprint": "SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", + "item_type": "credential", + "credential_type": "ssh_key", + "display_name": "laptop-2024", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2023-11-01T10:00:00Z", + "last_used_at": "2024-05-20T16:45:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 213, + "never_expires": true, + "past_expiration_policy": true, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": null, + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "YWJjZGVmMDEyMzQ1Njc4OQ", + "credential_id": 135790, + "hashed_token": null, + "fingerprint": null, + "item_type": "credential", + "credential_type": "fine_grained_pat", + "display_name": "release-bot", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-05-01T10:00:00Z", + "last_used_at": "2024-06-03T16:45:00Z", + "expires_at": "2024-11-01T10:00:00Z", + "next_expires_at": "2024-11-01T10:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 45, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": null, + "permissions": { + "contents": "read", + "pull_requests": "write" + }, + "repository_selection": "subset" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the walk hit the safety ceiling or time budget, so the result is a partial page. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the result is incomplete for any reason (truncated, or a source was omitted). A client must not read an absent `Link` next page as \"complete\" without also checking this header. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the result, in ISO 8601 format. The inventory is stitched from replica reads over the request, not a point-in-time snapshot.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted; a comma-separated list of the affected token types (for example, `classic_pat,ssh_key`). Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled, so those rows carry `expiry_unknown` and their `never_expires` / `past_expiration_policy` are not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports": { + "post": { + "summary": "Create an enterprise token inventory export", + "description": "Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day.\n\nThe generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-enterprise-token-inventory-export", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "Optional filters that scope the export to a subset of the inventory.", + "properties": { + "token_types": { + "type": "array", + "description": "The credential types to include.", + "items": { + "type": "string" + } + }, + "authorization_state": { + "type": "string", + "description": "Filter by enterprise-access status.", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "owner": { + "type": "string", + "description": "Filter to credentials owned by this user, given as a login." + }, + "organization": { + "type": "string", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login." + }, + "application": { + "type": "string", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id." + } + } + }, + "examples": { + "default": { + "value": { + "owner": "octocat" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, + "examples": { + "default": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + } + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + }, + "429": { + "description": "Too many requests" + }, + "500": { + "description": "Internal error, for example the export job could not be enqueued." + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports/{export_id}": { + "get": { + "summary": "Get an enterprise token inventory export", + "description": "Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-export", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "export_id", + "description": "The opaque id of the export, as returned when it was created.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, + "examples": { + "default": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + } + } + } + } + }, + "302": { + "description": "The export is ready; redirects to a short-lived download URL.", + "headers": { + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the export hit the safety ceiling, so the CSV is a partial inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the export is incomplete for any reason (truncated, or a source was omitted), so the CSV must not be treated as a complete inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the export, in ISO 8601 format.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted from the export; a comma-separated list of the affected token types. Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present in the export, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled in the export, so those rows carry `expiry_status` = `unknown` and their `past_expiration_policy` is not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/{inventory_id}": { + "get": { + "summary": "Get an enterprise token inventory item", + "description": "Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-item", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "inventory_id", + "description": "The opaque inventory_id returned by the list endpoint for this enterprise. Pass it unchanged. Its value can differ for the same credential between responses.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + }, + "examples": { + "default": { + "value": { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + } + } + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 39f5b8666..896f3589d 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -712,7 +712,7 @@ paths: required: - vector_string - score - cvss_severities: &130 + cvss_severities: &133 type: - object - 'null' @@ -759,7 +759,7 @@ paths: required: - vector_string - score - epss: &131 + epss: &134 type: - object - 'null' @@ -922,7 +922,7 @@ paths: - subscriptions_url - type - url - type: &474 + type: &477 type: string description: The type of credit the user is receiving. enum: @@ -1055,7 +1055,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &256 + schema: &259 title: Validation Error Simple description: Validation Error Simple type: object @@ -1088,7 +1088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &804 + - &807 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4345,7 +4345,7 @@ paths: schema: type: integer default: 30 - - &362 + - &365 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4354,7 +4354,7 @@ paths: required: false schema: type: string - - &363 + - &366 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4374,7 +4374,7 @@ paths: application/json: schema: type: array - items: &364 + items: &367 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4470,7 +4470,7 @@ paths: - installation_id - repository_id examples: - default: &365 + default: &368 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4502,7 +4502,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &814 + schema: &817 title: Scim Error description: Scim Error type: object @@ -4533,7 +4533,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &255 + schema: &258 title: Validation Error description: Validation Error type: object @@ -4605,7 +4605,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &369 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4740,7 +4740,7 @@ paths: - request - response examples: - default: &367 + default: &370 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4944,7 +4944,7 @@ paths: parameters: - *17 - *19 - - &226 + - &229 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -5792,7 +5792,7 @@ paths: license: anyOf: - type: 'null' - - &223 + - &226 title: License Simple description: License Simple type: object @@ -10050,7 +10050,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &260 type: object properties: total_active_caches_count: @@ -10065,7 +10065,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &258 + default: &261 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10280,7 +10280,7 @@ paths: - public_ip_enabled - platform examples: - default: &259 + default: &262 value: total_count: 2 runners: @@ -10584,7 +10584,7 @@ paths: application/json: schema: *44 examples: - default: &260 + default: &263 value: id: 1 platform: linux-x64 @@ -10729,7 +10729,7 @@ paths: application/json: schema: *47 examples: - default: &261 + default: &264 value: version: 1.0.0 size_gb: 75 @@ -10897,7 +10897,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &265 type: object properties: public_ips: @@ -10924,7 +10924,7 @@ paths: required: - public_ips examples: - default: &263 + default: &266 value: public_ips: current_usage: 17 @@ -10964,7 +10964,7 @@ paths: type: array items: *51 examples: - default: &264 + default: &267 value: id: 4-core cpu_cores: 4 @@ -11282,7 +11282,7 @@ paths: required: true content: application/json: - schema: &265 + schema: &268 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11393,7 +11393,7 @@ paths: - all - local_only - selected - selected_actions_url: &267 + selected_actions_url: &270 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -11473,7 +11473,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &269 + schema: &272 type: object properties: days: @@ -11491,7 +11491,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &815 + '401': &818 description: Authorization failure '404': *6 x-github: @@ -11519,7 +11519,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &273 type: object properties: days: @@ -11568,7 +11568,7 @@ paths: required: - approval_policy examples: - default: &271 + default: &274 value: approval_policy: first_time_contributors '404': *6 @@ -11626,7 +11626,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &275 type: object required: - run_workflows_from_fork_pull_requests @@ -11680,7 +11680,7 @@ paths: required: true content: application/json: - schema: &273 + schema: &276 type: object required: - run_workflows_from_fork_pull_requests @@ -12116,7 +12116,7 @@ paths: description: Success response content: application/json: - schema: &276 + schema: &279 type: object properties: default_workflow_permissions: &64 @@ -12164,7 +12164,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &280 type: object properties: default_workflow_permissions: *64 @@ -13086,7 +13086,7 @@ paths: application/json: schema: type: array - items: &281 + items: &284 title: Runner Application description: Runner Application type: object @@ -13111,7 +13111,7 @@ paths: - download_url - filename examples: - default: &282 + default: &285 value: - os: osx architecture: x64 @@ -13195,7 +13195,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &283 + '201': &286 description: Response content: application/json: @@ -13314,7 +13314,7 @@ paths: - token - expires_at examples: - default: &284 + default: &287 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13354,7 +13354,7 @@ paths: application/json: schema: *76 examples: - default: &285 + default: &288 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13386,7 +13386,7 @@ paths: application/json: schema: *73 examples: - default: &286 + default: &289 value: id: 23 name: MBP @@ -13603,7 +13603,7 @@ paths: - *36 - *72 responses: - '200': &287 + '200': &290 description: Response content: application/json: @@ -13659,7 +13659,7 @@ paths: parameters: - *36 - *72 - - &288 + - &291 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13756,7 +13756,7 @@ paths: required: true content: application/json: - schema: &302 + schema: &305 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14407,7 +14407,7 @@ paths: required: false schema: type: string - - &305 + - &308 name: include description: |- The event types to include: @@ -14463,7 +14463,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 type: object properties: "@timestamp": @@ -14585,7 +14585,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &307 + default: &310 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15253,7 +15253,7 @@ paths: application/json: schema: type: array - items: &308 + items: &311 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15425,7 +15425,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &309 + default: &312 value: - id: 21 number: 42 @@ -15530,7 +15530,7 @@ paths: application/json: schema: type: array - items: &311 + items: &314 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15661,7 +15661,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &312 + default: &315 value: - id: 21 number: 42 @@ -15746,7 +15746,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *36 - - &319 + - &322 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -15756,7 +15756,7 @@ paths: schema: &108 type: string description: The name of the tool used to generate the code scanning analysis. - - &320 + - &323 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -15780,7 +15780,7 @@ paths: be returned. in: query required: false - schema: &321 + schema: &324 type: string description: State of a code scanning alert. enum: @@ -15813,36 +15813,36 @@ paths: application/json: schema: type: array - items: &322 + items: &325 type: object properties: - number: &128 + number: &131 type: integer description: The security alert number. readOnly: true - created_at: &135 + created_at: &138 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &136 + updated_at: &139 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &133 + url: &136 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &134 + html_url: &137 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &566 + instances_url: &569 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15858,7 +15858,7 @@ paths: - dismissed - fixed - - fixed_at: &138 + fixed_at: &141 type: - string - 'null' @@ -15870,7 +15870,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &137 + dismissed_at: &140 type: - string - 'null' @@ -15878,7 +15878,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &567 + dismissed_reason: &570 type: - string - 'null' @@ -15890,14 +15890,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &568 + dismissed_comment: &571 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &569 + rule: &572 type: object properties: id: @@ -15958,7 +15958,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &570 + tool: &573 type: object properties: name: *108 @@ -15969,26 +15969,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *109 - most_recent_instance: &571 + most_recent_instance: &574 type: object properties: - ref: &564 + ref: &567 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &582 + analysis_key: &585 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &583 + environment: &586 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &584 + category: &587 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16008,7 +16008,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &585 + location: &588 type: object description: Describe a region within a file for the alert. properties: @@ -16029,7 +16029,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &586 + items: &589 type: - string - 'null' @@ -16385,7 +16385,7 @@ paths: - most_recent_instance - repository examples: - default: &323 + default: &326 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -16616,7 +16616,7 @@ paths: headers: Link: *42 '404': *6 - '503': &193 + '503': &196 description: Service unavailable content: application/json: @@ -17281,7 +17281,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &328 type: array description: A list of default code security configurations items: @@ -17297,7 +17297,7 @@ paths: default configuration: *111 examples: - default: &326 + default: &329 value: - default_for_new_repos: public configuration: @@ -17755,7 +17755,7 @@ paths: default: value: default_for_new_repos: all - configuration: &324 + configuration: &327 value: id: 1325 target_type: organization @@ -17845,7 +17845,7 @@ paths: application/json: schema: type: array - items: &327 + items: &330 type: object description: Repositories associated with a code security configuration and attachment status @@ -17869,7 +17869,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &328 + repository: &331 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18352,7 +18352,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &143 + items: &146 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18370,7 +18370,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &313 + - &316 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18459,7 +18459,7 @@ paths: parent: anyOf: - type: 'null' - - &402 + - &405 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -18577,7 +18577,7 @@ paths: - slug - parent - type - - &142 + - &145 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18709,7 +18709,7 @@ paths: - created_at additionalProperties: false examples: - default: &144 + default: &147 value: total_seats: 2 seats: @@ -19246,7 +19246,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &335 + '413': &338 description: Payload Too Large content: application/json: @@ -20729,6 +20729,748 @@ paths: enabledForGitHubApps: true category: enterprise-admin subcategory: credential-authorizations + "/enterprises/{enterprise}/credentials": + get: + summary: List enterprise token inventory + description: |- + Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-token-inventory + parameters: + - *36 + - *17 + - name: after + description: A cursor, as given in the `Link` header, for the next page of + results. + in: query + required: false + schema: + type: string + - name: token_types + description: A comma-separated list of credential types to filter by. + in: query + required: false + schema: + type: string + - name: authorization_state + description: Filter by enterprise-access status. + in: query + required: false + schema: + type: string + enum: + - currently_authorized + - member_owned_only + - name: owner + description: Filter to credentials owned by this user, given as a login. + in: query + required: false + schema: + type: string + - name: organization + description: Filter to credentials authorized to this organization in the + enterprise, given as a login. + in: query + required: false + schema: + type: string + - name: application + description: Filter to credentials for this application, given as a GitHub + App slug or an OAuth App client id. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &130 + title: Enterprise Token Inventory Item + description: A credential or GitHub App installation in an enterprise's + token inventory. + type: object + required: + - inventory_id + - item_type + - credential_type + - credential_state + - authorization_state + - effective_access_state + - enterprise_authorized + - authorization_count + - authorized_organizations + properties: + inventory_id: + type: string + description: Opaque identifier for retrieving this item within + the enterprise. Its value can differ between responses for + the same credential. + credential_id: + type: + - integer + - 'null' + description: The credential's ID for audit-log correlation, + unique only within its `credential_type`. Null for SSH keys, + GitHub App installations, and federated credentials. + hashed_token: + type: + - string + - 'null' + description: Base64-encoded SHA-256 hash of the token, matching + `hashed_token` in audit events. Null when not reported. + fingerprint: + type: + - string + - 'null' + description: The SSH key's SHA-256 fingerprint, matching audit + events. Null for other credential types. + item_type: + type: string + enum: + - credential + - token_issuer_principal + credential_type: + type: string + enum: + - classic_pat + - oauth_app_user_token + - github_app_user_token + - fine_grained_pat + - ssh_key + - github_app_installation + - federated_jti + display_name: + type: + - string + - 'null' + owner: + type: + - object + - 'null' + properties: + id: + type: integer + login: + type: string + name: + type: + - string + - 'null' + owner_type: + type: + - string + - 'null' + enum: + - user + - oauth_application + - github_app + - + description: The type of credential owner. + application: + type: + - object + - 'null' + properties: + id: + type: integer + name: + type: + - string + - 'null' + credential_state: + type: string + enum: + - active + - expired + - revoked + - deleted + authorization_state: + type: string + enum: + - currently_authorized + - member_owned_only + effective_access_state: + type: string + enum: + - effective + - not_effective + - unknown + state_reason: + type: + - string + - 'null' + created_at: + type: + - string + - 'null' + format: date-time + last_used_at: + type: + - string + - 'null' + format: date-time + expires_at: + type: + - string + - 'null' + format: date-time + next_expires_at: + type: + - string + - 'null' + format: date-time + credential_instance_count: + type: + - integer + - 'null' + enterprise_authorized: + type: boolean + description: Whether the item is authorized directly at the + enterprise level. + authorization_count: + type: integer + description: Number of authorizing organizations, plus one when + `enterprise_authorized` is true. + authorized_organizations: + type: array + items: + type: object + properties: + id: + type: integer + login: + type: string + age_days: + type: + - integer + - 'null' + description: Age of the credential in whole days at assembly + time. + never_expires: + type: boolean + description: Whether this is an active credential with no expiration. + False for GitHub App installations and credentials with unknown + expiration. + past_expiration_policy: + type: + - boolean + - 'null' + description: Whether the credential exceeds a configured lifetime + limit or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: + - string + - 'null' + enum: + - enforced_limit + - proposed_baseline + - + description: 'The basis for `past_expiration_policy`: an enforced + PAT lifetime limit or an advisory age baseline.' + expiry_unknown: + type: boolean + description: Whether the credential's expiration could not be + determined. + scopes: + type: + - array + - 'null' + items: + type: string + description: OAuth scopes recorded for the token. Null when + not reported for the credential type. + permissions: + type: + - object + - 'null' + additionalProperties: + type: string + description: Permissions by resource for fine-grained PATs and + GitHub App installations. Null when not reported; an empty + object means no recorded permissions. + repository_selection: + type: + - string + - 'null' + enum: + - all + - subset + - none + - + description: Repository selection for the credential. Null when + not reported; `none` means no repositories are selected. + examples: + default: + value: + - inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + - inventory_id: ZmVkY2JhOTg3NjU0MzIxMA + credential_id: 246810 + hashed_token: B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE= + fingerprint: + item_type: credential + credential_type: oauth_app_user_token + display_name: Acme Deploy + owner: + id: 2 + login: hubot + owner_type: user + application: + id: 42 + name: Acme Deploy + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-03-10T14:00:00Z' + last_used_at: '2024-06-02T08:15:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 2 + authorized_organizations: + - id: 10 + login: acme-eng + - id: 11 + login: acme-ops + age_days: 83 + never_expires: true + past_expiration_policy: false + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + - read:user + - repo + permissions: + repository_selection: + - inventory_id: c3NoLWtleS1leGFtcGxlLTAwMQ + credential_id: + hashed_token: + fingerprint: SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 + item_type: credential + credential_type: ssh_key + display_name: laptop-2024 + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2023-11-01T10:00:00Z' + last_used_at: '2024-05-20T16:45:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 213 + never_expires: true + past_expiration_policy: true + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + permissions: + repository_selection: + - inventory_id: YWJjZGVmMDEyMzQ1Njc4OQ + credential_id: 135790 + hashed_token: + fingerprint: + item_type: credential + credential_type: fine_grained_pat + display_name: release-bot + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-05-01T10:00:00Z' + last_used_at: '2024-06-03T16:45:00Z' + expires_at: '2024-11-01T10:00:00Z' + next_expires_at: '2024-11-01T10:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 45 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + permissions: + contents: read + pull_requests: write + repository_selection: subset + headers: + Link: *42 + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the walk hit the safety + ceiling or time budget, so the result is a partial page. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the result is incomplete + for any reason (truncated, or a source was omitted). A client must + not read an absent `Link` next page as "complete" without also checking + this header. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the result, in ISO 8601 format. + The inventory is stitched from replica reads over the request, not + a point-in-time snapshot. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted; a comma-separated list of the affected token types (for + example, `classic_pat,ssh_key`). Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present, but that metadata may be absent. Absent when all metadata + loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled, so those rows carry `expiry_unknown` + and their `never_expires` / `past_expiration_policy` are not asserted. + Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + '422': + description: Validation failed + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports": + post: + summary: Create an enterprise token inventory export + description: |- + Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day. + + The generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/create-enterprise-token-inventory-export + parameters: + - *36 + requestBody: + required: false + content: + application/json: + schema: + type: object + description: Optional filters that scope the export to a subset of the + inventory. + properties: + token_types: + type: array + description: The credential types to include. + items: + type: string + authorization_state: + type: string + description: Filter by enterprise-access status. + enum: + - currently_authorized + - member_owned_only + owner: + type: string + description: Filter to credentials owned by this user, given as + a login. + organization: + type: string + description: Filter to credentials authorized to this organization + in the enterprise, given as a login. + application: + type: string + description: Filter to credentials for this application, given as + a GitHub App slug or an OAuth App client id. + examples: + default: + value: + owner: octocat + responses: + '202': + description: Accepted + content: + application/json: + schema: &128 + title: Enterprise Token Inventory Export + description: The status of an asynchronous enterprise token inventory + CSV export. + type: object + required: + - export_id + - status + properties: + export_id: + type: string + description: Opaque id for the export, used to poll its status. + status: + type: string + description: The state of the export job. + enum: + - pending + - queued + - started + - success + - error + as_of: + type: + - string + - 'null' + description: When the export was requested. + examples: + default: &129 + value: + export_id: 7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507 + status: queued + as_of: 2026-07-30 21:00:00 UTC + '404': + description: Resource not found + '422': + description: Validation failed + '429': + description: Too many requests + '500': + description: Internal error, for example the export job could not be enqueued. + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports/{export_id}": + get: + summary: Get an enterprise token inventory export + description: |- + Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-export + parameters: + - *36 + - name: export_id + description: The opaque id of the export, as returned when it was created. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *128 + examples: + default: *129 + '302': + description: The export is ready; redirects to a short-lived download URL. + headers: + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the export hit the safety + ceiling, so the CSV is a partial inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the export is incomplete + for any reason (truncated, or a source was omitted), so the CSV must + not be treated as a complete inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the export, in ISO 8601 format. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted from the export; a comma-separated list of the affected + token types. Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present in the export, but that metadata may be absent. Absent when + all metadata loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled in the export, so those rows + carry `expiry_status` = `unknown` and their `past_expiration_policy` + is not asserted. Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/{inventory_id}": + get: + summary: Get an enterprise token inventory item + description: |- + Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-item + parameters: + - *36 + - name: inventory_id + description: The opaque inventory_id returned by the list endpoint for this + enterprise. Pass it unchanged. Its value can differ for the same credential + between responses. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: + value: + inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -20748,7 +21490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *36 - - &340 + - &343 name: classification in: query description: |- @@ -20757,7 +21499,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &341 + - &344 name: state in: query description: |- @@ -20766,7 +21508,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &342 + - &345 name: severity in: query description: |- @@ -20775,7 +21517,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &343 + - &346 name: ecosystem in: query description: |- @@ -20784,14 +21526,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &344 + - &347 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &345 + - &348 name: epss_percentage in: query description: |- @@ -20803,7 +21545,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &624 + - &627 name: has in: query description: |- @@ -20817,7 +21559,7 @@ paths: type: string enum: - patch - - &346 + - &349 name: assignee in: query description: |- @@ -20826,7 +21568,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &347 + - &350 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20836,7 +21578,7 @@ paths: enum: - development - runtime - - &348 + - &351 name: relationship in: query description: |- @@ -20846,7 +21588,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &349 + - &352 name: sort in: query description: |- @@ -20872,11 +21614,11 @@ paths: application/json: schema: type: array - items: &350 + items: &353 type: object description: A Dependabot alert. properties: - number: *128 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -20891,7 +21633,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &129 + package: &132 type: object description: Details for the vulnerable package. readOnly: true @@ -20940,7 +21682,7 @@ paths: - transitive - inconclusive - - security_advisory: &625 + security_advisory: &628 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20971,13 +21713,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &132 + items: &135 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *129 + package: *132 severity: type: string description: The severity of the vulnerability. @@ -21052,8 +21794,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *130 - epss: *131 + cvss_severities: *133 + epss: *134 cwes: type: array description: Details for the advisory pertaining to Common @@ -21153,12 +21895,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *132 - url: *133 - html_url: *134 - created_at: *135 - updated_at: *136 - dismissed_at: *137 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: anyOf: - type: 'null' @@ -21182,8 +21924,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *138 - auto_dismissed_at: &626 + fixed_at: *141 + auto_dismissed_at: &629 type: - string - 'null' @@ -21191,7 +21933,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &627 + dismissal_request: &630 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21254,7 +21996,7 @@ paths: - repository additionalProperties: false examples: - default: &351 + default: &354 value: - number: 2 state: dismissed @@ -21641,7 +22383,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &355 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21667,7 +22409,7 @@ paths: - *117 additionalProperties: false examples: - default: &353 + default: &356 value: default_level: public accessible_repositories: @@ -21890,7 +22632,7 @@ paths: - *100 - *101 - *102 - - &355 + - &358 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21916,7 +22658,7 @@ paths: application/json: schema: type: array - items: &357 + items: &360 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22043,7 +22785,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &358 + default: &361 value: - id: 21 number: 42 @@ -22144,7 +22886,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &141 + items: &144 title: Enterprise Role description: Enterprise custom roles type: object @@ -22272,7 +23014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *36 - - &139 + - &142 name: team_slug description: The slug of the enterprise team name. in: path @@ -22315,8 +23057,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *36 - - *139 - - &140 + - *142 + - &143 name: role_id description: The unique identifier of the role. in: path @@ -22358,8 +23100,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *36 - - *139 - - *140 + - *142 + - *143 responses: '204': description: Response @@ -22428,7 +23170,7 @@ paths: parameters: - *36 - *127 - - *140 + - *143 responses: '204': description: Response @@ -22462,7 +23204,7 @@ paths: parameters: - *36 - *127 - - *140 + - *143 responses: '204': description: Response @@ -22496,13 +23238,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *36 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *141 + schema: *144 examples: default: value: @@ -22556,7 +23298,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *36 - - *140 + - *143 - *17 - *19 responses: @@ -22566,9 +23308,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: &145 + default: &148 value: - id: 1 name: Justice League @@ -22607,7 +23349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *36 - - *140 + - *143 - *17 - *19 responses: @@ -22640,7 +23382,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *142 + items: *145 examples: default: value: @@ -23141,7 +23883,7 @@ paths: application/json: schema: *20 examples: - default: &379 + default: &382 value: id: 1 account: @@ -23298,9 +24040,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 '500': *35 '401': *23 '403': *27 @@ -23338,9 +24080,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *145 + default: *148 headers: Link: *42 '401': *23 @@ -23382,7 +24124,7 @@ paths: type: integer network_configurations: type: array - items: &146 + items: &149 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -23441,7 +24183,7 @@ paths: - name - created_on examples: - default: &478 + default: &481 value: total_count: 2 network_configurations: @@ -23533,9 +24275,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: &147 + default: &150 value: id: 123456789ABCDEF name: My network configuration @@ -23562,7 +24304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *36 - - &148 + - &151 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23574,9 +24316,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 headers: Link: *42 x-github: @@ -23596,7 +24338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *36 - - *148 + - *151 requestBody: required: true content: @@ -23649,9 +24391,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23669,7 +24411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *36 - - *148 + - *151 responses: '204': description: Response @@ -23692,7 +24434,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *36 - - &479 + - &482 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23704,7 +24446,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &483 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23743,7 +24485,7 @@ paths: - subnet_id - region examples: - default: &481 + default: &484 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23782,7 +24524,7 @@ paths: application/json: schema: type: array - items: &149 + items: &152 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23860,7 +24602,7 @@ paths: - property_name - value_type examples: - default: &150 + default: &153 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23920,7 +24662,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *149 + items: *152 minItems: 1 maxItems: 100 required: @@ -23953,9 +24695,9 @@ paths: application/json: schema: type: array - items: *149 + items: *152 examples: - default: *150 + default: *153 '403': *27 '404': *6 '422': *7 @@ -23982,7 +24724,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *36 - - &151 + - &154 name: custom_property_name description: The custom property name in: path @@ -23994,9 +24736,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *152 examples: - default: &152 + default: &155 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -24033,7 +24775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *36 - - *151 + - *154 requestBody: required: true content: @@ -24111,9 +24853,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *152 examples: - default: *152 + default: *155 '403': *27 '404': *6 '422': *7 @@ -24139,7 +24881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - *36 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -24192,7 +24934,7 @@ paths: - Hello-World properties: type: array - items: &153 + items: &156 title: Custom Property Value description: Custom property name and associated value type: object @@ -24280,7 +25022,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *153 + items: *156 required: - organization_logins - properties @@ -24330,7 +25072,7 @@ paths: application/json: schema: type: array - items: &154 + items: &157 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -24408,7 +25150,7 @@ paths: - property_name - value_type examples: - default: &155 + default: &158 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24466,7 +25208,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *154 + items: *157 minItems: 1 maxItems: 100 required: @@ -24496,9 +25238,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24522,15 +25264,15 @@ paths: parameters: - *36 - *84 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: &156 + default: &159 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24563,15 +25305,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -24593,12 +25335,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 requestBody: required: true content: application/json: - schema: &433 + schema: &436 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24675,9 +25417,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -24699,7 +25441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -24741,7 +25483,7 @@ paths: - push - repository default: branch - enforcement: &165 + enforcement: &168 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24754,7 +25496,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &166 + items: &169 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24798,7 +25540,7 @@ paths: - pull_request - exempt default: always - conditions: &190 + conditions: &193 title: Enterprise ruleset conditions type: object description: |- @@ -24811,7 +25553,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &157 + - &160 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24837,7 +25579,7 @@ paths: type: string required: - organization_name - - &160 + - &163 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24866,7 +25608,7 @@ paths: is prevented. required: - repository_name - - &159 + - &162 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24894,8 +25636,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *157 - - &162 + - *160 + - &165 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24908,7 +25650,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &158 + items: &161 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24939,16 +25681,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *158 + items: *161 required: - repository_property - - *159 + - *162 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &161 + - &164 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24965,22 +25707,22 @@ paths: type: integer required: - organization_id - - *160 - - *159 + - *163 + - *162 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *161 + - *164 + - *165 - *162 - - *159 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &164 + - &167 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24993,7 +25735,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &163 + items: &166 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -25017,28 +25759,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *163 + items: *166 required: - organization_property - - *160 - - *159 + - *163 + - *162 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *164 + - *167 + - *165 - *162 - - *159 rules: type: array description: An array of rules within the ruleset. - items: &191 + items: &194 title: Repository Rule type: object description: A repository rule. oneOf: - - &167 + - &170 title: creation description: Only allow users with bypass permission to create matching refs. @@ -25050,7 +25792,7 @@ paths: type: string enum: - creation - - &168 + - &171 title: update description: Only allow users with bypass permission to update matching refs. @@ -25071,7 +25813,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &169 + - &172 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -25083,7 +25825,7 @@ paths: type: string enum: - deletion - - &170 + - &173 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -25095,7 +25837,7 @@ paths: type: string enum: - required_linear_history - - &171 + - &174 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -25119,7 +25861,7 @@ paths: type: string required: - required_deployment_environments - - &172 + - &175 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -25131,7 +25873,7 @@ paths: type: string enum: - required_signatures - - &173 + - &176 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -25271,7 +26013,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &174 + - &177 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -25318,7 +26060,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &175 + - &178 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -25330,7 +26072,7 @@ paths: type: string enum: - non_fast_forward - - &176 + - &179 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -25367,7 +26109,7 @@ paths: required: - operator - pattern - - &177 + - &180 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -25404,7 +26146,7 @@ paths: required: - operator - pattern - - &178 + - &181 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -25441,7 +26183,7 @@ paths: required: - operator - pattern - - &179 + - &182 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -25478,7 +26220,7 @@ paths: required: - operator - pattern - - &180 + - &183 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -25515,7 +26257,7 @@ paths: required: - operator - pattern - - &184 + - &187 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -25539,7 +26281,7 @@ paths: type: string required: - restricted_file_paths - - &185 + - &188 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -25563,7 +26305,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &186 + - &189 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -25586,7 +26328,7 @@ paths: type: string required: - restricted_file_extensions - - &187 + - &190 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25610,7 +26352,7 @@ paths: maximum: 100 required: - max_file_size - - &181 + - &184 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25659,7 +26401,7 @@ paths: - repository_id required: - workflows - - &182 + - &185 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25719,7 +26461,7 @@ paths: - tool required: - code_scanning_tools - - &183 + - &186 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25769,7 +26511,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &191 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25804,11 +26546,11 @@ paths: source: type: string description: The name of the source - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 + items: *169 current_user_can_bypass: type: string description: |- @@ -25840,8 +26582,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *159 - - &437 + - *162 + - &440 title: Organization ruleset conditions type: object description: |- @@ -25855,14 +26597,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *159 - - *160 + - *162 + - *163 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *159 + - *162 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25884,23 +26626,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *159 - *162 + - *165 type: - 'null' - object rules: type: array - items: &768 + items: &771 title: Repository Rule type: object description: A repository rule. oneOf: - - *167 - - *168 - - *169 - *170 - - &765 + - *171 + - *172 + - *173 + - &768 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25978,9 +26720,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *171 - - *172 - - *173 - *174 - *175 - *176 @@ -25991,7 +26730,10 @@ paths: - *181 - *182 - *183 - - &766 + - *184 + - *185 + - *186 + - &769 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -26003,10 +26745,10 @@ paths: type: string enum: - license_compliance_scanning - - *184 - - *185 - - *186 - *187 + - *188 + - *189 + - *190 created_at: type: string format: date-time @@ -26014,7 +26756,7 @@ paths: type: string format: date-time examples: - default: &189 + default: &192 value: id: 21 name: super cool ruleset @@ -26073,9 +26815,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *189 + default: *192 '404': *6 '500': *35 x-github: @@ -26119,16 +26861,16 @@ paths: - tag - push - repository - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *190 + items: *169 + conditions: *193 rules: description: An array of rules within the ruleset. type: array - items: *191 + items: *194 examples: default: value: @@ -26152,9 +26894,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *189 + default: *192 '404': *6 '500': *35 x-github: @@ -26216,7 +26958,7 @@ paths: application/json: schema: type: array - items: &192 + items: &195 title: Ruleset version type: object description: The historical version of a ruleset @@ -26240,7 +26982,7 @@ paths: type: string format: date-time examples: - default: &440 + default: &443 value: - version_id: 3 actor: @@ -26293,9 +27035,9 @@ paths: description: Response content: application/json: - schema: &441 + schema: &444 allOf: - - *192 + - *195 - type: object required: - state @@ -26348,7 +27090,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *36 - - &442 + - &445 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26359,7 +27101,7 @@ paths: enum: - open - resolved - - &443 + - &446 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26369,7 +27111,7 @@ paths: required: false schema: type: string - - &444 + - &447 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26380,7 +27122,7 @@ paths: required: false schema: type: string - - &445 + - &448 name: exclude_providers in: query description: |- @@ -26391,7 +27133,7 @@ paths: required: false schema: type: string - - &446 + - &449 name: providers in: query description: |- @@ -26402,7 +27144,7 @@ paths: required: false schema: type: string - - &447 + - &450 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26411,7 +27153,7 @@ paths: required: false schema: type: string - - &448 + - &451 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26430,7 +27172,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &449 + - &452 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. @@ -26446,7 +27188,7 @@ paths: - *17 - *105 - *106 - - &450 + - &453 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26455,7 +27197,7 @@ paths: required: false schema: type: string - - &451 + - &454 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26464,7 +27206,7 @@ paths: schema: type: boolean default: false - - &452 + - &455 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26473,7 +27215,7 @@ paths: schema: type: boolean default: false - - &453 + - &456 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26482,7 +27224,7 @@ paths: schema: type: boolean default: false - - &454 + - &457 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26493,7 +27235,7 @@ paths: required: false schema: type: boolean - - &455 + - &458 name: included_metadata in: query description: |- @@ -26504,7 +27246,7 @@ paths: required: false schema: type: string - - &456 + - &459 name: owner_email_hash in: query description: |- @@ -26523,30 +27265,30 @@ paths: application/json: schema: type: array - items: &457 + items: &460 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &781 + state: &784 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: &782 + resolution: &785 type: - string - 'null' @@ -26665,14 +27407,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &783 + - &786 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &785 + - &788 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26736,7 +27478,7 @@ paths: - blob_url - commit_sha - commit_url - - &786 + - &789 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. @@ -26797,7 +27539,7 @@ paths: - page_url - commit_sha - commit_url - - &787 + - &790 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26819,7 +27561,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &788 + - &791 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26841,7 +27583,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &789 + - &792 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26863,7 +27605,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &790 + - &793 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26878,7 +27620,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &791 + - &794 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26893,7 +27635,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &792 + - &795 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26908,7 +27650,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &793 + - &796 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. @@ -26930,7 +27672,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &794 + - &797 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. @@ -26952,7 +27694,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &795 + - &798 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. @@ -26974,7 +27716,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &796 + - &799 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. @@ -26996,7 +27738,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &797 + - &800 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 @@ -27042,7 +27784,7 @@ paths: - type: 'null' - *4 examples: - default: &458 + default: &461 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27220,7 +27962,7 @@ paths: headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27246,7 +27988,7 @@ paths: subcategory: custom-patterns parameters: - *36 - - &459 + - &462 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -27257,7 +27999,7 @@ paths: enum: - published - unpublished - - &460 + - &463 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -27268,7 +28010,7 @@ paths: enum: - enabled - disabled - - &461 + - &464 name: sort description: The property to sort the results by. in: query @@ -27290,7 +28032,7 @@ paths: application/json: schema: type: array - items: &194 + items: &197 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -27342,7 +28084,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &195 + custom_pattern_version: &198 type: - string - 'null' @@ -27367,7 +28109,7 @@ paths: - state - push_protection_enabled examples: - default: &462 + default: &465 value: - id: 1 name: Example Custom Pattern @@ -27430,7 +28172,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &463 + items: &466 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -27467,7 +28209,7 @@ paths: items: type: string examples: - default: &464 + default: &467 value: patterns: - name: Example Custom Pattern @@ -27491,9 +28233,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: &465 + default: &468 value: created_patterns: - id: 1 @@ -27545,7 +28287,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &466 + items: &469 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -27599,7 +28341,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &467 + items: &470 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -27609,7 +28351,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *195 + custom_pattern_version: *198 post_delete_action: type: string description: |- @@ -27622,7 +28364,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &468 + default: &471 value: patterns: - pattern_id: 2 @@ -27633,7 +28375,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &196 + '412': &199 description: Precondition Failed content: application/json: @@ -27668,7 +28410,7 @@ paths: required: true content: application/json: - schema: &469 + schema: &472 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`, @@ -27707,9 +28449,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *195 + custom_pattern_version: *198 examples: - default: &470 + default: &473 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27724,9 +28466,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: &471 + default: &474 value: id: 1 name: Example Custom Pattern @@ -27746,7 +28488,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/enterprises/{enterprise}/secret-scanning/pattern-configurations": get: @@ -27773,17 +28515,17 @@ paths: description: Response content: application/json: - schema: &472 + schema: &475 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &197 + items: &200 type: object properties: token_type: @@ -27852,9 +28594,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *197 + items: *200 examples: - default: &473 + default: &476 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27909,7 +28651,7 @@ paths: schema: type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -27935,7 +28677,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *195 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27990,7 +28732,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *36 - - &475 + - &478 name: advanced_security_product in: query description: | @@ -28010,7 +28752,7 @@ paths: description: Success content: application/json: - schema: &476 + schema: &479 type: object properties: total_advanced_security_committers: @@ -28073,7 +28815,7 @@ paths: required: - repositories examples: - default: &477 + default: &480 value: total_advanced_security_committers: 2 total_count: 2 @@ -28115,7 +28857,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *36 - - &201 + - &204 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -28124,7 +28866,7 @@ paths: required: false schema: type: integer - - &202 + - &205 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -28133,7 +28875,7 @@ paths: required: false schema: type: integer - - &203 + - &206 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -28142,7 +28884,7 @@ paths: required: false schema: type: integer - - &204 + - &207 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -28150,21 +28892,21 @@ paths: required: false schema: type: string - - &205 + - &208 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &206 + - &209 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &207 + - &210 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -28303,7 +29045,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28880,7 +29622,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *36 - - &198 + - &201 name: budget_id description: The ID corresponding to the budget. in: path @@ -28996,7 +29738,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29323,7 +30065,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *36 - - *198 + - *201 responses: '200': description: Response when deleting a budget @@ -29350,7 +30092,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29374,7 +30116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *36 - - *198 + - *201 - name: page description: The page number of results to fetch. in: query @@ -29470,7 +30212,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29614,7 +30356,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29802,7 +30544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *36 - - &200 + - &203 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -29887,7 +30629,7 @@ paths: - name - resources examples: - default: &199 + default: &202 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -29905,7 +30647,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30046,15 +30788,15 @@ paths: - name - resources examples: - update-cost-center: *199 - update-cost-center-with-cap: *199 + update-cost-center: *202 + update-cost-center-with-cap: *202 '400': *14 '403': *27 '404': *6 '409': *116 '422': *15 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30076,7 +30818,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *36 - - *200 + - *203 responses: '200': description: Response when deleting a cost center @@ -30115,7 +30857,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30136,7 +30878,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *36 - - *200 + - *203 requestBody: required: true content: @@ -30217,7 +30959,7 @@ paths: '403': *27 '409': *116 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30237,7 +30979,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *36 - - *200 + - *203 requestBody: required: true content: @@ -30289,7 +31031,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30310,13 +31052,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *36 - - *201 - - *202 - - *203 - *204 - *205 - *206 - *207 + - *208 + - *209 + - *210 - name: cost_center_id description: The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center. @@ -30449,7 +31191,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30483,7 +31225,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &208 + items: &211 type: object properties: id: @@ -30581,7 +31323,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30647,9 +31389,9 @@ paths: description: Report export request accepted content: application/json: - schema: *208 + schema: *211 examples: - usage-report-export: &209 + usage-report-export: &212 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -30665,7 +31407,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30700,14 +31442,14 @@ paths: description: Usage report export details content: application/json: - schema: *208 + schema: *211 examples: - usage-report-export: *209 + usage-report-export: *212 '401': *23 '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30728,7 +31470,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *36 - - *201 + - *204 - 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 @@ -30737,7 +31479,7 @@ paths: required: false schema: type: integer - - *203 + - *206 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -30820,7 +31562,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30841,17 +31583,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *36 - - *201 - - *202 - - *203 - *204 + - *205 + - *206 + - *207 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *207 + - *210 - name: sku description: The SKU to query for usage. in: query @@ -30984,7 +31726,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31011,9 +31753,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *145 + default: *148 headers: Link: *42 '403': *27 @@ -31102,9 +31844,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: &215 + default: &218 value: id: 1 name: Justice League @@ -31133,7 +31875,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *36 - - &210 + - &213 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -31152,7 +31894,7 @@ paths: type: array items: *4 examples: - default: &211 + default: &214 value: - login: octocat id: 1 @@ -31191,7 +31933,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31222,7 +31964,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31240,7 +31982,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31271,7 +32013,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31289,7 +32031,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *36 - - *210 + - *213 - *127 responses: '200': @@ -31298,7 +32040,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &212 + exampleKey1: &215 value: login: octocat id: 1 @@ -31334,7 +32076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *36 - - *210 + - *213 - *127 responses: '201': @@ -31343,7 +32085,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *212 + exampleKey1: *215 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31361,7 +32103,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *36 - - *210 + - *213 - *127 responses: '204': @@ -31384,7 +32126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *36 - - *210 + - *213 - *17 - *19 responses: @@ -31396,7 +32138,7 @@ paths: type: array items: *70 examples: - default: &213 + default: &216 value: login: github id: 1 @@ -31427,7 +32169,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31457,7 +32199,7 @@ paths: type: array items: *70 examples: - default: &250 + default: &253 value: - login: github id: 1 @@ -31488,7 +32230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31529,7 +32271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '200': @@ -31538,7 +32280,7 @@ paths: application/json: schema: *70 examples: - default: *213 + default: *216 '404': description: The team is not assigned to the organization x-github: @@ -31557,7 +32299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '201': @@ -31566,7 +32308,7 @@ paths: application/json: schema: *70 examples: - default: *213 + default: *216 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31583,7 +32325,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '204': @@ -31608,7 +32350,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *36 - - &214 + - &217 name: team_slug description: The slug of the team name. in: path @@ -31732,7 +32474,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *36 - - *214 + - *217 requestBody: required: true content: @@ -31800,9 +32542,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *215 + default: *218 headers: Link: *42 '403': *27 @@ -31825,7 +32567,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *36 - - *214 + - *217 responses: '204': description: Response @@ -31877,7 +32619,7 @@ paths: type: integer visual_studio_subscriptions: type: array - items: &216 + items: &219 title: Visual Studio Subscription Assignment description: Visual Studio Subscription Assignment type: object @@ -31968,7 +32710,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -32011,7 +32753,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -32115,7 +32857,7 @@ paths: application/json: schema: type: array - items: &245 + items: &248 title: Event description: Event type: object @@ -32126,7 +32868,7 @@ paths: type: - string - 'null' - actor: &217 + actor: &220 title: Actor description: Actor type: object @@ -32167,7 +32909,7 @@ paths: - id - name - url - org: *217 + org: *220 payload: oneOf: - title: CreateEvent @@ -32214,7 +32956,7 @@ paths: properties: action: type: string - discussion: &923 + discussion: &926 title: Discussion description: A Discussion in a repository. type: object @@ -32511,7 +33253,7 @@ paths: - id labels: type: array - items: &220 + items: &223 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -32613,7 +33355,7 @@ paths: properties: action: type: string - issue: &221 + issue: &224 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -32741,7 +33483,7 @@ paths: milestone: anyOf: - type: 'null' - - &423 + - &426 title: Milestone description: A collection of related issues and pull requests. @@ -32913,7 +33655,7 @@ paths: timeline_url: type: string format: uri - type: &389 + type: &392 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -32974,7 +33716,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &218 + author_association: &221 title: author_association type: string description: How the author is associated with the @@ -32990,7 +33732,7 @@ paths: - OWNER examples: - OWNER - reactions: &219 + reactions: &222 title: Reaction Rollup type: object properties: @@ -33026,7 +33768,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &842 + sub_issues_summary: &845 title: Sub-issues Summary type: object properties: @@ -33050,7 +33792,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &222 + - &225 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -33101,16 +33843,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *221 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *222 pin: anyOf: - type: 'null' - - &710 + - &713 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -33131,7 +33873,7 @@ paths: minimized: anyOf: - type: 'null' - - &711 + - &714 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -33156,7 +33898,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &843 + issue_dependencies_summary: &846 title: Issue Dependencies Summary type: object properties: @@ -33175,7 +33917,7 @@ paths: - total_blocking issue_field_values: type: array - items: &692 + items: &695 title: Issue Field Value description: A value assigned to an issue field type: object @@ -33311,10 +34053,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *223 labels: type: array - items: *220 + items: *223 required: - action - issue @@ -33323,8 +34065,8 @@ paths: properties: action: type: string - issue: *221 - comment: *222 + issue: *224 + comment: *225 required: - action - issue @@ -33503,7 +34245,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 allow_forking: type: boolean is_template: @@ -33594,7 +34336,7 @@ paths: type: string number: type: integer - pull_request: &224 + pull_request: &227 title: Pull Request Minimal type: object properties: @@ -33665,10 +34407,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *223 labels: type: array - items: *220 + items: *223 required: - action - number @@ -33678,7 +34420,7 @@ paths: properties: action: type: string - pull_request: *224 + pull_request: *227 comment: type: object properties: @@ -33932,7 +34674,7 @@ paths: - pull_request updated_at: type: string - pull_request: *224 + pull_request: *227 required: - action - review @@ -33981,7 +34723,7 @@ paths: updated_at: type: string format: date-time - reactions: *219 + reactions: *222 required: - action - comment @@ -33992,7 +34734,7 @@ paths: type: string release: allOf: - - &758 + - &761 title: Release description: A release. type: object @@ -34074,7 +34816,7 @@ paths: author: *4 assets: type: array - items: &759 + items: &762 title: Release Asset description: Data related to a release. type: object @@ -34149,7 +34891,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *219 + reactions: *222 required: - assets_url - upload_url @@ -34242,7 +34984,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *32 '403': *27 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34332,7 +35074,7 @@ paths: _links: type: object properties: - timeline: &225 + timeline: &228 title: Link With Type description: Hypermedia Link with Type type: object @@ -34344,17 +35086,17 @@ paths: required: - href - type - user: *225 - security_advisories: *225 - current_user: *225 - current_user_public: *225 - current_user_actor: *225 - current_user_organization: *225 + user: *228 + security_advisories: *228 + current_user: *228 + current_user_public: *228 + current_user_actor: *228 + current_user_organization: *228 current_user_organizations: type: array - items: *225 - repository_discussions: *225 - repository_discussions_category: *225 + items: *228 + repository_discussions: *228 + repository_discussions_category: *228 required: - timeline - user @@ -34416,7 +35158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *226 + - *229 - *17 - *19 responses: @@ -34426,7 +35168,7 @@ paths: application/json: schema: type: array - items: &227 + items: &230 title: Base Gist description: Base Gist type: object @@ -34523,7 +35265,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &231 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -34647,7 +35389,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &232 title: Gist Simple description: Gist Simple type: object @@ -34665,7 +35407,7 @@ paths: url: type: string format: uri - user: &851 + user: &854 title: Public User description: Public User type: object @@ -35039,7 +35781,7 @@ paths: truncated: type: boolean examples: - default: &230 + default: &233 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -35143,7 +35885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *226 + - *229 - *17 - *19 responses: @@ -35153,9 +35895,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '422': *15 @@ -35177,7 +35919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *226 + - *229 - *17 - *19 responses: @@ -35187,9 +35929,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '401': *23 @@ -35216,7 +35958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &231 + - &234 name: gist_id description: The unique identifier of the gist. in: path @@ -35228,10 +35970,10 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 - '403': &234 + default: *233 + '403': &237 description: Forbidden Gist content: application/json: @@ -35279,7 +36021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *231 + - *234 requestBody: required: true content: @@ -35343,9 +36085,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - updateGist: *230 + updateGist: *233 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -35503,7 +36245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -35531,7 +36273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *231 + - *234 - *17 - *19 responses: @@ -35541,7 +36283,7 @@ paths: application/json: schema: type: array - items: &232 + items: &235 title: Gist Comment description: A comment made to a gist. type: object @@ -35579,7 +36321,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *218 + author_association: *221 required: - url - id @@ -35643,7 +36385,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *231 + - *234 requestBody: required: true content: @@ -35669,9 +36411,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: &233 + default: &236 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -35728,8 +36470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *231 - - &235 + - *234 + - &238 name: comment_id description: The unique identifier of the comment. in: path @@ -35742,12 +36484,12 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: *233 + default: *236 '304': *32 '404': *6 - '403': *234 + '403': *237 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35768,8 +36510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *231 - - *235 + - *234 + - *238 requestBody: required: true content: @@ -35795,9 +36537,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: *233 + default: *236 '404': *6 x-github: githubCloudOnly: false @@ -35814,8 +36556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *231 - - *235 + - *234 + - *238 responses: '204': description: Response @@ -35838,7 +36580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *231 + - *234 - *17 - *19 responses: @@ -35939,7 +36681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *231 + - *234 - *17 - *19 responses: @@ -35949,7 +36691,7 @@ paths: application/json: schema: type: array - items: *229 + items: *232 examples: default: value: @@ -36014,13 +36756,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *231 + - *234 responses: '201': description: Response content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -36091,7 +36833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *231 + - *234 responses: '204': description: Response if gist is starred @@ -36121,7 +36863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -36143,7 +36885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -36171,7 +36913,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *231 + - *234 - name: sha in: path required: true @@ -36182,9 +36924,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '422': *15 '404': *6 '403': *27 @@ -36567,7 +37309,7 @@ paths: - closed - all default: open - - &392 + - &395 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -36586,7 +37328,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - name: collab in: query required: false @@ -36616,9 +37358,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: &393 + default: &396 value: - id: 1 node_id: MDU6SXNzdWUx @@ -36898,7 +37640,7 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: default: value: @@ -37196,7 +37938,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &236 + X-CommonMarker-Version: &239 example: 0.17.4 schema: type: string @@ -37251,7 +37993,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *236 + X-CommonMarker-Version: *239 content: text/html: schema: @@ -37280,7 +38022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &239 + - &242 name: account_id description: account_id parameter in: path @@ -37292,7 +38034,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &241 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -37326,7 +38068,7 @@ paths: - 'null' id: type: integer - plan: &237 + plan: &240 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -37429,7 +38171,7 @@ paths: - 'null' updated_at: type: string - plan: *237 + plan: *240 required: - url - id @@ -37437,7 +38179,7 @@ paths: - login - marketplace_purchase examples: - default: &240 + default: &243 value: url: https://api.github.com/orgs/github type: Organization @@ -37522,9 +38264,9 @@ paths: application/json: schema: type: array - items: *237 + items: *240 examples: - default: &241 + default: &244 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -37564,14 +38306,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &242 + - &245 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &243 + - &246 name: sort description: The property to sort the results by. in: query @@ -37601,9 +38343,9 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: - default: &244 + default: &247 value: - url: https://api.github.com/orgs/github type: Organization @@ -37677,15 +38419,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *239 + - *242 responses: '200': description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *240 + default: *243 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -37717,9 +38459,9 @@ paths: application/json: schema: type: array - items: *237 + items: *240 examples: - default: *241 + default: *244 headers: Link: *42 '401': *23 @@ -37742,8 +38484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *242 - - *243 + - *245 + - *246 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -37763,9 +38505,9 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: - default: *244 + default: *247 headers: Link: *42 '401': *23 @@ -38044,14 +38786,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &490 + - &493 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &491 + - &494 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -38068,7 +38810,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -38113,7 +38855,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &496 + '301': &499 description: Moved permanently content: application/json: @@ -38135,7 +38877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &730 + - &733 name: all description: If `true`, show notifications marked as read. in: query @@ -38143,7 +38885,7 @@ paths: schema: type: boolean default: false - - &731 + - &734 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -38152,8 +38894,8 @@ paths: schema: type: boolean default: false - - *226 - - &732 + - *229 + - &735 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -38178,14 +38920,14 @@ paths: application/json: schema: type: array - items: &246 + items: &249 title: Thread description: Thread type: object properties: id: type: string - repository: &280 + repository: &283 title: Minimal Repository description: Minimal Repository type: object @@ -38535,7 +39277,7 @@ paths: type: boolean examples: - false - security_and_analysis: &434 + security_and_analysis: &437 type: - object - 'null' @@ -38754,7 +39496,7 @@ paths: - url - subscription_url examples: - default: &733 + default: &736 value: - id: '1' repository: @@ -38920,7 +39662,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &247 + - &250 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -38934,7 +39676,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *249 examples: default: value: @@ -39037,7 +39779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *247 + - *250 responses: '205': description: Reset Content @@ -39060,7 +39802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *247 + - *250 responses: '204': description: No content @@ -39083,13 +39825,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *247 + - *250 responses: '200': description: Response content: application/json: - schema: &248 + schema: &251 title: Thread Subscription description: Thread Subscription type: object @@ -39133,7 +39875,7 @@ paths: - url - subscribed examples: - default: &249 + default: &252 value: subscribed: true ignored: false @@ -39164,7 +39906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *247 + - *250 requestBody: required: false content: @@ -39185,9 +39927,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '304': *32 '403': *27 '401': *23 @@ -39210,7 +39952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *247 + - *250 responses: '204': description: Response @@ -39307,7 +40049,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: example: ; rel="next" @@ -39359,7 +40101,7 @@ paths: - 3 custom_roles: type: array - items: &336 + items: &339 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -39408,7 +40150,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &340 value: id: 8030 name: Security Engineer @@ -39461,7 +40203,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &254 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -39500,7 +40242,7 @@ paths: required: true content: application/json: - schema: *251 + schema: *254 examples: selected_actions: *39 responses: @@ -39535,7 +40277,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &255 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -39574,7 +40316,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *255 examples: selected_actions: *41 responses: @@ -39615,9 +40357,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: &739 + default: &742 value: - property_name: environment value: production @@ -39663,11 +40405,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *153 + items: *156 required: - properties examples: - default: &740 + default: &743 value: properties: - property_name: environment @@ -39714,7 +40456,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &256 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -40132,7 +40874,7 @@ paths: - updated_at - archived_at examples: - default-response: &254 + default-response: &257 value: login: github id: 1 @@ -40458,17 +41200,17 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 '422': description: Validation failed content: application/json: schema: oneOf: - - *255 - - *256 + - *258 + - *259 '409': *116 x-github: githubCloudOnly: false @@ -40523,9 +41265,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 headers: Link: *42 x-github: @@ -40566,7 +41308,7 @@ paths: type: integer repository_cache_usages: type: array - items: &503 + items: &506 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -40644,7 +41386,7 @@ paths: type: array items: *43 examples: - default: *259 + default: *262 headers: Link: *42 x-github: @@ -40811,7 +41553,7 @@ paths: application/json: schema: *44 examples: - default: *260 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40903,7 +41645,7 @@ paths: application/json: schema: *47 examples: - default: *261 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41022,9 +41764,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41060,7 +41802,7 @@ paths: type: array items: *51 examples: - default: *264 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41304,7 +42046,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *268 examples: default: *55 responses: @@ -41397,7 +42139,7 @@ paths: required: - include_claim_keys examples: - default: &266 + default: &269 value: include_claim_keys: - repo @@ -41442,13 +42184,13 @@ paths: format. type: boolean examples: - default: *266 + default: *269 responses: '201': description: Empty response content: application/json: - schema: &291 + schema: &294 title: Empty Object description: An object without any properties. type: object @@ -41487,7 +42229,7 @@ paths: schema: type: object properties: - enabled_repositories: &268 + enabled_repositories: &271 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -41501,7 +42243,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *57 - selected_actions_url: *267 + selected_actions_url: *270 sha_pinning_required: *58 required: - enabled_repositories @@ -41543,7 +42285,7 @@ paths: schema: type: object properties: - enabled_repositories: *268 + enabled_repositories: *271 allowed_actions: *57 sha_pinning_required: *58 required: @@ -41579,7 +42321,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: response: summary: Example response @@ -41610,7 +42352,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: application/json: value: @@ -41648,7 +42390,7 @@ paths: application/json: schema: *59 examples: - default: *271 + default: *274 '404': *6 x-github: enabledForGitHubApps: true @@ -41705,7 +42447,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *275 examples: default: *60 '403': *27 @@ -41730,7 +42472,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *276 examples: default: *60 responses: @@ -41782,7 +42524,7 @@ paths: type: array items: *75 examples: - default: &275 + default: &278 value: total_count: 1 repositories: @@ -41967,7 +42709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *84 - - &274 + - &277 name: repository_id description: The unique identifier of the repository. in: path @@ -41996,7 +42738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -42192,7 +42934,7 @@ paths: type: array items: *75 examples: - default: *275 + default: *278 '403': *27 '404': *6 x-github: @@ -42261,7 +43003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No content @@ -42288,7 +43030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No content @@ -42322,7 +43064,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: default: *66 x-github: @@ -42356,7 +43098,7 @@ paths: required: false content: application/json: - schema: *277 + schema: *280 examples: default: *66 x-github: @@ -42403,7 +43145,7 @@ paths: type: number runner_groups: type: array - items: &278 + items: &281 type: object properties: id: @@ -42593,9 +43335,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: - default: &279 + default: &282 value: id: 2 name: octo-runner-group @@ -42637,7 +43379,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -42730,9 +43472,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: - default: *279 + default: *282 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -42796,7 +43538,7 @@ paths: type: array items: *43 examples: - default: *259 + default: *262 headers: Link: *42 x-github: @@ -42837,9 +43579,9 @@ paths: type: number repositories: type: array - items: *280 + items: *283 examples: - default: &334 + default: &337 value: total_count: 1 repositories: @@ -43138,7 +43880,7 @@ paths: parameters: - *84 - *69 - - *274 + - *277 responses: '204': description: Response @@ -43162,7 +43904,7 @@ paths: parameters: - *84 - *69 - - *274 + - *277 responses: '204': description: Response @@ -43448,9 +44190,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43515,7 +44257,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *286 '404': *6 '422': *7 '409': *116 @@ -43554,7 +44296,7 @@ paths: application/json: schema: *76 examples: - default: *284 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43590,7 +44332,7 @@ paths: application/json: schema: *76 examples: - default: *285 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43621,7 +44363,7 @@ paths: application/json: schema: *73 examples: - default: *286 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43796,7 +44538,7 @@ paths: - *84 - *72 responses: - '200': *287 + '200': *290 '404': *6 x-github: githubCloudOnly: false @@ -43825,7 +44567,7 @@ paths: parameters: - *84 - *72 - - *288 + - *291 responses: '200': *78 '404': *6 @@ -43870,7 +44612,7 @@ paths: type: integer secrets: type: array - items: &289 + items: &292 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -43904,7 +44646,7 @@ paths: - updated_at - visibility examples: - default: &295 + default: &298 value: total_count: 3 secrets: @@ -43951,7 +44693,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &299 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -43986,7 +44728,7 @@ paths: - key_id - key examples: - default: &297 + default: &300 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44012,7 +44754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *84 - - &290 + - &293 name: secret_name description: The name of the secret. in: path @@ -44024,9 +44766,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: &298 + default: &301 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44055,7 +44797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -44112,7 +44854,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -44139,7 +44881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -44166,7 +44908,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -44184,9 +44926,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: &294 + default: &297 value: total_count: 1 repositories: @@ -44279,7 +45021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -44332,7 +45074,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -44366,7 +45108,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -44399,7 +45141,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *84 - - &299 + - &302 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -44423,7 +45165,7 @@ paths: type: integer variables: type: array - items: &292 + items: &295 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -44471,7 +45213,7 @@ paths: - updated_at - visibility examples: - default: &300 + default: &303 value: total_count: 3 variables: @@ -44561,7 +45303,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -44587,7 +45329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *84 - - &293 + - &296 name: name description: The name of the variable. in: path @@ -44599,9 +45341,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: - default: &301 + default: &304 value: name: USERNAME value: octocat @@ -44630,7 +45372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -44693,7 +45435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '204': description: Response @@ -44720,7 +45462,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 - *19 - *17 responses: @@ -44738,9 +45480,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44767,7 +45509,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -44817,7 +45559,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -44852,7 +45594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -44904,9 +45646,9 @@ paths: type: integer secrets: type: array - items: *289 + items: *292 examples: - default: *295 + default: *298 headers: Link: *42 x-github: @@ -44937,9 +45679,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44962,15 +45704,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44993,7 +45735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -45050,7 +45792,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -45077,7 +45819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -45104,7 +45846,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -45122,9 +45864,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45148,7 +45890,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -45201,7 +45943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -45235,7 +45977,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -45269,7 +46011,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *84 - - *299 + - *302 - *19 responses: '200': @@ -45286,9 +46028,9 @@ paths: type: integer variables: type: array - items: *292 + items: *295 examples: - default: *300 + default: *303 headers: Link: *42 x-github: @@ -45359,7 +46101,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -45385,15 +46127,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *292 + schema: *295 examples: - default: *301 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45415,7 +46157,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -45478,7 +46220,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '204': description: Response @@ -45505,7 +46247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 - *19 - *17 responses: @@ -45523,9 +46265,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '409': description: Response when the visibility of the variable is not set to `selected` @@ -45552,7 +46294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -45602,7 +46344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -45637,7 +46379,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -45695,7 +46437,7 @@ paths: required: true content: application/json: - schema: *302 + schema: *305 examples: default: *82 parameters: @@ -45882,7 +46624,7 @@ paths: type: integer deployment_records: type: array - items: &303 + items: &306 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -45929,7 +46671,7 @@ paths: required: - total_count examples: - default: &304 + default: &307 value: total_count: 1 deployment_records: @@ -46119,11 +46861,11 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *306 required: - total_count examples: - default: *304 + default: *307 '207': description: | This response format is only returned when `partial_success` is set to true in the request body. @@ -46140,7 +46882,7 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *306 errors: type: array description: A list of errors for deployments that could not be @@ -46737,9 +47479,9 @@ paths: - 3 deployment_records: type: array - items: *303 + items: *306 examples: - default: *304 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46869,12 +47611,12 @@ paths: required: - subject_digests examples: - default: &883 + default: &886 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &884 + withPredicateType: &887 value: subject_digests: - sha256:abc123 @@ -46933,7 +47675,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &885 + default: &888 value: attestations_subject_digests: - sha256:abc: @@ -47284,7 +48026,7 @@ paths: initiator: type: string examples: - default: &536 + default: &539 value: attestations: - repository_id: 1 @@ -47328,7 +48070,7 @@ paths: required: false schema: type: string - - *305 + - *308 - *124 - *125 - *126 @@ -47340,9 +48082,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47371,7 +48113,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47465,7 +48207,7 @@ paths: subcategory: bypass-requests parameters: - *84 - - &310 + - &313 name: repository_name description: The name of the repository to filter on. in: query @@ -47484,9 +48226,9 @@ paths: application/json: schema: type: array - items: *308 + items: *311 examples: - default: *309 + default: *312 '404': *6 '500': *35 "/orgs/{org}/bypass-requests/secret-scanning": @@ -47510,7 +48252,7 @@ paths: subcategory: delegated-bypass parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 @@ -47524,9 +48266,9 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: - default: *312 + default: *315 '404': *6 '500': *35 "/orgs/{org}/campaigns": @@ -47553,7 +48295,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &314 + schema: &317 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -47579,7 +48321,7 @@ paths: application/json: schema: type: array - items: &315 + items: &318 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -47610,7 +48352,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *313 + items: *316 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -47629,7 +48371,7 @@ paths: - string - 'null' format: date-time - state: *314 + state: *317 contact_link: description: The contact link of the campaign. type: @@ -47727,7 +48469,7 @@ paths: headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47852,9 +48594,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: &316 + default: &319 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -47903,7 +48645,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47937,16 +48679,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: *316 + default: *319 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48017,7 +48759,7 @@ paths: - string - 'null' format: uri - state: *314 + state: *317 examples: default: value: @@ -48027,9 +48769,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: *316 + default: *319 '400': description: Bad Request content: @@ -48041,7 +48783,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48073,7 +48815,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48106,7 +48848,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &320 title: Code scanning AI Scan organization settings description: The AI Scan organization setting type: object @@ -48126,7 +48868,7 @@ paths: required: - pr_scan examples: - default: &318 + default: &321 value: pr_scan: enabled '403': *27 @@ -48186,9 +48928,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *320 examples: - default: *318 + default: *321 '403': *27 '404': *6 '422': *15 @@ -48214,8 +48956,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *84 - - *319 - - *320 + - *322 + - *323 - *105 - *106 - *19 @@ -48226,7 +48968,7 @@ paths: be returned. in: query required: false - schema: *321 + schema: *324 - name: sort description: The property by which to sort the results. in: query @@ -48242,7 +48984,7 @@ paths: be returned. in: query required: false - schema: &565 + schema: &568 type: string description: Severity of a code scanning alert. enum: @@ -48268,13 +49010,13 @@ paths: application/json: schema: type: array - items: *322 + items: *325 examples: - default: *323 + default: *326 headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48645,7 +49387,7 @@ paths: application/json: schema: *111 examples: - default: *324 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48673,9 +49415,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *328 examples: - default: *326 + default: *329 '304': *32 '403': *27 '404': *6 @@ -48764,7 +49506,7 @@ paths: application/json: schema: *111 examples: - default: *324 + default: *327 '304': *32 '403': *27 '404': *6 @@ -49209,7 +49951,7 @@ paths: default: value: default_for_new_repos: all - configuration: *324 + configuration: *327 '403': *27 '404': *6 x-github: @@ -49262,13 +50004,13 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *328 + repository: *331 '403': *27 '404': *6 x-github: @@ -49308,7 +50050,7 @@ paths: type: integer codespaces: type: array - items: &394 + items: &397 type: object title: Codespace description: A codespace. @@ -49339,11 +50081,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *280 + repository: *283 machine: anyOf: - type: 'null' - - &598 + - &601 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -49630,7 +50372,7 @@ paths: - pulls_url - recent_folders examples: - default: &395 + default: &398 value: total_count: 3 codespaces: @@ -50254,7 +50996,7 @@ paths: type: integer secrets: type: array - items: &329 + items: &332 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -50295,7 +51037,7 @@ paths: - updated_at - visibility examples: - default: &599 + default: &602 value: total_count: 2 secrets: @@ -50333,7 +51075,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &603 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -50368,7 +51110,7 @@ paths: - key_id - key examples: - default: &601 + default: &604 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -50392,15 +51134,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: &603 + default: &606 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -50428,7 +51170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -50483,7 +51225,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -50510,7 +51252,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -50536,7 +51278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -50554,9 +51296,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '404': *6 x-github: githubCloudOnly: false @@ -50579,7 +51321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -50630,7 +51372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -50664,7 +51406,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -50734,7 +51476,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &330 + items: &333 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -51131,9 +51873,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: &331 + default: &334 summary: Example response for an organization copilot space value: id: 84 @@ -51238,9 +51980,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *331 + default: *334 '403': *27 '404': *6 x-github: @@ -51369,9 +52111,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *331 + default: *334 '403': *27 '404': *6 '422': *15 @@ -51454,7 +52196,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &332 + items: &335 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -51679,7 +52421,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: user: value: @@ -51809,7 +52551,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: user: value: @@ -51960,7 +52702,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &333 + items: &336 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -52104,7 +52846,7 @@ paths: description: Resource created content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52120,7 +52862,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52175,7 +52917,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52244,7 +52986,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52486,9 +53228,9 @@ paths: currently being billed. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 headers: Link: *42 '500': *35 @@ -52972,12 +53714,12 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 required: - total_count - repositories examples: - default: *334 + default: *337 '500': *35 '401': *23 '403': *27 @@ -53063,7 +53805,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No Content @@ -53097,7 +53839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No Content @@ -53245,7 +53987,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *335 + '413': *338 '422': *7 x-github: githubCloudOnly: @@ -54047,7 +54789,7 @@ paths: - 3 custom_roles: type: array - items: *336 + items: *339 examples: default: value: @@ -54139,7 +54881,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &341 type: object properties: name: @@ -54181,9 +54923,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54208,15 +54950,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: true @@ -54239,12 +54981,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: application/json: - schema: &339 + schema: &342 type: object properties: name: @@ -54283,9 +55025,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54310,7 +55052,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -54343,7 +55085,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -54357,9 +55099,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54390,15 +55132,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: true @@ -54427,12 +55169,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: application/json: - schema: *339 + schema: *342 examples: default: value: @@ -54447,9 +55189,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54480,7 +55222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -54509,12 +55251,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *84 - - *340 - - *341 - - *342 - *343 - *344 - *345 + - *346 + - *347 + - *348 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -54544,7 +55286,7 @@ paths: enum: - patch - deployment - - *346 + - *349 - name: runtime_risk in: query description: |- @@ -54553,9 +55295,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *347 - - *348 - - *349 + - *350 + - *351 + - *352 - *107 - *105 - *106 @@ -54567,9 +55309,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *351 + default: *354 '304': *32 '400': *14 '403': *27 @@ -54618,9 +55360,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *355 examples: - default: *353 + default: *356 '403': *27 '404': *6 x-github: @@ -54784,7 +55526,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &357 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -54863,7 +55605,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &633 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -54882,7 +55624,7 @@ paths: - key_id - key examples: - default: &631 + default: &634 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -54906,13 +55648,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *354 + schema: *357 examples: default: value: @@ -54941,7 +55683,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -54998,7 +55740,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -55023,7 +55765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -55048,7 +55790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -55066,9 +55808,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55090,7 +55832,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -55141,7 +55883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -55173,7 +55915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -55210,7 +55952,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - &640 + - &643 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -55218,7 +55960,7 @@ paths: required: false schema: type: string - - &641 + - &644 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -55226,7 +55968,7 @@ paths: required: false schema: type: string - - &642 + - &645 name: time_period description: |- The time period to filter by. @@ -55242,7 +55984,7 @@ paths: - week - month default: month - - &643 + - &646 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -55257,7 +55999,7 @@ paths: - denied - all default: all - - *310 + - *313 - *17 - *19 responses: @@ -55267,7 +56009,7 @@ paths: application/json: schema: type: array - items: &644 + items: &647 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -55377,7 +56119,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &356 + items: &359 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -55430,7 +56172,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &645 + default: &648 value: - id: 21 number: 42 @@ -55518,11 +56260,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -55532,7 +56274,7 @@ paths: application/json: schema: type: array - items: &646 + items: &649 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -55642,7 +56384,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *356 + items: *359 url: type: string format: uri @@ -55655,7 +56397,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &647 + default: &650 value: - id: 21 number: 42 @@ -55743,11 +56485,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -55757,9 +56499,9 @@ paths: application/json: schema: type: array - items: *357 + items: *360 examples: - default: *358 + default: *361 '404': *6 '403': *27 '500': *35 @@ -55785,7 +56527,7 @@ paths: application/json: schema: type: array - items: &404 + items: &407 title: Package description: A software package type: object @@ -55838,7 +56580,7 @@ paths: repository: anyOf: - type: 'null' - - *280 + - *283 created_at: type: string format: date-time @@ -55856,7 +56598,7 @@ paths: - created_at - updated_at examples: - default: &405 + default: &408 value: - id: 197 name: hello_docker @@ -55944,7 +56686,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: 200-response: value: @@ -56043,7 +56785,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &490 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -56133,7 +56875,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &488 + default: &491 value: group_id: '123' group_name: Octocat admins @@ -56188,7 +56930,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &487 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -56228,7 +56970,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &485 + default: &488 value: groups: - group_id: '123' @@ -56273,7 +57015,7 @@ paths: application/json: schema: type: array - items: &383 + items: &386 title: Organization Invitation description: Organization Invitation type: object @@ -56327,7 +57069,7 @@ paths: - invitation_teams_url - node_id examples: - default: &384 + default: &387 value: - id: 1 login: monalisa @@ -56394,7 +57136,7 @@ paths: application/json: schema: type: array - items: &435 + items: &438 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -56408,7 +57150,7 @@ paths: - name - description examples: - default: &436 + default: &439 value: - name: add_assignee description: Assign or remove a user @@ -56449,7 +57191,7 @@ paths: application/json: schema: type: array - items: &359 + items: &362 title: Org Hook description: Org Hook type: object @@ -56632,9 +57374,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: &360 + default: &363 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -56679,7 +57421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *84 - - &361 + - &364 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -56692,9 +57434,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: *360 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -56716,7 +57458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *84 - - *361 + - *364 requestBody: required: false content: @@ -56762,7 +57504,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: default: value: @@ -56802,7 +57544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *84 - - *361 + - *364 responses: '204': description: Response @@ -56828,7 +57570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *84 - - *361 + - *364 responses: '200': description: Response @@ -56857,7 +57599,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *84 - - *361 + - *364 requestBody: required: false content: @@ -56906,10 +57648,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *17 - - *362 - - *363 + - *365 + - *366 responses: '200': description: Response @@ -56917,9 +57659,9 @@ paths: application/json: schema: type: array - items: *364 + items: *367 examples: - default: *365 + default: *368 '400': *14 '422': *15 x-github: @@ -56943,16 +57685,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '400': *14 '422': *15 x-github: @@ -56976,7 +57718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *16 responses: '202': *34 @@ -57003,7 +57745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *84 - - *361 + - *364 responses: '204': description: Response @@ -57028,7 +57770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *84 - - &372 + - &375 name: actor_type in: path description: The type of the actor @@ -57041,14 +57783,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &373 + - &376 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &368 + - &371 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -57056,7 +57798,7 @@ paths: required: true schema: type: string - - &369 + - &372 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -57153,12 +57895,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *84 - - *368 - - *369 + - *371 + - *372 - *19 - *17 - *107 - - &378 + - &381 name: sort description: The property to sort the results by. in: query @@ -57239,14 +57981,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *84 - - *368 - - *369 + - *371 + - *372 responses: '200': description: Response content: application/json: - schema: &370 + schema: &373 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -57262,7 +58004,7 @@ paths: type: integer format: int64 examples: - default: &371 + default: &374 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -57285,23 +58027,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *84 - - &374 + - &377 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *368 - - *369 + - *371 + - *372 responses: '200': description: Response content: application/json: - schema: *370 + schema: *373 examples: - default: *371 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -57321,18 +58063,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *84 - - *368 - - *369 + - *371 - *372 - - *373 + - *375 + - *376 responses: '200': description: Response content: application/json: - schema: *370 + schema: *373 examples: - default: *371 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -57352,9 +58094,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *84 - - *368 - - *369 - - &375 + - *371 + - *372 + - &378 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -57367,7 +58109,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &379 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -57383,7 +58125,7 @@ paths: type: integer format: int64 examples: - default: &377 + default: &380 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -57422,18 +58164,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *84 - - *374 - - *368 - - *369 - - *375 + - *377 + - *371 + - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 x-github: enabledForGitHubApps: true category: orgs @@ -57453,19 +58195,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *84 - - *372 - - *373 - - *368 - - *369 - *375 + - *376 + - *371 + - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 x-github: enabledForGitHubApps: true category: orgs @@ -57485,13 +58227,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *84 - - *374 - - *368 - - *369 + - *377 + - *371 + - *372 - *19 - *17 - *107 - - *378 + - *381 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -57575,7 +58317,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57695,12 +58437,12 @@ paths: application/json: schema: anyOf: - - &381 + - &384 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &380 + limit: &383 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -57728,7 +58470,7 @@ paths: properties: {} additionalProperties: false examples: - default: &382 + default: &385 value: limit: collaborators_only origin: organization @@ -57757,13 +58499,13 @@ paths: required: true content: application/json: - schema: &676 + schema: &679 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *380 + limit: *383 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -57788,9 +58530,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: - default: *382 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -58002,9 +58744,9 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 '404': *6 @@ -58082,7 +58824,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *386 examples: default: value: @@ -58139,7 +58881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *84 - - &385 + - &388 name: invitation_id description: The unique identifier of the invitation. in: path @@ -58173,7 +58915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *84 - - *385 + - *388 - *17 - *19 responses: @@ -58183,9 +58925,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: &403 + default: &406 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -58228,7 +58970,7 @@ paths: application/json: schema: type: array - items: &386 + items: &389 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -58491,9 +59233,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *389 examples: - default: &387 + default: &390 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -58549,7 +59291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *84 - - &388 + - &391 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -58659,9 +59401,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *389 examples: - default: *387 + default: *390 '404': *6 '422': *7 x-github: @@ -58686,7 +59428,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *84 - - *388 + - *391 responses: '204': *121 '404': *6 @@ -58716,9 +59458,9 @@ paths: application/json: schema: type: array - items: *389 + items: *392 examples: - default: &680 + default: &683 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -58804,9 +59546,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *392 examples: - default: &390 + default: &393 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -58839,7 +59581,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *84 - - &391 + - &394 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -58895,9 +59637,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *392 examples: - default: *390 + default: *393 '404': *6 '422': *7 x-github: @@ -58922,7 +59664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *84 - - *391 + - *394 responses: '204': description: Response @@ -58985,7 +59727,7 @@ paths: - closed - all default: open - - *392 + - *395 - name: type description: Can be the name of an issue type. in: query @@ -59004,7 +59746,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -59014,9 +59756,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *393 + default: *396 headers: Link: *42 '404': *6 @@ -59076,7 +59818,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '422': *15 @@ -59175,9 +59917,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 '304': *32 '500': *35 '401': *23 @@ -59204,7 +59946,7 @@ paths: parameters: - *84 - *127 - - &396 + - &399 name: codespace_name in: path required: true @@ -59239,15 +59981,15 @@ paths: parameters: - *84 - *127 - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: &597 + default: &600 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -59427,7 +60169,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *143 + schema: *146 examples: default: value: @@ -59503,7 +60245,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &400 title: Org Membership description: Org Membership type: object @@ -59572,7 +60314,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &398 + response-if-user-has-an-active-admin-membership-with-organization: &401 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -59673,9 +60415,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: - response-if-user-already-had-membership-with-organization: *398 + response-if-user-already-had-membership-with-organization: *401 '422': *15 '403': *27 x-github: @@ -59747,7 +60489,7 @@ paths: application/json: schema: type: array - items: &399 + items: &402 title: Migration description: A migration. type: object @@ -60085,7 +60827,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -60264,7 +61006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *84 - - &400 + - &403 name: migration_id description: The unique identifier of the migration. in: path @@ -60292,7 +61034,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -60462,7 +61204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *84 - - *400 + - *403 responses: '302': description: Response @@ -60484,7 +61226,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *84 - - *400 + - *403 responses: '204': description: Response @@ -60508,8 +61250,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *84 - - *400 - - &866 + - *403 + - &869 name: repo_name description: repo_name parameter in: path @@ -60537,7 +61279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *84 - - *400 + - *403 - *17 - *19 responses: @@ -60547,9 +61289,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: &410 + default: &413 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -60760,7 +61502,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &401 + items: &404 title: Organization Role description: Organization roles type: object @@ -60969,7 +61711,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -61021,7 +61763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -61047,8 +61789,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *84 - - *214 - - *140 + - *217 + - *143 responses: '204': description: Response @@ -61078,8 +61820,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *84 - - *214 - - *140 + - *217 + - *143 responses: '204': description: Response @@ -61132,7 +61874,7 @@ paths: parameters: - *84 - *127 - - *140 + - *143 responses: '204': description: Response @@ -61164,7 +61906,7 @@ paths: parameters: - *84 - *127 - - *140 + - *143 responses: '204': description: Response @@ -61193,13 +61935,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -61257,7 +61999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: @@ -61296,7 +62038,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -61350,7 +62092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -61376,7 +62118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *84 - - *140 + - *143 - *17 - *19 responses: @@ -61455,7 +62197,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *405 type: description: The ownership type of the team type: string @@ -61488,7 +62230,7 @@ paths: - type - parent examples: - default: *403 + default: *406 headers: Link: *42 '404': @@ -61518,7 +62260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *84 - - *140 + - *143 - *17 - *19 responses: @@ -61547,7 +62289,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *402 + items: *405 name: type: - string @@ -61664,7 +62406,7 @@ paths: - type - url examples: - default: *211 + default: *214 headers: Link: *42 '404': @@ -61715,7 +62457,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -61857,7 +62599,7 @@ paths: - nuget - container - *84 - - &867 + - &870 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -61893,12 +62635,12 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *405 + default: *408 '403': *27 '401': *23 - '400': &869 + '400': &872 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -61920,7 +62662,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &406 + - &409 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -61938,7 +62680,7 @@ paths: - docker - nuget - container - - &407 + - &410 name: package_name description: The name of the package. in: path @@ -61951,7 +62693,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *407 examples: default: value: @@ -62003,8 +62745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 responses: '204': @@ -62037,8 +62779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - name: token description: package token @@ -62071,8 +62813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - *19 - *17 @@ -62093,7 +62835,7 @@ paths: application/json: schema: type: array - items: &408 + items: &411 title: Package Version description: A version of a software package type: object @@ -62228,10 +62970,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - - &409 + - &412 name: package_version_id description: Unique identifier of the package version. in: path @@ -62243,7 +62985,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -62279,10 +63021,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *406 - - *407 - - *84 - *409 + - *410 + - *84 + - *412 responses: '204': description: Response @@ -62314,10 +63056,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *406 - - *407 - - *84 - *409 + - *410 + - *84 + - *412 responses: '204': description: Response @@ -62347,7 +63089,7 @@ paths: - *84 - *17 - *19 - - &411 + - &414 name: sort description: The property by which to sort the results. in: query @@ -62358,7 +63100,7 @@ paths: - created_at default: created_at - *107 - - &412 + - &415 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -62370,7 +63112,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &413 + - &416 name: repository description: The name of the repository to use to filter the results. in: query @@ -62379,7 +63121,7 @@ paths: type: string examples: - Hello-World - - &414 + - &417 name: permission description: The permission to use to filter the results. in: query @@ -62388,7 +63130,7 @@ paths: type: string examples: - issues_read - - &415 + - &418 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -62398,7 +63140,7 @@ paths: schema: type: string format: date-time - - &416 + - &419 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -62408,7 +63150,7 @@ paths: schema: type: string format: date-time - - &417 + - &420 name: token_id description: The ID of the token in: query @@ -62725,9 +63467,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -62753,14 +63495,14 @@ paths: - *84 - *17 - *19 - - *411 - - *107 - - *412 - - *413 - *414 + - *107 - *415 - *416 - *417 + - *418 + - *419 + - *420 responses: '500': *35 '422': *15 @@ -63042,9 +63784,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -63086,7 +63828,7 @@ paths: type: integer configurations: type: array - items: &418 + items: &421 title: Organization private registry description: Private registry configuration for an organization type: object @@ -63603,7 +64345,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &419 + org-private-registry-with-selected-visibility: &422 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -63695,15 +64437,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -63726,7 +64468,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -63915,7 +64657,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -63955,7 +64697,7 @@ paths: application/json: schema: type: array - items: &420 + items: &423 title: Projects v2 Project description: A projects v2 project type: object @@ -64029,7 +64771,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &956 + - &959 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -64114,7 +64856,7 @@ paths: - deleted_at - deleted_by examples: - default: &421 + default: &424 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -64217,7 +64959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &422 + - &425 name: project_number description: The project's number. in: path @@ -64230,9 +64972,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -64255,7 +64997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true description: Details of the draft item to create in the project. @@ -64289,7 +65031,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &430 title: Projects v2 Item description: An item belonging to a project type: object @@ -64302,8 +65044,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *221 - - &573 + - *224 + - &576 title: Pull Request Simple description: Pull Request Simple type: object @@ -64432,7 +65174,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 active_lock_reason: type: - string @@ -64481,7 +65223,7 @@ paths: items: *4 requested_teams: type: array - items: *313 + items: *316 head: type: object properties: @@ -64525,7 +65267,7 @@ paths: _links: type: object properties: - comments: &424 + comments: &427 title: Link description: Hypermedia Link type: object @@ -64534,13 +65276,13 @@ paths: type: string required: - href - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + commits: *427 + statuses: *427 + html: *427 + issue: *427 + review_comments: *427 + review_comment: *427 + self: *427 required: - comments - commits @@ -64550,8 +65292,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: &742 + author_association: *221 + auto_merge: &745 title: Auto merge description: The status of auto merging a pull request. type: @@ -64577,7 +65319,7 @@ paths: - merge_method - commit_title - commit_message - stack: &743 + stack: &746 title: Pull Request Stack description: The stack information associated with a pull request. @@ -64693,7 +65435,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &426 + content_type: &429 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -64737,7 +65479,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &428 + draft_issue: &431 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -64811,7 +65553,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *422 + - *425 - *84 - *17 - *105 @@ -64823,7 +65565,7 @@ paths: application/json: schema: type: array - items: &425 + items: &428 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -64976,7 +65718,7 @@ paths: - updated_at - project_url examples: - default: &889 + default: &892 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65106,7 +65848,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *422 + - *425 - *84 requestBody: required: true @@ -65153,7 +65895,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &890 + items: &893 type: object properties: name: @@ -65190,7 +65932,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &891 + iteration_configuration: &894 type: object description: The configuration for iteration fields. required: @@ -65247,7 +65989,7 @@ paths: value: name: Due date data_type: date - single_select_field: &892 + single_select_field: &895 summary: Create a single select field value: name: Priority @@ -65274,7 +66016,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &893 + iteration_field: &896 summary: Create an iteration field value: name: Sprint @@ -65294,9 +66036,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *425 + schema: *428 examples: - text_field: &894 + text_field: &897 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -65305,7 +66047,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: &895 + number_field: &898 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -65314,7 +66056,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: &896 + date_field: &899 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -65323,7 +66065,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: &897 + single_select_field: &900 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65357,7 +66099,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &898 + iteration_field: &901 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -65402,8 +66144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *422 - - &899 + - *425 + - &902 name: field_id description: The unique identifier of the field. in: path @@ -65416,9 +66158,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *428 examples: - default: &900 + default: &903 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65474,7 +66216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *422 + - *425 - *84 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -65507,7 +66249,7 @@ paths: application/json: schema: type: array - items: &429 + items: &432 title: Projects v2 Item description: An item belonging to a project type: object @@ -65524,7 +66266,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *426 + content_type: *429 content: type: - object @@ -65574,7 +66316,7 @@ paths: - updated_at - archived_at examples: - default: &430 + default: &433 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -66272,7 +67014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -66342,22 +67084,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *431 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *431 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *431 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *431 '304': *32 '403': *27 '401': *23 @@ -66377,9 +67119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *422 + - *425 - *84 - - &431 + - &434 name: item_id description: The unique identifier of the project item. in: path @@ -66405,9 +67147,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -66428,9 +67170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *422 + - *425 - *84 - - *431 + - *434 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -66503,13 +67245,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *433 + number_field: *433 + date_field: *433 + single_select_field: *433 + iteration_field: *433 '401': *23 '403': *27 '404': *6 @@ -66529,9 +67271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *422 + - *425 - *84 - - *431 + - *434 responses: '204': description: Response @@ -66555,7 +67297,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true content: @@ -66670,7 +67412,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &880 + schema: &883 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -66774,7 +67516,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &432 + value: &435 value: id: 1 number: 1 @@ -66820,10 +67562,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *432 + value: *435 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *435 '304': *32 '403': *27 '401': *23 @@ -66851,9 +67593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *422 + - *425 - *84 - - &901 + - &904 name: view_number description: The number that identifies the project view. in: path @@ -66885,9 +67627,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -66920,9 +67662,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -66960,7 +67702,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *154 + items: *157 minItems: 1 maxItems: 100 required: @@ -66990,9 +67732,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -67014,15 +67756,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -67046,12 +67788,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 requestBody: required: true content: application/json: - schema: *433 + schema: *436 examples: default: value: @@ -67067,9 +67809,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -67093,7 +67835,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -67157,7 +67899,7 @@ paths: - octocat/Hello-World properties: type: array - items: *153 + items: *156 description: List of custom property names and associated values required: - repository_id @@ -67226,7 +67968,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *153 + items: *156 required: - repository_names - properties @@ -67279,7 +68021,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -67417,9 +68159,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -67623,7 +68365,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &498 title: Full Repository description: Full Repository type: object @@ -68082,7 +68824,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 organization: anyOf: - type: 'null' @@ -68101,7 +68843,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &616 + code_of_conduct: &619 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -68131,7 +68873,7 @@ paths: - key - name - html_url - security_and_analysis: *434 + security_and_analysis: *437 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -68215,7 +68957,7 @@ paths: - network_count - subscribers_count examples: - default: &497 + default: &500 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -68741,9 +69483,9 @@ paths: application/json: schema: type: array - items: *435 + items: *438 examples: - default: *436 + default: *439 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68768,7 +69510,7 @@ paths: - *84 - *17 - *19 - - &767 + - &770 name: targets description: | A comma-separated list of rule targets to filter by. @@ -68787,7 +69529,7 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: default: value: @@ -68855,23 +69597,20 @@ paths: - push - repository default: branch - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *437 + items: *169 + conditions: *440 rules: type: array description: An array of rules within the ruleset. - items: &439 + items: &442 title: Repository Rule type: object description: A repository rule. oneOf: - - *167 - - *168 - - *169 - *170 - *171 - *172 @@ -68883,13 +69622,16 @@ paths: - *178 - *179 - *180 - - *184 - - *185 - - *186 - - *187 - *181 - *182 - *183 + - *187 + - *188 + - *189 + - *190 + - *184 + - *185 + - *186 required: - name - enforcement @@ -68927,9 +69669,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: &438 + default: &441 value: id: 21 name: super cool ruleset @@ -68985,7 +69727,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *84 - - &769 + - &772 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 @@ -68995,16 +69737,16 @@ paths: schema: type: string x-multi-segment: true - - *310 + - *313 - *102 - - &770 + - &773 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 - - &771 + - &774 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -69017,7 +69759,7 @@ paths: - bypass - all default: all - - &772 + - &775 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. @@ -69040,7 +69782,7 @@ paths: description: Response content: application/json: - schema: &773 + schema: &776 title: Rule Suites description: Response type: array @@ -69096,7 +69838,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &774 + default: &777 value: - id: 21 actor_id: 12 @@ -69140,7 +69882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *84 - - &775 + - &778 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -69156,7 +69898,7 @@ paths: description: Response content: application/json: - schema: &776 + schema: &779 title: Rule Suite description: Response type: object @@ -69263,7 +70005,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &777 + default: &780 value: id: 21 actor_id: 12 @@ -69336,9 +70078,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *438 + default: *441 '404': *6 '500': *35 put: @@ -69382,16 +70124,16 @@ paths: - tag - push - repository - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *437 + items: *169 + conditions: *440 rules: description: An array of rules within the ruleset. type: array - items: *439 + items: *442 examples: default: value: @@ -69426,9 +70168,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *438 + default: *441 '404': *6 '422': *15 '500': *35 @@ -69486,9 +70228,9 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *440 + default: *443 '404': *6 '500': *35 x-github: @@ -69525,7 +70267,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: default: value: @@ -69588,18 +70330,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *84 - - *442 - - *443 - - *444 - *445 - *446 - *447 - *448 - *449 + - *450 + - *451 + - *452 - *107 - *19 - *17 - - &779 + - &782 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -69609,7 +70351,7 @@ paths: required: false schema: type: string - - &780 + - &783 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -69619,13 +70361,13 @@ paths: required: false schema: type: string - - *450 - - *451 - - *452 - *453 - *454 - *455 - *456 + - *457 + - *458 + - *459 responses: '200': description: Response @@ -69633,13 +70375,13 @@ paths: application/json: schema: type: array - items: *457 + items: *460 examples: - default: *458 + default: *461 headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69665,9 +70407,9 @@ paths: subcategory: custom-patterns parameters: - *84 - - *459 - - *460 - - *461 + - *462 + - *463 + - *464 - *107 - *105 - *106 @@ -69678,9 +70420,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *462 + default: *465 headers: Link: *42 '403': *27 @@ -69716,9 +70458,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *463 + items: *466 examples: - default: *464 + default: *467 responses: '201': description: All patterns created successfully. @@ -69730,9 +70472,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: *465 + default: *468 '400': *14 '403': *27 '404': *6 @@ -69756,7 +70498,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *466 + items: *469 delete: summary: Bulk delete organization custom patterns description: |- @@ -69789,7 +70531,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *467 + items: *470 post_delete_action: type: string description: |- @@ -69802,14 +70544,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *468 + default: *471 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 "/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update an organization custom pattern @@ -69840,21 +70582,21 @@ paths: required: true content: application/json: - schema: *469 + schema: *472 examples: - default: *470 + default: *473 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: *471 + default: *474 '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -69881,9 +70623,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *475 examples: - default: *473 + default: *476 '403': *27 '404': *6 patch: @@ -69912,7 +70654,7 @@ paths: schema: type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -69938,7 +70680,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *195 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -70036,7 +70778,7 @@ paths: application/json: schema: type: array - items: &801 + items: &804 description: A repository security advisory. type: object properties: @@ -70244,7 +70986,7 @@ paths: required: - vector_string - score - cvss_severities: *130 + cvss_severities: *133 cwes: type: - array @@ -70280,7 +71022,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 credits_detailed: type: - array @@ -70291,7 +71033,7 @@ paths: type: object properties: user: *4 - type: *474 + type: *477 state: type: string description: The state of the user's acceptance of the @@ -70317,7 +71059,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *313 + items: *316 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -70355,7 +71097,7 @@ paths: - private_fork additionalProperties: false examples: - default: &802 + default: &805 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -70742,7 +71484,7 @@ paths: application/json: schema: type: array - items: *402 + items: *405 examples: default: value: @@ -70783,7 +71525,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -70809,7 +71551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -70841,7 +71583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *84 - - *475 + - *478 - *17 - *19 responses: @@ -70849,9 +71591,9 @@ paths: description: Success content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -70997,9 +71739,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71068,7 +71810,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -71091,7 +71833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -71132,9 +71874,9 @@ paths: type: integer network_configurations: type: array - items: *146 + items: *149 examples: - default: *478 + default: *481 headers: Link: *42 x-github: @@ -71211,9 +71953,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71234,15 +71976,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *84 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 headers: Link: *42 x-github: @@ -71264,7 +72006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *84 - - *148 + - *151 requestBody: required: true content: @@ -71317,9 +72059,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71339,7 +72081,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *84 - - *148 + - *151 responses: '204': description: Response @@ -71363,15 +72105,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *84 - - *479 + - *482 responses: '200': description: Response content: application/json: - schema: *480 + schema: *483 examples: - default: *481 + default: *484 headers: Link: *42 x-github: @@ -71409,7 +72151,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &495 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -71461,7 +72203,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &493 + default: &496 value: groups: - group_id: '123' @@ -71516,9 +72258,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 headers: Link: *42 '403': *27 @@ -71616,7 +72358,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &485 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -71690,7 +72432,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *405 members_count: type: integer examples: @@ -72023,7 +72765,7 @@ paths: - repos_count - organization examples: - default: &483 + default: &486 value: id: 1 node_id: MDQ6VGVhbTE= @@ -72094,15 +72836,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -72124,7 +72866,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *84 - - *214 + - *217 requestBody: required: false content: @@ -72193,16 +72935,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '201': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 '422': *15 '403': *27 @@ -72228,11 +72970,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response - '422': &486 + '422': &489 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -72255,16 +72997,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *484 + schema: *487 examples: - default: *485 - '422': *486 + default: *488 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -72284,7 +73026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 requestBody: required: true content: @@ -72308,10 +73050,10 @@ paths: description: Response content: application/json: - schema: *487 + schema: *490 examples: - default: *488 - '422': *486 + default: *491 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72331,11 +73073,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response - '422': *486 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72357,7 +73099,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -72367,12 +73109,12 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 - '422': *486 + '422': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72398,7 +73140,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *84 - - *214 + - *217 - name: role description: Filters members returned by their role in the team. in: query @@ -72419,7 +73161,7 @@ paths: application/json: schema: type: array - items: &845 + items: &848 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 @@ -72562,7 +73304,7 @@ paths: - type - url examples: - default: &846 + default: &849 value: - login: octocat id: 1 @@ -72614,14 +73356,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 responses: '200': description: Response content: application/json: - schema: &489 + schema: &492 title: Team Membership description: Team Membership type: object @@ -72649,7 +73391,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &847 + response-if-user-is-a-team-maintainer: &850 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -72686,7 +73428,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 requestBody: required: false @@ -72712,9 +73454,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: &848 + response-if-users-membership-with-team-is-now-pending: &851 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -72750,7 +73492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 responses: '204': @@ -72780,7 +73522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -72790,9 +73532,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -72822,15 +73564,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &849 + schema: &852 title: Team Repository description: A team's access to a repository. type: object @@ -72856,7 +73598,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 forks: type: integer permissions: @@ -73472,9 +74214,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 requestBody: required: false content: @@ -73520,9 +74262,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 responses: '204': description: Response @@ -73549,16 +74291,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *492 + schema: *495 examples: - default: *493 - '422': *486 + default: *496 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -73581,7 +74323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *84 - - *214 + - *217 requestBody: required: true content: @@ -73624,7 +74366,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -73636,7 +74378,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *486 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -73658,7 +74400,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -73668,9 +74410,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - response-if-child-teams-exist: &850 + response-if-child-teams-exist: &853 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -73823,7 +74565,7 @@ paths: resources: type: object properties: - core: &494 + core: &497 title: Rate Limit type: object properties: @@ -73840,21 +74582,21 @@ paths: - remaining - reset - used - graphql: *494 - search: *494 - code_search: *494 - source_import: *494 - integration_manifest: *494 - actions_runner_registration: *494 - scim: *494 - dependency_snapshots: *494 - dependency_sbom: *494 - code_scanning_autofix: *494 - copilot_usage_records: *494 + graphql: *497 + search: *497 + code_search: *497 + source_import: *497 + integration_manifest: *497 + actions_runner_registration: *497 + scim: *497 + dependency_snapshots: *497 + dependency_sbom: *497 + code_scanning_autofix: *497 + copilot_usage_records: *497 required: - core - search - rate: *494 + rate: *497 required: - rate - resources @@ -73954,14 +74696,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: default-response: summary: Default response @@ -74470,7 +75212,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *496 + '301': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74488,8 +75230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -74810,10 +75552,10 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 - '307': &498 + default: *500 + '307': &501 description: Temporary Redirect content: application/json: @@ -74842,8 +75584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -74865,7 +75607,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *498 + '307': *501 '404': *6 '409': *116 x-github: @@ -74889,11 +75631,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - - &514 + - &517 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -74916,7 +75658,7 @@ paths: type: integer artifacts: type: array - items: &499 + items: &502 title: Artifact description: An artifact type: object @@ -75011,7 +75753,7 @@ paths: - expires_at - updated_at examples: - default: &515 + default: &518 value: total_count: 2 artifacts: @@ -75072,9 +75814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *490 - - *491 - - &500 + - *493 + - *494 + - &503 name: artifact_id description: The unique identifier of the artifact. in: path @@ -75086,7 +75828,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *502 examples: default: value: @@ -75124,9 +75866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *490 - - *491 - - *500 + - *493 + - *494 + - *503 responses: '204': description: Response @@ -75150,9 +75892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *490 - - *491 - - *500 + - *493 + - *494 + - *503 - name: archive_format in: path required: true @@ -75162,7 +75904,7 @@ paths: '302': description: Response headers: - Location: &633 + Location: &636 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -75187,14 +75929,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &501 + schema: &504 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -75228,13 +75970,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *501 + schema: *504 examples: selected_actions: *39 responses: @@ -75263,14 +76005,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &502 + schema: &505 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -75304,13 +76046,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *502 + schema: *505 examples: selected_actions: *41 responses: @@ -75341,14 +76083,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *503 + schema: *506 examples: default: value: @@ -75374,11 +76116,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - - &504 + - &507 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -75412,7 +76154,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &508 title: Repository actions caches description: Repository actions caches type: object @@ -75462,7 +76204,7 @@ paths: - total_count - actions_caches examples: - default: &506 + default: &509 value: total_count: 1 actions_caches: @@ -75494,23 +76236,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *490 - - *491 + - *493 + - *494 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *504 + - *507 responses: '200': description: Response content: application/json: - schema: *505 + schema: *508 examples: - default: *506 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75530,8 +76272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *490 - - *491 + - *493 + - *494 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -75560,8 +76302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *106 responses: @@ -75644,8 +76386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -75801,9 +76543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *490 - - *491 - - &507 + - *493 + - *494 + - &510 name: job_id description: The unique identifier of the job. in: path @@ -75816,7 +76558,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &521 title: Job description: Information of a job execution in a workflow run type: object @@ -76165,9 +76907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *490 - - *491 - - *507 + - *493 + - *494 + - *510 responses: '302': description: Response @@ -76195,9 +76937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *490 - - *491 - - *507 + - *493 + - *494 + - *510 requestBody: required: false content: @@ -76224,7 +76966,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -76248,8 +76990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Status response @@ -76308,8 +77050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -76348,7 +77090,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -76377,8 +77119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -76396,7 +77138,7 @@ paths: type: integer secrets: type: array - items: &520 + items: &523 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -76417,7 +77159,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &524 value: total_count: 2 secrets: @@ -76450,9 +77192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -76469,7 +77211,7 @@ paths: type: integer variables: type: array - items: &522 + items: &525 title: Actions Variable type: object properties: @@ -76503,7 +77245,7 @@ paths: - created_at - updated_at examples: - default: &523 + default: &526 value: total_count: 2 variables: @@ -76536,8 +77278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -76546,11 +77288,11 @@ paths: schema: type: object properties: - enabled: &508 + enabled: &511 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *57 - selected_actions_url: *267 + selected_actions_url: *270 sha_pinning_required: *58 required: - enabled @@ -76581,8 +77323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -76593,7 +77335,7 @@ paths: schema: type: object properties: - enabled: *508 + enabled: *511 allowed_actions: *57 sha_pinning_required: *58 required: @@ -76626,14 +77368,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &509 + schema: &512 type: object properties: access_level: @@ -76651,7 +77393,7 @@ paths: required: - access_level examples: - default: &510 + default: &513 value: access_level: organization x-github: @@ -76676,15 +77418,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *509 + schema: *512 examples: - default: *510 + default: *513 responses: '204': description: Response @@ -76708,14 +77450,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *269 + schema: *272 examples: default: value: @@ -76739,8 +77481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Empty response for successful settings update @@ -76750,7 +77492,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: summary: Set retention days @@ -76774,8 +77516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -76783,7 +77525,7 @@ paths: application/json: schema: *59 examples: - default: *271 + default: *274 '404': *6 x-github: enabledForGitHubApps: true @@ -76802,8 +77544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -76837,14 +77579,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *272 + schema: *275 examples: default: *60 '403': *27 @@ -76866,13 +77608,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *273 + schema: *276 examples: default: *60 responses: @@ -76898,8 +77640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -76930,8 +77672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -76963,14 +77705,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: default: *66 x-github: @@ -76993,8 +77735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Success response @@ -77005,7 +77747,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *280 examples: default: *66 x-github: @@ -77034,8 +77776,8 @@ paths: in: query schema: type: string - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -77080,8 +77822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: version description: The runner version to look up. in: path @@ -77148,8 +77890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -77157,9 +77899,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77181,8 +77923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -77225,7 +77967,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *286 '404': *6 '422': *7 '409': *116 @@ -77256,8 +77998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -77265,7 +78007,7 @@ paths: application/json: schema: *76 examples: - default: *284 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77293,8 +78035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -77302,7 +78044,7 @@ paths: application/json: schema: *76 examples: - default: *285 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77324,8 +78066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '200': @@ -77334,7 +78076,7 @@ paths: application/json: schema: *73 examples: - default: *286 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77355,8 +78097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '204': @@ -77383,8 +78125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '200': *78 @@ -77409,8 +78151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 requestBody: required: true @@ -77459,8 +78201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 requestBody: required: true @@ -77510,11 +78252,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: - '200': *287 + '200': *290 '404': *6 x-github: githubCloudOnly: false @@ -77541,10 +78283,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 - - *288 + - *291 responses: '200': *78 '404': *6 @@ -77572,9 +78314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *490 - - *491 - - &526 + - *493 + - *494 + - &529 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -77582,7 +78324,7 @@ paths: required: false schema: type: string - - &527 + - &530 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -77590,7 +78332,7 @@ paths: required: false schema: type: string - - &528 + - &531 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -77599,7 +78341,7 @@ paths: required: false schema: type: string - - &529 + - &532 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -77626,7 +78368,7 @@ paths: - pending - *17 - *19 - - &530 + - &533 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -77635,7 +78377,7 @@ paths: schema: type: string format: date-time - - &511 + - &514 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -77644,14 +78386,14 @@ paths: schema: type: boolean default: false - - &531 + - &534 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &532 + - &535 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -77674,7 +78416,7 @@ paths: type: integer workflow_runs: type: array - items: &512 + items: &515 title: Workflow Run description: An invocation of a workflow type: object @@ -77793,7 +78535,7 @@ paths: type: - array - 'null' - items: *224 + items: *227 created_at: type: string format: date-time @@ -77854,7 +78596,7 @@ paths: head_commit: anyOf: - type: 'null' - - &556 + - &559 title: Simple Commit description: A commit. type: object @@ -77928,8 +78670,8 @@ paths: - timestamp - author - committer - repository: *280 - head_repository: *280 + repository: *283 + head_repository: *283 head_repository_id: type: integer examples: @@ -77969,7 +78711,7 @@ paths: - workflow_url - pull_requests examples: - default: &533 + default: &536 value: total_count: 1 workflow_runs: @@ -78205,24 +78947,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *490 - - *491 - - &513 + - *493 + - *494 + - &516 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *511 + - *514 responses: '200': description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: &516 + default: &519 value: id: 30433642 name: Build @@ -78463,9 +79205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '204': description: Response @@ -78488,9 +79230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -78618,15 +79360,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -78653,12 +79395,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - *17 - *19 - - *514 + - *517 - *107 responses: '200': @@ -78675,9 +79417,9 @@ paths: type: integer artifacts: type: array - items: *499 + items: *502 examples: - default: *515 + default: *518 headers: Link: *42 x-github: @@ -78701,25 +79443,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *490 - - *491 - - *513 - - &517 + - *493 + - *494 + - *516 + - &520 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *511 + - *514 responses: '200': description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: *516 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78742,10 +79484,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *490 - - *491 - - *513 - - *517 + - *493 + - *494 + - *516 + - *520 - *17 - *19 responses: @@ -78763,9 +79505,9 @@ paths: type: integer jobs: type: array - items: *518 + items: *521 examples: - default: &519 + default: &522 value: total_count: 1 jobs: @@ -78878,10 +79620,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *490 - - *491 - - *513 - - *517 + - *493 + - *494 + - *516 + - *520 responses: '302': description: Response @@ -78909,15 +79651,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '202': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -78957,9 +79699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - *17 - *105 - *106 @@ -79136,9 +79878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: true content: @@ -79205,15 +79947,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '202': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79240,9 +79982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -79272,9 +80014,9 @@ paths: type: integer jobs: type: array - items: *518 + items: *521 examples: - default: *519 + default: *522 headers: Link: *42 x-github: @@ -79299,9 +80041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '302': description: Response @@ -79328,9 +80070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '204': description: Response @@ -79357,9 +80099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -79428,7 +80170,7 @@ paths: items: type: object properties: - type: &648 + type: &651 type: string description: The type of reviewer. enum: @@ -79439,7 +80181,7 @@ paths: reviewer: anyOf: - *4 - - *313 + - *316 required: - environment - wait_timer @@ -79514,9 +80256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: true content: @@ -79566,7 +80308,7 @@ paths: application/json: schema: type: array - items: &635 + items: &638 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -79678,7 +80420,7 @@ paths: - created_at - updated_at examples: - default: &636 + default: &639 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -79734,9 +80476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: false content: @@ -79758,7 +80500,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79781,9 +80523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: false content: @@ -79805,7 +80547,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79838,9 +80580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -79977,8 +80719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -79996,9 +80738,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -80023,16 +80765,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80054,17 +80796,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: &534 + default: &537 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -80090,9 +80832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -80123,7 +80865,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -80149,9 +80891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -80176,9 +80918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -80195,9 +80937,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -80220,8 +80962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -80248,7 +80990,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -80273,17 +81015,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: &535 + default: &538 value: name: USERNAME value: octocat @@ -80309,9 +81051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 requestBody: required: true content: @@ -80353,9 +81095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '204': description: Response @@ -80380,8 +81122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -80399,7 +81141,7 @@ paths: type: integer workflows: type: array - items: &524 + items: &527 title: Workflow description: A GitHub Actions workflow type: object @@ -80517,9 +81259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *490 - - *491 - - &525 + - *493 + - *494 + - &528 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -80534,7 +81276,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -80567,9 +81309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '204': description: Response @@ -80594,9 +81336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -80683,9 +81425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '204': description: Response @@ -80712,19 +81454,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *490 - - *491 - - *525 - - *526 - - *527 + - *493 + - *494 - *528 - *529 - - *17 - - *19 - *530 - - *511 - *531 - *532 + - *17 + - *19 + - *533 + - *514 + - *534 + - *535 responses: '200': description: Response @@ -80740,9 +81482,9 @@ paths: type: integer workflow_runs: type: array - items: *512 + items: *515 examples: - default: *533 + default: *536 headers: Link: *42 x-github: @@ -80775,9 +81517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '200': description: Response @@ -80838,8 +81580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *490 - - *491 + - *493 + - *494 - *107 - *17 - *105 @@ -81012,8 +81754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -81031,9 +81773,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -81057,9 +81799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -81076,9 +81818,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -81103,8 +81845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -81122,9 +81864,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -81149,16 +81891,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81180,17 +81922,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81212,9 +81954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -81245,7 +81987,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -81271,9 +82013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -81298,9 +82040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -81317,9 +82059,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -81342,8 +82084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -81370,7 +82112,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -81395,17 +82137,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: *535 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81426,9 +82168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 requestBody: required: true content: @@ -81470,9 +82212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '204': description: Response @@ -81493,8 +82235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -81506,7 +82248,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '404': *6 @@ -81531,8 +82273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *490 - - *491 + - *493 + - *494 - name: assignee in: path required: true @@ -81568,8 +82310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -81679,8 +82421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *105 - *106 @@ -81737,7 +82479,7 @@ paths: initiator: type: string examples: - default: *536 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81757,8 +82499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -81766,7 +82508,7 @@ paths: application/json: schema: type: array - items: &537 + items: &540 title: Autolink reference description: An autolink reference. type: object @@ -81825,8 +82567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -81865,9 +82607,9 @@ paths: description: response content: application/json: - schema: *537 + schema: *540 examples: - default: &538 + default: &541 value: id: 1 key_prefix: TICKET- @@ -81898,9 +82640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *490 - - *491 - - &539 + - *493 + - *494 + - &542 name: autolink_id description: The unique identifier of the autolink. in: path @@ -81912,9 +82654,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: - default: *538 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -81934,9 +82676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *490 - - *491 - - *539 + - *493 + - *494 + - *542 responses: '204': description: Response @@ -81960,8 +82702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response if Dependabot is enabled @@ -82011,8 +82753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -82033,8 +82775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -82054,8 +82796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *490 - - *491 + - *493 + - *494 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -82093,7 +82835,7 @@ paths: - url protected: type: boolean - protection: &541 + protection: &544 title: Branch Protection description: Branch Protection type: object @@ -82136,7 +82878,7 @@ paths: required: - contexts - checks - enforce_admins: &544 + enforce_admins: &547 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -82153,7 +82895,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &546 + required_pull_request_reviews: &549 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -82175,7 +82917,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *313 + items: *316 apps: description: The list of apps with review dismissal access. @@ -82207,7 +82949,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *313 + items: *316 apps: description: The list of apps allowed to bypass pull request requirements. @@ -82237,7 +82979,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &543 + restrictions: &546 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -82300,7 +83042,7 @@ paths: type: string teams: type: array - items: *313 + items: *316 apps: type: array items: @@ -82530,9 +83272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *490 - - *491 - - &542 + - *493 + - *494 + - &545 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -82546,14 +83288,14 @@ paths: description: Response content: application/json: - schema: &552 + schema: &555 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &608 + commit: &611 title: Commit description: Commit type: object @@ -82592,7 +83334,7 @@ paths: author: anyOf: - type: 'null' - - &540 + - &543 title: Git User description: Metaproperties for Git author/committer information. @@ -82614,7 +83356,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 message: type: string examples: @@ -82638,7 +83380,7 @@ paths: required: - sha - url - verification: &666 + verification: &669 title: Verification type: object properties: @@ -82674,14 +83416,14 @@ paths: author: oneOf: - *4 - - *291 + - *294 type: - 'null' - object committer: oneOf: - *4 - - *291 + - *294 type: - 'null' - object @@ -82718,7 +83460,7 @@ paths: type: integer files: type: array - items: &618 + items: &621 title: Diff Entry description: Diff Entry type: object @@ -82814,7 +83556,7 @@ paths: - self protected: type: boolean - protection: *541 + protection: *544 protection_url: type: string format: uri @@ -82923,7 +83665,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *496 + '301': *499 '404': *6 x-github: githubCloudOnly: false @@ -82945,15 +83687,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: default: value: @@ -83147,9 +83889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -83409,7 +84151,7 @@ paths: url: type: string format: uri - required_status_checks: &549 + required_status_checks: &552 title: Status Check Policy description: Status Check Policy type: object @@ -83490,7 +84232,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 apps: type: array items: *5 @@ -83508,7 +84250,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 apps: type: array items: *5 @@ -83568,7 +84310,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *543 + restrictions: *546 required_conversation_resolution: type: object properties: @@ -83680,9 +84422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -83707,17 +84449,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: &545 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -83739,17 +84481,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: *545 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83768,9 +84510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -83795,17 +84537,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *546 + schema: *549 examples: - default: &547 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -83901,9 +84643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84001,9 +84743,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *549 examples: - default: *547 + default: *550 '422': *15 x-github: githubCloudOnly: false @@ -84024,9 +84766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84053,17 +84795,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: &548 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -84086,17 +84828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: *548 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -84116,9 +84858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84143,17 +84885,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *549 + schema: *552 examples: - default: &550 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -84179,9 +84921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84233,9 +84975,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *552 examples: - default: *550 + default: *553 '404': *6 '422': *15 x-github: @@ -84257,9 +84999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84283,9 +85025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -84319,9 +85061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84388,9 +85130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84454,9 +85196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: content: application/json: @@ -84522,15 +85264,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *543 + schema: *546 examples: default: value: @@ -84621,9 +85363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84646,9 +85388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -84658,7 +85400,7 @@ paths: type: array items: *5 examples: - default: &551 + default: &554 value: - id: 1 slug: octoapp @@ -84715,9 +85457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84751,7 +85493,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -84772,9 +85514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84808,7 +85550,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -84829,9 +85571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84865,7 +85607,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -84887,9 +85629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -84897,9 +85639,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -84919,9 +85661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84957,9 +85699,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -84980,9 +85722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -85018,9 +85760,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -85041,9 +85783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: content: application/json: @@ -85078,9 +85820,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -85102,9 +85844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -85114,7 +85856,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -85138,9 +85880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85173,7 +85915,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -85198,9 +85940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85233,7 +85975,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -85258,9 +86000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85293,7 +86035,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -85320,9 +86062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85344,7 +86086,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *555 examples: default: value: @@ -85458,8 +86200,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 @@ -85473,9 +86215,9 @@ paths: application/json: schema: type: array - items: *308 + items: *311 examples: - default: *309 + default: *312 '404': *6 '500': *35 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -85495,8 +86237,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -85510,7 +86252,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *311 examples: default: value: @@ -85569,8 +86311,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 @@ -85584,9 +86326,9 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: - default: *312 + default: *315 '404': *6 '403': *27 '500': *35 @@ -85610,8 +86352,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -85623,7 +86365,7 @@ paths: description: A single bypass request. content: application/json: - schema: *311 + schema: *314 examples: default: value: @@ -85681,8 +86423,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -85753,8 +86495,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_response_id in: path required: true @@ -85787,8 +86529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -86067,7 +86809,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &556 title: CheckRun description: A check performed on the code of a given code change type: object @@ -86202,8 +86944,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *224 - deployment: &912 + items: *227 + deployment: &915 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -86490,9 +87232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *490 - - *491 - - &554 + - *493 + - *494 + - &557 name: check_run_id description: The unique identifier of the check run. in: path @@ -86505,9 +87247,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: - default: &555 + default: &558 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -86607,9 +87349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 requestBody: required: true content: @@ -86849,9 +87591,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: - default: *555 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86871,9 +87613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 - *17 - *19 responses: @@ -86983,15 +87725,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -87029,8 +87771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -87052,7 +87794,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &557 + schema: &560 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -87134,12 +87876,12 @@ paths: type: - array - 'null' - items: *224 + items: *227 app: anyOf: - type: 'null' - *5 - repository: *280 + repository: *283 created_at: type: - string @@ -87150,7 +87892,7 @@ paths: - string - 'null' format: date-time - head_commit: *556 + head_commit: *559 latest_check_runs_count: type: integer check_runs_url: @@ -87178,7 +87920,7 @@ paths: - check_runs_url - pull_requests examples: - default: &558 + default: &561 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -87469,9 +88211,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *557 + schema: *560 examples: - default: *558 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87490,8 +88232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -87552,7 +88294,7 @@ paths: required: - app_id - setting - repository: *280 + repository: *283 examples: default: value: @@ -87800,9 +88542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *490 - - *491 - - &559 + - *493 + - *494 + - &562 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -87814,9 +88556,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: *558 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87839,17 +88581,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *490 - - *491 - - *559 - - &613 + - *493 + - *494 + - *562 + - &616 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &614 + - &617 name: status description: Returns check runs with the specified `status`. in: query @@ -87888,9 +88630,9 @@ paths: type: integer check_runs: type: array - items: *553 + items: *556 examples: - default: &615 + default: &618 value: total_count: 1 check_runs: @@ -87992,15 +88734,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *490 - - *491 - - *559 + - *493 + - *494 + - *562 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -88023,8 +88765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *107 - *105 @@ -88046,7 +88788,7 @@ paths: application/json: schema: type: array - items: &560 + items: &563 description: Code quality finding type: object properties: @@ -88176,14 +88918,14 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &561 + '403': &564 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88203,8 +88945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *490 - - *491 + - *493 + - *494 - name: finding_number in: path description: The number that identifies a finding. @@ -88216,7 +88958,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *563 examples: default: value: @@ -88245,9 +88987,9 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *561 + '403': *564 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88267,8 +89009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -88350,9 +89092,9 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *561 + '403': *564 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88371,8 +89113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -88443,7 +89185,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -88486,7 +89228,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88509,14 +89251,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &562 + schema: &565 description: AI Scan enablement for a repository. type: object properties: @@ -88529,10 +89271,10 @@ paths: required: - pr_scan examples: - default: &563 + default: &566 value: pr_scan: enabled - '403': &572 + '403': &575 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -88560,8 +89302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -88588,10 +89330,10 @@ paths: description: Response content: application/json: - schema: *562 + schema: *565 examples: - default: *563 - '403': &576 + default: *566 + '403': &579 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -88622,21 +89364,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *490 - - *491 - - *319 - - *320 + - *493 + - *494 + - *322 + - *323 - *19 - *17 - - &580 + - &583 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *564 - - &581 + schema: *567 + - &584 name: pr description: The number of the pull request for the results you want to list. in: query @@ -88661,13 +89403,13 @@ paths: be returned. in: query required: false - schema: *321 + schema: *324 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *565 + schema: *568 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -88686,24 +89428,24 @@ paths: items: type: object properties: - number: *128 - created_at: *135 - updated_at: *136 - url: *133 - html_url: *134 - instances_url: *566 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 + instances_url: *569 state: *110 - fixed_at: *138 + fixed_at: *141 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *137 - dismissed_reason: *567 - dismissed_comment: *568 - rule: *569 - tool: *570 - most_recent_instance: *571 + dismissed_at: *140 + dismissed_reason: *570 + dismissed_comment: *571 + rule: *572 + tool: *573 + most_recent_instance: *574 dismissal_approved_by: anyOf: - type: 'null' @@ -88826,9 +89568,9 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88848,9 +89590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *490 - - *491 - - &574 + - *493 + - *494 + - &577 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -88858,30 +89600,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *128 + schema: *131 responses: '200': description: Response content: application/json: - schema: &575 + schema: &578 type: object properties: - number: *128 - created_at: *135 - updated_at: *136 - url: *133 - html_url: *134 - instances_url: *566 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 + instances_url: *569 state: *110 - fixed_at: *138 + fixed_at: *141 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *137 - dismissed_reason: *567 - dismissed_comment: *568 + dismissed_at: *140 + dismissed_reason: *570 + dismissed_comment: *571 rule: type: object properties: @@ -88943,8 +89685,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *570 - most_recent_instance: *571 + tool: *573 + most_recent_instance: *574 dismissal_approved_by: anyOf: - type: 'null' @@ -88955,7 +89697,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *573 + items: *576 required: - number - created_at @@ -89044,9 +89786,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89064,9 +89806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: true content: @@ -89081,8 +89823,8 @@ paths: enum: - open - dismissed - dismissed_reason: *567 - dismissed_comment: *568 + dismissed_reason: *570 + dismissed_comment: *571 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -89110,7 +89852,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -89186,9 +89928,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89208,15 +89950,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 responses: '200': description: Response content: application/json: - schema: &577 + schema: &580 type: object properties: status: @@ -89243,13 +89985,13 @@ paths: - description - started_at examples: - default: &578 + default: &581 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &579 + '400': &582 description: Bad Request content: application/json: @@ -89260,7 +90002,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *572 + '403': *575 '404': *6 '500': *35 x-github: @@ -89285,29 +90027,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 responses: '200': description: OK content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '202': description: Accepted content: application/json: - schema: *577 + schema: *580 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *579 + '400': *582 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -89339,9 +90081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: false content: @@ -89387,12 +90129,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *579 - '403': *576 + '400': *582 + '403': *579 '404': *6 '422': description: Unprocessable Entity - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89412,13 +90154,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 - *19 - *17 - - *580 - - *581 + - *583 + - *584 responses: '200': description: Response @@ -89429,10 +90171,10 @@ paths: items: type: object properties: - ref: *564 - analysis_key: *582 - environment: *583 - category: *584 + ref: *567 + analysis_key: *585 + environment: *586 + category: *587 state: type: - string @@ -89449,7 +90191,7 @@ paths: properties: text: type: string - location: *585 + location: *588 html_url: type: string classifications: @@ -89457,7 +90199,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *586 + items: *589 examples: default: value: @@ -89494,9 +90236,9 @@ paths: end_column: 50 classifications: - source - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89528,25 +90270,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *490 - - *491 - - *319 - - *320 + - *493 + - *494 + - *322 + - *323 - *19 - *17 - - *581 + - *584 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *564 + schema: *567 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &587 + schema: &590 type: string description: An identifier for the upload. examples: @@ -89568,23 +90310,23 @@ paths: application/json: schema: type: array - items: &588 + items: &591 type: object properties: - ref: *564 - commit_sha: &596 + ref: *567 + commit_sha: &599 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *582 + analysis_key: *585 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *584 + category: *587 error: type: string examples: @@ -89609,8 +90351,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *587 - tool: *570 + sarif_id: *590 + tool: *573 deletable: type: boolean warning: @@ -89672,9 +90414,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89708,8 +90450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -89722,7 +90464,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: response: summary: application/json response @@ -89776,14 +90518,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *572 + '403': *575 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89863,8 +90605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -89920,9 +90662,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89942,8 +90684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -89951,7 +90693,7 @@ paths: application/json: schema: type: array - items: &589 + items: &592 title: CodeQL Database description: A CodeQL database. type: object @@ -90063,9 +90805,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90092,8 +90834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: language in: path description: The language of the CodeQL database. @@ -90105,7 +90847,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *592 examples: default: value: @@ -90137,11 +90879,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &622 + '302': &625 description: Found - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90161,8 +90903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *490 - - *491 + - *493 + - *494 - name: language in: path description: The language of the CodeQL database. @@ -90172,9 +90914,9 @@ paths: responses: '204': description: Response - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90200,8 +90942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -90210,7 +90952,7 @@ paths: type: object additionalProperties: false properties: - language: &590 + language: &593 type: string description: The language targeted by the CodeQL query enum: @@ -90290,7 +91032,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &594 + schema: &597 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -90300,7 +91042,7 @@ paths: description: The ID of the variant analysis. controller_repo: *117 actor: *4 - query_language: *590 + query_language: *593 query_pack_url: type: string description: The download url for the query pack. @@ -90348,7 +91090,7 @@ paths: items: type: object properties: - repository: &591 + repository: &594 title: Repository Identifier description: Repository Identifier type: object @@ -90390,7 +91132,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &595 + analysis_status: &598 type: string description: The new status of the CodeQL variant analysis repository task. @@ -90422,7 +91164,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &592 + access_mismatch_repos: &595 type: object properties: repository_count: @@ -90437,7 +91179,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *591 + items: *594 required: - repository_count - repositories @@ -90460,8 +91202,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *592 - over_limit_repos: *592 + no_codeql_db_repos: *595 + over_limit_repos: *595 required: - access_mismatch_repos - not_found_repos @@ -90477,7 +91219,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &593 + value: &596 summary: Default response value: id: 1 @@ -90623,17 +91365,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *593 + value: *596 repository_lists: summary: Response for a successful variant analysis submission - value: *593 + value: *596 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90654,8 +91396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *490 - - *491 + - *493 + - *494 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -90667,11 +91409,11 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: *593 + default: *596 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90692,7 +91434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *490 + - *493 - name: repo in: path description: The name of the controller repository. @@ -90727,7 +91469,7 @@ paths: type: object properties: repository: *117 - analysis_status: *595 + analysis_status: *598 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -90831,7 +91573,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90852,8 +91594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -90946,9 +91688,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90967,8 +91709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -91037,7 +91779,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -91062,7 +91804,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *576 + '403': *579 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -91076,7 +91818,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91133,8 +91875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -91142,7 +91884,7 @@ paths: schema: type: object properties: - commit_sha: *596 + commit_sha: *599 ref: type: string description: |- @@ -91202,7 +91944,7 @@ paths: schema: type: object properties: - id: *587 + id: *590 url: type: string description: The REST API URL for checking the status of the upload. @@ -91216,11 +91958,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *576 + '403': *579 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91239,8 +91981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *490 - - *491 + - *493 + - *494 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -91288,10 +92030,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *572 + '403': *575 '404': description: Not Found if the sarif id does not match any upload - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91313,8 +92055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -91395,8 +92137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -91524,8 +92266,8 @@ paths: parameters: - *17 - *19 - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -91541,7 +92283,7 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: default: value: @@ -91839,8 +92581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -91904,22 +92646,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91943,8 +92685,8 @@ paths: parameters: - *17 - *19 - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -92008,8 +92750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -92046,9 +92788,9 @@ paths: type: integer machines: type: array - items: *598 + items: *601 examples: - default: &856 + default: &859 value: total_count: 2 machines: @@ -92088,8 +92830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -92176,8 +92918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -92225,7 +92967,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92246,8 +92988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -92265,7 +93007,7 @@ paths: type: integer secrets: type: array - items: &602 + items: &605 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -92286,7 +93028,7 @@ paths: - created_at - updated_at examples: - default: *599 + default: *602 headers: Link: *42 x-github: @@ -92309,16 +93051,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: *601 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92338,17 +93080,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92368,9 +93110,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -92398,7 +93140,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -92422,9 +93164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -92452,8 +93194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *490 - - *491 + - *493 + - *494 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -92491,7 +93233,7 @@ paths: application/json: schema: type: array - items: &604 + items: &607 title: Collaborator description: Collaborator type: object @@ -92684,8 +93426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '204': @@ -92732,8 +93474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 requestBody: required: false @@ -92760,7 +93502,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &679 + schema: &682 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92772,7 +93514,7 @@ paths: format: int64 examples: - 42 - repository: *280 + repository: *283 invitee: anyOf: - type: 'null' @@ -92948,7 +93690,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *255 + schema: *258 '403': *27 x-github: triggersNotification: true @@ -92988,8 +93730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '204': @@ -93021,8 +93763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '200': @@ -93043,7 +93785,7 @@ paths: user: anyOf: - type: 'null' - - *604 + - *607 required: - permission - role_name @@ -93097,8 +93839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -93108,7 +93850,7 @@ paths: application/json: schema: type: array - items: &605 + items: &608 title: Commit Comment description: Commit Comment type: object @@ -93149,8 +93891,8 @@ paths: updated_at: type: string format: date-time - author_association: *218 - reactions: *219 + author_association: *221 + reactions: *222 required: - url - html_url @@ -93166,7 +93908,7 @@ paths: - created_at - updated_at examples: - default: &610 + default: &613 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93225,17 +93967,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: &611 + default: &614 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93292,9 +94034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -93316,7 +94058,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -93367,9 +94109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -93390,9 +94132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -93418,7 +94160,7 @@ paths: application/json: schema: type: array - items: &606 + items: &609 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -93462,7 +94204,7 @@ paths: - content - created_at examples: - default: &682 + default: &685 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -93507,9 +94249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -93541,9 +94283,9 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: &607 + default: &610 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -93572,9 +94314,9 @@ paths: description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -93596,10 +94338,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *490 - - *491 - - *235 - - &683 + - *493 + - *494 + - *238 + - &686 name: reaction_id description: The unique identifier of the reaction. in: path @@ -93654,8 +94396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *490 - - *491 + - *493 + - *494 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -93711,9 +94453,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: &750 + default: &753 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -93807,9 +94549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *490 - - *491 - - &609 + - *493 + - *494 + - &612 name: commit_sha description: The SHA of the commit. in: path @@ -93881,9 +94623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 - *17 - *19 responses: @@ -93893,9 +94635,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *610 + default: *613 headers: Link: *42 x-github: @@ -93925,9 +94667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 requestBody: required: true content: @@ -93962,9 +94704,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: *611 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93992,9 +94734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 - *17 - *19 responses: @@ -94004,9 +94746,9 @@ paths: application/json: schema: type: array - items: *573 + items: *576 examples: - default: &741 + default: &744 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94543,11 +95285,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 - - &612 + - &615 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -94562,9 +95304,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: &727 + default: &730 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -94652,7 +95394,7 @@ paths: schema: type: string examples: - default: &619 + default: &622 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -94665,7 +95407,7 @@ paths: schema: type: string examples: - default: &620 + default: &623 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -94692,7 +95434,7 @@ paths: '422': *15 '404': *6 '500': *35 - '503': *193 + '503': *196 '409': *116 x-github: githubCloudOnly: false @@ -94718,11 +95460,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *490 - - *491 - - *612 - - *613 - - *614 + - *493 + - *494 + - *615 + - *616 + - *617 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -94756,9 +95498,9 @@ paths: type: integer check_runs: type: array - items: *553 + items: *556 examples: - default: *615 + default: *618 headers: Link: *42 x-github: @@ -94783,9 +95525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -94793,7 +95535,7 @@ paths: schema: type: integer example: 1 - - *613 + - *616 - *17 - *19 responses: @@ -94811,7 +95553,7 @@ paths: type: integer check_suites: type: array - items: *557 + items: *560 examples: default: value: @@ -95011,9 +95753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - *17 - *19 responses: @@ -95084,7 +95826,7 @@ paths: type: string total_count: type: integer - repository: *280 + repository: *283 commit_url: type: string format: uri @@ -95215,9 +95957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - *17 - *19 responses: @@ -95227,7 +95969,7 @@ paths: application/json: schema: type: array - items: &808 + items: &811 title: Status description: The status of a commit. type: object @@ -95308,7 +96050,7 @@ paths: site_admin: false headers: Link: *42 - '301': *496 + '301': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95336,8 +96078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -95370,11 +96112,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *616 + - *619 code_of_conduct_file: anyOf: - type: 'null' - - &617 + - &620 title: Community Health File type: object properties: @@ -95390,23 +96132,23 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 contributing: anyOf: - type: 'null' - - *617 + - *620 readme: anyOf: - type: 'null' - - *617 + - *620 issue_template: anyOf: - type: 'null' - - *617 + - *620 pull_request_template: anyOf: - type: 'null' - - *617 + - *620 required: - code_of_conduct - code_of_conduct_file @@ -95535,8 +96277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 - name: basehead @@ -95584,8 +96326,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *608 - merge_base_commit: *608 + base_commit: *611 + merge_base_commit: *611 status: type: string enum: @@ -95609,10 +96351,10 @@ paths: - 6 commits: type: array - items: *608 + items: *611 files: type: array - items: *618 + items: *621 required: - url - html_url @@ -95858,15 +96600,15 @@ paths: schema: type: string examples: - default: *619 + default: *622 application/vnd.github.patch: schema: type: string examples: - default: *620 + default: *623 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95908,8 +96650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -96079,7 +96821,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &621 + response-if-content-is-a-file-github-object: &624 summary: Response if content is a file value: type: file @@ -96216,7 +96958,7 @@ paths: - size - type - url - - &756 + - &759 title: Content File description: Content File type: object @@ -96434,7 +97176,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *621 + response-if-content-is-a-file: *624 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -96503,7 +97245,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *622 + '302': *625 '304': *32 x-github: githubCloudOnly: false @@ -96526,8 +97268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -96622,7 +97364,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &626 title: File Commit description: File Commit type: object @@ -96778,7 +97520,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: example-for-creating-a-file: value: @@ -96832,7 +97574,7 @@ paths: schema: oneOf: - *3 - - &661 + - &664 description: Repository rule violation was detected type: object properties: @@ -96853,7 +97595,7 @@ paths: items: type: object properties: - placeholder_id: &798 + placeholder_id: &801 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -96885,8 +97627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -96947,7 +97689,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: default: value: @@ -96982,7 +97724,7 @@ paths: '422': *15 '404': *6 '409': *116 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97002,8 +97744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *490 - - *491 + - *493 + - *494 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -97133,8 +97875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -97286,25 +98028,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *490 - - *491 - - *340 - - *341 - - *342 + - *493 + - *494 - *343 - *344 + - *345 + - *346 + - *347 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *345 - - *624 - - *346 - - *347 - *348 + - *627 - *349 + - *350 + - *351 + - *352 - *107 - *105 - *106 @@ -97316,11 +98058,11 @@ paths: application/json: schema: type: array - items: &628 + items: &631 type: object description: A Dependabot alert. properties: - number: *128 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -97335,7 +98077,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *129 + package: *132 manifest_path: type: string description: The full path to the dependency manifest file, @@ -97367,13 +98109,13 @@ paths: - transitive - inconclusive - - security_advisory: *625 - security_vulnerability: *132 - url: *133 - html_url: *134 - created_at: *135 - updated_at: *136 - dismissed_at: *137 + security_advisory: *628 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: anyOf: - type: 'null' @@ -97397,9 +98139,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *138 - auto_dismissed_at: *626 - dismissal_request: *627 + fixed_at: *141 + auto_dismissed_at: *629 + dismissal_request: *630 assignees: type: array description: The users assigned to this alert. @@ -97656,9 +98398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *490 - - *491 - - &629 + - *493 + - *494 + - &632 name: alert_number in: path description: |- @@ -97667,13 +98409,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *128 + schema: *131 responses: '200': description: Response content: application/json: - schema: *628 + schema: *631 examples: default: value: @@ -97807,9 +98549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *490 - - *491 - - *629 + - *493 + - *494 + - *632 requestBody: required: true content: @@ -97882,7 +98624,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *631 examples: default: value: @@ -98014,8 +98756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -98033,7 +98775,7 @@ paths: type: integer secrets: type: array - items: &632 + items: &635 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -98087,16 +98829,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98116,15 +98858,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *632 + schema: *635 examples: default: value: @@ -98150,9 +98892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -98180,7 +98922,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -98204,9 +98946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -98228,8 +98970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *490 - - *491 + - *493 + - *494 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -98389,7 +99131,7 @@ paths: schema: *3 '400': *14 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false category: dependency-graph @@ -98409,8 +99151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -98672,8 +99414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: sbom_uuid in: path required: true @@ -98684,7 +99426,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *633 + Location: *636 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -98705,8 +99447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -98744,8 +99486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -98828,7 +99570,7 @@ paths: - version - url additionalProperties: false - metadata: &634 + metadata: &637 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98867,7 +99609,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *634 + metadata: *637 resolved: type: object description: A collection of resolved package dependencies. @@ -98881,7 +99623,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *634 + metadata: *637 relationship: type: string description: A notation of whether a dependency is requested @@ -99014,8 +99756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *490 - - *491 + - *493 + - *494 - name: sha description: The SHA recorded at creation time. in: query @@ -99056,9 +99798,9 @@ paths: application/json: schema: type: array - items: *635 + items: *638 examples: - default: *636 + default: *639 headers: Link: *42 x-github: @@ -99124,8 +99866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -99207,7 +99949,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: simple-example: summary: Simple example @@ -99280,9 +100022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *490 - - *491 - - &637 + - *493 + - *494 + - &640 name: deployment_id description: deployment_id parameter in: path @@ -99294,7 +100036,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: default: value: @@ -99359,9 +100101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 responses: '204': description: Response @@ -99383,9 +100125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 - *17 - *19 responses: @@ -99395,7 +100137,7 @@ paths: application/json: schema: type: array - items: &638 + items: &641 title: Deployment Status description: The status of a deployment. type: object @@ -99559,9 +100301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 requestBody: required: true content: @@ -99636,9 +100378,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *641 examples: - default: &639 + default: &642 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -99694,9 +100436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 - name: status_id in: path required: true @@ -99707,9 +100449,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *641 examples: - default: *639 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -99736,12 +100478,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 - - *640 - - *641 - - *642 + - *493 + - *494 - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -99751,9 +100493,9 @@ paths: application/json: schema: type: array - items: *644 + items: *647 examples: - default: *645 + default: *648 '404': *6 '403': *27 '500': *35 @@ -99777,8 +100519,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99790,7 +100532,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *644 + schema: *647 examples: default: value: @@ -99846,8 +100588,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99906,12 +100648,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 - - *640 - - *641 - - *642 + - *493 + - *494 - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -99921,9 +100663,9 @@ paths: application/json: schema: type: array - items: *646 + items: *649 examples: - default: *647 + default: *650 '404': *6 '403': *27 '500': *35 @@ -99947,8 +100689,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99960,7 +100702,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *646 + schema: *649 examples: default: value: @@ -100011,8 +100753,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100051,7 +100793,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *646 + schema: *649 examples: default: value: @@ -100102,8 +100844,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100174,8 +100916,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100208,12 +100950,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -100223,9 +100965,9 @@ paths: application/json: schema: type: array - items: *357 + items: *360 examples: - default: *358 + default: *361 '404': *6 '403': *27 '500': *35 @@ -100250,8 +100992,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100263,7 +101005,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *357 + schema: *360 examples: default: value: @@ -100321,8 +101063,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100391,8 +101133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -100449,8 +101191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -100468,7 +101210,7 @@ paths: - 5 environments: type: array - items: &649 + items: &652 title: Environment description: Details of a deployment environment type: object @@ -100530,7 +101272,7 @@ paths: type: string examples: - wait_timer - wait_timer: &651 + wait_timer: &654 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -100572,11 +101314,11 @@ paths: items: type: object properties: - type: *648 + type: *651 reviewer: anyOf: - *4 - - *313 + - *316 required: - id - node_id @@ -100599,7 +101341,7 @@ paths: - id - node_id - type - deployment_branch_policy: &652 + deployment_branch_policy: &655 type: - object - 'null' @@ -100716,9 +101458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *490 - - *491 - - &650 + - *493 + - *494 + - &653 name: environment_name in: path required: true @@ -100731,9 +101473,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: - default: &653 + default: &656 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -100817,9 +101559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: false content: @@ -100829,7 +101571,7 @@ paths: - object - 'null' properties: - wait_timer: *651 + wait_timer: *654 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -100848,14 +101590,14 @@ paths: items: type: object properties: - type: *648 + type: *651 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *652 + deployment_branch_policy: *655 additionalProperties: false examples: default: @@ -100875,9 +101617,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: - default: *653 + default: *656 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -100901,9 +101643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 responses: '204': description: Default response @@ -100928,9 +101670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 - *17 - *19 responses: @@ -100949,7 +101691,7 @@ paths: - 2 branch_policies: type: array - items: &654 + items: &657 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -101010,9 +101752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: true content: @@ -101060,9 +101802,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - example-wildcard: &655 + example-wildcard: &658 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -101104,10 +101846,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - &656 + - *493 + - *494 + - *653 + - &659 name: branch_policy_id in: path required: true @@ -101119,9 +101861,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101140,10 +101882,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - *656 + - *493 + - *494 + - *653 + - *659 requestBody: required: true content: @@ -101172,9 +101914,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101193,10 +101935,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - *656 + - *493 + - *494 + - *653 + - *659 responses: '204': description: Response @@ -101221,9 +101963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 responses: '200': description: List of deployment protection rules @@ -101240,7 +101982,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &657 + items: &660 title: Deployment protection rule description: Deployment protection rule type: object @@ -101262,7 +102004,7 @@ paths: for the environment. examples: - true - app: &658 + app: &661 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -101365,9 +102107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 requestBody: content: application/json: @@ -101388,9 +102130,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *657 + schema: *660 examples: - default: &659 + default: &662 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -101425,9 +102167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 - *19 - *17 responses: @@ -101447,7 +102189,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *658 + items: *661 examples: default: value: @@ -101482,10 +102224,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *490 - - *491 - - *650 - - &660 + - *493 + - *494 + - *653 + - &663 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -101497,9 +102239,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *660 examples: - default: *659 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101520,10 +102262,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *650 - - *491 - - *490 - - *660 + - *653 + - *494 + - *493 + - *663 responses: '204': description: Response @@ -101549,9 +102291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 - *17 - *19 responses: @@ -101569,9 +102311,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -101596,17 +102338,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101628,18 +102370,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101661,10 +102403,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 requestBody: required: true content: @@ -101695,7 +102437,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -101721,10 +102463,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 responses: '204': description: Default response @@ -101749,10 +102491,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *490 - - *491 - - *650 - - *299 + - *493 + - *494 + - *653 + - *302 - *19 responses: '200': @@ -101769,9 +102511,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -101794,9 +102536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: true content: @@ -101823,7 +102565,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -101848,18 +102590,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *490 - - *491 - - *650 - - *293 + - *493 + - *494 + - *653 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: *535 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101880,10 +102622,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *490 - - *491 - - *293 - - *650 + - *493 + - *494 + - *296 + - *653 requestBody: required: true content: @@ -101925,10 +102667,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *490 - - *491 - - *293 - - *650 + - *493 + - *494 + - *296 + - *653 responses: '204': description: Response @@ -101950,8 +102692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -101961,7 +102703,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: 200-response: value: @@ -102019,8 +102761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *490 - - *491 + - *493 + - *494 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -102042,7 +102784,7 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: default: value: @@ -102179,8 +102921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -102213,9 +102955,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 '400': *14 '422': *15 '403': *27 @@ -102236,8 +102978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -102296,8 +103038,8 @@ paths: application/json: schema: oneOf: - - *255 - - *661 + - *258 + - *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102322,8 +103064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *490 - - *491 + - *493 + - *494 - name: file_sha in: path required: true @@ -102423,8 +103165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -102533,7 +103275,7 @@ paths: description: Response content: application/json: - schema: &662 + schema: &665 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -102760,15 +103502,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 responses: '200': description: Response content: application/json: - schema: *662 + schema: *665 examples: default: value: @@ -102824,9 +103566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *490 - - *491 - - &663 + - *493 + - *494 + - &666 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -102843,7 +103585,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 title: Git Reference description: Git references within a repository type: object @@ -102919,17 +103661,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 responses: '200': description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: &665 + default: &668 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -102958,8 +103700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -102988,9 +103730,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -103016,9 +103758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 requestBody: required: true content: @@ -103047,9 +103789,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 '422': *15 '409': *116 x-github: @@ -103067,9 +103809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 responses: '204': description: Response @@ -103124,8 +103866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -103192,7 +103934,7 @@ paths: description: Response content: application/json: - schema: &667 + schema: &670 title: Git Tag description: Metadata for a Git tag type: object @@ -103248,7 +103990,7 @@ paths: - sha - type - url - verification: *666 + verification: *669 required: - sha - url @@ -103258,7 +104000,7 @@ paths: - tag - message examples: - default: &668 + default: &671 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -103331,8 +104073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *490 - - *491 + - *493 + - *494 - name: tag_sha in: path required: true @@ -103343,9 +104085,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *668 + default: *671 '404': *6 '409': *116 x-github: @@ -103369,8 +104111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -103444,7 +104186,7 @@ paths: description: Response content: application/json: - schema: &669 + schema: &672 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -103546,8 +104288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *490 - - *491 + - *493 + - *494 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -103570,7 +104312,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: default-response: summary: Default response @@ -103628,8 +104370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -103673,8 +104415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -103684,7 +104426,7 @@ paths: application/json: schema: type: array - items: &670 + items: &673 title: Webhook description: Webhooks for repositories. type: object @@ -103747,7 +104489,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &948 + last_response: &951 title: Hook Response type: object properties: @@ -103824,8 +104566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -103878,9 +104620,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: &671 + default: &674 value: type: Repository id: 12345678 @@ -103928,17 +104670,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '200': description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: *671 + default: *674 '404': *6 x-github: githubCloudOnly: false @@ -103958,9 +104700,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 requestBody: required: true content: @@ -104005,9 +104747,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: *671 + default: *674 '422': *15 '404': *6 x-github: @@ -104028,9 +104770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -104054,9 +104796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '200': description: Response @@ -104083,9 +104825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 requestBody: required: false content: @@ -104129,12 +104871,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *17 - - *362 - - *363 + - *365 + - *366 responses: '200': description: Response @@ -104142,9 +104884,9 @@ paths: application/json: schema: type: array - items: *364 + items: *367 examples: - default: *365 + default: *368 '400': *14 '422': *15 x-github: @@ -104163,18 +104905,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '400': *14 '422': *15 x-github: @@ -104193,9 +104935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *16 responses: '202': *34 @@ -104218,9 +104960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -104245,9 +104987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -104270,8 +105012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response if immutable releases are enabled @@ -104319,8 +105061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '409': *116 @@ -104340,8 +105082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '409': *116 @@ -104398,14 +105140,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &672 + schema: &675 title: Import description: A repository import from an external source. type: object @@ -104512,7 +105254,7 @@ paths: - html_url - authors_url examples: - default: &675 + default: &678 value: vcs: subversion use_lfs: true @@ -104528,7 +105270,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &673 + '503': &676 description: Unavailable due to service under maintenance. content: application/json: @@ -104557,8 +105299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -104606,7 +105348,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: default: value: @@ -104631,7 +105373,7 @@ paths: type: string '422': *15 '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104659,8 +105401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -104712,7 +105454,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: example-1: summary: Example 1 @@ -104760,7 +105502,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104783,12 +105525,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104814,9 +105556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *490 - - *491 - - &878 + - *493 + - *494 + - &881 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -104830,7 +105572,7 @@ paths: application/json: schema: type: array - items: &674 + items: &677 title: Porter Author description: Porter Author type: object @@ -104884,7 +105626,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104909,8 +105651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *490 - - *491 + - *493 + - *494 - name: author_id in: path required: true @@ -104940,7 +105682,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: default: value: @@ -104953,7 +105695,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104977,8 +105719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105019,7 +105761,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105047,8 +105789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -105075,11 +105817,11 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: - default: *675 + default: *678 '422': *15 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105102,8 +105844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105111,8 +105853,8 @@ paths: application/json: schema: *20 examples: - default: *379 - '301': *496 + default: *382 + '301': *499 '404': *6 x-github: githubCloudOnly: false @@ -105132,8 +105874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105141,12 +105883,12 @@ paths: application/json: schema: anyOf: - - *381 + - *384 - type: object properties: {} additionalProperties: false examples: - default: &677 + default: &680 value: limit: collaborators_only origin: repository @@ -105171,13 +105913,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *676 + schema: *679 examples: default: summary: Example request body @@ -105189,9 +105931,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: - default: *677 + default: *680 '409': description: Response x-github: @@ -105213,8 +105955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -105241,8 +105983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105296,13 +106038,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: &678 + schema: &681 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -105352,13 +106094,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *678 + schema: *681 examples: default: summary: Example request body @@ -105391,8 +106133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105445,8 +106187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -105522,8 +106264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -105533,9 +106275,9 @@ paths: application/json: schema: type: array - items: *679 + items: *682 examples: - default: &871 + default: &874 value: - id: 1 repository: @@ -105666,9 +106408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *490 - - *491 - - *385 + - *493 + - *494 + - *388 requestBody: required: false content: @@ -105697,7 +106439,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *682 examples: default: value: @@ -105828,9 +106570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *490 - - *491 - - *385 + - *493 + - *494 + - *388 responses: '204': description: Response @@ -105853,8 +106595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105862,9 +106604,9 @@ paths: application/json: schema: type: array - items: *389 + items: *392 examples: - default: *680 + default: *683 '404': *6 x-github: githubCloudOnly: false @@ -105893,8 +106635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *490 - - *491 + - *493 + - *494 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -105956,7 +106698,7 @@ paths: required: false schema: type: string - - *392 + - *395 - name: sort description: What to sort results by. in: query @@ -105969,7 +106711,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -105979,9 +106721,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: &690 + default: &693 value: - id: 1 node_id: MDU6SXNzdWUx @@ -106130,7 +106872,7 @@ paths: state_reason: completed headers: Link: *42 - '301': *496 + '301': *499 '422': *15 '404': *6 x-github: @@ -106159,8 +106901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -106281,9 +107023,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: &687 + default: &690 value: id: 1 node_id: MDU6SXNzdWUx @@ -106438,7 +107180,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *193 + '503': *196 '404': *6 '410': *30 x-github: @@ -106468,9 +107210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *490 - - *491 - - *243 + - *493 + - *494 + - *246 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -106480,7 +107222,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -106490,9 +107232,9 @@ paths: application/json: schema: type: array - items: *222 + items: *225 examples: - default: &689 + default: &692 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -106551,17 +107293,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: &681 + default: &684 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -106617,9 +107359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -106641,9 +107383,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: *681 + default: *684 '422': *15 x-github: githubCloudOnly: false @@ -106661,9 +107403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -106691,15 +107433,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *222 + schema: *225 examples: default: value: @@ -106772,9 +107514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -106782,7 +107524,7 @@ paths: '403': *27 '404': *6 '410': *30 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106799,9 +107541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -106827,9 +107569,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -106850,9 +107592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -106884,16 +107626,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -106915,10 +107657,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *490 - - *491 - - *235 - - *683 + - *493 + - *494 + - *238 + - *686 responses: '204': description: Response @@ -106938,8 +107680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -106949,7 +107691,7 @@ paths: application/json: schema: type: array - items: &686 + items: &689 title: Issue Event description: Issue Event type: object @@ -106996,7 +107738,7 @@ paths: issue: anyOf: - type: 'null' - - *221 + - *224 label: title: Issue Event Label description: Issue Event Label @@ -107029,7 +107771,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *313 + requested_team: *316 dismissed_review: title: Issue Event Dismissed Review type: object @@ -107096,7 +107838,7 @@ paths: required: - from - to - issue_type: &684 + issue_type: &687 title: Issue Type description: The type of issue. type: @@ -107127,11 +107869,11 @@ paths: required: - id - name - prev_issue_type: *684 + prev_issue_type: *687 sub_issue: anyOf: - type: 'null' - - &685 + - &688 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -107189,19 +107931,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 blocked_by: anyOf: - type: 'null' - - *685 + - *688 blocking: anyOf: - type: 'null' - - *685 + - *688 intent: anyOf: - type: 'null' - - &691 + - &694 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -107230,7 +107972,7 @@ paths: - MEDIUM - HIGH - - author_association: *218 + author_association: *221 lock_reason: type: - string @@ -107423,8 +108165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *490 - - *491 + - *493 + - *494 - name: event_id in: path required: true @@ -107435,7 +108177,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *689 examples: default: value: @@ -107662,9 +108404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *490 - - *491 - - &688 + - *493 + - *494 + - &691 name: issue_number description: The number that identifies the issue. in: path @@ -107676,11 +108418,11 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: default: summary: Issue - value: *687 + value: *690 pinned_comment: summary: Issue with pinned comment value: @@ -107879,7 +108621,7 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *496 + '301': *499 '404': *6 '410': *30 '304': *32 @@ -107906,9 +108648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -108134,7 +108876,7 @@ paths: application/json: schema: allOf: - - *221 + - *224 - type: object properties: suggestions: @@ -108279,11 +109021,11 @@ paths: - already_applied - issue_already_closed examples: - default: *687 + default: *690 '422': *15 - '503': *193 + '503': *196 '403': *27 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -108303,9 +109045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -108353,9 +109095,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108371,9 +109113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: content: application/json: @@ -108398,9 +109140,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108422,9 +109164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: assignee in: path required: true @@ -108464,10 +109206,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *490 - - *491 - - *688 - - *226 + - *493 + - *494 + - *691 + - *229 - *17 - *19 responses: @@ -108477,9 +109219,9 @@ paths: application/json: schema: type: array - items: *222 + items: *225 examples: - default: *689 + default: *692 headers: Link: *42 '404': *6 @@ -108512,9 +109254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -108536,9 +109278,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: *681 + default: *684 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -108573,9 +109315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -108585,12 +109327,12 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -108620,9 +109362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -108644,15 +109386,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *496 + '301': *499 '403': *27 '410': *30 '422': *15 @@ -108685,9 +109427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -108699,10 +109441,10 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 - '301': *496 + default: *690 + '301': *499 '400': *14 '401': *23 '403': *27 @@ -108733,9 +109475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -108745,12 +109487,12 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -108769,9 +109511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -108785,7 +109527,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &697 + - &700 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -108826,7 +109568,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - label - id @@ -108838,7 +109580,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &698 + - &701 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -108879,7 +109621,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - label - id @@ -108920,7 +109662,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -108974,7 +109716,7 @@ paths: - performed_via_github_app - assignee - assigner - - &699 + - &702 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -109020,7 +109762,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &700 + - &703 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -109066,7 +109808,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &704 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -109115,7 +109857,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &705 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -109144,7 +109886,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *313 + requested_team: *316 requested_reviewer: *4 required: - review_requester @@ -109157,7 +109899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &706 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -109186,7 +109928,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *313 + requested_team: *316 requested_reviewer: *4 required: - review_requester @@ -109199,7 +109941,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &707 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -109255,7 +109997,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &708 title: Locked Issue Event description: Locked Issue Event type: object @@ -109300,7 +110042,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &709 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -109361,7 +110103,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &710 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -109422,7 +110164,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &711 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -109483,7 +110225,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &712 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -109541,7 +110283,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &715 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -109569,11 +110311,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *684 + issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - issue_type - id @@ -109585,7 +110327,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &713 + - &716 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -109613,11 +110355,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *684 + prev_issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - prev_issue_type - id @@ -109629,7 +110371,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &714 + - &717 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -109657,12 +110399,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *684 - prev_issue_type: *684 + issue_type: *687 + prev_issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - issue_type - prev_issue_type @@ -109675,7 +110417,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &715 + - &718 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -109706,7 +110448,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *685 + - *688 required: - sub_issue - id @@ -109718,7 +110460,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &716 + - &719 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -109749,7 +110491,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *685 + - *688 required: - sub_issue - id @@ -109761,7 +110503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &717 + - &720 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -109792,7 +110534,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 required: - parent_issue - id @@ -109804,7 +110546,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &718 + - &721 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -109835,7 +110577,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 required: - parent_issue - id @@ -109847,7 +110589,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &719 + - &722 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -109878,7 +110620,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *685 + - *688 required: - blocked_by - id @@ -109890,7 +110632,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &720 + - &723 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -109921,7 +110663,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *685 + - *688 required: - blocked_by - id @@ -109933,7 +110675,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &721 + - &724 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -109964,7 +110706,7 @@ paths: blocking: anyOf: - type: 'null' - - *685 + - *688 required: - blocking - id @@ -109976,7 +110718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &722 + - &725 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -110007,7 +110749,7 @@ paths: blocking: anyOf: - type: 'null' - - *685 + - *688 required: - blocking - id @@ -110071,9 +110813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -110083,9 +110825,9 @@ paths: application/json: schema: type: array - items: *692 + items: *695 examples: - default: &693 + default: &696 value: - issue_field_id: 1 issue_field_name: DRI @@ -110125,7 +110867,7 @@ paths: color: green headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -110156,9 +110898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -110230,14 +110972,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *692 + items: *695 examples: - default: *693 + default: *696 '400': *14 '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -110268,9 +111010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -110337,14 +111079,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *692 + items: *695 examples: - default: *693 + default: *696 '400': *14 '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -110370,17 +111112,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *490 - - *491 - - *688 - - *388 + - *493 + - *494 + - *691 + - *391 responses: '204': description: Issue field value deleted successfully '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -110398,9 +111140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -110410,9 +111152,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: &694 + default: &697 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -110452,7 +111194,7 @@ paths: site_admin: false headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -110470,9 +111212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -110550,10 +111292,10 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 - '301': *496 + default: *697 + '301': *499 '404': *6 '410': *30 '422': *15 @@ -110572,9 +111314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -110634,10 +111376,10 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 - '301': *496 + default: *697 + '301': *499 '404': *6 '410': *30 '422': *15 @@ -110656,13 +111398,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '204': description: Response - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -110683,9 +111425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: name in: path required: true @@ -110698,7 +111440,7 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: default: value: @@ -110711,7 +111453,7 @@ paths: default: true archived_at: archived_by: - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -110733,9 +111475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -110782,9 +111524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '204': description: Response @@ -110814,18 +111556,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '200': description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 - '301': *496 + default: *690 + '301': *499 '404': *6 '410': *30 x-github: @@ -110844,9 +111586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -110872,9 +111614,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -110896,9 +111638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -110930,16 +111672,16 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Response content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -110961,10 +111703,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *490 - - *491 - - *688 - - *683 + - *493 + - *494 + - *691 + - *686 responses: '204': description: Response @@ -110993,9 +111735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -111017,9 +111759,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -111053,9 +111795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -111065,9 +111807,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 '404': *6 @@ -111099,9 +111841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -111128,9 +111870,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -111157,9 +111899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -111190,13 +111932,13 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 '403': *27 '404': *6 '422': *7 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -111221,9 +111963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: state in: query required: false @@ -111260,7 +112002,7 @@ paths: application/json: schema: type: array - items: &695 + items: &698 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -111424,9 +112166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: suggestion_id in: path required: true @@ -111438,9 +112180,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: - default: &696 + default: &699 value: id: 12 issue_id: 4567 @@ -111478,9 +112220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: suggestion_id in: path required: true @@ -111492,9 +112234,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: - default: *696 + default: *699 '403': *27 '404': *6 '422': *15 @@ -111514,9 +112256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 - name: exclude @@ -111537,9 +112279,6 @@ paths: description: Timeline Event type: object anyOf: - - *697 - - *698 - - *699 - *700 - *701 - *702 @@ -111550,6 +112289,9 @@ paths: - *707 - *708 - *709 + - *710 + - *711 + - *712 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -111597,20 +112339,20 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *221 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *222 pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 required: - event - actor @@ -111641,7 +112383,7 @@ paths: properties: type: type: string - issue: *221 + issue: *224 required: - event - created_at @@ -111863,7 +112605,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *221 required: - event - id @@ -111886,7 +112628,7 @@ paths: type: string comments: type: array - items: &744 + items: &747 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -111994,7 +112736,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *221 _links: type: object properties: @@ -112089,7 +112831,7 @@ paths: enum: - line - file - reactions: *219 + reactions: *222 body_html: type: string examples: @@ -112127,7 +112869,7 @@ paths: type: string comments: type: array - items: *605 + items: *608 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -112159,7 +112901,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -112244,7 +112986,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -112255,9 +112997,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *712 - - *713 - - *714 - *715 - *716 - *717 @@ -112266,6 +113005,9 @@ paths: - *720 - *721 - *722 + - *723 + - *724 + - *725 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -112513,8 +113255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -112524,7 +113266,7 @@ paths: application/json: schema: type: array - items: &723 + items: &726 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -112592,8 +113334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -112629,9 +113371,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: &724 + default: &727 value: id: 1 key: ssh-rsa AAA... @@ -112665,9 +113407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *490 - - *491 - - &725 + - *493 + - *494 + - &728 name: key_id description: The unique identifier of the key. in: path @@ -112679,9 +113421,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: *724 + default: *727 '404': *6 x-github: githubCloudOnly: false @@ -112699,9 +113441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *490 - - *491 - - *725 + - *493 + - *494 + - *728 responses: '204': description: Response @@ -112721,8 +113463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -112732,9 +113474,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 + default: *697 headers: Link: *42 '404': *6 @@ -112755,8 +113497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -112792,9 +113534,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: - default: &726 + default: &729 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -112828,8 +113570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -112840,9 +113582,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: - default: *726 + default: *729 '404': *6 x-github: githubCloudOnly: false @@ -112859,8 +113601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -112904,7 +113646,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: default: value: @@ -112932,8 +113674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -112959,8 +113701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -112996,8 +113738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '202': *34 '403': @@ -113025,8 +113767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -113052,9 +113794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *490 - - *491 - - *580 + - *493 + - *494 + - *583 responses: '200': description: Response @@ -113120,7 +113862,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 required: - _links - git_url @@ -113201,8 +113943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -113267,8 +114009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -113302,9 +114044,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *608 + schema: *611 examples: - default: *727 + default: *730 '204': description: Response when already merged '404': @@ -113329,8 +114071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *490 - - *491 + - *493 + - *494 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -113371,7 +114113,7 @@ paths: application/json: schema: type: array - items: *423 + items: *426 examples: default: value: @@ -113427,8 +114169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -113468,9 +114210,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: &728 + default: &731 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -113529,9 +114271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *490 - - *491 - - &729 + - *493 + - *494 + - &732 name: milestone_number description: The number that identifies the milestone. in: path @@ -113543,9 +114285,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: *728 + default: *731 '404': *6 x-github: githubCloudOnly: false @@ -113562,9 +114304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 requestBody: required: false content: @@ -113602,9 +114344,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: *728 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113620,9 +114362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 responses: '204': description: Response @@ -113643,9 +114385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 - *17 - *19 responses: @@ -113655,9 +114397,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 + default: *697 headers: Link: *42 x-github: @@ -113676,12 +114418,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *490 - - *491 - - *730 - - *731 - - *226 - - *732 + - *493 + - *494 + - *733 + - *734 + - *229 + - *735 - *17 - *19 responses: @@ -113691,9 +114433,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: *733 + default: *736 headers: Link: *42 x-github: @@ -113717,8 +114459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -113776,14 +114518,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &734 + schema: &737 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -113927,7 +114669,7 @@ paths: - custom_404 - public examples: - default: &735 + default: &738 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -113968,8 +114710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114024,9 +114766,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *737 examples: - default: *735 + default: *738 '422': *15 '409': *116 x-github: @@ -114049,8 +114791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114158,8 +114900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -114185,8 +114927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -114196,7 +114938,7 @@ paths: application/json: schema: type: array - items: &736 + items: &739 title: Page Build description: Page Build type: object @@ -114288,8 +115030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -114336,16 +115078,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *736 + schema: *739 examples: - default: &737 + default: &740 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -114393,8 +115135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *490 - - *491 + - *493 + - *494 - name: build_id in: path required: true @@ -114405,9 +115147,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *739 examples: - default: *737 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114427,8 +115169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114536,9 +115278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *490 - - *491 - - &738 + - *493 + - *494 + - &741 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -114596,9 +115338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *490 - - *491 - - *738 + - *493 + - *494 + - *741 responses: '204': *121 '404': *6 @@ -114625,8 +115367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -114894,7 +115636,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -114921,8 +115663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Private vulnerability reporting status @@ -114959,8 +115701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '422': *14 @@ -114981,8 +115723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '422': *14 @@ -115004,8 +115746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -115013,9 +115755,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *739 + default: *742 '403': *27 '404': *6 x-github: @@ -115037,8 +115779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -115050,11 +115792,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *153 + items: *156 required: - properties examples: - default: *740 + default: *743 responses: '204': description: No Content when custom property values are successfully created @@ -115092,8 +115834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -115153,9 +115895,9 @@ paths: application/json: schema: type: array - items: *573 + items: *576 examples: - default: *741 + default: *744 headers: Link: *42 '304': *32 @@ -115187,8 +115929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -115255,7 +115997,7 @@ paths: description: Response content: application/json: - schema: &746 + schema: &749 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -115393,7 +116135,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 active_lock_reason: type: - string @@ -115442,7 +116184,7 @@ paths: items: *4 requested_teams: type: array - items: *402 + items: *405 head: type: object properties: @@ -115480,14 +116222,14 @@ paths: _links: type: object properties: - comments: *424 - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + comments: *427 + commits: *427 + statuses: *427 + html: *427 + issue: *427 + review_comments: *427 + review_comment: *427 + self: *427 required: - comments - commits @@ -115497,9 +116239,9 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: *742 - stack: *743 + author_association: *221 + auto_merge: *745 + stack: *746 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -115601,7 +116343,7 @@ paths: - merged_by - review_comments examples: - default: &747 + default: &750 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -116128,8 +116870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: sort in: query required: false @@ -116148,7 +116890,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -116158,9 +116900,9 @@ paths: application/json: schema: type: array - items: *744 + items: *747 examples: - default: &749 + default: &752 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -116237,17 +116979,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: &745 + default: &748 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -116322,9 +117064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -116346,9 +117088,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: *745 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116364,9 +117106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -116387,9 +117129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -116415,9 +117157,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -116438,9 +117180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -116472,16 +117214,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -116503,10 +117245,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *490 - - *491 - - *235 - - *683 + - *493 + - *494 + - *238 + - *686 responses: '204': description: Response @@ -116549,9 +117291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *490 - - *491 - - &748 + - *493 + - *494 + - &751 name: pull_number description: The number that identifies the pull request. in: path @@ -116564,9 +117306,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *746 + schema: *749 examples: - default: *747 + default: *750 '304': *32 '404': *6 '406': @@ -116575,7 +117317,7 @@ paths: application/json: schema: *3 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116601,9 +117343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -116645,9 +117387,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *749 examples: - default: *747 + default: *750 '422': *15 '403': *27 x-github: @@ -116669,9 +117411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -116732,21 +117474,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116772,10 +117514,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *490 - - *491 - - *748 - - *243 + - *493 + - *494 + - *751 + - *246 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -116785,7 +117527,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -116795,9 +117537,9 @@ paths: application/json: schema: type: array - items: *744 + items: *747 examples: - default: *749 + default: *752 headers: Link: *42 x-github: @@ -116830,9 +117572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -116938,7 +117680,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: example-for-a-multi-line-comment: value: @@ -117026,10 +117768,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *490 - - *491 - - *748 - - *235 + - *493 + - *494 + - *751 + - *238 requestBody: required: true content: @@ -117051,7 +117793,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: default: value: @@ -117137,9 +117879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -117149,9 +117891,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: *750 + default: *753 headers: Link: *42 x-github: @@ -117181,9 +117923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -117193,7 +117935,7 @@ paths: application/json: schema: type: array - items: *618 + items: *621 examples: default: value: @@ -117212,7 +117954,7 @@ paths: Link: *42 '422': *15 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117231,9 +117973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 responses: '204': description: Response if pull request has been merged @@ -117256,9 +117998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -117381,9 +118123,9 @@ paths: category: pulls subcategory: pulls parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -117436,7 +118178,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &751 + schema: &754 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -117521,7 +118263,7 @@ paths: merge queue content: application/json: - schema: *751 + schema: *754 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -117541,7 +118283,7 @@ paths: this pull request content: application/json: - schema: *751 + schema: *754 examples: response-if-a-merge-request-already-exists: value: @@ -117557,7 +118299,7 @@ paths: it is closed content: application/json: - schema: *751 + schema: *754 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -117589,9 +118331,9 @@ paths: category: pulls subcategory: pulls parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -117604,7 +118346,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *751 + schema: *754 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -117652,9 +118394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 responses: '200': description: Response @@ -117670,7 +118412,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 required: - users - teams @@ -117729,9 +118471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -117768,7 +118510,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *576 examples: default: value: @@ -118304,9 +119046,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -118340,7 +119082,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *576 examples: default: value: @@ -118845,9 +119587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -118857,7 +119599,7 @@ paths: application/json: schema: type: array - items: &752 + items: &755 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -118931,7 +119673,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *221 required: - id - node_id @@ -119013,9 +119755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -119105,9 +119847,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: &754 + default: &757 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -119170,10 +119912,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - &753 + - *493 + - *494 + - *751 + - &756 name: review_id description: The unique identifier of the review. in: path @@ -119185,9 +119927,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: &755 + default: &758 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -119246,10 +119988,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -119272,7 +120014,7 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: default: value: @@ -119334,18 +120076,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 responses: '200': description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: *754 + default: *757 '422': *7 '404': *6 x-github: @@ -119372,10 +120114,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 - *17 - *19 responses: @@ -119469,13 +120211,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *221 _links: type: object properties: - self: *424 - html: *424 - pull_request: *424 + self: *427 + html: *427 + pull_request: *427 required: - self - html @@ -119484,7 +120226,7 @@ paths: type: string body_html: type: string - reactions: *219 + reactions: *222 side: description: The side of the first line of the range for a multi-line comment. @@ -119633,10 +120375,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -119665,7 +120407,7 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: default: value: @@ -119728,10 +120470,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -119766,9 +120508,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: *755 + default: *758 '404': *6 '422': *7 '403': *27 @@ -119790,9 +120532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -119856,8 +120598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -119870,9 +120612,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *759 examples: - default: &757 + default: &760 value: type: file encoding: base64 @@ -119914,8 +120656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *490 - - *491 + - *493 + - *494 - name: dir description: The alternate path to look for a README file in: path @@ -119935,9 +120677,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *759 examples: - default: *757 + default: *760 '404': *6 '422': *15 x-github: @@ -119959,8 +120701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -119970,7 +120712,7 @@ paths: application/json: schema: type: array - items: *758 + items: *761 examples: default: value: @@ -120069,8 +120811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -120146,9 +120888,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: &762 + default: &765 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -120253,9 +120995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *490 - - *491 - - &760 + - *493 + - *494 + - &763 name: asset_id description: The unique identifier of the asset. in: path @@ -120267,9 +121009,9 @@ paths: description: Response content: application/json: - schema: *759 + schema: *762 examples: - default: &761 + default: &764 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 @@ -120304,7 +121046,7 @@ paths: type: User site_admin: false '404': *6 - '302': *622 + '302': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120320,9 +121062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *490 - - *491 - - *760 + - *493 + - *494 + - *763 requestBody: required: false content: @@ -120351,9 +121093,9 @@ paths: description: Response content: application/json: - schema: *759 + schema: *762 examples: - default: *761 + default: *764 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120369,9 +121111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *490 - - *491 - - *760 + - *493 + - *494 + - *763 responses: '204': description: Response @@ -120396,8 +121138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -120483,16 +121225,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -120510,8 +121252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *490 - - *491 + - *493 + - *494 - name: tag description: tag parameter in: path @@ -120524,9 +121266,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -120548,9 +121290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *490 - - *491 - - &763 + - *493 + - *494 + - &766 name: release_id description: The unique identifier of the release. in: path @@ -120564,9 +121306,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '401': description: Unauthorized x-github: @@ -120590,9 +121332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 requestBody: required: false content: @@ -120656,9 +121398,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': description: Not Found if the discussion category name is invalid content: @@ -120679,9 +121421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 responses: '204': description: Response @@ -120702,9 +121444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - *17 - *19 responses: @@ -120714,7 +121456,7 @@ paths: application/json: schema: type: array - items: *759 + items: *762 examples: default: value: @@ -120796,9 +121538,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - name: name in: query required: true @@ -120824,7 +121566,7 @@ paths: description: Response for successful upload content: application/json: - schema: *759 + schema: *762 examples: response-for-successful-upload: value: @@ -120879,9 +121621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -120905,9 +121647,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -120928,9 +121670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 requestBody: required: true content: @@ -120960,16 +121702,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -120991,10 +121733,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *490 - - *491 - - *763 - - *683 + - *493 + - *494 + - *766 + - *686 responses: '204': description: Response @@ -121018,9 +121760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 - *17 - *19 responses: @@ -121036,8 +121778,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *167 - - &764 + - *170 + - &767 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -121056,72 +121798,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *168 - - *764 - - allOf: - - *169 - - *764 - - allOf: - - *170 - - *764 - - allOf: - - *765 - - *764 - allOf: - *171 - - *764 + - *767 - allOf: - *172 - - *764 + - *767 - allOf: - *173 - - *764 + - *767 + - allOf: + - *768 + - *767 - allOf: - *174 - - *764 + - *767 - allOf: - *175 - - *764 + - *767 - allOf: - *176 - - *764 + - *767 - allOf: - *177 - - *764 + - *767 - allOf: - *178 - - *764 + - *767 - allOf: - *179 - - *764 + - *767 - allOf: - *180 - - *764 + - *767 - allOf: - *181 - - *764 + - *767 - allOf: - *182 - - *764 + - *767 - allOf: - *183 - - *764 - - allOf: - - *766 - - *764 + - *767 - allOf: - *184 - - *764 + - *767 - allOf: - *185 - - *764 + - *767 - allOf: - *186 - - *764 + - *767 + - allOf: + - *769 + - *767 - allOf: - *187 - - *764 + - *767 + - allOf: + - *188 + - *767 + - allOf: + - *189 + - *767 + - allOf: + - *190 + - *767 examples: default: value: @@ -121160,8 +121902,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - name: includes_parents @@ -121172,7 +121914,7 @@ paths: schema: type: boolean default: true - - *767 + - *770 responses: '200': description: Response @@ -121180,7 +121922,7 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: default: value: @@ -121227,8 +121969,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 requestBody: description: Request body required: true @@ -121248,16 +121990,16 @@ paths: - tag - push default: branch - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *159 + items: *169 + conditions: *162 rules: type: array description: An array of rules within the ruleset. - items: *768 + items: *771 required: - name - enforcement @@ -121288,9 +122030,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: &778 + default: &781 value: id: 42 name: super cool ruleset @@ -121338,13 +122080,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *490 - - *491 - - *769 - - *102 - - *770 - - *771 + - *493 + - *494 - *772 + - *102 + - *773 + - *774 + - *775 - *17 - *19 responses: @@ -121352,9 +122094,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *776 examples: - default: *774 + default: *777 '404': *6 '500': *35 x-github: @@ -121375,17 +122117,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *490 - - *491 - - *775 + - *493 + - *494 + - *778 responses: '200': description: Response content: application/json: - schema: *776 + schema: *779 examples: - default: *777 + default: *780 '404': *6 '500': *35 x-github: @@ -121413,8 +122155,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121434,9 +122176,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *778 + default: *781 '404': *6 '500': *35 put: @@ -121454,8 +122196,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121480,16 +122222,16 @@ paths: - branch - tag - push - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *159 + items: *169 + conditions: *162 rules: description: An array of rules within the ruleset. type: array - items: *768 + items: *771 examples: default: value: @@ -121517,9 +122259,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *778 + default: *781 '404': *6 '422': *15 '500': *35 @@ -121538,8 +122280,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121562,8 +122304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - name: ruleset_id @@ -121579,9 +122321,9 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *440 + default: *443 '404': *6 '500': *35 x-github: @@ -121600,8 +122342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121619,7 +122361,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: default: value: @@ -121674,28 +122416,28 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *490 - - *491 - - *442 - - *443 - - *444 + - *493 + - *494 - *445 - *446 - *447 - *448 - *449 - - *107 - - *19 - - *17 - - *779 - - *780 - *450 - *451 - *452 + - *107 + - *19 + - *17 + - *782 + - *783 - *453 - *454 - *455 - *456 + - *457 + - *458 + - *459 responses: '200': description: Response @@ -121706,21 +122448,21 @@ paths: items: type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolved_at: type: - string @@ -121826,7 +122568,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *783 + - *786 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -121963,7 +122705,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121985,32 +122727,32 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 - - *453 + - *493 + - *494 + - *577 + - *456 responses: '200': description: Response content: application/json: - schema: &784 + schema: &787 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolved_at: type: - string @@ -122116,7 +122858,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *783 + - *786 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -122139,7 +122881,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &967 + metadata: &970 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -122189,7 +122931,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122212,9 +122954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: true content: @@ -122222,8 +122964,8 @@ paths: schema: type: object properties: - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -122271,7 +123013,7 @@ paths: description: Response content: application/json: - schema: *784 + schema: *787 examples: default: value: @@ -122351,7 +123093,7 @@ paths: description: State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -122373,9 +123115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 - *19 - *17 responses: @@ -122386,7 +123128,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &969 + items: &972 type: object properties: type: @@ -122413,9 +123155,6 @@ paths: - commit details: oneOf: - - *785 - - *786 - - *787 - *788 - *789 - *790 @@ -122426,6 +123165,9 @@ paths: - *795 - *796 - *797 + - *798 + - *799 + - *800 examples: default: value: @@ -122489,7 +123231,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122516,11 +123258,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 - - *459 - - *460 - - *461 + - *493 + - *494 + - *462 + - *463 + - *464 - *107 - *105 - *106 @@ -122531,9 +123273,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *462 + default: *465 headers: Link: *42 '403': *27 @@ -122558,8 +123300,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -122572,9 +123314,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *463 + items: *466 examples: - default: *464 + default: *467 responses: '201': description: All patterns created successfully. @@ -122586,9 +123328,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: *465 + default: *468 '400': *14 '403': *27 '404': *6 @@ -122612,7 +123354,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *466 + items: *469 delete: summary: Bulk delete repository custom patterns description: |- @@ -122633,8 +123375,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -122648,7 +123390,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *467 + items: *470 post_delete_action: type: string description: |- @@ -122661,14 +123403,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *468 + default: *471 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -122690,8 +123432,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 - name: pattern_id in: path required: true @@ -122702,21 +123444,21 @@ paths: required: true content: application/json: - schema: *469 + schema: *472 examples: - default: *470 + default: *473 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: *471 + default: *474 '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -122734,8 +123476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -122743,14 +123485,14 @@ paths: schema: type: object properties: - reason: &799 + reason: &802 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *798 + placeholder_id: *801 required: - reason - placeholder_id @@ -122767,7 +123509,7 @@ paths: schema: type: object properties: - reason: *799 + reason: *802 expire_at: type: - string @@ -122791,7 +123533,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -122814,13 +123556,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *193 + '503': *196 '200': description: Response content: @@ -122830,7 +123572,7 @@ paths: properties: incremental_scans: type: array - items: &800 + items: &803 description: Information on a single scan performed by secret scanning on the repository type: object @@ -122863,15 +123605,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *800 + items: *803 backfill_scans: type: array - items: *800 + items: *803 custom_pattern_backfill_scans: type: array items: allOf: - - *800 + - *803 - type: object properties: pattern_name: @@ -122884,7 +123626,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *800 + items: *803 examples: default: value: @@ -122949,8 +123691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *490 - - *491 + - *493 + - *494 - *107 - name: sort description: The property to sort the results by. @@ -122994,9 +123736,9 @@ paths: application/json: schema: type: array - items: *801 + items: *804 examples: - default: *802 + default: *805 '400': *14 '404': *6 x-github: @@ -123019,8 +123761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -123100,7 +123842,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 required: - login - type @@ -123190,9 +123932,9 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: &805 + default: &808 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -123410,7 +124152,7 @@ paths: description: Validation failed. content: application/json: - schema: &803 + schema: &806 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -123483,8 +124225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -123597,7 +124339,7 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: default: value: @@ -123723,7 +124465,7 @@ paths: description: Validation failed. content: application/json: - schema: *803 + schema: *806 examples: missing_section: value: @@ -123770,17 +124512,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '200': description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: *805 + default: *808 '403': *27 '404': *6 x-github: @@ -123804,9 +124546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 requestBody: required: true content: @@ -123886,7 +124628,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 required: - login - type @@ -123977,17 +124719,17 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: *805 - add_credit: *805 + default: *808 + add_credit: *808 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *255 + schema: *258 examples: invalid_state_transition: value: @@ -124018,9 +124760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '202': *34 '400': *14 @@ -124047,17 +124789,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '202': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 '400': *14 '422': *15 '403': *27 @@ -124078,8 +124820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *490 - - *491 + - *493 + - *494 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -124212,8 +124954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -124280,11 +125022,11 @@ paths: format: date-time pull_requests: type: array - items: &806 + items: &809 title: Pull Request Stack Pull Request type: object allOf: - - *224 + - *227 - type: object required: - node_id @@ -124507,8 +125249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -124557,7 +125299,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -124677,8 +125419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -124750,7 +125492,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -124957,8 +125699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -125007,7 +125749,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -125083,7 +125825,7 @@ paths: pull request in it is locked and cannot be removed. content: application/json: - schema: *255 + schema: *258 examples: cannot_be_removed: summary: Every pull request in the stack is locked and can't be @@ -125113,8 +125855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -125208,8 +125950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -125251,8 +125993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *490 - - *491 + - *493 + - *494 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -125348,8 +126090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -125358,7 +126100,7 @@ paths: application/json: schema: type: array - items: &807 + items: &810 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -125391,8 +126133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -125470,8 +126212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -125565,8 +126307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -125720,8 +126462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -125731,7 +126473,7 @@ paths: application/json: schema: type: array - items: *807 + items: *810 examples: default: value: @@ -125764,8 +126506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *490 - - *491 + - *493 + - *494 - name: sha in: path required: true @@ -125821,7 +126563,7 @@ paths: description: Response content: application/json: - schema: *808 + schema: *811 examples: default: value: @@ -125875,8 +126617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -125888,7 +126630,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -125908,14 +126650,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &809 + schema: &812 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -125988,8 +126730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -126015,7 +126757,7 @@ paths: description: Response content: application/json: - schema: *809 + schema: *812 examples: default: value: @@ -126042,8 +126784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -126063,8 +126805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -126146,8 +126888,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *490 - - *491 + - *493 + - *494 - name: ref in: path required: true @@ -126183,8 +126925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -126194,9 +126936,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 headers: Link: *42 '404': *6 @@ -126216,8 +126958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 responses: @@ -126225,7 +126967,7 @@ paths: description: Response content: application/json: - schema: &810 + schema: &813 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -126237,7 +126979,7 @@ paths: required: - names examples: - default: &811 + default: &814 value: names: - octocat @@ -126260,8 +127002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -126292,9 +127034,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *813 examples: - default: *811 + default: *814 '404': *6 '422': *7 x-github: @@ -126315,9 +127057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *490 - - *491 - - &812 + - *493 + - *494 + - &815 name: per description: The time frame to display results for. in: query @@ -126348,7 +127090,7 @@ paths: - 128 clones: type: array - items: &813 + items: &816 title: Traffic type: object properties: @@ -126435,8 +127177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -126530,8 +127272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -126594,9 +127336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *490 - - *491 - - *812 + - *493 + - *494 + - *815 responses: '200': description: Response @@ -126617,7 +127359,7 @@ paths: - 3782 views: type: array - items: *813 + items: *816 required: - uniques - count @@ -126694,8 +127436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -126731,7 +127473,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *283 examples: default: value: @@ -126969,8 +127711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -126993,8 +127735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -127016,8 +127758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -127043,8 +127785,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *490 - - *491 + - *493 + - *494 - name: ref in: path required: true @@ -127136,9 +127878,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -127179,7 +127921,7 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: default: value: @@ -127289,7 +128031,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &821 + - &824 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -127299,7 +128041,7 @@ paths: type: string examples: - members - - &826 + - &829 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -127311,7 +128053,7 @@ paths: format: int32 examples: - 1 - - &827 + - &830 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -127355,7 +128097,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &816 + items: &819 allOf: - type: object required: @@ -127437,7 +128179,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &828 + meta: &831 type: object description: The metadata associated with the creation/updates to the user. @@ -127502,30 +128244,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &817 + '400': &820 description: Bad request content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '401': *815 - '403': &818 + schema: *817 + '401': *818 + '403': &821 description: Permission denied - '429': &819 + '429': &822 description: Too many requests content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '500': &820 + schema: *817 + '500': &823 description: Internal server error content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 + schema: *817 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127549,7 +128291,7 @@ paths: required: true content: application/json: - schema: &824 + schema: &827 type: object required: - schemas @@ -127613,9 +128355,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *816 + schema: *819 examples: - group: &822 + group: &825 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -127634,13 +128376,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *817 - '401': *815 - '403': *818 - '409': &825 + '400': *820 + '401': *818 + '403': *821 + '409': &828 description: Duplicate record detected - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127657,7 +128399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &823 + - &826 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -127666,22 +128408,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *821 + - *824 - *36 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *816 + schema: *819 examples: - default: *822 - '400': *817 - '401': *815 - '403': *818 + default: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127700,13 +128442,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *823 + - *826 - *36 requestBody: required: true content: application/json: - schema: *824 + schema: *827 examples: group: summary: Group @@ -127732,17 +128474,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *816 + schema: *819 examples: - group: *822 - groupWithMembers: *822 - '400': *817 - '401': *815 - '403': *818 + group: *825 + groupWithMembers: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127766,13 +128508,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *823 + - *826 - *36 requestBody: required: true content: application/json: - schema: &835 + schema: &838 type: object required: - Operations @@ -127832,17 +128574,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *816 + schema: *819 examples: - updateGroup: *822 - addMembers: *822 - '400': *817 - '401': *815 - '403': *818 + updateGroup: *825 + addMembers: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127858,17 +128600,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *823 + - *826 - *36 responses: '204': description: Group was deleted, no content - '400': *817 - '401': *815 - '403': *818 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127902,8 +128644,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *826 - - *827 + - *829 + - *830 - *36 responses: '200': @@ -127937,7 +128679,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &830 + items: &833 allOf: - type: object required: @@ -128029,7 +128771,7 @@ paths: address. examples: - true - roles: &829 + roles: &832 type: array description: The roles assigned to the user. items: @@ -128088,7 +128830,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *828 + meta: *831 startIndex: type: integer description: A starting index for the returned page @@ -128127,11 +128869,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *817 - '401': *815 - '403': *818 - '429': *819 - '500': *820 + '400': *820 + '401': *818 + '403': *821 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128155,7 +128897,7 @@ paths: required: true content: application/json: - schema: &833 + schema: &836 type: object required: - schemas @@ -128248,9 +128990,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *829 + roles: *832 examples: - user: &834 + user: &837 summary: User value: schemas: @@ -128297,9 +129039,9 @@ paths: description: User has been created content: application/scim+json: - schema: *830 + schema: *833 examples: - user: &831 + user: &834 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -128325,13 +129067,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *831 - '400': *817 - '401': *815 - '403': *818 - '409': *825 - '429': *819 - '500': *820 + enterpriseOwner: *834 + '400': *820 + '401': *818 + '403': *821 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128348,7 +129090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &832 + - &835 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -128361,15 +129103,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *830 + schema: *833 examples: - default: *831 - '400': *817 - '401': *815 - '403': *818 + default: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128420,30 +129162,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *832 + - *835 - *36 requestBody: required: true content: application/json: - schema: *833 + schema: *836 examples: - user: *834 + user: *837 responses: '200': description: User was updated content: application/scim+json: - schema: *830 + schema: *833 examples: - user: *831 - '400': *817 - '401': *815 - '403': *818 + user: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128484,13 +129226,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *832 + - *835 - *36 requestBody: required: true content: application/json: - schema: *835 + schema: *838 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -128530,18 +129272,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *830 - examples: - userMultiValuedProperties: *831 - userSingleValuedProperties: *831 - disableUser: *831 - '400': *817 - '401': *815 - '403': *818 + schema: *833 + examples: + userMultiValuedProperties: *834 + userSingleValuedProperties: *834 + disableUser: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128561,17 +129303,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *832 + - *835 - *36 responses: '204': description: User was deleted, no content - '400': *817 - '401': *815 - '403': *818 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128662,7 +129404,7 @@ paths: - 1 Resources: type: array - items: &836 + items: &839 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -128917,22 +129659,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *32 - '404': &837 + '404': &840 description: Resource not found content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '403': &838 + schema: *817 + '403': &841 description: Forbidden content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '400': *817 - '429': *819 + schema: *817 + '400': *820 + '429': *822 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -128958,9 +129700,9 @@ paths: description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: &839 + default: &842 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -128984,17 +129726,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *32 - '404': *837 - '403': *838 - '500': *820 + '404': *840 + '403': *841 + '500': *823 '409': description: Conflict content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '400': *817 + schema: *817 + '400': *820 requestBody: required: true content: @@ -129094,17 +129836,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 - '404': *837 - '403': *838 + default: *842 + '404': *840 + '403': *841 '304': *32 x-github: githubCloudOnly: true @@ -129128,18 +129870,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 + default: *842 '304': *32 - '404': *837 - '403': *838 + '404': *840 + '403': *841 requestBody: required: true content: @@ -129254,19 +129996,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 + default: *842 '304': *32 - '404': *837 - '403': *838 - '400': *817 + '404': *840 + '403': *841 + '400': *820 '429': description: Response content: @@ -129362,12 +130104,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *84 - - *832 + - *835 responses: '204': description: Response - '404': *837 - '403': *838 + '404': *840 + '403': *841 '304': *32 x-github: githubCloudOnly: true @@ -129482,7 +130224,7 @@ paths: html_url: type: string format: uri - repository: *280 + repository: *283 score: type: number file_size: @@ -129501,7 +130243,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &840 + text_matches: &843 title: Search Result Text Matches type: array items: @@ -129616,7 +130358,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *32 - '503': *193 + '503': *196 '422': *15 '403': *27 x-github: @@ -129665,7 +130407,7 @@ paths: enum: - author-date - committer-date - - &841 + - &844 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 @@ -129734,7 +130476,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 comment_count: type: integer message: @@ -129753,7 +130495,7 @@ paths: url: type: string format: uri - verification: *666 + verification: *669 required: - author - committer @@ -129768,7 +130510,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 parents: type: array items: @@ -129780,12 +130522,12 @@ paths: type: string sha: type: string - repository: *280 + repository: *283 score: type: number node_id: type: string - text_matches: *840 + text_matches: *843 required: - sha - node_id @@ -129978,7 +130720,7 @@ paths: - interactions - created - updated - - *841 + - *844 - *17 - *19 - name: advanced_search @@ -130106,11 +130848,11 @@ paths: - *4 type: - 'null' - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: type: string state_reason: @@ -130124,7 +130866,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 comments: type: integer created_at: @@ -130138,7 +130880,7 @@ paths: - string - 'null' format: date-time - text_matches: *840 + text_matches: *843 pull_request: type: object properties: @@ -130176,7 +130918,7 @@ paths: type: string score: type: number - author_association: *218 + author_association: *221 draft: type: boolean repository: *75 @@ -130187,7 +130929,7 @@ paths: timeline_url: type: string format: uri - type: *389 + type: *392 performed_via_github_app: anyOf: - type: 'null' @@ -130195,8 +130937,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *222 - reactions: *219 + - *225 + reactions: *222 required: - assignee - closed_at @@ -130360,7 +131102,7 @@ paths: - quoted_text items: - "..." - '503': *193 + '503': *196 '422': *15 '304': *32 '403': *27 @@ -130414,7 +131156,7 @@ paths: enum: - created - updated - - *841 + - *844 - *17 - *19 responses: @@ -130473,7 +131215,7 @@ paths: - 'null' score: type: number - text_matches: *840 + text_matches: *843 required: - id - node_id @@ -130583,7 +131325,7 @@ paths: - forks - help-wanted-issues - updated - - *841 + - *844 - *17 - *19 responses: @@ -130811,7 +131553,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 permissions: type: object properties: @@ -130829,7 +131571,7 @@ paths: - admin - pull - push - text_matches: *840 + text_matches: *843 temp_clone_token: type: string allow_merge_commit: @@ -131032,7 +131774,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *193 + '503': *196 '422': *15 '304': *32 x-github: @@ -131138,7 +131880,7 @@ paths: - string - 'null' format: uri - text_matches: *840 + text_matches: *843 related: type: - array @@ -131333,7 +132075,7 @@ paths: - followers - repositories - joined - - *841 + - *844 - *17 - *19 responses: @@ -131443,7 +132185,7 @@ paths: type: - boolean - 'null' - text_matches: *840 + text_matches: *843 blog: type: - string @@ -131505,7 +132247,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *32 - '503': *193 + '503': *196 '422': *15 x-github: githubCloudOnly: false @@ -131525,7 +132267,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &844 + - &847 name: team_id description: The unique identifier of the team. in: path @@ -131537,9 +132279,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -131566,7 +132308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *844 + - *847 requestBody: required: true content: @@ -131636,16 +132378,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '201': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 '422': *15 '403': *27 @@ -131673,7 +132415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *844 + - *847 responses: '204': description: Response @@ -131702,7 +132444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -131712,9 +132454,9 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 x-github: @@ -131742,7 +132484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *844 + - *847 - name: role description: Filters members returned by their role in the team. in: query @@ -131763,9 +132505,9 @@ paths: application/json: schema: type: array - items: *845 + items: *848 examples: - default: *846 + default: *849 headers: Link: *42 '404': *6 @@ -131793,7 +132535,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -131830,7 +132572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -131870,7 +132612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -131907,16 +132649,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 responses: '200': description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-user-is-a-team-maintainer: *847 + response-if-user-is-a-team-maintainer: *850 '404': *6 x-github: githubCloudOnly: false @@ -131949,7 +132691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 requestBody: required: false @@ -131975,9 +132717,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: *848 + response-if-users-membership-with-team-is-now-pending: *851 '403': description: Forbidden if team synchronization is set up '422': @@ -132011,7 +132753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -132039,7 +132781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -132049,9 +132791,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 '404': *6 @@ -132081,15 +132823,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *849 + schema: *852 examples: alternative-response-with-extra-repository-information: value: @@ -132240,9 +132982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 requestBody: required: false content: @@ -132292,9 +133034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 responses: '204': description: Response @@ -132323,15 +133065,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *844 + - *847 responses: '200': description: Response content: application/json: - schema: *492 + schema: *495 examples: - default: *493 + default: *496 '403': *27 '404': *6 x-github: @@ -132358,7 +133100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *844 + - *847 requestBody: required: true content: @@ -132419,7 +133161,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -132450,7 +133192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -132460,9 +133202,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - response-if-child-teams-exist: *850 + response-if-child-teams-exist: *853 headers: Link: *42 '404': *6 @@ -132497,7 +133239,7 @@ paths: application/json: schema: oneOf: - - &852 + - &855 title: Private User description: Private User type: object @@ -132747,7 +133489,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *851 + - *854 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -132907,7 +133649,7 @@ paths: description: Response content: application/json: - schema: *852 + schema: *855 examples: default: value: @@ -132986,7 +133728,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '304': *32 '404': *6 '403': *27 @@ -133110,9 +133852,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 '304': *32 '500': *35 '401': *23 @@ -133251,21 +133993,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -133305,7 +134047,7 @@ paths: type: integer secrets: type: array - items: &853 + items: &856 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -133347,7 +134089,7 @@ paths: - visibility - selected_repositories_url examples: - default: *599 + default: *602 headers: Link: *42 x-github: @@ -133419,13 +134161,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *853 + schema: *856 examples: default: value: @@ -133455,7 +134197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 requestBody: required: true content: @@ -133500,7 +134242,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -133528,7 +134270,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 responses: '204': description: Response @@ -133553,7 +134295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *290 + - *293 responses: '200': description: Response @@ -133569,9 +134311,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *334 + default: *337 '401': *23 '403': *27 '404': *6 @@ -133596,7 +134338,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *290 + - *293 requestBody: required: true content: @@ -133650,7 +134392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *290 + - *293 - name: repository_id in: path required: true @@ -133683,7 +134425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *290 + - *293 - name: repository_id in: path required: true @@ -133715,15 +134457,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '304': *32 '500': *35 '401': *23 @@ -133749,7 +134491,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 requestBody: required: false content: @@ -133779,9 +134521,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 @@ -133803,7 +134545,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '202': *34 '304': *32 @@ -133832,13 +134574,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '202': description: Response content: application/json: - schema: &854 + schema: &857 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -133891,7 +134633,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &855 + default: &858 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -133923,7 +134665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *396 + - *399 - name: export_id in: path required: true @@ -133936,9 +134678,9 @@ paths: description: Response content: application/json: - schema: *854 + schema: *857 examples: - default: *855 + default: *858 '404': *6 x-github: githubCloudOnly: false @@ -133959,7 +134701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *396 + - *399 responses: '200': description: Response @@ -133975,9 +134717,9 @@ paths: type: integer machines: type: array - items: *598 + items: *601 examples: - default: *856 + default: *859 '304': *32 '500': *35 '401': *23 @@ -134006,7 +134748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *396 + - *399 requestBody: required: true content: @@ -134062,11 +134804,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *495 + repository: *498 machine: anyOf: - type: 'null' - - *598 + - *601 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -134863,15 +135605,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '304': *32 '500': *35 '400': *14 @@ -134903,15 +135645,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '500': *35 '401': *23 '403': *27 @@ -134941,9 +135683,9 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: &868 + default: &871 value: - id: 197 name: hello_docker @@ -135044,7 +135786,7 @@ paths: application/json: schema: type: array - items: &857 + items: &860 title: Email description: Email type: object @@ -135114,9 +135856,9 @@ paths: application/json: schema: type: array - items: *857 + items: *860 examples: - default: &870 + default: &873 value: - email: octocat@github.com verified: true @@ -135193,7 +135935,7 @@ paths: application/json: schema: type: array - items: *857 + items: *860 examples: default: value: @@ -135305,7 +136047,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '304': *32 @@ -135338,7 +136080,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '304': *32 @@ -135451,7 +136193,7 @@ paths: application/json: schema: type: array - items: &858 + items: &861 title: GPG Key description: A unique encryption key type: object @@ -135596,7 +136338,7 @@ paths: - subkeys - revoked examples: - default: &887 + default: &890 value: - id: 3 name: Octocat's GPG Key @@ -135681,9 +136423,9 @@ paths: description: Response content: application/json: - schema: *858 + schema: *861 examples: - default: &859 + default: &862 value: id: 3 name: Octocat's GPG Key @@ -135740,7 +136482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &860 + - &863 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -135752,9 +136494,9 @@ paths: description: Response content: application/json: - schema: *858 + schema: *861 examples: - default: *859 + default: *862 '404': *6 '304': *32 '403': *27 @@ -135777,7 +136519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *860 + - *863 responses: '204': description: Response @@ -135979,7 +136721,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *275 + default: *278 headers: Link: *42 '404': *6 @@ -136005,7 +136747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *274 + - *277 responses: '204': description: Response @@ -136031,7 +136773,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *274 + - *277 responses: '204': description: Response @@ -136065,12 +136807,12 @@ paths: application/json: schema: anyOf: - - *381 + - *384 - type: object properties: {} additionalProperties: false examples: - default: *382 + default: *385 '204': description: Response when there are no restrictions x-github: @@ -136094,7 +136836,7 @@ paths: required: true content: application/json: - schema: *676 + schema: *679 examples: default: value: @@ -136105,7 +136847,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -136186,7 +136928,7 @@ paths: - closed - all default: open - - *392 + - *395 - name: sort description: What to sort results by. in: query @@ -136199,7 +136941,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -136209,9 +136951,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *393 + default: *396 headers: Link: *42 '404': *6 @@ -136244,7 +136986,7 @@ paths: application/json: schema: type: array - items: &861 + items: &864 title: Key description: Key type: object @@ -136347,9 +137089,9 @@ paths: description: Response content: application/json: - schema: *861 + schema: *864 examples: - default: &862 + default: &865 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -136382,15 +137124,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *725 + - *728 responses: '200': description: Response content: application/json: - schema: *861 + schema: *864 examples: - default: *862 + default: *865 '404': *6 '304': *32 '403': *27 @@ -136413,7 +137155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *725 + - *728 responses: '204': description: Response @@ -136446,7 +137188,7 @@ paths: application/json: schema: type: array - items: &863 + items: &866 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -136514,7 +137256,7 @@ paths: - id - type - login - plan: *237 + plan: *240 required: - billing_cycle - next_billing_date @@ -136525,7 +137267,7 @@ paths: - account - plan examples: - default: &864 + default: &867 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -136587,9 +137329,9 @@ paths: application/json: schema: type: array - items: *863 + items: *866 examples: - default: *864 + default: *867 headers: Link: *42 '304': *32 @@ -136629,7 +137371,7 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: default: value: @@ -136743,7 +137485,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: default: value: @@ -136830,9 +137572,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *397 + schema: *400 examples: - default: &865 + default: &868 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -136879,9 +137621,9 @@ paths: processed asynchronously. content: application/json: - schema: *397 + schema: *400 examples: - default: *865 + default: *868 '403': *27 '404': *6 '422': *15 @@ -136910,7 +137652,7 @@ paths: application/json: schema: type: array - items: *399 + items: *402 examples: default: value: @@ -137172,7 +137914,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -137352,7 +138094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *400 + - *403 - name: exclude in: query required: false @@ -137365,7 +138107,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -137559,7 +138301,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *400 + - *403 responses: '302': description: Response @@ -137585,7 +138327,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *400 + - *403 responses: '204': description: Response @@ -137614,8 +138356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *400 - - *866 + - *403 + - *869 responses: '204': description: Response @@ -137639,7 +138381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *400 + - *403 - *17 - *19 responses: @@ -137649,9 +138391,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 '404': *6 @@ -137688,7 +138430,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: *42 '304': *32 @@ -137730,7 +138472,7 @@ paths: - docker - nuget - container - - *867 + - *870 - *19 - *17 responses: @@ -137740,10 +138482,10 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *868 - '400': *869 + default: *871 + '400': *872 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -137763,16 +138505,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 responses: '200': description: Response content: application/json: - schema: *404 + schema: *407 examples: - default: &888 + default: &891 value: id: 40201 name: octo-name @@ -137885,8 +138627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 responses: '204': description: Response @@ -137916,8 +138658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 - name: token description: package token schema: @@ -137949,8 +138691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 - *19 - *17 - name: state @@ -137970,7 +138712,7 @@ paths: application/json: schema: type: array - items: *408 + items: *411 examples: default: value: @@ -138019,15 +138761,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -138063,9 +138805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '204': description: Response @@ -138095,9 +138837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '204': description: Response @@ -138134,9 +138876,9 @@ paths: application/json: schema: type: array - items: *857 + items: *860 examples: - default: *870 + default: *873 headers: Link: *42 '304': *32 @@ -138249,7 +138991,7 @@ paths: type: array items: *75 examples: - default: &877 + default: &880 summary: Default response value: - id: 1296269 @@ -138567,9 +139309,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -138607,9 +139349,9 @@ paths: application/json: schema: type: array - items: *679 + items: *682 examples: - default: *871 + default: *874 headers: Link: *42 '304': *32 @@ -138632,7 +139374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *385 + - *388 responses: '204': description: Response @@ -138655,7 +139397,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *385 + - *388 responses: '204': description: Response @@ -138688,7 +139430,7 @@ paths: application/json: schema: type: array - items: &872 + items: &875 title: Social account description: Social media account type: object @@ -138705,7 +139447,7 @@ paths: - provider - url examples: - default: &873 + default: &876 value: - provider: twitter url: https://twitter.com/github @@ -138768,9 +139510,9 @@ paths: application/json: schema: type: array - items: *872 + items: *875 examples: - default: *873 + default: *876 '422': *15 '304': *32 '404': *6 @@ -138858,7 +139600,7 @@ paths: application/json: schema: type: array - items: &874 + items: &877 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -138878,7 +139620,7 @@ paths: - title - created_at examples: - default: &902 + default: &905 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -138943,9 +139685,9 @@ paths: description: Response content: application/json: - schema: *874 + schema: *877 examples: - default: &875 + default: &878 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -138975,7 +139717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &876 + - &879 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -138987,9 +139729,9 @@ paths: description: Response content: application/json: - schema: *874 + schema: *877 examples: - default: *875 + default: *878 '404': *6 '304': *32 '403': *27 @@ -139012,7 +139754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *876 + - *879 responses: '204': description: Response @@ -139041,7 +139783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &903 + - &906 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 @@ -139066,11 +139808,11 @@ paths: type: array items: *75 examples: - default-response: *877 + default-response: *880 application/vnd.github.v3.star+json: schema: type: array - items: &904 + items: &907 title: Starred Repository description: Starred Repository type: object @@ -139226,8 +139968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response if this repository is starred by you @@ -139255,8 +139997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -139280,8 +140022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -139314,9 +140056,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 '304': *32 @@ -139353,7 +140095,7 @@ paths: application/json: schema: type: array - items: *482 + items: *485 examples: default: value: @@ -139431,7 +140173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *239 + - *242 responses: '200': description: Response @@ -139439,10 +140181,10 @@ paths: application/json: schema: oneOf: - - *852 - - *851 + - *855 + - *854 examples: - default-response: &881 + default-response: &884 summary: Default response value: login: octocat @@ -139477,7 +140219,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &882 + response-with-git-hub-plan-information: &885 summary: Response with GitHub plan information value: login: octocat @@ -139534,14 +140276,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &879 + - &882 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *422 + - *425 requestBody: required: true description: Details of the draft item to create in the project. @@ -139575,9 +140317,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: - draft_issue: *428 + draft_issue: *431 '304': *32 '403': *27 '401': *23 @@ -139600,7 +140342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *878 + - *881 - *17 responses: '200': @@ -139611,7 +140353,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: example: ; rel="next" @@ -139635,8 +140377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *879 - - *422 + - *882 + - *425 requestBody: required: true content: @@ -139751,17 +140493,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *880 + schema: *883 examples: table_view: summary: Response for creating a table view - value: *432 + value: *435 board_view: summary: Response for creating a board view with filter - value: *432 + value: *435 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *435 '304': *32 '403': *27 '401': *23 @@ -139807,11 +140549,11 @@ paths: application/json: schema: oneOf: - - *852 - - *851 + - *855 + - *854 examples: - default-response: *881 - response-with-git-hub-plan-information: *882 + default-response: *884 + response-with-git-hub-plan-information: *885 '404': *6 x-github: githubCloudOnly: false @@ -139861,8 +140603,8 @@ paths: required: - subject_digests examples: - default: *883 - withPredicateType: *884 + default: *886 + withPredicateType: *887 responses: '200': description: Response @@ -139916,7 +140658,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *885 + default: *888 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -140121,12 +140863,12 @@ paths: initiator: type: string examples: - default: *536 + default: *539 '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -140188,7 +140930,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *330 + items: *333 examples: default: summary: Example response for listing user copilot spaces @@ -140403,9 +141145,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: &886 + default: &889 summary: Example response for a user copilot space value: id: 42 @@ -140504,9 +141246,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *886 + default: *889 '403': *27 '404': *6 x-github: @@ -140630,9 +141372,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *886 + default: *889 '403': *27 '404': *6 '422': *15 @@ -140709,7 +141451,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *332 + items: *335 examples: default: value: @@ -140852,7 +141594,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: default: value: @@ -140963,7 +141705,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: default: value: @@ -141093,7 +141835,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *333 + items: *336 examples: default: value: @@ -141185,7 +141927,7 @@ paths: description: Resource created content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -141201,7 +141943,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -141254,7 +141996,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -141321,7 +142063,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -141398,9 +142140,9 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *868 + default: *871 '403': *27 '401': *23 x-github: @@ -141433,7 +142175,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -141506,7 +142248,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -141593,7 +142335,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -141666,7 +142408,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -141700,7 +142442,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -141747,7 +142489,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *127 - - *226 + - *229 - *17 - *19 responses: @@ -141757,9 +142499,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '422': *15 @@ -141790,9 +142532,9 @@ paths: application/json: schema: type: array - items: *858 + items: *861 examples: - default: *887 + default: *890 headers: Link: *42 x-github: @@ -141896,7 +142638,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141982,7 +142724,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: *42 x-github: @@ -142021,7 +142763,7 @@ paths: - docker - nuget - container - - *867 + - *870 - *127 - *19 - *17 @@ -142032,12 +142774,12 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *868 + default: *871 '403': *27 '401': *23 - '400': *869 + '400': *872 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -142057,17 +142799,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '200': description: Response content: application/json: - schema: *404 + schema: *407 examples: - default: *888 + default: *891 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -142088,8 +142830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '204': @@ -142122,8 +142864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 - name: token description: package token @@ -142156,8 +142898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '200': @@ -142166,7 +142908,7 @@ paths: application/json: schema: type: array - items: *408 + items: *411 examples: default: value: @@ -142224,16 +142966,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 - *127 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -142268,10 +143010,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *406 - - *407 - - *127 - *409 + - *410 + - *127 + - *412 responses: '204': description: Response @@ -142303,10 +143045,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *406 - - *407 - - *127 - *409 + - *410 + - *127 + - *412 responses: '204': description: Response @@ -142347,9 +143089,9 @@ paths: application/json: schema: type: array - items: *420 + items: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -142371,16 +143113,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *422 + - *425 - *127 responses: '200': description: Response content: application/json: - schema: *420 + schema: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -142402,7 +143144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *422 + - *425 - *127 - *17 - *105 @@ -142414,9 +143156,9 @@ paths: application/json: schema: type: array - items: *425 + items: *428 examples: - default: *889 + default: *892 headers: Link: *42 '304': *32 @@ -142438,7 +143180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *127 - - *422 + - *425 requestBody: required: true content: @@ -142476,7 +143218,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *890 + items: *893 required: - name - data_type @@ -142492,7 +143234,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *891 + iteration_configuration: *894 required: - name - data_type @@ -142514,20 +143256,20 @@ paths: value: name: Due date data_type: date - single_select_field: *892 - iteration_field: *893 + single_select_field: *895 + iteration_field: *896 responses: '201': description: Response content: application/json: - schema: *425 + schema: *428 examples: - text_field: *894 - number_field: *895 - date_field: *896 - single_select_field: *897 - iteration_field: *898 + text_field: *897 + number_field: *898 + date_field: *899 + single_select_field: *900 + iteration_field: *901 '304': *32 '403': *27 '401': *23 @@ -142548,17 +143290,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *422 - - *899 + - *425 + - *902 - *127 responses: '200': description: Response content: application/json: - schema: *425 + schema: *428 examples: - default: *900 + default: *903 headers: Link: *42 '304': *32 @@ -142581,7 +143323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *422 + - *425 - *127 - *105 - *106 @@ -142614,9 +143356,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -142638,7 +143380,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *127 - - *422 + - *425 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -142708,22 +143450,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *431 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *431 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *431 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *431 '304': *32 '403': *27 '401': *23 @@ -142743,9 +143485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *422 + - *425 - *127 - - *431 + - *434 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -142765,9 +143507,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -142788,9 +143530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *422 + - *425 - *127 - - *431 + - *434 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -142863,13 +143605,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *433 + number_field: *433 + date_field: *433 + single_select_field: *433 + iteration_field: *433 '401': *23 '403': *27 '404': *6 @@ -142889,9 +143631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *422 + - *425 - *127 - - *431 + - *434 responses: '204': description: Response @@ -142913,9 +143655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *422 + - *425 - *127 - - *901 + - *904 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -142941,9 +143683,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -142981,7 +143723,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -143056,7 +143798,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -143162,9 +143904,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -143194,9 +143936,9 @@ paths: application/json: schema: type: array - items: *872 + items: *875 examples: - default: *873 + default: *876 headers: Link: *42 x-github: @@ -143226,9 +143968,9 @@ paths: application/json: schema: type: array - items: *874 + items: *877 examples: - default: *902 + default: *905 headers: Link: *42 x-github: @@ -143255,7 +143997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *127 - - *903 + - *906 - *107 - *17 - *19 @@ -143267,11 +144009,11 @@ paths: schema: anyOf: - type: array - items: *904 + items: *907 - type: array items: *75 examples: - default-response: *877 + default-response: *880 headers: Link: *42 x-github: @@ -143300,9 +144042,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -143431,7 +144173,7 @@ webhooks: type: string enum: - disabled - enterprise: &905 + enterprise: &908 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -143500,7 +144242,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &906 + installation: &909 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -143521,7 +144263,7 @@ webhooks: required: - id - node_id - organization: &907 + organization: &910 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -143594,7 +144336,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &908 + repository: &911 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -143623,7 +144365,7 @@ webhooks: license: anyOf: - type: 'null' - - *223 + - *226 organization: anyOf: - type: 'null' @@ -144520,10 +145262,10 @@ webhooks: type: string enum: - enabled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -144599,11 +145341,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: &909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: &912 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -144826,11 +145568,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: *909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: *912 sender: *4 required: - action @@ -145018,11 +145760,11 @@ webhooks: - everyone required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: *909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: *912 sender: *4 required: - action @@ -145095,7 +145837,7 @@ webhooks: required: true content: application/json: - schema: &929 + schema: &932 title: Exemption request cancellation event type: object properties: @@ -145103,11 +145845,11 @@ webhooks: type: string enum: - cancelled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: &910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: &913 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -145416,7 +146158,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &911 + items: &914 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -145528,7 +146270,7 @@ webhooks: required: true content: application/json: - schema: &930 + schema: &933 title: Exemption request completed event type: object properties: @@ -145536,11 +146278,11 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 sender: *4 required: - action @@ -145612,7 +146354,7 @@ webhooks: required: true content: application/json: - schema: &927 + schema: &930 title: Exemption request created event type: object properties: @@ -145620,11 +146362,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 sender: *4 required: - action @@ -145696,7 +146438,7 @@ webhooks: required: true content: application/json: - schema: &931 + schema: &934 title: Exemption response dismissed event type: object properties: @@ -145704,12 +146446,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 - exemption_response: *911 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 + exemption_response: *914 sender: *4 required: - action @@ -145783,7 +146525,7 @@ webhooks: required: true content: application/json: - schema: &928 + schema: &931 title: Exemption response submitted event type: object properties: @@ -145791,12 +146533,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 - exemption_response: *911 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 + exemption_response: *914 sender: *4 required: - action @@ -145880,7 +146622,7 @@ webhooks: type: string enum: - completed - check_run: &913 + check_run: &916 title: CheckRun description: A check performed on the code of a given code change type: object @@ -145945,8 +146687,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *224 - repository: *280 + items: *227 + repository: *283 status: type: string enum: @@ -145990,7 +146732,7 @@ webhooks: - examples: - neutral - deployment: *912 + deployment: *915 details_url: type: string examples: @@ -146050,7 +146792,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *224 + items: *227 started_at: type: string format: date-time @@ -146088,10 +146830,10 @@ webhooks: - output - app - pull_requests - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -146482,11 +147224,11 @@ webhooks: type: string enum: - created - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -146880,11 +147622,11 @@ webhooks: type: string enum: - requested_action - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 requested_action: description: The action requested by the user. type: object @@ -147287,11 +148029,11 @@ webhooks: type: string enum: - rerequested - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -148276,10 +149018,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -148993,10 +149735,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -149704,10 +150446,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -149876,7 +150618,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -150029,20 +150771,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &914 + commit_oid: &917 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: *905 - installation: *906 - organization: *907 - ref: &915 + enterprise: *908 + installation: *909 + organization: *910 + ref: &918 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: *908 + repository: *911 sender: *4 required: - action @@ -150209,7 +150951,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -150451,12 +151193,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -150554,7 +151296,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -150739,12 +151481,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -150913,7 +151655,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151091,12 +151833,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -151197,7 +151939,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -151386,9 +152128,9 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -151396,7 +152138,7 @@ webhooks: type: - string - 'null' - repository: *908 + repository: *911 sender: *4 required: - action @@ -151495,7 +152237,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -151642,12 +152384,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -151816,7 +152558,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151969,10 +152711,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -152232,10 +152974,10 @@ webhooks: - updated_at - author_association - body - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -152316,18 +153058,18 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *907 - pusher_type: &916 + organization: *910 + pusher_type: &919 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &917 + ref: &920 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -152337,7 +153079,7 @@ webhooks: enum: - tag - branch - repository: *908 + repository: *911 sender: *4 required: - ref @@ -152419,10 +153161,10 @@ webhooks: type: string enum: - created - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -152507,9 +153249,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -152586,10 +153328,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -152666,10 +153408,10 @@ webhooks: type: string enum: - updated - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -152746,19 +153488,19 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - repository: *908 - organization: *907 + enterprise: *908 + installation: *909 + repository: *911 + organization: *910 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *153 + items: *156 old_property_values: type: array description: The old custom property values for the repository. - items: *153 + items: *156 required: - action - repository @@ -152834,18 +153576,18 @@ webhooks: title: delete event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - pusher_type: *916 - ref: *917 + enterprise: *908 + installation: *909 + organization: *910 + pusher_type: *919 + ref: *920 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *908 + repository: *911 sender: *4 required: - ref @@ -152925,11 +153667,11 @@ webhooks: type: string enum: - assignees_changed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153009,11 +153751,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153094,11 +153836,11 @@ webhooks: type: string enum: - auto_reopened - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153179,11 +153921,11 @@ webhooks: type: string enum: - created - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153262,11 +154004,11 @@ webhooks: type: string enum: - dismissed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153345,11 +154087,11 @@ webhooks: type: string enum: - fixed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153429,11 +154171,11 @@ webhooks: type: string enum: - reintroduced - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153512,11 +154254,11 @@ webhooks: type: string enum: - reopened - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153593,9 +154335,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - key: &918 + enterprise: *908 + installation: *909 + key: &921 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -153633,8 +154375,8 @@ webhooks: - verified - created_at - read_only - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -153711,11 +154453,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - key: *918 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + key: *921 + organization: *910 + repository: *911 sender: *4 required: - action @@ -154282,12 +155024,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: &922 + workflow: &925 title: Workflow type: - object @@ -155038,13 +155780,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *635 + - *638 pull_requests: type: array - items: *746 - repository: *908 - organization: *907 - installation: *906 + items: *749 + repository: *911 + organization: *910 + installation: *909 sender: *4 responses: '200': @@ -155115,7 +155857,7 @@ webhooks: type: string enum: - approved - approver: &919 + approver: &922 type: object properties: avatar_url: @@ -155158,11 +155900,11 @@ webhooks: type: string comment: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - reviewers: &920 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + reviewers: &923 type: array items: type: object @@ -155243,7 +155985,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &921 + workflow_job_run: &924 type: object properties: conclusion: @@ -155989,18 +156731,18 @@ webhooks: type: string enum: - rejected - approver: *919 + approver: *922 comment: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - reviewers: *920 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + reviewers: *923 sender: *4 since: type: string - workflow_job_run: *921 + workflow_job_run: *924 workflow_job_runs: type: array items: @@ -156717,13 +157459,13 @@ webhooks: type: string enum: - requested - enterprise: *905 + enterprise: *908 environment: type: string - installation: *906 - organization: *907 - repository: *908 - requestor: &932 + installation: *909 + organization: *910 + repository: *911 + requestor: &935 title: User type: - object @@ -158656,12 +159398,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Deployment Workflow Run type: @@ -159352,7 +160094,7 @@ webhooks: type: string enum: - answered - answer: &925 + answer: &928 type: object properties: author_association: @@ -159512,11 +160254,11 @@ webhooks: - created_at - updated_at - body - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159643,11 +160385,11 @@ webhooks: - from required: - category - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159730,11 +160472,11 @@ webhooks: type: string enum: - closed - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159816,7 +160558,7 @@ webhooks: type: string enum: - created - comment: &924 + comment: &927 type: object properties: author_association: @@ -159976,11 +160718,11 @@ webhooks: - updated_at - body - reactions - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160063,12 +160805,12 @@ webhooks: type: string enum: - deleted - comment: *924 - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + comment: *927 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160163,12 +160905,12 @@ webhooks: - from required: - body - comment: *924 - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + comment: *927 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160252,11 +160994,11 @@ webhooks: type: string enum: - created - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160338,11 +161080,11 @@ webhooks: type: string enum: - deleted - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160442,11 +161184,11 @@ webhooks: type: string required: - from - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160528,10 +161270,10 @@ webhooks: type: string enum: - labeled - discussion: *923 - enterprise: *905 - installation: *906 - label: &926 + discussion: *926 + enterprise: *908 + installation: *909 + label: &929 title: Label type: object properties: @@ -160580,8 +161322,8 @@ webhooks: - description - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160664,11 +161406,11 @@ webhooks: type: string enum: - locked - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160750,11 +161492,11 @@ webhooks: type: string enum: - pinned - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160836,11 +161578,11 @@ webhooks: type: string enum: - reopened - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160925,16 +161667,16 @@ webhooks: changes: type: object properties: - new_discussion: *923 - new_repository: *908 + new_discussion: *926 + new_repository: *911 required: - new_discussion - new_repository - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161017,10 +161759,10 @@ webhooks: type: string enum: - unanswered - discussion: *923 - old_answer: *925 - organization: *907 - repository: *908 + discussion: *926 + old_answer: *928 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161102,12 +161844,12 @@ webhooks: type: string enum: - unlabeled - discussion: *923 - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161190,11 +161932,11 @@ webhooks: type: string enum: - unlocked - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161276,11 +162018,11 @@ webhooks: type: string enum: - unpinned - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161349,7 +162091,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161412,7 +162154,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161475,7 +162217,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161538,7 +162280,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161601,7 +162343,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161667,7 +162409,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161733,7 +162475,7 @@ webhooks: required: true content: application/json: - schema: *930 + schema: *933 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161799,7 +162541,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161865,7 +162607,7 @@ webhooks: required: true content: application/json: - schema: *931 + schema: *934 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161931,7 +162673,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161996,7 +162738,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162061,7 +162803,7 @@ webhooks: required: true content: application/json: - schema: *930 + schema: *933 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162126,7 +162868,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162191,7 +162933,7 @@ webhooks: required: true content: application/json: - schema: *931 + schema: *934 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162257,7 +162999,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162324,7 +163066,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *905 + enterprise: *908 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -163002,9 +163744,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - forkee @@ -163150,9 +163892,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pages: description: The pages that were updated. type: array @@ -163190,7 +163932,7 @@ webhooks: - action - sha - html_url - repository: *908 + repository: *911 sender: *4 required: - pages @@ -163266,10 +164008,10 @@ webhooks: type: string enum: - created - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: &933 + organization: *910 + repositories: &936 description: An array of repository objects that the installation can access. type: array @@ -163295,8 +164037,8 @@ webhooks: - name - full_name - private - repository: *908 - requester: *932 + repository: *911 + requester: *935 sender: *4 required: - action @@ -163371,11 +164113,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -163452,11 +164194,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -163533,10 +164275,10 @@ webhooks: type: string enum: - added - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories_added: &934 + organization: *910 + repositories_added: &937 description: An array of repository objects, which were added to the installation. type: array @@ -163583,15 +164325,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *908 - repository_selection: &935 + repository: *911 + repository_selection: &938 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *932 + requester: *935 sender: *4 required: - action @@ -163670,10 +164412,10 @@ webhooks: type: string enum: - removed - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories_added: *934 + organization: *910 + repositories_added: *937 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -163701,9 +164443,9 @@ webhooks: - name - full_name - private - repository: *908 - repository_selection: *935 - requester: *932 + repository: *911 + repository_selection: *938 + requester: *935 sender: *4 required: - action @@ -163782,11 +164524,11 @@ webhooks: type: string enum: - suspend - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -163969,10 +164711,10 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 target_type: type: string @@ -164051,11 +164793,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -164221,11 +164963,11 @@ webhooks: pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 user: title: User type: @@ -164311,8 +165053,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -165124,8 +165866,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165142,7 +165884,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -165486,8 +166228,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -165567,7 +166309,7 @@ webhooks: type: string enum: - deleted - comment: &936 + comment: &939 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -165724,11 +166466,11 @@ webhooks: pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 required: - url - html_url @@ -165742,8 +166484,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -166551,8 +167293,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166569,7 +167311,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -166915,8 +167657,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -166996,7 +167738,7 @@ webhooks: type: string enum: - edited - changes: &960 + changes: &963 description: The changes to the comment. type: object properties: @@ -167008,9 +167750,9 @@ webhooks: type: string required: - from - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167821,8 +168563,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167839,7 +168581,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -168183,8 +168925,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -168265,9 +169007,9 @@ webhooks: type: string enum: - pinned - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -169080,8 +169822,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169098,7 +169840,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -169444,8 +170186,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -169525,9 +170267,9 @@ webhooks: type: string enum: - unpinned - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -170340,8 +171082,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170358,7 +171100,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -170704,8 +171446,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170788,15 +171530,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *224 blocking_issue_repo: *75 - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170879,15 +171621,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *224 blocking_issue_repo: *75 - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170969,15 +171711,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocked_issue_repo: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *906 - organization: *907 - repository: *908 + blocking_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -171060,15 +171802,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocked_issue_repo: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *906 - organization: *907 - repository: *908 + blocking_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -171148,10 +171890,10 @@ webhooks: type: string enum: - assigned - assignee: *932 - enterprise: *905 - installation: *906 - issue: &937 + assignee: *935 + enterprise: *908 + installation: *909 + issue: &940 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171961,12 +172703,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171983,7 +172725,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -172086,8 +172828,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -172167,8 +172909,8 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -172983,12 +173725,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173005,7 +173747,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -173251,8 +173993,8 @@ webhooks: required: - state - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -173331,8 +174073,8 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174138,12 +174880,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174160,7 +174902,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -174262,8 +175004,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -174342,8 +175084,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175172,12 +175914,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175194,7 +175936,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -175275,7 +176017,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &938 + milestone: &941 title: Milestone description: A collection of related issues and pull requests. type: object @@ -175418,8 +176160,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -175518,8 +176260,8 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176329,12 +177071,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176348,7 +177090,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -176454,9 +177196,9 @@ webhooks: - active_lock_reason - body - reactions - label: *926 - organization: *907 - repository: *908 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -176536,9 +177278,9 @@ webhooks: type: string enum: - field_added - enterprise: *905 - installation: *906 - issue: *937 + enterprise: *908 + installation: *909 + issue: *940 issue_field: type: object description: The issue field whose value was set or updated on the @@ -176704,8 +177446,8 @@ webhooks: - id required: - from - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -176785,9 +177527,9 @@ webhooks: type: string enum: - field_removed - enterprise: *905 - installation: *906 - issue: *937 + enterprise: *908 + installation: *909 + issue: *940 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -176874,8 +177616,8 @@ webhooks: - 'null' required: - id - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -176955,8 +177697,8 @@ webhooks: type: string enum: - labeled - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177781,12 +178523,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177800,7 +178542,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -177906,9 +178648,9 @@ webhooks: - active_lock_reason - body - reactions - label: *926 - organization: *907 - repository: *908 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -177988,8 +178730,8 @@ webhooks: type: string enum: - locked - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178823,12 +179565,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178842,7 +179584,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -178925,8 +179667,8 @@ webhooks: format: uri user_view_type: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -179005,8 +179747,8 @@ webhooks: type: string enum: - milestoned - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179834,12 +180576,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179856,7 +180598,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -179936,9 +180678,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *938 - organization: *907 - repository: *908 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -180825,11 +181567,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180856,7 +181598,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *225 user: title: User type: @@ -180929,7 +181671,7 @@ webhooks: required: - login - id - type: *389 + type: *392 required: - id - number @@ -181421,8 +182163,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -182229,11 +182971,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -182250,7 +182992,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -182261,7 +183003,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *225 user: title: User type: @@ -182356,8 +183098,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -182437,9 +183179,9 @@ webhooks: type: string enum: - pinned - enterprise: *905 - installation: *906 - issue: &939 + enterprise: *908 + installation: *909 + issue: &942 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -183243,12 +183985,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -183265,7 +184007,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -183367,8 +184109,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -183447,8 +184189,8 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -184280,12 +185022,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -184382,9 +185124,9 @@ webhooks: format: uri user_view_type: type: string - type: *389 - organization: *907 - repository: *908 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -185271,12 +186013,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -185293,7 +186035,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -185886,11 +186628,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *905 - installation: *906 - issue: *939 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *942 + organization: *910 + repository: *911 sender: *4 required: - action @@ -185970,12 +186712,12 @@ webhooks: type: string enum: - typed - enterprise: *905 - installation: *906 - issue: *937 - type: *389 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -186056,7 +186798,7 @@ webhooks: type: string enum: - unassigned - assignee: &963 + assignee: &966 title: User type: - object @@ -186128,11 +186870,11 @@ webhooks: required: - login - id - enterprise: *905 - installation: *906 - issue: *937 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + organization: *910 + repository: *911 sender: *4 required: - action @@ -186211,12 +186953,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *905 - installation: *906 - issue: *937 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -186296,8 +187038,8 @@ webhooks: type: string enum: - unlocked - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -187129,12 +187871,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -187151,7 +187893,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -187231,8 +187973,8 @@ webhooks: format: uri user_view_type: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187312,11 +188054,11 @@ webhooks: type: string enum: - unpinned - enterprise: *905 - installation: *906 - issue: *939 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *942 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187395,12 +188137,12 @@ webhooks: type: string enum: - untyped - enterprise: *905 - installation: *906 - issue: *937 - type: *389 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187480,12 +188222,12 @@ webhooks: type: string enum: - archived - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 label: title: Archived label allOf: - - *926 + - *929 - type: object properties: archived_at: @@ -187499,8 +188241,8 @@ webhooks: required: - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187579,11 +188321,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187661,11 +188403,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187775,11 +188517,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187858,12 +188600,12 @@ webhooks: type: string enum: - unarchived - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 label: title: Unarchived label allOf: - - *926 + - *929 - type: object properties: archived_at: @@ -187883,8 +188625,8 @@ webhooks: required: - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187966,9 +188708,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: &940 + enterprise: *908 + installation: *909 + marketplace_purchase: &943 title: Marketplace Purchase type: object required: @@ -188056,8 +188798,8 @@ webhooks: type: integer unit_count: type: integer - organization: *907 - previous_marketplace_purchase: &941 + organization: *910 + previous_marketplace_purchase: &944 title: Marketplace Purchase type: object properties: @@ -188141,7 +188883,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -188221,10 +188963,10 @@ webhooks: - changed effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -188312,7 +189054,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -188394,10 +189136,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -188483,7 +189225,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -188564,8 +189306,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 marketplace_purchase: title: Marketplace Purchase type: object @@ -188651,9 +189393,9 @@ webhooks: type: integer unit_count: type: integer - organization: *907 - previous_marketplace_purchase: *941 - repository: *908 + organization: *910 + previous_marketplace_purchase: *944 + repository: *911 sender: *4 required: - action @@ -188733,12 +189475,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 - previous_marketplace_purchase: *941 - repository: *908 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 + previous_marketplace_purchase: *944 + repository: *911 sender: *4 required: - action @@ -188840,11 +189582,11 @@ webhooks: type: string required: - to - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188946,11 +189688,11 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189029,11 +189771,11 @@ webhooks: type: string enum: - removed - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189111,11 +189853,11 @@ webhooks: type: string enum: - added - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 scope: description: The scope of the membership. Currently, can only be `team`. @@ -189193,7 +189935,7 @@ webhooks: required: - login - id - team: &942 + team: &945 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -189423,11 +190165,11 @@ webhooks: type: string enum: - removed - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 scope: description: The scope of the membership. Currently, can only be `team`. @@ -189506,7 +190248,7 @@ webhooks: required: - login - id - team: *942 + team: *945 required: - action - scope @@ -189588,8 +190330,8 @@ webhooks: type: string enum: - checks_requested - installation: *906 - merge_group: &943 + installation: *909 + merge_group: &946 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -189608,15 +190350,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *556 + head_commit: *559 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189702,10 +190444,10 @@ webhooks: - merged - invalidated - dequeued - installation: *906 - merge_group: *943 - organization: *907 - repository: *908 + installation: *909 + merge_group: *946 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189778,7 +190520,7 @@ webhooks: type: string enum: - deleted - enterprise: *905 + enterprise: *908 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -189887,12 +190629,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *906 - organization: *907 + installation: *909 + organization: *910 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -189972,11 +190714,11 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190055,9 +190797,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - milestone: &944 + enterprise: *908 + installation: *909 + milestone: &947 title: Milestone description: A collection of related issues and pull requests. type: object @@ -190199,8 +190941,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190279,11 +191021,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190393,11 +191135,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190477,11 +191219,11 @@ webhooks: type: string enum: - opened - enterprise: *905 - installation: *906 - milestone: *944 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *947 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190560,11 +191302,11 @@ webhooks: type: string enum: - blocked - blocked_user: *932 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + blocked_user: *935 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190643,11 +191385,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *932 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + blocked_user: *935 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190722,8 +191464,8 @@ webhooks: type: string enum: - created - definition: *149 - enterprise: *905 + definition: *152 + enterprise: *908 sender: *4 required: - action @@ -190803,8 +191545,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 sender: *4 required: - action @@ -190876,9 +191618,9 @@ webhooks: type: string enum: - updated - definition: *149 - enterprise: *905 - installation: *906 + definition: *152 + enterprise: *908 + installation: *909 sender: *4 required: - action @@ -190950,18 +191692,18 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 new_property_values: type: array description: The new custom property values. - items: *153 + items: *156 old_property_values: type: array description: The old custom property values. - items: *153 + items: *156 required: - action - organization @@ -191040,9 +191782,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - membership: &945 + enterprise: *908 + installation: *909 + membership: &948 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -191152,8 +191894,8 @@ webhooks: - role - organization_url - user - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191231,11 +191973,11 @@ webhooks: type: string enum: - member_added - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191314,8 +192056,8 @@ webhooks: type: string enum: - member_invited - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -191437,10 +192179,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 - user: *932 + user: *935 required: - action - invitation @@ -191518,11 +192260,11 @@ webhooks: type: string enum: - member_removed - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191609,11 +192351,11 @@ webhooks: properties: from: type: string - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191691,9 +192433,9 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 package: description: Information about the package. type: object @@ -192216,7 +192958,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &946 + items: &949 title: Ruby Gems metadata type: object properties: @@ -192313,7 +193055,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -192390,9 +193132,9 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 package: description: Information about the package. type: object @@ -192754,7 +193496,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *946 + items: *949 source_url: type: string format: uri @@ -192825,7 +193567,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -193005,12 +193747,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *905 + enterprise: *908 id: type: integer - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - id @@ -193087,7 +193829,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &947 + personal_access_token_request: &950 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -193237,10 +193979,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *905 - organization: *907 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -193317,11 +194059,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *947 - enterprise: *905 - organization: *907 + personal_access_token_request: *950 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -193397,11 +194139,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *947 - enterprise: *905 - organization: *907 + personal_access_token_request: *950 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -193476,11 +194218,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *947 - organization: *907 - enterprise: *905 + personal_access_token_request: *950 + organization: *910 + enterprise: *908 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -193585,7 +194327,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *948 + last_response: *951 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -193617,8 +194359,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 zen: description: Random string of GitHub zen. @@ -193863,10 +194605,10 @@ webhooks: - from required: - note - enterprise: *905 - installation: *906 - organization: *907 - project_card: &949 + enterprise: *908 + installation: *909 + organization: *910 + project_card: &952 title: Project Card type: object properties: @@ -193989,7 +194731,7 @@ webhooks: - creator - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -194070,11 +194812,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project_card: *949 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_card: *952 + repository: *911 sender: *4 required: - action @@ -194154,9 +194896,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 project_card: title: Project Card type: object @@ -194286,7 +195028,7 @@ webhooks: repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -194380,11 +195122,11 @@ webhooks: - from required: - note - enterprise: *905 - installation: *906 - organization: *907 - project_card: *949 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_card: *952 + repository: *911 sender: *4 required: - action @@ -194478,9 +195220,9 @@ webhooks: - from required: - column_id - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 project_card: allOf: - title: Project Card @@ -194677,7 +195419,7 @@ webhooks: type: string required: - after_id - repository: *908 + repository: *911 sender: *4 required: - action @@ -194757,10 +195499,10 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - organization: *907 - project: &951 + enterprise: *908 + installation: *909 + organization: *910 + project: &954 title: Project type: object properties: @@ -194887,7 +195629,7 @@ webhooks: - creator - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -194967,10 +195709,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project_column: &950 + enterprise: *908 + installation: *909 + organization: *910 + project_column: &953 title: Project Column type: object properties: @@ -195010,7 +195752,7 @@ webhooks: - name - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -195089,14 +195831,14 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -195185,11 +195927,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 + repository: *911 sender: *4 required: - action @@ -195269,11 +196011,11 @@ webhooks: type: string enum: - moved - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 + repository: *911 sender: *4 required: - action @@ -195353,11 +196095,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -195437,14 +196179,14 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - project: *951 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -195545,11 +196287,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -195628,11 +196370,11 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -195713,9 +196455,9 @@ webhooks: type: string enum: - closed - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -195796,9 +196538,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -195879,9 +196621,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -196002,9 +196744,9 @@ webhooks: type: string to: type: string - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -196087,7 +196829,7 @@ webhooks: type: string enum: - archived - changes: &955 + changes: &958 type: object properties: archived_at: @@ -196103,9 +196845,9 @@ webhooks: - string - 'null' format: date-time - installation: *906 - organization: *907 - projects_v2_item: &952 + installation: *909 + organization: *910 + projects_v2_item: &955 title: Projects v2 Item description: An item belonging to a project type: object @@ -196123,7 +196865,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *426 + content_type: *429 creator: *4 created_at: type: string @@ -196245,9 +196987,9 @@ webhooks: - 'null' to: type: string - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196329,9 +197071,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196412,9 +197154,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196519,7 +197261,7 @@ webhooks: oneOf: - type: string - type: integer - - &953 + - &956 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -196543,7 +197285,7 @@ webhooks: required: - id - name - - &954 + - &957 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -196583,8 +197325,8 @@ webhooks: oneOf: - type: string - type: integer - - *953 - - *954 + - *956 + - *957 type: - 'null' - string @@ -196607,9 +197349,9 @@ webhooks: - 'null' required: - body - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196706,9 +197448,9 @@ webhooks: type: - string - 'null' - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196791,10 +197533,10 @@ webhooks: type: string enum: - restored - changes: *955 - installation: *906 - organization: *907 - projects_v2_item: *952 + changes: *958 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196876,9 +197618,9 @@ webhooks: type: string enum: - reopened - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -196959,9 +197701,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -197042,9 +197784,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -197190,9 +197932,9 @@ webhooks: - string - 'null' format: date - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -197263,10 +198005,10 @@ webhooks: title: public event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - repository @@ -197343,13 +198085,13 @@ webhooks: type: string enum: - assigned - assignee: *932 - enterprise: *905 - installation: *906 - number: &957 + assignee: *935 + enterprise: *908 + installation: *909 + number: &960 description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -199592,7 +200334,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -199721,7 +200463,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -199803,10 +200545,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -202040,7 +202782,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -202171,7 +202913,7 @@ webhooks: - draft reason: type: string - repository: *908 + repository: *911 sender: *4 required: - action @@ -202253,10 +202995,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -204490,7 +205232,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -204621,7 +205363,7 @@ webhooks: - draft reason: type: string - repository: *908 + repository: *911 sender: *4 required: - action @@ -204703,13 +205445,13 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: &958 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: &961 allOf: - - *746 + - *749 - type: object properties: allow_auto_merge: @@ -204771,7 +205513,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *908 + repository: *911 sender: *4 required: - action @@ -204852,12 +205594,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -204937,12 +205679,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *905 - installation: *906 - milestone: *423 - number: *957 - organization: *907 - pull_request: &959 + enterprise: *908 + installation: *909 + milestone: *426 + number: *960 + organization: *910 + pull_request: &962 title: Pull Request type: object properties: @@ -207163,7 +207905,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -207292,7 +208034,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -207372,10 +208114,10 @@ webhooks: type: string enum: - dequeued - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -209600,7 +210342,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -209744,7 +210486,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *908 + repository: *911 sender: *4 required: - action @@ -209868,12 +210610,12 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -209954,10 +210696,10 @@ webhooks: type: string enum: - enqueued - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -212182,7 +212924,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -212311,7 +213053,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -212391,11 +213133,11 @@ webhooks: type: string enum: - labeled - enterprise: *905 - installation: *906 - label: *926 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + label: *929 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -214653,7 +215395,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -214782,7 +215524,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -214863,10 +215605,10 @@ webhooks: type: string enum: - locked - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -217106,7 +217848,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -217235,7 +217977,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -217315,13 +218057,13 @@ webhooks: type: string enum: - milestoned - enterprise: *905 - installation: *906 - milestone: *423 - number: *957 - organization: *907 - pull_request: *959 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *426 + number: *960 + organization: *910 + pull_request: *962 + repository: *911 sender: *4 required: - action @@ -217401,12 +218143,12 @@ webhooks: type: string enum: - opened - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -217487,12 +218229,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -217572,12 +218314,12 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -217952,9 +218694,9 @@ webhooks: - start_side - side - reactions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -220083,7 +220825,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -220207,7 +220949,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -220287,7 +221029,7 @@ webhooks: type: string enum: - deleted - comment: &961 + comment: &964 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -220580,9 +221322,9 @@ webhooks: - start_side - side - reactions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -222699,7 +223441,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -222823,7 +223565,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -222903,11 +223645,11 @@ webhooks: type: string enum: - edited - changes: *960 - comment: *961 - enterprise: *905 - installation: *906 - organization: *907 + changes: *963 + comment: *964 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -225027,7 +225769,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -225151,7 +225893,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -225232,9 +225974,9 @@ webhooks: type: string enum: - dismissed - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -227364,7 +228106,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -227490,7 +228232,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 review: description: The review that was affected. type: object @@ -227741,9 +228483,9 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -229857,8 +230599,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 - review: &962 + repository: *911 + review: &965 description: The review that was affected. type: object properties: @@ -230096,12 +230838,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -232342,7 +233084,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -232471,7 +233213,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_reviewer: title: User type: @@ -232557,12 +233299,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -234810,7 +235552,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -234939,7 +235681,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_team: title: Team description: Groups of organization members that gives permissions @@ -235134,12 +235876,12 @@ webhooks: type: string enum: - review_requested - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -237381,7 +238123,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -237511,7 +238253,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_reviewer: title: User type: @@ -237598,12 +238340,12 @@ webhooks: type: string enum: - review_requested - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -239836,7 +240578,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -239966,7 +240708,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_team: title: Team description: Groups of organization members that gives permissions @@ -240150,9 +240892,9 @@ webhooks: type: string enum: - submitted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -242285,7 +243027,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -242411,8 +243153,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 - review: *962 + repository: *911 + review: *965 sender: *4 required: - action @@ -242492,9 +243234,9 @@ webhooks: type: string enum: - resolved - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -244522,7 +245264,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -244648,7 +245390,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 sender: *4 thread: type: object @@ -245045,9 +245787,9 @@ webhooks: type: string enum: - unresolved - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -247059,7 +247801,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -247184,7 +247926,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 sender: *4 thread: type: object @@ -247577,11 +248319,11 @@ webhooks: type: string enum: - stacked - enterprise: *905 - installation: *906 - stack: *743 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + stack: *746 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -249823,7 +250565,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -249952,7 +250694,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -250038,10 +250780,10 @@ webhooks: type: string before: type: string - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -252270,7 +253012,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -252399,7 +253141,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -252481,11 +253223,11 @@ webhooks: type: string enum: - unassigned - assignee: *963 - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + assignee: *966 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -254729,7 +255471,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -254858,7 +255600,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -254938,11 +255680,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *905 - installation: *906 - label: *926 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + label: *929 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -257175,7 +257917,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -257304,7 +258046,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -257385,10 +258127,10 @@ webhooks: type: string enum: - unlocked - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -259612,7 +260354,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -259740,7 +260482,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -259943,7 +260685,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *905 + enterprise: *908 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -260038,8 +260780,8 @@ webhooks: - url - author - committer - installation: *906 - organization: *907 + installation: *909 + organization: *910 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -260638,9 +261380,9 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 registry_package: type: object properties: @@ -261117,7 +261859,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *946 + items: *949 summary: type: string tag_name: @@ -261173,7 +261915,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -261251,9 +261993,9 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 registry_package: type: object properties: @@ -261565,7 +262307,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *946 + items: *949 summary: type: string tag_name: @@ -261615,7 +262357,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -261692,10 +262434,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - release: &964 + enterprise: *908 + installation: *909 + organization: *910 + release: &967 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -262026,7 +262768,7 @@ webhooks: - updated_at - zipball_url - body - repository: *908 + repository: *911 sender: *4 required: - action @@ -262103,11 +262845,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -262224,11 +262966,11 @@ webhooks: type: boolean required: - to - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -262306,9 +263048,9 @@ webhooks: type: string enum: - prereleased - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -262644,7 +263386,7 @@ webhooks: - string - 'null' format: uri - repository: *908 + repository: *911 sender: *4 required: - action @@ -262720,10 +263462,10 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - release: &965 + enterprise: *908 + installation: *909 + organization: *910 + release: &968 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -263056,7 +263798,7 @@ webhooks: - string - 'null' format: uri - repository: *908 + repository: *911 sender: *4 required: - action @@ -263132,11 +263874,11 @@ webhooks: type: string enum: - released - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -263212,11 +263954,11 @@ webhooks: type: string enum: - unpublished - enterprise: *905 - installation: *906 - organization: *907 - release: *965 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *968 + repository: *911 sender: *4 required: - action @@ -263292,11 +264034,11 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_advisory: *801 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_advisory: *804 sender: *4 required: - action @@ -263372,11 +264114,11 @@ webhooks: type: string enum: - reported - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_advisory: *801 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_advisory: *804 sender: *4 required: - action @@ -263452,10 +264194,10 @@ webhooks: type: string enum: - archived - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263532,10 +264274,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263613,10 +264355,10 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263701,10 +264443,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263819,10 +264561,10 @@ webhooks: - 'null' items: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263894,10 +264636,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 status: type: string @@ -263978,10 +264720,10 @@ webhooks: type: string enum: - privatized - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264058,10 +264800,10 @@ webhooks: type: string enum: - publicized - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264155,10 +264897,10 @@ webhooks: - name required: - repository - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264238,11 +264980,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 sender: *4 required: - action @@ -264320,11 +265062,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 sender: *4 required: - action @@ -264402,11 +265144,11 @@ webhooks: type: string enum: - edited - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 changes: type: object properties: @@ -264425,16 +265167,16 @@ webhooks: properties: added: type: array - items: *159 + items: *162 deleted: type: array - items: *159 + items: *162 updated: type: array items: type: object properties: - condition: *159 + condition: *162 changes: type: object properties: @@ -264467,16 +265209,16 @@ webhooks: properties: added: type: array - items: *768 + items: *771 deleted: type: array - items: *768 + items: *771 updated: type: array items: type: object properties: - rule: *768 + rule: *771 changes: type: object properties: @@ -264713,10 +265455,10 @@ webhooks: - from required: - owner - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264794,10 +265536,10 @@ webhooks: type: string enum: - unarchived - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264875,7 +265617,7 @@ webhooks: type: string enum: - create - alert: &966 + alert: &969 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -265000,10 +265742,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265213,10 +265955,10 @@ webhooks: type: string enum: - dismissed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265294,11 +266036,11 @@ webhooks: type: string enum: - reopen - alert: *966 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *969 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265500,10 +266242,10 @@ webhooks: enum: - fixed - open - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265581,17 +266323,17 @@ webhooks: type: string enum: - assigned - alert: &968 + alert: &971 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri @@ -265728,12 +266470,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *967 + metadata: *970 assignee: *4 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265811,11 +266553,11 @@ webhooks: type: string enum: - created - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265896,11 +266638,11 @@ webhooks: type: string enum: - created - alert: *968 - installation: *906 - location: *969 - organization: *907 - repository: *908 + alert: *971 + installation: *909 + location: *972 + organization: *910 + repository: *911 sender: *4 required: - location @@ -266138,11 +266880,11 @@ webhooks: type: string enum: - metadata_created - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266219,11 +266961,11 @@ webhooks: type: string enum: - metadata_removed - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266300,11 +267042,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266382,11 +267124,11 @@ webhooks: type: string enum: - reopened - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266464,11 +267206,11 @@ webhooks: type: string enum: - resolved - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266546,12 +267288,12 @@ webhooks: type: string enum: - unassigned - alert: *968 + alert: *971 assignee: *4 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266629,11 +267371,11 @@ webhooks: type: string enum: - validated - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266763,10 +267505,10 @@ webhooks: - organization - enterprise - - repository: *908 - enterprise: *905 - installation: *906 - organization: *907 + repository: *911 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -266844,11 +267586,11 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - security_advisory: &970 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + security_advisory: &973 description: The details of the security advisory, including summary, description, and severity. type: object @@ -266865,7 +267607,7 @@ webhooks: required: - vector_string - score - cvss_severities: *130 + cvss_severities: *133 cwes: type: array items: @@ -267034,11 +267776,11 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - security_advisory: *970 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + security_advisory: *973 sender: *4 required: - action @@ -267111,10 +267853,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -267132,7 +267874,7 @@ webhooks: required: - vector_string - score - cvss_severities: *130 + cvss_severities: *133 cwes: type: array items: @@ -267300,11 +268042,11 @@ webhooks: from: type: object properties: - security_and_analysis: *434 - enterprise: *905 - installation: *906 - organization: *907 - repository: *495 + security_and_analysis: *437 + enterprise: *908 + installation: *909 + organization: *910 + repository: *498 sender: *4 required: - changes @@ -267382,12 +268124,12 @@ webhooks: type: string enum: - cancelled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: &971 + sponsorship: &974 type: object properties: created_at: @@ -267692,12 +268434,12 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - sponsorship @@ -267785,12 +268527,12 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -267867,17 +268609,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &972 + effective_date: &975 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: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - sponsorship @@ -267951,7 +268693,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &973 + changes: &976 type: object properties: tier: @@ -267995,13 +268737,13 @@ webhooks: - from required: - tier - effective_date: *972 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + effective_date: *975 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -268078,13 +268820,13 @@ webhooks: type: string enum: - tier_changed - changes: *973 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + changes: *976 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -268158,10 +268900,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -268245,10 +268987,10 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -268682,15 +269424,15 @@ webhooks: type: - string - 'null' - enterprise: *905 + enterprise: *908 id: description: The unique identifier of the status. type: integer - installation: *906 + installation: *909 name: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 sha: description: The Commit SHA. @@ -268800,15 +269542,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *224 parent_issue_repo: *75 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *906 - organization: *907 - repository: *908 + sub_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -268891,15 +269633,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *224 parent_issue_repo: *75 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *906 - organization: *907 - repository: *908 + sub_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -268982,15 +269724,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *224 sub_issue_repo: *75 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *906 - organization: *907 - repository: *908 + parent_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -269073,15 +269815,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *224 sub_issue_repo: *75 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *906 - organization: *907 - repository: *908 + parent_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -269157,12 +269899,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - team: &974 + team: &977 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -269392,9 +270134,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -269864,7 +270606,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -269940,9 +270682,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -270412,7 +271154,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -270489,9 +271231,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -270961,7 +271703,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -271105,9 +271847,9 @@ webhooks: - from required: - permissions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -271577,7 +272319,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - changes @@ -271655,9 +272397,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -272127,7 +272869,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -272203,10 +272945,10 @@ webhooks: type: string enum: - started - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -272279,17 +273021,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *905 + enterprise: *908 inputs: type: - object - 'null' additionalProperties: true - installation: *906 - organization: *907 + installation: *909 + organization: *910 ref: type: string - repository: *908 + repository: *911 sender: *4 workflow: type: string @@ -272371,10 +273113,10 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: allOf: @@ -272630,7 +273372,7 @@ webhooks: type: string required: - conclusion - deployment: *635 + deployment: *638 required: - action - repository @@ -272709,10 +273451,10 @@ webhooks: type: string enum: - in_progress - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: allOf: @@ -272994,7 +273736,7 @@ webhooks: required: - status - steps - deployment: *635 + deployment: *638 required: - action - repository @@ -273073,10 +273815,10 @@ webhooks: type: string enum: - queued - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: type: object @@ -273222,7 +273964,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *635 + deployment: *638 required: - action - repository @@ -273301,10 +274043,10 @@ webhooks: type: string enum: - waiting - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: type: object @@ -273451,7 +274193,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *635 + deployment: *638 required: - action - repository @@ -273531,12 +274273,12 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object @@ -274555,12 +275297,12 @@ webhooks: type: string enum: - in_progress - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object @@ -275564,12 +276306,12 @@ webhooks: type: string enum: - requested - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index e8e7b5ae3..c5846d845 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -53335,6 +53335,1267 @@ } } }, + "/enterprises/{enterprise}/credentials": { + "get": { + "summary": "List enterprise token inventory", + "description": "Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/list-enterprise-token-inventory", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "after", + "description": "A cursor, as given in the `Link` header, for the next page of results.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "token_types", + "description": "A comma-separated list of credential types to filter by.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "authorization_state", + "description": "Filter by enterprise-access status.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + } + }, + { + "name": "owner", + "description": "Filter to credentials owned by this user, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "application", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "ZmVkY2JhOTg3NjU0MzIxMA", + "credential_id": 246810, + "hashed_token": "B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "oauth_app_user_token", + "display_name": "Acme Deploy", + "owner": { + "id": 2, + "login": "hubot" + }, + "owner_type": "user", + "application": { + "id": 42, + "name": "Acme Deploy" + }, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-03-10T14:00:00Z", + "last_used_at": "2024-06-02T08:15:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 2, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + }, + { + "id": 11, + "login": "acme-ops" + } + ], + "age_days": 83, + "never_expires": true, + "past_expiration_policy": false, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": [ + "read:user", + "repo" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "c3NoLWtleS1leGFtcGxlLTAwMQ", + "credential_id": null, + "hashed_token": null, + "fingerprint": "SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", + "item_type": "credential", + "credential_type": "ssh_key", + "display_name": "laptop-2024", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2023-11-01T10:00:00Z", + "last_used_at": "2024-05-20T16:45:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 213, + "never_expires": true, + "past_expiration_policy": true, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": null, + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "YWJjZGVmMDEyMzQ1Njc4OQ", + "credential_id": 135790, + "hashed_token": null, + "fingerprint": null, + "item_type": "credential", + "credential_type": "fine_grained_pat", + "display_name": "release-bot", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-05-01T10:00:00Z", + "last_used_at": "2024-06-03T16:45:00Z", + "expires_at": "2024-11-01T10:00:00Z", + "next_expires_at": "2024-11-01T10:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 45, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": null, + "permissions": { + "contents": "read", + "pull_requests": "write" + }, + "repository_selection": "subset" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the walk hit the safety ceiling or time budget, so the result is a partial page. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the result is incomplete for any reason (truncated, or a source was omitted). A client must not read an absent `Link` next page as \"complete\" without also checking this header. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the result, in ISO 8601 format. The inventory is stitched from replica reads over the request, not a point-in-time snapshot.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted; a comma-separated list of the affected token types (for example, `classic_pat,ssh_key`). Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled, so those rows carry `expiry_unknown` and their `never_expires` / `past_expiration_policy` are not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports": { + "post": { + "summary": "Create an enterprise token inventory export", + "description": "Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day.\n\nThe generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-enterprise-token-inventory-export", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "Optional filters that scope the export to a subset of the inventory.", + "properties": { + "token_types": { + "type": "array", + "description": "The credential types to include.", + "items": { + "type": "string" + } + }, + "authorization_state": { + "type": "string", + "description": "Filter by enterprise-access status.", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "owner": { + "type": "string", + "description": "Filter to credentials owned by this user, given as a login." + }, + "organization": { + "type": "string", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login." + }, + "application": { + "type": "string", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id." + } + } + }, + "examples": { + "default": { + "value": { + "owner": "octocat" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, + "examples": { + "default": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + } + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + }, + "429": { + "description": "Too many requests" + }, + "500": { + "description": "Internal error, for example the export job could not be enqueued." + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports/{export_id}": { + "get": { + "summary": "Get an enterprise token inventory export", + "description": "Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-export", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "export_id", + "description": "The opaque id of the export, as returned when it was created.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, + "examples": { + "default": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + } + } + } + } + }, + "302": { + "description": "The export is ready; redirects to a short-lived download URL.", + "headers": { + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the export hit the safety ceiling, so the CSV is a partial inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the export is incomplete for any reason (truncated, or a source was omitted), so the CSV must not be treated as a complete inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the export, in ISO 8601 format.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted from the export; a comma-separated list of the affected token types. Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present in the export, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled in the export, so those rows carry `expiry_status` = `unknown` and their `past_expiration_policy` is not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/{inventory_id}": { + "get": { + "summary": "Get an enterprise token inventory item", + "description": "Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-item", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "inventory_id", + "description": "The opaque inventory_id returned by the list endpoint for this enterprise. Pass it unchanged. Its value can differ for the same credential between responses.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + }, + "examples": { + "default": { + "value": { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + } + } + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 8abf9b416..285df91cb 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -681,7 +681,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &130 + cvss_severities: &133 type: - object - 'null' @@ -728,7 +728,7 @@ paths: required: - vector_string - score - epss: &131 + epss: &134 type: - object - 'null' @@ -891,7 +891,7 @@ paths: - subscriptions_url - type - url - type: &474 + type: &477 type: string description: The type of credit the user is receiving. enum: @@ -1023,7 +1023,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &256 + schema: &259 title: Validation Error Simple description: Validation Error Simple type: object @@ -1056,7 +1056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &804 + - &807 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4310,7 +4310,7 @@ paths: schema: type: integer default: 30 - - &362 + - &365 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4319,7 +4319,7 @@ paths: required: false schema: type: string - - &363 + - &366 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4339,7 +4339,7 @@ paths: application/json: schema: type: array - items: &364 + items: &367 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4435,7 +4435,7 @@ paths: - installation_id - repository_id examples: - default: &365 + default: &368 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4467,7 +4467,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &814 + schema: &817 title: Scim Error description: Scim Error type: object @@ -4498,7 +4498,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &255 + schema: &258 title: Validation Error description: Validation Error type: object @@ -4570,7 +4570,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &369 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4705,7 +4705,7 @@ paths: - request - response examples: - default: &367 + default: &370 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4909,7 +4909,7 @@ paths: parameters: - *17 - *19 - - &226 + - &229 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -5757,7 +5757,7 @@ paths: license: anyOf: - type: 'null' - - &223 + - &226 title: License Simple description: License Simple type: object @@ -9998,7 +9998,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &260 type: object properties: total_active_caches_count: @@ -10013,7 +10013,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &258 + default: &261 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10228,7 +10228,7 @@ paths: - public_ip_enabled - platform examples: - default: &259 + default: &262 value: total_count: 2 runners: @@ -10532,7 +10532,7 @@ paths: application/json: schema: *44 examples: - default: &260 + default: &263 value: id: 1 platform: linux-x64 @@ -10677,7 +10677,7 @@ paths: application/json: schema: *47 examples: - default: &261 + default: &264 value: version: 1.0.0 size_gb: 75 @@ -10845,7 +10845,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &265 type: object properties: public_ips: @@ -10872,7 +10872,7 @@ paths: required: - public_ips examples: - default: &263 + default: &266 value: public_ips: current_usage: 17 @@ -10912,7 +10912,7 @@ paths: type: array items: *51 examples: - default: &264 + default: &267 value: id: 4-core cpu_cores: 4 @@ -11230,7 +11230,7 @@ paths: required: true content: application/json: - schema: &265 + schema: &268 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11341,7 +11341,7 @@ paths: - all - local_only - selected - selected_actions_url: &267 + selected_actions_url: &270 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -11421,7 +11421,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &269 + schema: &272 type: object properties: days: @@ -11439,7 +11439,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &815 + '401': &818 description: Authorization failure '404': *6 x-github: @@ -11467,7 +11467,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &273 type: object properties: days: @@ -11516,7 +11516,7 @@ paths: required: - approval_policy examples: - default: &271 + default: &274 value: approval_policy: first_time_contributors '404': *6 @@ -11574,7 +11574,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &275 type: object required: - run_workflows_from_fork_pull_requests @@ -11628,7 +11628,7 @@ paths: required: true content: application/json: - schema: &273 + schema: &276 type: object required: - run_workflows_from_fork_pull_requests @@ -12064,7 +12064,7 @@ paths: description: Success response content: application/json: - schema: &276 + schema: &279 type: object properties: default_workflow_permissions: &64 @@ -12112,7 +12112,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &280 type: object properties: default_workflow_permissions: *64 @@ -13034,7 +13034,7 @@ paths: application/json: schema: type: array - items: &281 + items: &284 title: Runner Application description: Runner Application type: object @@ -13059,7 +13059,7 @@ paths: - download_url - filename examples: - default: &282 + default: &285 value: - os: osx architecture: x64 @@ -13143,7 +13143,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &283 + '201': &286 description: Response content: application/json: @@ -13262,7 +13262,7 @@ paths: - token - expires_at examples: - default: &284 + default: &287 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13302,7 +13302,7 @@ paths: application/json: schema: *76 examples: - default: &285 + default: &288 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13334,7 +13334,7 @@ paths: application/json: schema: *73 examples: - default: &286 + default: &289 value: id: 23 name: MBP @@ -13551,7 +13551,7 @@ paths: - *36 - *72 responses: - '200': &287 + '200': &290 description: Response content: application/json: @@ -13607,7 +13607,7 @@ paths: parameters: - *36 - *72 - - &288 + - &291 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13704,7 +13704,7 @@ paths: required: true content: application/json: - schema: &302 + schema: &305 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14355,7 +14355,7 @@ paths: required: false schema: type: string - - &305 + - &308 name: include description: |- The event types to include: @@ -14411,7 +14411,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 type: object properties: "@timestamp": @@ -14533,7 +14533,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &307 + default: &310 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15201,7 +15201,7 @@ paths: application/json: schema: type: array - items: &308 + items: &311 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15373,7 +15373,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &309 + default: &312 value: - id: 21 number: 42 @@ -15478,7 +15478,7 @@ paths: application/json: schema: type: array - items: &311 + items: &314 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15609,7 +15609,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &312 + default: &315 value: - id: 21 number: 42 @@ -15694,7 +15694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *36 - - &319 + - &322 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -15704,7 +15704,7 @@ paths: schema: &108 type: string description: The name of the tool used to generate the code scanning analysis. - - &320 + - &323 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -15728,7 +15728,7 @@ paths: be returned. in: query required: false - schema: &321 + schema: &324 type: string description: State of a code scanning alert. enum: @@ -15761,36 +15761,36 @@ paths: application/json: schema: type: array - items: &322 + items: &325 type: object properties: - number: &128 + number: &131 type: integer description: The security alert number. readOnly: true - created_at: &135 + created_at: &138 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &136 + updated_at: &139 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &133 + url: &136 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &134 + html_url: &137 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &566 + instances_url: &569 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15806,7 +15806,7 @@ paths: - dismissed - fixed - - fixed_at: &138 + fixed_at: &141 type: - string - 'null' @@ -15818,7 +15818,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &137 + dismissed_at: &140 type: - string - 'null' @@ -15826,7 +15826,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &567 + dismissed_reason: &570 type: - string - 'null' @@ -15838,14 +15838,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &568 + dismissed_comment: &571 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &569 + rule: &572 type: object properties: id: @@ -15906,7 +15906,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &570 + tool: &573 type: object properties: name: *108 @@ -15917,26 +15917,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *109 - most_recent_instance: &571 + most_recent_instance: &574 type: object properties: - ref: &564 + ref: &567 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &582 + analysis_key: &585 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &583 + environment: &586 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &584 + category: &587 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15956,7 +15956,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &585 + location: &588 type: object description: Describe a region within a file for the alert. properties: @@ -15977,7 +15977,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &586 + items: &589 type: - string - 'null' @@ -16333,7 +16333,7 @@ paths: - most_recent_instance - repository examples: - default: &323 + default: &326 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -16564,7 +16564,7 @@ paths: headers: Link: *42 '404': *6 - '503': &193 + '503': &196 description: Service unavailable content: application/json: @@ -17229,7 +17229,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &328 type: array description: A list of default code security configurations items: @@ -17245,7 +17245,7 @@ paths: default configuration: *111 examples: - default: &326 + default: &329 value: - default_for_new_repos: public configuration: @@ -17703,7 +17703,7 @@ paths: default: value: default_for_new_repos: all - configuration: &324 + configuration: &327 value: id: 1325 target_type: organization @@ -17793,7 +17793,7 @@ paths: application/json: schema: type: array - items: &327 + items: &330 type: object description: Repositories associated with a code security configuration and attachment status @@ -17817,7 +17817,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &328 + repository: &331 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18300,7 +18300,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &143 + items: &146 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18318,7 +18318,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &313 + - &316 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18407,7 +18407,7 @@ paths: parent: anyOf: - type: 'null' - - &402 + - &405 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -18525,7 +18525,7 @@ paths: - slug - parent - type - - &142 + - &145 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18657,7 +18657,7 @@ paths: - created_at additionalProperties: false examples: - default: &144 + default: &147 value: total_seats: 2 seats: @@ -19194,7 +19194,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &335 + '413': &338 description: Payload Too Large content: application/json: @@ -20677,6 +20677,748 @@ paths: enabledForGitHubApps: true category: enterprise-admin subcategory: credential-authorizations + "/enterprises/{enterprise}/credentials": + get: + summary: List enterprise token inventory + description: |- + Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-token-inventory + parameters: + - *36 + - *17 + - name: after + description: A cursor, as given in the `Link` header, for the next page of + results. + in: query + required: false + schema: + type: string + - name: token_types + description: A comma-separated list of credential types to filter by. + in: query + required: false + schema: + type: string + - name: authorization_state + description: Filter by enterprise-access status. + in: query + required: false + schema: + type: string + enum: + - currently_authorized + - member_owned_only + - name: owner + description: Filter to credentials owned by this user, given as a login. + in: query + required: false + schema: + type: string + - name: organization + description: Filter to credentials authorized to this organization in the + enterprise, given as a login. + in: query + required: false + schema: + type: string + - name: application + description: Filter to credentials for this application, given as a GitHub + App slug or an OAuth App client id. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &130 + title: Enterprise Token Inventory Item + description: A credential or GitHub App installation in an enterprise's + token inventory. + type: object + required: + - inventory_id + - item_type + - credential_type + - credential_state + - authorization_state + - effective_access_state + - enterprise_authorized + - authorization_count + - authorized_organizations + properties: + inventory_id: + type: string + description: Opaque identifier for retrieving this item within + the enterprise. Its value can differ between responses for + the same credential. + credential_id: + type: + - integer + - 'null' + description: The credential's ID for audit-log correlation, + unique only within its `credential_type`. Null for SSH keys, + GitHub App installations, and federated credentials. + hashed_token: + type: + - string + - 'null' + description: Base64-encoded SHA-256 hash of the token, matching + `hashed_token` in audit events. Null when not reported. + fingerprint: + type: + - string + - 'null' + description: The SSH key's SHA-256 fingerprint, matching audit + events. Null for other credential types. + item_type: + type: string + enum: + - credential + - token_issuer_principal + credential_type: + type: string + enum: + - classic_pat + - oauth_app_user_token + - github_app_user_token + - fine_grained_pat + - ssh_key + - github_app_installation + - federated_jti + display_name: + type: + - string + - 'null' + owner: + type: + - object + - 'null' + properties: + id: + type: integer + login: + type: string + name: + type: + - string + - 'null' + owner_type: + type: + - string + - 'null' + enum: + - user + - oauth_application + - github_app + - + description: The type of credential owner. + application: + type: + - object + - 'null' + properties: + id: + type: integer + name: + type: + - string + - 'null' + credential_state: + type: string + enum: + - active + - expired + - revoked + - deleted + authorization_state: + type: string + enum: + - currently_authorized + - member_owned_only + effective_access_state: + type: string + enum: + - effective + - not_effective + - unknown + state_reason: + type: + - string + - 'null' + created_at: + type: + - string + - 'null' + format: date-time + last_used_at: + type: + - string + - 'null' + format: date-time + expires_at: + type: + - string + - 'null' + format: date-time + next_expires_at: + type: + - string + - 'null' + format: date-time + credential_instance_count: + type: + - integer + - 'null' + enterprise_authorized: + type: boolean + description: Whether the item is authorized directly at the + enterprise level. + authorization_count: + type: integer + description: Number of authorizing organizations, plus one when + `enterprise_authorized` is true. + authorized_organizations: + type: array + items: + type: object + properties: + id: + type: integer + login: + type: string + age_days: + type: + - integer + - 'null' + description: Age of the credential in whole days at assembly + time. + never_expires: + type: boolean + description: Whether this is an active credential with no expiration. + False for GitHub App installations and credentials with unknown + expiration. + past_expiration_policy: + type: + - boolean + - 'null' + description: Whether the credential exceeds a configured lifetime + limit or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: + - string + - 'null' + enum: + - enforced_limit + - proposed_baseline + - + description: 'The basis for `past_expiration_policy`: an enforced + PAT lifetime limit or an advisory age baseline.' + expiry_unknown: + type: boolean + description: Whether the credential's expiration could not be + determined. + scopes: + type: + - array + - 'null' + items: + type: string + description: OAuth scopes recorded for the token. Null when + not reported for the credential type. + permissions: + type: + - object + - 'null' + additionalProperties: + type: string + description: Permissions by resource for fine-grained PATs and + GitHub App installations. Null when not reported; an empty + object means no recorded permissions. + repository_selection: + type: + - string + - 'null' + enum: + - all + - subset + - none + - + description: Repository selection for the credential. Null when + not reported; `none` means no repositories are selected. + examples: + default: + value: + - inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + - inventory_id: ZmVkY2JhOTg3NjU0MzIxMA + credential_id: 246810 + hashed_token: B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE= + fingerprint: + item_type: credential + credential_type: oauth_app_user_token + display_name: Acme Deploy + owner: + id: 2 + login: hubot + owner_type: user + application: + id: 42 + name: Acme Deploy + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-03-10T14:00:00Z' + last_used_at: '2024-06-02T08:15:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 2 + authorized_organizations: + - id: 10 + login: acme-eng + - id: 11 + login: acme-ops + age_days: 83 + never_expires: true + past_expiration_policy: false + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + - read:user + - repo + permissions: + repository_selection: + - inventory_id: c3NoLWtleS1leGFtcGxlLTAwMQ + credential_id: + hashed_token: + fingerprint: SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 + item_type: credential + credential_type: ssh_key + display_name: laptop-2024 + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2023-11-01T10:00:00Z' + last_used_at: '2024-05-20T16:45:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 213 + never_expires: true + past_expiration_policy: true + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + permissions: + repository_selection: + - inventory_id: YWJjZGVmMDEyMzQ1Njc4OQ + credential_id: 135790 + hashed_token: + fingerprint: + item_type: credential + credential_type: fine_grained_pat + display_name: release-bot + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-05-01T10:00:00Z' + last_used_at: '2024-06-03T16:45:00Z' + expires_at: '2024-11-01T10:00:00Z' + next_expires_at: '2024-11-01T10:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 45 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + permissions: + contents: read + pull_requests: write + repository_selection: subset + headers: + Link: *42 + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the walk hit the safety + ceiling or time budget, so the result is a partial page. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the result is incomplete + for any reason (truncated, or a source was omitted). A client must + not read an absent `Link` next page as "complete" without also checking + this header. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the result, in ISO 8601 format. + The inventory is stitched from replica reads over the request, not + a point-in-time snapshot. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted; a comma-separated list of the affected token types (for + example, `classic_pat,ssh_key`). Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present, but that metadata may be absent. Absent when all metadata + loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled, so those rows carry `expiry_unknown` + and their `never_expires` / `past_expiration_policy` are not asserted. + Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + '422': + description: Validation failed + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports": + post: + summary: Create an enterprise token inventory export + description: |- + Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day. + + The generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/create-enterprise-token-inventory-export + parameters: + - *36 + requestBody: + required: false + content: + application/json: + schema: + type: object + description: Optional filters that scope the export to a subset of the + inventory. + properties: + token_types: + type: array + description: The credential types to include. + items: + type: string + authorization_state: + type: string + description: Filter by enterprise-access status. + enum: + - currently_authorized + - member_owned_only + owner: + type: string + description: Filter to credentials owned by this user, given as + a login. + organization: + type: string + description: Filter to credentials authorized to this organization + in the enterprise, given as a login. + application: + type: string + description: Filter to credentials for this application, given as + a GitHub App slug or an OAuth App client id. + examples: + default: + value: + owner: octocat + responses: + '202': + description: Accepted + content: + application/json: + schema: &128 + title: Enterprise Token Inventory Export + description: The status of an asynchronous enterprise token inventory + CSV export. + type: object + required: + - export_id + - status + properties: + export_id: + type: string + description: Opaque id for the export, used to poll its status. + status: + type: string + description: The state of the export job. + enum: + - pending + - queued + - started + - success + - error + as_of: + type: + - string + - 'null' + description: When the export was requested. + examples: + default: &129 + value: + export_id: 7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507 + status: queued + as_of: 2026-07-30 21:00:00 UTC + '404': + description: Resource not found + '422': + description: Validation failed + '429': + description: Too many requests + '500': + description: Internal error, for example the export job could not be enqueued. + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports/{export_id}": + get: + summary: Get an enterprise token inventory export + description: |- + Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-export + parameters: + - *36 + - name: export_id + description: The opaque id of the export, as returned when it was created. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *128 + examples: + default: *129 + '302': + description: The export is ready; redirects to a short-lived download URL. + headers: + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the export hit the safety + ceiling, so the CSV is a partial inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the export is incomplete + for any reason (truncated, or a source was omitted), so the CSV must + not be treated as a complete inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the export, in ISO 8601 format. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted from the export; a comma-separated list of the affected + token types. Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present in the export, but that metadata may be absent. Absent when + all metadata loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled in the export, so those rows + carry `expiry_status` = `unknown` and their `past_expiration_policy` + is not asserted. Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/{inventory_id}": + get: + summary: Get an enterprise token inventory item + description: |- + Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-item + parameters: + - *36 + - name: inventory_id + description: The opaque inventory_id returned by the list endpoint for this + enterprise. Pass it unchanged. Its value can differ for the same credential + between responses. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: + value: + inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -20696,7 +21438,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *36 - - &340 + - &343 name: classification in: query description: |- @@ -20705,7 +21447,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &341 + - &344 name: state in: query description: |- @@ -20714,7 +21456,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &342 + - &345 name: severity in: query description: |- @@ -20723,7 +21465,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &343 + - &346 name: ecosystem in: query description: |- @@ -20732,14 +21474,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &344 + - &347 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &345 + - &348 name: epss_percentage in: query description: |- @@ -20751,7 +21493,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &624 + - &627 name: has in: query description: |- @@ -20765,7 +21507,7 @@ paths: type: string enum: - patch - - &346 + - &349 name: assignee in: query description: |- @@ -20774,7 +21516,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &347 + - &350 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20784,7 +21526,7 @@ paths: enum: - development - runtime - - &348 + - &351 name: relationship in: query description: |- @@ -20794,7 +21536,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &349 + - &352 name: sort in: query description: |- @@ -20820,11 +21562,11 @@ paths: application/json: schema: type: array - items: &350 + items: &353 type: object description: A Dependabot alert. properties: - number: *128 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -20839,7 +21581,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &129 + package: &132 type: object description: Details for the vulnerable package. readOnly: true @@ -20888,7 +21630,7 @@ paths: - transitive - inconclusive - - security_advisory: &625 + security_advisory: &628 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20919,13 +21661,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &132 + items: &135 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *129 + package: *132 severity: type: string description: The severity of the vulnerability. @@ -20978,8 +21720,8 @@ paths: enum: - general - malware - cvss_severities: *130 - epss: *131 + cvss_severities: *133 + epss: *134 cwes: type: array description: Details for the advisory pertaining to Common @@ -21078,12 +21820,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *132 - url: *133 - html_url: *134 - created_at: *135 - updated_at: *136 - dismissed_at: *137 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: anyOf: - type: 'null' @@ -21107,8 +21849,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *138 - auto_dismissed_at: &626 + fixed_at: *141 + auto_dismissed_at: &629 type: - string - 'null' @@ -21116,7 +21858,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &627 + dismissal_request: &630 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21179,7 +21921,7 @@ paths: - repository additionalProperties: false examples: - default: &351 + default: &354 value: - number: 2 state: dismissed @@ -21566,7 +22308,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &355 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21592,7 +22334,7 @@ paths: - *117 additionalProperties: false examples: - default: &353 + default: &356 value: default_level: public accessible_repositories: @@ -21815,7 +22557,7 @@ paths: - *100 - *101 - *102 - - &355 + - &358 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21841,7 +22583,7 @@ paths: application/json: schema: type: array - items: &357 + items: &360 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21968,7 +22710,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &358 + default: &361 value: - id: 21 number: 42 @@ -22069,7 +22811,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &141 + items: &144 title: Enterprise Role description: Enterprise custom roles type: object @@ -22197,7 +22939,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *36 - - &139 + - &142 name: team_slug description: The slug of the enterprise team name. in: path @@ -22240,8 +22982,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *36 - - *139 - - &140 + - *142 + - &143 name: role_id description: The unique identifier of the role. in: path @@ -22283,8 +23025,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *36 - - *139 - - *140 + - *142 + - *143 responses: '204': description: Response @@ -22353,7 +23095,7 @@ paths: parameters: - *36 - *127 - - *140 + - *143 responses: '204': description: Response @@ -22387,7 +23129,7 @@ paths: parameters: - *36 - *127 - - *140 + - *143 responses: '204': description: Response @@ -22421,13 +23163,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *36 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *141 + schema: *144 examples: default: value: @@ -22481,7 +23223,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *36 - - *140 + - *143 - *17 - *19 responses: @@ -22491,9 +23233,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: &145 + default: &148 value: - id: 1 name: Justice League @@ -22532,7 +23274,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *36 - - *140 + - *143 - *17 - *19 responses: @@ -22565,7 +23307,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *142 + items: *145 examples: default: value: @@ -23066,7 +23808,7 @@ paths: application/json: schema: *20 examples: - default: &379 + default: &382 value: id: 1 account: @@ -23223,9 +23965,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 '500': *35 '401': *23 '403': *27 @@ -23263,9 +24005,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *145 + default: *148 headers: Link: *42 '401': *23 @@ -23307,7 +24049,7 @@ paths: type: integer network_configurations: type: array - items: &146 + items: &149 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -23366,7 +24108,7 @@ paths: - name - created_on examples: - default: &478 + default: &481 value: total_count: 2 network_configurations: @@ -23458,9 +24200,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: &147 + default: &150 value: id: 123456789ABCDEF name: My network configuration @@ -23487,7 +24229,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *36 - - &148 + - &151 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23499,9 +24241,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 headers: Link: *42 x-github: @@ -23521,7 +24263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *36 - - *148 + - *151 requestBody: required: true content: @@ -23574,9 +24316,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23594,7 +24336,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *36 - - *148 + - *151 responses: '204': description: Response @@ -23617,7 +24359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *36 - - &479 + - &482 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23629,7 +24371,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &483 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23668,7 +24410,7 @@ paths: - subnet_id - region examples: - default: &481 + default: &484 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23707,7 +24449,7 @@ paths: application/json: schema: type: array - items: &149 + items: &152 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23785,7 +24527,7 @@ paths: - property_name - value_type examples: - default: &150 + default: &153 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23845,7 +24587,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *149 + items: *152 minItems: 1 maxItems: 100 required: @@ -23878,9 +24620,9 @@ paths: application/json: schema: type: array - items: *149 + items: *152 examples: - default: *150 + default: *153 '403': *27 '404': *6 '422': *7 @@ -23907,7 +24649,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *36 - - &151 + - &154 name: custom_property_name description: The custom property name in: path @@ -23919,9 +24661,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *152 examples: - default: &152 + default: &155 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23958,7 +24700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *36 - - *151 + - *154 requestBody: required: true content: @@ -24036,9 +24778,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *152 examples: - default: *152 + default: *155 '403': *27 '404': *6 '422': *7 @@ -24064,7 +24806,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - *36 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -24117,7 +24859,7 @@ paths: - Hello-World properties: type: array - items: &153 + items: &156 title: Custom Property Value description: Custom property name and associated value type: object @@ -24205,7 +24947,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *153 + items: *156 required: - organization_logins - properties @@ -24255,7 +24997,7 @@ paths: application/json: schema: type: array - items: &154 + items: &157 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -24333,7 +25075,7 @@ paths: - property_name - value_type examples: - default: &155 + default: &158 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24391,7 +25133,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *154 + items: *157 minItems: 1 maxItems: 100 required: @@ -24421,9 +25163,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24447,15 +25189,15 @@ paths: parameters: - *36 - *84 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: &156 + default: &159 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24488,15 +25230,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -24518,12 +25260,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 requestBody: required: true content: application/json: - schema: &433 + schema: &436 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24600,9 +25342,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -24624,7 +25366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -24666,7 +25408,7 @@ paths: - push - repository default: branch - enforcement: &165 + enforcement: &168 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24679,7 +25421,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &166 + items: &169 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24723,7 +25465,7 @@ paths: - pull_request - exempt default: always - conditions: &190 + conditions: &193 title: Enterprise ruleset conditions type: object description: |- @@ -24736,7 +25478,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &157 + - &160 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24762,7 +25504,7 @@ paths: type: string required: - organization_name - - &160 + - &163 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24791,7 +25533,7 @@ paths: is prevented. required: - repository_name - - &159 + - &162 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24819,8 +25561,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *157 - - &162 + - *160 + - &165 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24833,7 +25575,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &158 + items: &161 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24864,16 +25606,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *158 + items: *161 required: - repository_property - - *159 + - *162 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &161 + - &164 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24890,22 +25632,22 @@ paths: type: integer required: - organization_id - - *160 - - *159 + - *163 + - *162 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *161 + - *164 + - *165 - *162 - - *159 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &164 + - &167 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24918,7 +25660,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &163 + items: &166 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24942,28 +25684,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *163 + items: *166 required: - organization_property - - *160 - - *159 + - *163 + - *162 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *164 + - *167 + - *165 - *162 - - *159 rules: type: array description: An array of rules within the ruleset. - items: &191 + items: &194 title: Repository Rule type: object description: A repository rule. oneOf: - - &167 + - &170 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24975,7 +25717,7 @@ paths: type: string enum: - creation - - &168 + - &171 title: update description: Only allow users with bypass permission to update matching refs. @@ -24996,7 +25738,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &169 + - &172 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -25008,7 +25750,7 @@ paths: type: string enum: - deletion - - &170 + - &173 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -25020,7 +25762,7 @@ paths: type: string enum: - required_linear_history - - &171 + - &174 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -25044,7 +25786,7 @@ paths: type: string required: - required_deployment_environments - - &172 + - &175 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -25056,7 +25798,7 @@ paths: type: string enum: - required_signatures - - &173 + - &176 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -25196,7 +25938,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &174 + - &177 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -25243,7 +25985,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &175 + - &178 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -25255,7 +25997,7 @@ paths: type: string enum: - non_fast_forward - - &176 + - &179 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -25292,7 +26034,7 @@ paths: required: - operator - pattern - - &177 + - &180 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -25329,7 +26071,7 @@ paths: required: - operator - pattern - - &178 + - &181 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -25366,7 +26108,7 @@ paths: required: - operator - pattern - - &179 + - &182 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -25403,7 +26145,7 @@ paths: required: - operator - pattern - - &180 + - &183 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -25440,7 +26182,7 @@ paths: required: - operator - pattern - - &184 + - &187 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -25464,7 +26206,7 @@ paths: type: string required: - restricted_file_paths - - &185 + - &188 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -25488,7 +26230,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &186 + - &189 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -25511,7 +26253,7 @@ paths: type: string required: - restricted_file_extensions - - &187 + - &190 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25535,7 +26277,7 @@ paths: maximum: 100 required: - max_file_size - - &181 + - &184 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25584,7 +26326,7 @@ paths: - repository_id required: - workflows - - &182 + - &185 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25644,7 +26386,7 @@ paths: - tool required: - code_scanning_tools - - &183 + - &186 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25694,7 +26436,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &191 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25729,11 +26471,11 @@ paths: source: type: string description: The name of the source - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 + items: *169 current_user_can_bypass: type: string description: |- @@ -25765,8 +26507,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *159 - - &437 + - *162 + - &440 title: Organization ruleset conditions type: object description: |- @@ -25780,14 +26522,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *159 - - *160 + - *162 + - *163 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *159 + - *162 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25809,23 +26551,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *159 - *162 + - *165 type: - 'null' - object rules: type: array - items: &768 + items: &771 title: Repository Rule type: object description: A repository rule. oneOf: - - *167 - - *168 - - *169 - *170 - - &765 + - *171 + - *172 + - *173 + - &768 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25903,9 +26645,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *171 - - *172 - - *173 - *174 - *175 - *176 @@ -25916,7 +26655,10 @@ paths: - *181 - *182 - *183 - - &766 + - *184 + - *185 + - *186 + - &769 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -25928,10 +26670,10 @@ paths: type: string enum: - license_compliance_scanning - - *184 - - *185 - - *186 - *187 + - *188 + - *189 + - *190 created_at: type: string format: date-time @@ -25939,7 +26681,7 @@ paths: type: string format: date-time examples: - default: &189 + default: &192 value: id: 21 name: super cool ruleset @@ -25998,9 +26740,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *189 + default: *192 '404': *6 '500': *35 x-github: @@ -26044,16 +26786,16 @@ paths: - tag - push - repository - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *190 + items: *169 + conditions: *193 rules: description: An array of rules within the ruleset. type: array - items: *191 + items: *194 examples: default: value: @@ -26077,9 +26819,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *189 + default: *192 '404': *6 '500': *35 x-github: @@ -26141,7 +26883,7 @@ paths: application/json: schema: type: array - items: &192 + items: &195 title: Ruleset version type: object description: The historical version of a ruleset @@ -26165,7 +26907,7 @@ paths: type: string format: date-time examples: - default: &440 + default: &443 value: - version_id: 3 actor: @@ -26218,9 +26960,9 @@ paths: description: Response content: application/json: - schema: &441 + schema: &444 allOf: - - *192 + - *195 - type: object required: - state @@ -26273,7 +27015,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *36 - - &442 + - &445 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26284,7 +27026,7 @@ paths: enum: - open - resolved - - &443 + - &446 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26294,7 +27036,7 @@ paths: required: false schema: type: string - - &444 + - &447 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26305,7 +27047,7 @@ paths: required: false schema: type: string - - &445 + - &448 name: exclude_providers in: query description: |- @@ -26316,7 +27058,7 @@ paths: required: false schema: type: string - - &446 + - &449 name: providers in: query description: |- @@ -26327,7 +27069,7 @@ paths: required: false schema: type: string - - &447 + - &450 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26336,7 +27078,7 @@ paths: required: false schema: type: string - - &448 + - &451 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26355,7 +27097,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &449 + - &452 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. @@ -26371,7 +27113,7 @@ paths: - *17 - *105 - *106 - - &450 + - &453 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26380,7 +27122,7 @@ paths: required: false schema: type: string - - &451 + - &454 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26389,7 +27131,7 @@ paths: schema: type: boolean default: false - - &452 + - &455 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26398,7 +27140,7 @@ paths: schema: type: boolean default: false - - &453 + - &456 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26407,7 +27149,7 @@ paths: schema: type: boolean default: false - - &454 + - &457 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26418,7 +27160,7 @@ paths: required: false schema: type: boolean - - &455 + - &458 name: included_metadata in: query description: |- @@ -26429,7 +27171,7 @@ paths: required: false schema: type: string - - &456 + - &459 name: owner_email_hash in: query description: |- @@ -26448,30 +27190,30 @@ paths: application/json: schema: type: array - items: &457 + items: &460 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &781 + state: &784 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: &782 + resolution: &785 type: - string - 'null' @@ -26590,14 +27332,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &783 + - &786 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &785 + - &788 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26661,7 +27403,7 @@ paths: - blob_url - commit_sha - commit_url - - &786 + - &789 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. @@ -26722,7 +27464,7 @@ paths: - page_url - commit_sha - commit_url - - &787 + - &790 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26744,7 +27486,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &788 + - &791 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26766,7 +27508,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &789 + - &792 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26788,7 +27530,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &790 + - &793 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26803,7 +27545,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &791 + - &794 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26818,7 +27560,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &792 + - &795 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26833,7 +27575,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &793 + - &796 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. @@ -26855,7 +27597,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &794 + - &797 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. @@ -26877,7 +27619,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &795 + - &798 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. @@ -26899,7 +27641,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &796 + - &799 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. @@ -26921,7 +27663,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &797 + - &800 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 @@ -26967,7 +27709,7 @@ paths: - type: 'null' - *4 examples: - default: &458 + default: &461 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27145,7 +27887,7 @@ paths: headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27171,7 +27913,7 @@ paths: subcategory: custom-patterns parameters: - *36 - - &459 + - &462 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -27182,7 +27924,7 @@ paths: enum: - published - unpublished - - &460 + - &463 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -27193,7 +27935,7 @@ paths: enum: - enabled - disabled - - &461 + - &464 name: sort description: The property to sort the results by. in: query @@ -27215,7 +27957,7 @@ paths: application/json: schema: type: array - items: &194 + items: &197 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -27267,7 +28009,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &195 + custom_pattern_version: &198 type: - string - 'null' @@ -27292,7 +28034,7 @@ paths: - state - push_protection_enabled examples: - default: &462 + default: &465 value: - id: 1 name: Example Custom Pattern @@ -27355,7 +28097,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &463 + items: &466 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -27392,7 +28134,7 @@ paths: items: type: string examples: - default: &464 + default: &467 value: patterns: - name: Example Custom Pattern @@ -27416,9 +28158,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: &465 + default: &468 value: created_patterns: - id: 1 @@ -27470,7 +28212,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &466 + items: &469 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -27524,7 +28266,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &467 + items: &470 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -27534,7 +28276,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *195 + custom_pattern_version: *198 post_delete_action: type: string description: |- @@ -27547,7 +28289,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &468 + default: &471 value: patterns: - pattern_id: 2 @@ -27558,7 +28300,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &196 + '412': &199 description: Precondition Failed content: application/json: @@ -27593,7 +28335,7 @@ paths: required: true content: application/json: - schema: &469 + schema: &472 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`, @@ -27632,9 +28374,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *195 + custom_pattern_version: *198 examples: - default: &470 + default: &473 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27649,9 +28391,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: &471 + default: &474 value: id: 1 name: Example Custom Pattern @@ -27671,7 +28413,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/enterprises/{enterprise}/secret-scanning/pattern-configurations": get: @@ -27698,17 +28440,17 @@ paths: description: Response content: application/json: - schema: &472 + schema: &475 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &197 + items: &200 type: object properties: token_type: @@ -27777,9 +28519,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *197 + items: *200 examples: - default: &473 + default: &476 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27834,7 +28576,7 @@ paths: schema: type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -27860,7 +28602,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *195 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27915,7 +28657,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *36 - - &475 + - &478 name: advanced_security_product in: query description: | @@ -27935,7 +28677,7 @@ paths: description: Success content: application/json: - schema: &476 + schema: &479 type: object properties: total_advanced_security_committers: @@ -27998,7 +28740,7 @@ paths: required: - repositories examples: - default: &477 + default: &480 value: total_advanced_security_committers: 2 total_count: 2 @@ -28040,7 +28782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *36 - - &201 + - &204 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -28049,7 +28791,7 @@ paths: required: false schema: type: integer - - &202 + - &205 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -28058,7 +28800,7 @@ paths: required: false schema: type: integer - - &203 + - &206 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -28067,7 +28809,7 @@ paths: required: false schema: type: integer - - &204 + - &207 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -28075,21 +28817,21 @@ paths: required: false schema: type: string - - &205 + - &208 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &206 + - &209 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &207 + - &210 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -28228,7 +28970,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28805,7 +29547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *36 - - &198 + - &201 name: budget_id description: The ID corresponding to the budget. in: path @@ -28921,7 +29663,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29248,7 +29990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *36 - - *198 + - *201 responses: '200': description: Response when deleting a budget @@ -29275,7 +30017,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29299,7 +30041,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *36 - - *198 + - *201 - name: page description: The page number of results to fetch. in: query @@ -29395,7 +30137,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29539,7 +30281,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29727,7 +30469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *36 - - &200 + - &203 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -29812,7 +30554,7 @@ paths: - name - resources examples: - default: &199 + default: &202 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -29830,7 +30572,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29971,15 +30713,15 @@ paths: - name - resources examples: - update-cost-center: *199 - update-cost-center-with-cap: *199 + update-cost-center: *202 + update-cost-center-with-cap: *202 '400': *14 '403': *27 '404': *6 '409': *116 '422': *15 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30001,7 +30743,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *36 - - *200 + - *203 responses: '200': description: Response when deleting a cost center @@ -30040,7 +30782,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30061,7 +30803,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *36 - - *200 + - *203 requestBody: required: true content: @@ -30142,7 +30884,7 @@ paths: '403': *27 '409': *116 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30162,7 +30904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *36 - - *200 + - *203 requestBody: required: true content: @@ -30214,7 +30956,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30235,13 +30977,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *36 - - *201 - - *202 - - *203 - *204 - *205 - *206 - *207 + - *208 + - *209 + - *210 - name: cost_center_id description: The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center. @@ -30374,7 +31116,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30408,7 +31150,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &208 + items: &211 type: object properties: id: @@ -30506,7 +31248,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30572,9 +31314,9 @@ paths: description: Report export request accepted content: application/json: - schema: *208 + schema: *211 examples: - usage-report-export: &209 + usage-report-export: &212 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -30590,7 +31332,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30625,14 +31367,14 @@ paths: description: Usage report export details content: application/json: - schema: *208 + schema: *211 examples: - usage-report-export: *209 + usage-report-export: *212 '401': *23 '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30653,7 +31395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *36 - - *201 + - *204 - 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 @@ -30662,7 +31404,7 @@ paths: required: false schema: type: integer - - *203 + - *206 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -30745,7 +31487,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30766,17 +31508,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *36 - - *201 - - *202 - - *203 - *204 + - *205 + - *206 + - *207 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *207 + - *210 - name: sku description: The SKU to query for usage. in: query @@ -30909,7 +31651,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30936,9 +31678,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *145 + default: *148 headers: Link: *42 '403': *27 @@ -31027,9 +31769,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: &215 + default: &218 value: id: 1 name: Justice League @@ -31058,7 +31800,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *36 - - &210 + - &213 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -31077,7 +31819,7 @@ paths: type: array items: *4 examples: - default: &211 + default: &214 value: - login: octocat id: 1 @@ -31116,7 +31858,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31147,7 +31889,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31165,7 +31907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31196,7 +31938,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31214,7 +31956,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *36 - - *210 + - *213 - *127 responses: '200': @@ -31223,7 +31965,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &212 + exampleKey1: &215 value: login: octocat id: 1 @@ -31259,7 +32001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *36 - - *210 + - *213 - *127 responses: '201': @@ -31268,7 +32010,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *212 + exampleKey1: *215 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31286,7 +32028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *36 - - *210 + - *213 - *127 responses: '204': @@ -31309,7 +32051,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *36 - - *210 + - *213 - *17 - *19 responses: @@ -31321,7 +32063,7 @@ paths: type: array items: *70 examples: - default: &213 + default: &216 value: login: github id: 1 @@ -31352,7 +32094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31382,7 +32124,7 @@ paths: type: array items: *70 examples: - default: &250 + default: &253 value: - login: github id: 1 @@ -31413,7 +32155,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31454,7 +32196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '200': @@ -31463,7 +32205,7 @@ paths: application/json: schema: *70 examples: - default: *213 + default: *216 '404': description: The team is not assigned to the organization x-github: @@ -31482,7 +32224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '201': @@ -31491,7 +32233,7 @@ paths: application/json: schema: *70 examples: - default: *213 + default: *216 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31508,7 +32250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '204': @@ -31533,7 +32275,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *36 - - &214 + - &217 name: team_slug description: The slug of the team name. in: path @@ -31657,7 +32399,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *36 - - *214 + - *217 requestBody: required: true content: @@ -31725,9 +32467,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *215 + default: *218 headers: Link: *42 '403': *27 @@ -31750,7 +32492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *36 - - *214 + - *217 responses: '204': description: Response @@ -31802,7 +32544,7 @@ paths: type: integer visual_studio_subscriptions: type: array - items: &216 + items: &219 title: Visual Studio Subscription Assignment description: Visual Studio Subscription Assignment type: object @@ -31893,7 +32635,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -31936,7 +32678,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -32040,7 +32782,7 @@ paths: application/json: schema: type: array - items: &245 + items: &248 title: Event description: Event type: object @@ -32051,7 +32793,7 @@ paths: type: - string - 'null' - actor: &217 + actor: &220 title: Actor description: Actor type: object @@ -32092,7 +32834,7 @@ paths: - id - name - url - org: *217 + org: *220 payload: oneOf: - title: CreateEvent @@ -32139,7 +32881,7 @@ paths: properties: action: type: string - discussion: &923 + discussion: &926 title: Discussion description: A Discussion in a repository. type: object @@ -32436,7 +33178,7 @@ paths: - id labels: type: array - items: &220 + items: &223 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -32538,7 +33280,7 @@ paths: properties: action: type: string - issue: &221 + issue: &224 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -32662,7 +33404,7 @@ paths: milestone: anyOf: - type: 'null' - - &423 + - &426 title: Milestone description: A collection of related issues and pull requests. @@ -32839,7 +33581,7 @@ paths: timeline_url: type: string format: uri - type: &389 + type: &392 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -32900,7 +33642,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &218 + author_association: &221 title: author_association type: string description: How the author is associated with the @@ -32916,7 +33658,7 @@ paths: - OWNER examples: - OWNER - reactions: &219 + reactions: &222 title: Reaction Rollup type: object properties: @@ -32952,7 +33694,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &842 + sub_issues_summary: &845 title: Sub-issues Summary type: object properties: @@ -32976,7 +33718,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &222 + - &225 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -33027,16 +33769,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *221 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *222 pin: anyOf: - type: 'null' - - &710 + - &713 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -33057,7 +33799,7 @@ paths: minimized: anyOf: - type: 'null' - - &711 + - &714 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -33082,7 +33824,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &843 + issue_dependencies_summary: &846 title: Issue Dependencies Summary type: object properties: @@ -33101,7 +33843,7 @@ paths: - total_blocking issue_field_values: type: array - items: &692 + items: &695 title: Issue Field Value description: A value assigned to an issue field type: object @@ -33236,10 +33978,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *223 labels: type: array - items: *220 + items: *223 required: - action - issue @@ -33248,8 +33990,8 @@ paths: properties: action: type: string - issue: *221 - comment: *222 + issue: *224 + comment: *225 required: - action - issue @@ -33428,7 +34170,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 allow_forking: type: boolean is_template: @@ -33519,7 +34261,7 @@ paths: type: string number: type: integer - pull_request: &224 + pull_request: &227 title: Pull Request Minimal type: object properties: @@ -33590,10 +34332,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *223 labels: type: array - items: *220 + items: *223 required: - action - number @@ -33603,7 +34345,7 @@ paths: properties: action: type: string - pull_request: *224 + pull_request: *227 comment: type: object properties: @@ -33857,7 +34599,7 @@ paths: - pull_request updated_at: type: string - pull_request: *224 + pull_request: *227 required: - action - review @@ -33906,7 +34648,7 @@ paths: updated_at: type: string format: date-time - reactions: *219 + reactions: *222 required: - action - comment @@ -33917,7 +34659,7 @@ paths: type: string release: allOf: - - &758 + - &761 title: Release description: A release. type: object @@ -33999,7 +34741,7 @@ paths: author: *4 assets: type: array - items: &759 + items: &762 title: Release Asset description: Data related to a release. type: object @@ -34074,7 +34816,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *219 + reactions: *222 required: - assets_url - upload_url @@ -34167,7 +34909,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *32 '403': *27 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34257,7 +34999,7 @@ paths: _links: type: object properties: - timeline: &225 + timeline: &228 title: Link With Type description: Hypermedia Link with Type type: object @@ -34269,17 +35011,17 @@ paths: required: - href - type - user: *225 - security_advisories: *225 - current_user: *225 - current_user_public: *225 - current_user_actor: *225 - current_user_organization: *225 + user: *228 + security_advisories: *228 + current_user: *228 + current_user_public: *228 + current_user_actor: *228 + current_user_organization: *228 current_user_organizations: type: array - items: *225 - repository_discussions: *225 - repository_discussions_category: *225 + items: *228 + repository_discussions: *228 + repository_discussions_category: *228 required: - timeline - user @@ -34341,7 +35083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *226 + - *229 - *17 - *19 responses: @@ -34351,7 +35093,7 @@ paths: application/json: schema: type: array - items: &227 + items: &230 title: Base Gist description: Base Gist type: object @@ -34437,7 +35179,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &231 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -34561,7 +35303,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &232 title: Gist Simple description: Gist Simple type: object @@ -34728,7 +35470,7 @@ paths: truncated: type: boolean examples: - default: &230 + default: &233 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -34832,7 +35574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *226 + - *229 - *17 - *19 responses: @@ -34842,9 +35584,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '422': *15 @@ -34866,7 +35608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *226 + - *229 - *17 - *19 responses: @@ -34876,9 +35618,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '401': *23 @@ -34905,7 +35647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &231 + - &234 name: gist_id description: The unique identifier of the gist. in: path @@ -34917,10 +35659,10 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 - '403': &234 + default: *233 + '403': &237 description: Forbidden Gist content: application/json: @@ -34968,7 +35710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *231 + - *234 requestBody: required: true content: @@ -35032,9 +35774,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - updateGist: *230 + updateGist: *233 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -35192,7 +35934,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -35220,7 +35962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *231 + - *234 - *17 - *19 responses: @@ -35230,7 +35972,7 @@ paths: application/json: schema: type: array - items: &232 + items: &235 title: Gist Comment description: A comment made to a gist. type: object @@ -35268,7 +36010,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *218 + author_association: *221 required: - url - id @@ -35332,7 +36074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *231 + - *234 requestBody: required: true content: @@ -35358,9 +36100,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: &233 + default: &236 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -35417,8 +36159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *231 - - &235 + - *234 + - &238 name: comment_id description: The unique identifier of the comment. in: path @@ -35431,12 +36173,12 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: *233 + default: *236 '304': *32 '404': *6 - '403': *234 + '403': *237 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35457,8 +36199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *231 - - *235 + - *234 + - *238 requestBody: required: true content: @@ -35484,9 +36226,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: *233 + default: *236 '404': *6 x-github: githubCloudOnly: false @@ -35503,8 +36245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *231 - - *235 + - *234 + - *238 responses: '204': description: Response @@ -35527,7 +36269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *231 + - *234 - *17 - *19 responses: @@ -35628,7 +36370,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *231 + - *234 - *17 - *19 responses: @@ -35638,7 +36380,7 @@ paths: application/json: schema: type: array - items: *229 + items: *232 examples: default: value: @@ -35703,13 +36445,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *231 + - *234 responses: '201': description: Response content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -35779,7 +36521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *231 + - *234 responses: '204': description: Response if gist is starred @@ -35809,7 +36551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -35831,7 +36573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -35859,7 +36601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *231 + - *234 - name: sha in: path required: true @@ -35870,9 +36612,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '422': *15 '404': *6 '403': *27 @@ -36255,7 +36997,7 @@ paths: - closed - all default: open - - &392 + - &395 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -36274,7 +37016,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - name: collab in: query required: false @@ -36304,9 +37046,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: &393 + default: &396 value: - id: 1 node_id: MDU6SXNzdWUx @@ -36586,7 +37328,7 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: default: value: @@ -36884,7 +37626,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &236 + X-CommonMarker-Version: &239 example: 0.17.4 schema: type: string @@ -36939,7 +37681,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *236 + X-CommonMarker-Version: *239 content: text/html: schema: @@ -36968,7 +37710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &239 + - &242 name: account_id description: account_id parameter in: path @@ -36980,7 +37722,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &241 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -37014,7 +37756,7 @@ paths: - 'null' id: type: integer - plan: &237 + plan: &240 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -37117,7 +37859,7 @@ paths: - 'null' updated_at: type: string - plan: *237 + plan: *240 required: - url - id @@ -37125,7 +37867,7 @@ paths: - login - marketplace_purchase examples: - default: &240 + default: &243 value: url: https://api.github.com/orgs/github type: Organization @@ -37210,9 +37952,9 @@ paths: application/json: schema: type: array - items: *237 + items: *240 examples: - default: &241 + default: &244 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -37252,14 +37994,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &242 + - &245 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &243 + - &246 name: sort description: The property to sort the results by. in: query @@ -37289,9 +38031,9 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: - default: &244 + default: &247 value: - url: https://api.github.com/orgs/github type: Organization @@ -37365,15 +38107,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *239 + - *242 responses: '200': description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *240 + default: *243 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -37405,9 +38147,9 @@ paths: application/json: schema: type: array - items: *237 + items: *240 examples: - default: *241 + default: *244 headers: Link: *42 '401': *23 @@ -37430,8 +38172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *242 - - *243 + - *245 + - *246 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -37451,9 +38193,9 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: - default: *244 + default: *247 headers: Link: *42 '401': *23 @@ -37732,14 +38474,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &490 + - &493 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &491 + - &494 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -37756,7 +38498,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -37801,7 +38543,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &496 + '301': &499 description: Moved permanently content: application/json: @@ -37823,7 +38565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &730 + - &733 name: all description: If `true`, show notifications marked as read. in: query @@ -37831,7 +38573,7 @@ paths: schema: type: boolean default: false - - &731 + - &734 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -37840,8 +38582,8 @@ paths: schema: type: boolean default: false - - *226 - - &732 + - *229 + - &735 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -37866,14 +38608,14 @@ paths: application/json: schema: type: array - items: &246 + items: &249 title: Thread description: Thread type: object properties: id: type: string - repository: &280 + repository: &283 title: Minimal Repository description: Minimal Repository type: object @@ -38221,7 +38963,7 @@ paths: type: boolean examples: - false - security_and_analysis: &434 + security_and_analysis: &437 type: - object - 'null' @@ -38440,7 +39182,7 @@ paths: - url - subscription_url examples: - default: &733 + default: &736 value: - id: '1' repository: @@ -38606,7 +39348,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &247 + - &250 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -38620,7 +39362,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *249 examples: default: value: @@ -38723,7 +39465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *247 + - *250 responses: '205': description: Reset Content @@ -38746,7 +39488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *247 + - *250 responses: '204': description: No content @@ -38769,13 +39511,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *247 + - *250 responses: '200': description: Response content: application/json: - schema: &248 + schema: &251 title: Thread Subscription description: Thread Subscription type: object @@ -38819,7 +39561,7 @@ paths: - url - subscribed examples: - default: &249 + default: &252 value: subscribed: true ignored: false @@ -38850,7 +39592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *247 + - *250 requestBody: required: false content: @@ -38871,9 +39613,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '304': *32 '403': *27 '401': *23 @@ -38896,7 +39638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *247 + - *250 responses: '204': description: Response @@ -38993,7 +39735,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: example: ; rel="next" @@ -39065,7 +39807,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &254 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -39104,7 +39846,7 @@ paths: required: true content: application/json: - schema: *251 + schema: *254 examples: selected_actions: *39 responses: @@ -39139,7 +39881,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &255 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -39178,7 +39920,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *255 examples: selected_actions: *41 responses: @@ -39219,9 +39961,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: &739 + default: &742 value: - property_name: environment value: production @@ -39267,11 +40009,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *153 + items: *156 required: - properties examples: - default: &740 + default: &743 value: properties: - property_name: environment @@ -39318,7 +40060,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &256 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -39730,7 +40472,7 @@ paths: - updated_at - archived_at examples: - default-response: &254 + default-response: &257 value: login: github id: 1 @@ -40051,17 +40793,17 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 '422': description: Validation failed content: application/json: schema: oneOf: - - *255 - - *256 + - *258 + - *259 '409': *116 x-github: githubCloudOnly: false @@ -40117,9 +40859,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 headers: Link: *42 x-github: @@ -40160,7 +40902,7 @@ paths: type: integer repository_cache_usages: type: array - items: &503 + items: &506 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -40238,7 +40980,7 @@ paths: type: array items: *43 examples: - default: *259 + default: *262 headers: Link: *42 x-github: @@ -40405,7 +41147,7 @@ paths: application/json: schema: *44 examples: - default: *260 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40497,7 +41239,7 @@ paths: application/json: schema: *47 examples: - default: *261 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40616,9 +41358,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40654,7 +41396,7 @@ paths: type: array items: *51 examples: - default: *264 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40898,7 +41640,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *268 examples: default: *55 responses: @@ -40991,7 +41733,7 @@ paths: required: - include_claim_keys examples: - default: &266 + default: &269 value: include_claim_keys: - repo @@ -41036,13 +41778,13 @@ paths: format. type: boolean examples: - default: *266 + default: *269 responses: '201': description: Empty response content: application/json: - schema: &291 + schema: &294 title: Empty Object description: An object without any properties. type: object @@ -41081,7 +41823,7 @@ paths: schema: type: object properties: - enabled_repositories: &268 + enabled_repositories: &271 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -41095,7 +41837,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *57 - selected_actions_url: *267 + selected_actions_url: *270 sha_pinning_required: *58 required: - enabled_repositories @@ -41137,7 +41879,7 @@ paths: schema: type: object properties: - enabled_repositories: *268 + enabled_repositories: *271 allowed_actions: *57 sha_pinning_required: *58 required: @@ -41173,7 +41915,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: response: summary: Example response @@ -41204,7 +41946,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: application/json: value: @@ -41242,7 +41984,7 @@ paths: application/json: schema: *59 examples: - default: *271 + default: *274 '404': *6 x-github: enabledForGitHubApps: true @@ -41299,7 +42041,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *275 examples: default: *60 '403': *27 @@ -41324,7 +42066,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *276 examples: default: *60 responses: @@ -41376,7 +42118,7 @@ paths: type: array items: *75 examples: - default: &275 + default: &278 value: total_count: 1 repositories: @@ -41561,7 +42303,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *84 - - &274 + - &277 name: repository_id description: The unique identifier of the repository. in: path @@ -41590,7 +42332,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -41786,7 +42528,7 @@ paths: type: array items: *75 examples: - default: *275 + default: *278 '403': *27 '404': *6 x-github: @@ -41855,7 +42597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No content @@ -41882,7 +42624,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No content @@ -41916,7 +42658,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: default: *66 x-github: @@ -41950,7 +42692,7 @@ paths: required: false content: application/json: - schema: *277 + schema: *280 examples: default: *66 x-github: @@ -41997,7 +42739,7 @@ paths: type: number runner_groups: type: array - items: &278 + items: &281 type: object properties: id: @@ -42187,9 +42929,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: - default: &279 + default: &282 value: id: 2 name: octo-runner-group @@ -42231,7 +42973,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -42324,9 +43066,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: - default: *279 + default: *282 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -42390,7 +43132,7 @@ paths: type: array items: *43 examples: - default: *259 + default: *262 headers: Link: *42 x-github: @@ -42431,9 +43173,9 @@ paths: type: number repositories: type: array - items: *280 + items: *283 examples: - default: &334 + default: &337 value: total_count: 1 repositories: @@ -42732,7 +43474,7 @@ paths: parameters: - *84 - *69 - - *274 + - *277 responses: '204': description: Response @@ -42756,7 +43498,7 @@ paths: parameters: - *84 - *69 - - *274 + - *277 responses: '204': description: Response @@ -43042,9 +43784,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43109,7 +43851,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *286 '404': *6 '422': *7 '409': *116 @@ -43148,7 +43890,7 @@ paths: application/json: schema: *76 examples: - default: *284 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43184,7 +43926,7 @@ paths: application/json: schema: *76 examples: - default: *285 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43215,7 +43957,7 @@ paths: application/json: schema: *73 examples: - default: *286 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43390,7 +44132,7 @@ paths: - *84 - *72 responses: - '200': *287 + '200': *290 '404': *6 x-github: githubCloudOnly: false @@ -43419,7 +44161,7 @@ paths: parameters: - *84 - *72 - - *288 + - *291 responses: '200': *78 '404': *6 @@ -43464,7 +44206,7 @@ paths: type: integer secrets: type: array - items: &289 + items: &292 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -43498,7 +44240,7 @@ paths: - updated_at - visibility examples: - default: &295 + default: &298 value: total_count: 3 secrets: @@ -43545,7 +44287,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &299 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -43580,7 +44322,7 @@ paths: - key_id - key examples: - default: &297 + default: &300 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43606,7 +44348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *84 - - &290 + - &293 name: secret_name description: The name of the secret. in: path @@ -43618,9 +44360,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: &298 + default: &301 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43649,7 +44391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -43706,7 +44448,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -43733,7 +44475,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -43760,7 +44502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -43778,9 +44520,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: &294 + default: &297 value: total_count: 1 repositories: @@ -43873,7 +44615,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -43926,7 +44668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -43960,7 +44702,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -43993,7 +44735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *84 - - &299 + - &302 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -44017,7 +44759,7 @@ paths: type: integer variables: type: array - items: &292 + items: &295 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -44065,7 +44807,7 @@ paths: - updated_at - visibility examples: - default: &300 + default: &303 value: total_count: 3 variables: @@ -44155,7 +44897,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -44181,7 +44923,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *84 - - &293 + - &296 name: name description: The name of the variable. in: path @@ -44193,9 +44935,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: - default: &301 + default: &304 value: name: USERNAME value: octocat @@ -44224,7 +44966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -44287,7 +45029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '204': description: Response @@ -44314,7 +45056,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 - *19 - *17 responses: @@ -44332,9 +45074,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44361,7 +45103,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -44411,7 +45153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -44446,7 +45188,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -44498,9 +45240,9 @@ paths: type: integer secrets: type: array - items: *289 + items: *292 examples: - default: *295 + default: *298 headers: Link: *42 x-github: @@ -44531,9 +45273,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44556,15 +45298,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44587,7 +45329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -44644,7 +45386,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -44671,7 +45413,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -44698,7 +45440,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -44716,9 +45458,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44742,7 +45484,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -44795,7 +45537,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -44829,7 +45571,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -44863,7 +45605,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *84 - - *299 + - *302 - *19 responses: '200': @@ -44880,9 +45622,9 @@ paths: type: integer variables: type: array - items: *292 + items: *295 examples: - default: *300 + default: *303 headers: Link: *42 x-github: @@ -44953,7 +45695,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -44979,15 +45721,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *292 + schema: *295 examples: - default: *301 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45009,7 +45751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -45072,7 +45814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '204': description: Response @@ -45099,7 +45841,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 - *19 - *17 responses: @@ -45117,9 +45859,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '409': description: Response when the visibility of the variable is not set to `selected` @@ -45146,7 +45888,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -45196,7 +45938,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -45231,7 +45973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -45289,7 +46031,7 @@ paths: required: true content: application/json: - schema: *302 + schema: *305 examples: default: *82 parameters: @@ -45476,7 +46218,7 @@ paths: type: integer deployment_records: type: array - items: &303 + items: &306 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -45523,7 +46265,7 @@ paths: required: - total_count examples: - default: &304 + default: &307 value: total_count: 1 deployment_records: @@ -45713,11 +46455,11 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *306 required: - total_count examples: - default: *304 + default: *307 '207': description: | This response format is only returned when `partial_success` is set to true in the request body. @@ -45734,7 +46476,7 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *306 errors: type: array description: A list of errors for deployments that could not be @@ -46331,9 +47073,9 @@ paths: - 3 deployment_records: type: array - items: *303 + items: *306 examples: - default: *304 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46463,12 +47205,12 @@ paths: required: - subject_digests examples: - default: &883 + default: &886 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &884 + withPredicateType: &887 value: subject_digests: - sha256:abc123 @@ -46513,7 +47255,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &885 + default: &888 value: attestations_subject_digests: - sha256:abc: @@ -46846,7 +47588,7 @@ paths: initiator: type: string examples: - default: &536 + default: &539 value: attestations: - repository_id: 1 @@ -46890,7 +47632,7 @@ paths: required: false schema: type: string - - *305 + - *308 - *124 - *125 - *126 @@ -46902,9 +47644,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46933,7 +47675,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47027,7 +47769,7 @@ paths: subcategory: bypass-requests parameters: - *84 - - &310 + - &313 name: repository_name description: The name of the repository to filter on. in: query @@ -47046,9 +47788,9 @@ paths: application/json: schema: type: array - items: *308 + items: *311 examples: - default: *309 + default: *312 '404': *6 '500': *35 "/orgs/{org}/bypass-requests/secret-scanning": @@ -47072,7 +47814,7 @@ paths: subcategory: delegated-bypass parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 @@ -47086,9 +47828,9 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: - default: *312 + default: *315 '404': *6 '500': *35 "/orgs/{org}/campaigns": @@ -47115,7 +47857,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &314 + schema: &317 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -47141,7 +47883,7 @@ paths: application/json: schema: type: array - items: &315 + items: &318 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -47172,7 +47914,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *313 + items: *316 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -47191,7 +47933,7 @@ paths: - string - 'null' format: date-time - state: *314 + state: *317 contact_link: description: The contact link of the campaign. type: @@ -47289,7 +48031,7 @@ paths: headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47414,9 +48156,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: &316 + default: &319 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -47465,7 +48207,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47499,16 +48241,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: *316 + default: *319 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47579,7 +48321,7 @@ paths: - string - 'null' format: uri - state: *314 + state: *317 examples: default: value: @@ -47589,9 +48331,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: *316 + default: *319 '400': description: Bad Request content: @@ -47603,7 +48345,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47635,7 +48377,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47668,7 +48410,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &320 title: Code scanning AI Scan organization settings description: The AI Scan organization setting type: object @@ -47688,7 +48430,7 @@ paths: required: - pr_scan examples: - default: &318 + default: &321 value: pr_scan: enabled '403': *27 @@ -47748,9 +48490,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *320 examples: - default: *318 + default: *321 '403': *27 '404': *6 '422': *15 @@ -47776,8 +48518,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *84 - - *319 - - *320 + - *322 + - *323 - *105 - *106 - *19 @@ -47788,7 +48530,7 @@ paths: be returned. in: query required: false - schema: *321 + schema: *324 - name: sort description: The property by which to sort the results. in: query @@ -47804,7 +48546,7 @@ paths: be returned. in: query required: false - schema: &565 + schema: &568 type: string description: Severity of a code scanning alert. enum: @@ -47830,13 +48572,13 @@ paths: application/json: schema: type: array - items: *322 + items: *325 examples: - default: *323 + default: *326 headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48207,7 +48949,7 @@ paths: application/json: schema: *111 examples: - default: *324 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48235,9 +48977,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *328 examples: - default: *326 + default: *329 '304': *32 '403': *27 '404': *6 @@ -48326,7 +49068,7 @@ paths: application/json: schema: *111 examples: - default: *324 + default: *327 '304': *32 '403': *27 '404': *6 @@ -48771,7 +49513,7 @@ paths: default: value: default_for_new_repos: all - configuration: *324 + configuration: *327 '403': *27 '404': *6 x-github: @@ -48824,13 +49566,13 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *328 + repository: *331 '403': *27 '404': *6 x-github: @@ -48870,7 +49612,7 @@ paths: type: integer codespaces: type: array - items: &394 + items: &397 type: object title: Codespace description: A codespace. @@ -48901,11 +49643,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *280 + repository: *283 machine: anyOf: - type: 'null' - - &598 + - &601 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -49192,7 +49934,7 @@ paths: - pulls_url - recent_folders examples: - default: &395 + default: &398 value: total_count: 3 codespaces: @@ -49816,7 +50558,7 @@ paths: type: integer secrets: type: array - items: &329 + items: &332 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -49857,7 +50599,7 @@ paths: - updated_at - visibility examples: - default: &599 + default: &602 value: total_count: 2 secrets: @@ -49895,7 +50637,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &603 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -49930,7 +50672,7 @@ paths: - key_id - key examples: - default: &601 + default: &604 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -49954,15 +50696,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: &603 + default: &606 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49990,7 +50732,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -50045,7 +50787,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -50072,7 +50814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -50098,7 +50840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -50116,9 +50858,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '404': *6 x-github: githubCloudOnly: false @@ -50141,7 +50883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -50192,7 +50934,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -50226,7 +50968,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -50296,7 +51038,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &330 + items: &333 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -50693,9 +51435,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: &331 + default: &334 summary: Example response for an organization copilot space value: id: 84 @@ -50800,9 +51542,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *331 + default: *334 '403': *27 '404': *6 x-github: @@ -50931,9 +51673,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *331 + default: *334 '403': *27 '404': *6 '422': *15 @@ -51016,7 +51758,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &332 + items: &335 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -51241,7 +51983,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: user: value: @@ -51371,7 +52113,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: user: value: @@ -51522,7 +52264,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &333 + items: &336 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -51666,7 +52408,7 @@ paths: description: Resource created content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -51682,7 +52424,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -51737,7 +52479,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -51806,7 +52548,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52048,9 +52790,9 @@ paths: currently being billed. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 headers: Link: *42 '500': *35 @@ -52534,12 +53276,12 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 required: - total_count - repositories examples: - default: *334 + default: *337 '500': *35 '401': *23 '403': *27 @@ -52625,7 +53367,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No Content @@ -52659,7 +53401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No Content @@ -52807,7 +53549,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *335 + '413': *338 '422': *7 x-github: githubCloudOnly: @@ -53609,7 +54351,7 @@ paths: - 3 custom_roles: type: array - items: &336 + items: &339 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -53748,7 +54490,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &341 type: object properties: name: @@ -53790,9 +54532,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: &337 + default: &340 value: id: 8030 name: Security Engineer @@ -53840,15 +54582,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: true @@ -53871,12 +54613,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: application/json: - schema: &339 + schema: &342 type: object properties: name: @@ -53915,9 +54657,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -53942,7 +54684,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -53975,7 +54717,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -53989,9 +54731,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54022,15 +54764,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: true @@ -54059,12 +54801,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: application/json: - schema: *339 + schema: *342 examples: default: value: @@ -54079,9 +54821,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54112,7 +54854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -54141,12 +54883,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *84 - - *340 - - *341 - - *342 - *343 - *344 - *345 + - *346 + - *347 + - *348 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -54176,7 +54918,7 @@ paths: enum: - patch - deployment - - *346 + - *349 - name: runtime_risk in: query description: |- @@ -54185,9 +54927,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *347 - - *348 - - *349 + - *350 + - *351 + - *352 - *107 - *105 - *106 @@ -54199,9 +54941,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *351 + default: *354 '304': *32 '400': *14 '403': *27 @@ -54250,9 +54992,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *355 examples: - default: *353 + default: *356 '403': *27 '404': *6 x-github: @@ -54416,7 +55158,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &357 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -54495,7 +55237,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &633 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -54514,7 +55256,7 @@ paths: - key_id - key examples: - default: &631 + default: &634 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -54538,13 +55280,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *354 + schema: *357 examples: default: value: @@ -54573,7 +55315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -54628,7 +55370,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -54653,7 +55395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -54678,7 +55420,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -54696,9 +55438,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54720,7 +55462,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -54771,7 +55513,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -54803,7 +55545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -54840,7 +55582,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - &640 + - &643 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -54848,7 +55590,7 @@ paths: required: false schema: type: string - - &641 + - &644 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -54856,7 +55598,7 @@ paths: required: false schema: type: string - - &642 + - &645 name: time_period description: |- The time period to filter by. @@ -54872,7 +55614,7 @@ paths: - week - month default: month - - &643 + - &646 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -54887,7 +55629,7 @@ paths: - denied - all default: all - - *310 + - *313 - *17 - *19 responses: @@ -54897,7 +55639,7 @@ paths: application/json: schema: type: array - items: &644 + items: &647 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -55007,7 +55749,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &356 + items: &359 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -55060,7 +55802,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &645 + default: &648 value: - id: 21 number: 42 @@ -55148,11 +55890,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -55162,7 +55904,7 @@ paths: application/json: schema: type: array - items: &646 + items: &649 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -55272,7 +56014,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *356 + items: *359 url: type: string format: uri @@ -55285,7 +56027,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &647 + default: &650 value: - id: 21 number: 42 @@ -55373,11 +56115,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -55387,9 +56129,9 @@ paths: application/json: schema: type: array - items: *357 + items: *360 examples: - default: *358 + default: *361 '404': *6 '403': *27 '500': *35 @@ -55415,7 +56157,7 @@ paths: application/json: schema: type: array - items: &404 + items: &407 title: Package description: A software package type: object @@ -55468,7 +56210,7 @@ paths: repository: anyOf: - type: 'null' - - *280 + - *283 created_at: type: string format: date-time @@ -55486,7 +56228,7 @@ paths: - created_at - updated_at examples: - default: &405 + default: &408 value: - id: 197 name: hello_docker @@ -55574,7 +56316,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: 200-response: value: @@ -55673,7 +56415,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &490 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -55763,7 +56505,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &488 + default: &491 value: group_id: '123' group_name: Octocat admins @@ -55818,7 +56560,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &487 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -55858,7 +56600,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &485 + default: &488 value: groups: - group_id: '123' @@ -55903,7 +56645,7 @@ paths: application/json: schema: type: array - items: &383 + items: &386 title: Organization Invitation description: Organization Invitation type: object @@ -55957,7 +56699,7 @@ paths: - invitation_teams_url - node_id examples: - default: &384 + default: &387 value: - id: 1 login: monalisa @@ -56024,7 +56766,7 @@ paths: application/json: schema: type: array - items: &435 + items: &438 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -56038,7 +56780,7 @@ paths: - name - description examples: - default: &436 + default: &439 value: - name: add_assignee description: Assign or remove a user @@ -56079,7 +56821,7 @@ paths: application/json: schema: type: array - items: &359 + items: &362 title: Org Hook description: Org Hook type: object @@ -56262,9 +57004,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: &360 + default: &363 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -56309,7 +57051,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *84 - - &361 + - &364 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -56322,9 +57064,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: *360 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -56346,7 +57088,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *84 - - *361 + - *364 requestBody: required: false content: @@ -56392,7 +57134,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: default: value: @@ -56432,7 +57174,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *84 - - *361 + - *364 responses: '204': description: Response @@ -56458,7 +57200,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *84 - - *361 + - *364 responses: '200': description: Response @@ -56487,7 +57229,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *84 - - *361 + - *364 requestBody: required: false content: @@ -56536,10 +57278,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *17 - - *362 - - *363 + - *365 + - *366 responses: '200': description: Response @@ -56547,9 +57289,9 @@ paths: application/json: schema: type: array - items: *364 + items: *367 examples: - default: *365 + default: *368 '400': *14 '422': *15 x-github: @@ -56573,16 +57315,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '400': *14 '422': *15 x-github: @@ -56606,7 +57348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *16 responses: '202': *34 @@ -56633,7 +57375,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *84 - - *361 + - *364 responses: '204': description: Response @@ -56658,7 +57400,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *84 - - &372 + - &375 name: actor_type in: path description: The type of the actor @@ -56671,14 +57413,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &373 + - &376 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &368 + - &371 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -56686,7 +57428,7 @@ paths: required: true schema: type: string - - &369 + - &372 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -56783,12 +57525,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *84 - - *368 - - *369 + - *371 + - *372 - *19 - *17 - *107 - - &378 + - &381 name: sort description: The property to sort the results by. in: query @@ -56869,14 +57611,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *84 - - *368 - - *369 + - *371 + - *372 responses: '200': description: Response content: application/json: - schema: &370 + schema: &373 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -56892,7 +57634,7 @@ paths: type: integer format: int64 examples: - default: &371 + default: &374 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -56915,23 +57657,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *84 - - &374 + - &377 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *368 - - *369 + - *371 + - *372 responses: '200': description: Response content: application/json: - schema: *370 + schema: *373 examples: - default: *371 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -56951,18 +57693,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *84 - - *368 - - *369 + - *371 - *372 - - *373 + - *375 + - *376 responses: '200': description: Response content: application/json: - schema: *370 + schema: *373 examples: - default: *371 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -56982,9 +57724,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *84 - - *368 - - *369 - - &375 + - *371 + - *372 + - &378 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -56997,7 +57739,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &379 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -57013,7 +57755,7 @@ paths: type: integer format: int64 examples: - default: &377 + default: &380 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -57052,18 +57794,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *84 - - *374 - - *368 - - *369 - - *375 + - *377 + - *371 + - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 x-github: enabledForGitHubApps: true category: orgs @@ -57083,19 +57825,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *84 - - *372 - - *373 - - *368 - - *369 - *375 + - *376 + - *371 + - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 x-github: enabledForGitHubApps: true category: orgs @@ -57115,13 +57857,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *84 - - *374 - - *368 - - *369 + - *377 + - *371 + - *372 - *19 - *17 - *107 - - *378 + - *381 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -57205,7 +57947,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57325,12 +58067,12 @@ paths: application/json: schema: anyOf: - - &381 + - &384 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &380 + limit: &383 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -57358,7 +58100,7 @@ paths: properties: {} additionalProperties: false examples: - default: &382 + default: &385 value: limit: collaborators_only origin: organization @@ -57387,13 +58129,13 @@ paths: required: true content: application/json: - schema: &676 + schema: &679 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *380 + limit: *383 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -57418,9 +58160,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: - default: *382 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -57632,9 +58374,9 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 '404': *6 @@ -57712,7 +58454,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *386 examples: default: value: @@ -57769,7 +58511,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *84 - - &385 + - &388 name: invitation_id description: The unique identifier of the invitation. in: path @@ -57803,7 +58545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *84 - - *385 + - *388 - *17 - *19 responses: @@ -57813,9 +58555,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: &403 + default: &406 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -57858,7 +58600,7 @@ paths: application/json: schema: type: array - items: &386 + items: &389 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -58121,9 +58863,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *389 examples: - default: &387 + default: &390 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -58179,7 +58921,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *84 - - &388 + - &391 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -58289,9 +59031,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *389 examples: - default: *387 + default: *390 '404': *6 '422': *7 x-github: @@ -58316,7 +59058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *84 - - *388 + - *391 responses: '204': *121 '404': *6 @@ -58346,9 +59088,9 @@ paths: application/json: schema: type: array - items: *389 + items: *392 examples: - default: &680 + default: &683 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -58434,9 +59176,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *392 examples: - default: &390 + default: &393 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -58469,7 +59211,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *84 - - &391 + - &394 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -58525,9 +59267,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *392 examples: - default: *390 + default: *393 '404': *6 '422': *7 x-github: @@ -58552,7 +59294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *84 - - *391 + - *394 responses: '204': description: Response @@ -58615,7 +59357,7 @@ paths: - closed - all default: open - - *392 + - *395 - name: type description: Can be the name of an issue type. in: query @@ -58634,7 +59376,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -58644,9 +59386,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *393 + default: *396 headers: Link: *42 '404': *6 @@ -58706,7 +59448,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '422': *15 @@ -58806,9 +59548,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 '304': *32 '500': *35 '401': *23 @@ -58835,7 +59577,7 @@ paths: parameters: - *84 - *127 - - &396 + - &399 name: codespace_name in: path required: true @@ -58870,15 +59612,15 @@ paths: parameters: - *84 - *127 - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: &597 + default: &600 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -59058,7 +59800,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *143 + schema: *146 examples: default: value: @@ -59134,7 +59876,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &400 title: Org Membership description: Org Membership type: object @@ -59203,7 +59945,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &398 + response-if-user-has-an-active-admin-membership-with-organization: &401 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -59304,9 +60046,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: - response-if-user-already-had-membership-with-organization: *398 + response-if-user-already-had-membership-with-organization: *401 '422': *15 '403': *27 '451': *15 @@ -59379,7 +60121,7 @@ paths: application/json: schema: type: array - items: &399 + items: &402 title: Migration description: A migration. type: object @@ -59717,7 +60459,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -59896,7 +60638,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *84 - - &400 + - &403 name: migration_id description: The unique identifier of the migration. in: path @@ -59924,7 +60666,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -60094,7 +60836,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *84 - - *400 + - *403 responses: '302': description: Response @@ -60116,7 +60858,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *84 - - *400 + - *403 responses: '204': description: Response @@ -60140,8 +60882,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *84 - - *400 - - &865 + - *403 + - &868 name: repo_name description: repo_name parameter in: path @@ -60169,7 +60911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *84 - - *400 + - *403 - *17 - *19 responses: @@ -60279,7 +61021,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &401 + items: &404 title: Organization Role description: Organization roles type: object @@ -60488,7 +61230,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -60540,7 +61282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -60566,8 +61308,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *84 - - *214 - - *140 + - *217 + - *143 responses: '204': description: Response @@ -60597,8 +61339,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *84 - - *214 - - *140 + - *217 + - *143 responses: '204': description: Response @@ -60651,7 +61393,7 @@ paths: parameters: - *84 - *127 - - *140 + - *143 responses: '204': description: Response @@ -60683,7 +61425,7 @@ paths: parameters: - *84 - *127 - - *140 + - *143 responses: '204': description: Response @@ -60712,13 +61454,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -60776,7 +61518,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: @@ -60815,7 +61557,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -60869,7 +61611,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -60895,7 +61637,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *84 - - *140 + - *143 - *17 - *19 responses: @@ -60974,7 +61716,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *405 type: description: The ownership type of the team type: string @@ -61007,7 +61749,7 @@ paths: - type - parent examples: - default: *403 + default: *406 headers: Link: *42 '404': @@ -61037,7 +61779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *84 - - *140 + - *143 - *17 - *19 responses: @@ -61066,7 +61808,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *402 + items: *405 name: type: - string @@ -61183,7 +61925,7 @@ paths: - type - url examples: - default: *211 + default: *214 headers: Link: *42 '404': @@ -61234,7 +61976,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -61376,7 +62118,7 @@ paths: - nuget - container - *84 - - &866 + - &869 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -61412,12 +62154,12 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *405 + default: *408 '403': *27 '401': *23 - '400': &868 + '400': &871 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -61439,7 +62181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &406 + - &409 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -61457,7 +62199,7 @@ paths: - docker - nuget - container - - &407 + - &410 name: package_name description: The name of the package. in: path @@ -61470,7 +62212,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *407 examples: default: value: @@ -61522,8 +62264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 responses: '204': @@ -61556,8 +62298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - name: token description: package token @@ -61590,8 +62332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - *19 - *17 @@ -61612,7 +62354,7 @@ paths: application/json: schema: type: array - items: &408 + items: &411 title: Package Version description: A version of a software package type: object @@ -61747,10 +62489,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - - &409 + - &412 name: package_version_id description: Unique identifier of the package version. in: path @@ -61762,7 +62504,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -61798,10 +62540,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *406 - - *407 - - *84 - *409 + - *410 + - *84 + - *412 responses: '204': description: Response @@ -61833,10 +62575,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *406 - - *407 - - *84 - *409 + - *410 + - *84 + - *412 responses: '204': description: Response @@ -61866,7 +62608,7 @@ paths: - *84 - *17 - *19 - - &410 + - &413 name: sort description: The property by which to sort the results. in: query @@ -61877,7 +62619,7 @@ paths: - created_at default: created_at - *107 - - &411 + - &414 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -61889,7 +62631,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &412 + - &415 name: repository description: The name of the repository to use to filter the results. in: query @@ -61898,7 +62640,7 @@ paths: type: string examples: - Hello-World - - &413 + - &416 name: permission description: The permission to use to filter the results. in: query @@ -61907,7 +62649,7 @@ paths: type: string examples: - issues_read - - &414 + - &417 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -61917,7 +62659,7 @@ paths: schema: type: string format: date-time - - &415 + - &418 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -61927,7 +62669,7 @@ paths: schema: type: string format: date-time - - &416 + - &419 name: token_id description: The ID of the token in: query @@ -62244,9 +62986,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: &417 + default: &420 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -62383,14 +63125,14 @@ paths: - *84 - *17 - *19 - - *410 - - *107 - - *411 - - *412 - *413 + - *107 - *414 - *415 - *416 + - *417 + - *418 + - *419 responses: '500': *35 '422': *15 @@ -62672,9 +63414,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *417 + default: *420 headers: Link: *42 x-github: @@ -62716,7 +63458,7 @@ paths: type: integer configurations: type: array - items: &418 + items: &421 title: Organization private registry description: Private registry configuration for an organization type: object @@ -63233,7 +63975,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &419 + org-private-registry-with-selected-visibility: &422 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -63325,15 +64067,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -63356,7 +64098,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -63545,7 +64287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -63585,7 +64327,7 @@ paths: application/json: schema: type: array - items: &420 + items: &423 title: Projects v2 Project description: A projects v2 project type: object @@ -63659,7 +64401,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &956 + - &959 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -63744,7 +64486,7 @@ paths: - deleted_at - deleted_by examples: - default: &421 + default: &424 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -63847,7 +64589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &422 + - &425 name: project_number description: The project's number. in: path @@ -63860,9 +64602,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -63885,7 +64627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true description: Details of the draft item to create in the project. @@ -63919,7 +64661,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &430 title: Projects v2 Item description: An item belonging to a project type: object @@ -63932,8 +64674,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *221 - - &573 + - *224 + - &576 title: Pull Request Simple description: Pull Request Simple type: object @@ -64062,7 +64804,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 active_lock_reason: type: - string @@ -64101,7 +64843,7 @@ paths: items: *4 requested_teams: type: array - items: *313 + items: *316 head: type: object properties: @@ -64145,7 +64887,7 @@ paths: _links: type: object properties: - comments: &424 + comments: &427 title: Link description: Hypermedia Link type: object @@ -64154,13 +64896,13 @@ paths: type: string required: - href - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + commits: *427 + statuses: *427 + html: *427 + issue: *427 + review_comments: *427 + review_comment: *427 + self: *427 required: - comments - commits @@ -64170,8 +64912,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: &742 + author_association: *221 + auto_merge: &745 title: Auto merge description: The status of auto merging a pull request. type: @@ -64197,7 +64939,7 @@ paths: - merge_method - commit_title - commit_message - stack: &743 + stack: &746 title: Pull Request Stack description: The stack information associated with a pull request. @@ -64311,7 +65053,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &426 + content_type: &429 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -64355,7 +65097,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &428 + draft_issue: &431 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -64429,7 +65171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *422 + - *425 - *84 - *17 - *105 @@ -64441,7 +65183,7 @@ paths: application/json: schema: type: array - items: &425 + items: &428 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -64594,7 +65336,7 @@ paths: - updated_at - project_url examples: - default: &889 + default: &892 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64724,7 +65466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *422 + - *425 - *84 requestBody: required: true @@ -64771,7 +65513,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &890 + items: &893 type: object properties: name: @@ -64808,7 +65550,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &891 + iteration_configuration: &894 type: object description: The configuration for iteration fields. required: @@ -64865,7 +65607,7 @@ paths: value: name: Due date data_type: date - single_select_field: &892 + single_select_field: &895 summary: Create a single select field value: name: Priority @@ -64892,7 +65634,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &893 + iteration_field: &896 summary: Create an iteration field value: name: Sprint @@ -64912,9 +65654,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *425 + schema: *428 examples: - text_field: &894 + text_field: &897 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -64923,7 +65665,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: &895 + number_field: &898 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -64932,7 +65674,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: &896 + date_field: &899 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -64941,7 +65683,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: &897 + single_select_field: &900 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64975,7 +65717,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &898 + iteration_field: &901 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -65020,8 +65762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *422 - - &899 + - *425 + - &902 name: field_id description: The unique identifier of the field. in: path @@ -65034,9 +65776,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *428 examples: - default: &900 + default: &903 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65092,7 +65834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *422 + - *425 - *84 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -65125,7 +65867,7 @@ paths: application/json: schema: type: array - items: &429 + items: &432 title: Projects v2 Item description: An item belonging to a project type: object @@ -65142,7 +65884,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *426 + content_type: *429 content: type: - object @@ -65192,7 +65934,7 @@ paths: - updated_at - archived_at examples: - default: &430 + default: &433 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -65890,7 +66632,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -65960,22 +66702,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *431 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *431 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *431 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *431 '304': *32 '403': *27 '401': *23 @@ -65995,9 +66737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *422 + - *425 - *84 - - &431 + - &434 name: item_id description: The unique identifier of the project item. in: path @@ -66023,9 +66765,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -66046,9 +66788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *422 + - *425 - *84 - - *431 + - *434 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -66121,13 +66863,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *433 + number_field: *433 + date_field: *433 + single_select_field: *433 + iteration_field: *433 '401': *23 '403': *27 '404': *6 @@ -66147,9 +66889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *422 + - *425 - *84 - - *431 + - *434 responses: '204': description: Response @@ -66173,7 +66915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true content: @@ -66288,7 +67030,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &880 + schema: &883 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -66392,7 +67134,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &432 + value: &435 value: id: 1 number: 1 @@ -66438,10 +67180,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *432 + value: *435 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *435 '304': *32 '403': *27 '401': *23 @@ -66469,9 +67211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *422 + - *425 - *84 - - &901 + - &904 name: view_number description: The number that identifies the project view. in: path @@ -66503,9 +67245,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -66538,9 +67280,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -66578,7 +67320,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *154 + items: *157 minItems: 1 maxItems: 100 required: @@ -66608,9 +67350,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -66632,15 +67374,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -66664,12 +67406,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 requestBody: required: true content: application/json: - schema: *433 + schema: *436 examples: default: value: @@ -66685,9 +67427,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -66711,7 +67453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -66775,7 +67517,7 @@ paths: - octocat/Hello-World properties: type: array - items: *153 + items: *156 description: List of custom property names and associated values required: - repository_id @@ -66844,7 +67586,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *153 + items: *156 required: - repository_names - properties @@ -66897,7 +67639,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -67035,9 +67777,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *417 + default: *420 headers: Link: *42 x-github: @@ -67241,7 +67983,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &498 title: Full Repository description: Full Repository type: object @@ -67692,7 +68434,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 organization: anyOf: - type: 'null' @@ -67711,7 +68453,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &616 + code_of_conduct: &619 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -67741,7 +68483,7 @@ paths: - key - name - html_url - security_and_analysis: *434 + security_and_analysis: *437 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -67825,7 +68567,7 @@ paths: - network_count - subscribers_count examples: - default: &497 + default: &500 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -68351,9 +69093,9 @@ paths: application/json: schema: type: array - items: *435 + items: *438 examples: - default: *436 + default: *439 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68378,7 +69120,7 @@ paths: - *84 - *17 - *19 - - &767 + - &770 name: targets description: | A comma-separated list of rule targets to filter by. @@ -68397,7 +69139,7 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: default: value: @@ -68465,23 +69207,20 @@ paths: - push - repository default: branch - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *437 + items: *169 + conditions: *440 rules: type: array description: An array of rules within the ruleset. - items: &439 + items: &442 title: Repository Rule type: object description: A repository rule. oneOf: - - *167 - - *168 - - *169 - *170 - *171 - *172 @@ -68493,13 +69232,16 @@ paths: - *178 - *179 - *180 - - *184 - - *185 - - *186 - - *187 - *181 - *182 - *183 + - *187 + - *188 + - *189 + - *190 + - *184 + - *185 + - *186 required: - name - enforcement @@ -68537,9 +69279,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: &438 + default: &441 value: id: 21 name: super cool ruleset @@ -68595,7 +69337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *84 - - &769 + - &772 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 @@ -68605,16 +69347,16 @@ paths: schema: type: string x-multi-segment: true - - *310 + - *313 - *102 - - &770 + - &773 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 - - &771 + - &774 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -68627,7 +69369,7 @@ paths: - bypass - all default: all - - &772 + - &775 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. @@ -68650,7 +69392,7 @@ paths: description: Response content: application/json: - schema: &773 + schema: &776 title: Rule Suites description: Response type: array @@ -68706,7 +69448,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &774 + default: &777 value: - id: 21 actor_id: 12 @@ -68750,7 +69492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *84 - - &775 + - &778 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -68766,7 +69508,7 @@ paths: description: Response content: application/json: - schema: &776 + schema: &779 title: Rule Suite description: Response type: object @@ -68873,7 +69615,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &777 + default: &780 value: id: 21 actor_id: 12 @@ -68946,9 +69688,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *438 + default: *441 '404': *6 '500': *35 put: @@ -68992,16 +69734,16 @@ paths: - tag - push - repository - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *437 + items: *169 + conditions: *440 rules: description: An array of rules within the ruleset. type: array - items: *439 + items: *442 examples: default: value: @@ -69036,9 +69778,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *438 + default: *441 '404': *6 '422': *15 '500': *35 @@ -69096,9 +69838,9 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *440 + default: *443 '404': *6 '500': *35 x-github: @@ -69135,7 +69877,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: default: value: @@ -69198,18 +69940,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *84 - - *442 - - *443 - - *444 - *445 - *446 - *447 - *448 - *449 + - *450 + - *451 + - *452 - *107 - *19 - *17 - - &779 + - &782 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -69219,7 +69961,7 @@ paths: required: false schema: type: string - - &780 + - &783 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -69229,13 +69971,13 @@ paths: required: false schema: type: string - - *450 - - *451 - - *452 - *453 - *454 - *455 - *456 + - *457 + - *458 + - *459 responses: '200': description: Response @@ -69243,13 +69985,13 @@ paths: application/json: schema: type: array - items: *457 + items: *460 examples: - default: *458 + default: *461 headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69275,9 +70017,9 @@ paths: subcategory: custom-patterns parameters: - *84 - - *459 - - *460 - - *461 + - *462 + - *463 + - *464 - *107 - *105 - *106 @@ -69288,9 +70030,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *462 + default: *465 headers: Link: *42 '403': *27 @@ -69326,9 +70068,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *463 + items: *466 examples: - default: *464 + default: *467 responses: '201': description: All patterns created successfully. @@ -69340,9 +70082,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: *465 + default: *468 '400': *14 '403': *27 '404': *6 @@ -69366,7 +70108,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *466 + items: *469 delete: summary: Bulk delete organization custom patterns description: |- @@ -69399,7 +70141,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *467 + items: *470 post_delete_action: type: string description: |- @@ -69412,14 +70154,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *468 + default: *471 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 "/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update an organization custom pattern @@ -69450,21 +70192,21 @@ paths: required: true content: application/json: - schema: *469 + schema: *472 examples: - default: *470 + default: *473 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: *471 + default: *474 '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -69491,9 +70233,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *475 examples: - default: *473 + default: *476 '403': *27 '404': *6 patch: @@ -69522,7 +70264,7 @@ paths: schema: type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -69548,7 +70290,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *195 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -69646,7 +70388,7 @@ paths: application/json: schema: type: array - items: &801 + items: &804 description: A repository security advisory. type: object properties: @@ -69833,7 +70575,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *130 + cvss_severities: *133 cwes: type: - array @@ -69869,7 +70611,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 credits_detailed: type: - array @@ -69880,7 +70622,7 @@ paths: type: object properties: user: *4 - type: *474 + type: *477 state: type: string description: The state of the user's acceptance of the @@ -69906,7 +70648,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *313 + items: *316 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -69943,7 +70685,7 @@ paths: - private_fork additionalProperties: false examples: - default: &802 + default: &805 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -70330,7 +71072,7 @@ paths: application/json: schema: type: array - items: *402 + items: *405 examples: default: value: @@ -70371,7 +71113,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -70397,7 +71139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -70429,7 +71171,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *84 - - *475 + - *478 - *17 - *19 responses: @@ -70437,9 +71179,9 @@ paths: description: Success content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -70585,9 +71327,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70656,7 +71398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -70679,7 +71421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -70720,9 +71462,9 @@ paths: type: integer network_configurations: type: array - items: *146 + items: *149 examples: - default: *478 + default: *481 headers: Link: *42 x-github: @@ -70799,9 +71541,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70822,15 +71564,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *84 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 headers: Link: *42 x-github: @@ -70852,7 +71594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *84 - - *148 + - *151 requestBody: required: true content: @@ -70905,9 +71647,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70927,7 +71669,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *84 - - *148 + - *151 responses: '204': description: Response @@ -70951,15 +71693,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *84 - - *479 + - *482 responses: '200': description: Response content: application/json: - schema: *480 + schema: *483 examples: - default: *481 + default: *484 headers: Link: *42 x-github: @@ -70997,7 +71739,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &495 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -71049,7 +71791,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &493 + default: &496 value: groups: - group_id: '123' @@ -71104,9 +71846,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 headers: Link: *42 '403': *27 @@ -71196,7 +71938,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &485 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -71270,7 +72012,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *405 members_count: type: integer examples: @@ -71603,7 +72345,7 @@ paths: - repos_count - organization examples: - default: &483 + default: &486 value: id: 1 node_id: MDQ6VGVhbTE= @@ -71674,15 +72416,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -71704,7 +72446,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *84 - - *214 + - *217 requestBody: required: false content: @@ -71773,16 +72515,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '201': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 '422': *15 '403': *27 @@ -71808,11 +72550,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response - '422': &486 + '422': &489 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -71835,16 +72577,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *484 + schema: *487 examples: - default: *485 - '422': *486 + default: *488 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -71864,7 +72606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 requestBody: required: true content: @@ -71888,10 +72630,10 @@ paths: description: Response content: application/json: - schema: *487 + schema: *490 examples: - default: *488 - '422': *486 + default: *491 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71911,11 +72653,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response - '422': *486 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71937,7 +72679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -71947,12 +72689,12 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 - '422': *486 + '422': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71978,7 +72720,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *84 - - *214 + - *217 - name: role description: Filters members returned by their role in the team. in: query @@ -71999,7 +72741,7 @@ paths: application/json: schema: type: array - items: &845 + items: &848 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 @@ -72142,7 +72884,7 @@ paths: - type - url examples: - default: &846 + default: &849 value: - login: octocat id: 1 @@ -72194,14 +72936,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 responses: '200': description: Response content: application/json: - schema: &489 + schema: &492 title: Team Membership description: Team Membership type: object @@ -72229,7 +72971,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &847 + response-if-user-is-a-team-maintainer: &850 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -72266,7 +73008,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 requestBody: required: false @@ -72292,9 +73034,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: &848 + response-if-users-membership-with-team-is-now-pending: &851 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -72330,7 +73072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 responses: '204': @@ -72360,7 +73102,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -72370,9 +73112,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *417 + default: *420 headers: Link: *42 x-github: @@ -72402,15 +73144,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &849 + schema: &852 title: Team Repository description: A team's access to a repository. type: object @@ -72436,7 +73178,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 forks: type: integer permissions: @@ -73044,9 +73786,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 requestBody: required: false content: @@ -73092,9 +73834,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 responses: '204': description: Response @@ -73121,16 +73863,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *492 + schema: *495 examples: - default: *493 - '422': *486 + default: *496 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -73153,7 +73895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *84 - - *214 + - *217 requestBody: required: true content: @@ -73196,7 +73938,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -73208,7 +73950,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *486 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -73230,7 +73972,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -73240,9 +73982,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - response-if-child-teams-exist: &850 + response-if-child-teams-exist: &853 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -73395,7 +74137,7 @@ paths: resources: type: object properties: - core: &494 + core: &497 title: Rate Limit type: object properties: @@ -73412,17 +74154,17 @@ paths: - remaining - reset - used - graphql: *494 - search: *494 - code_search: *494 - source_import: *494 - integration_manifest: *494 - actions_runner_registration: *494 - scim: *494 - dependency_snapshots: *494 - dependency_sbom: *494 - code_scanning_autofix: *494 - copilot_usage_records: *494 + graphql: *497 + search: *497 + code_search: *497 + source_import: *497 + integration_manifest: *497 + actions_runner_registration: *497 + scim: *497 + dependency_snapshots: *497 + dependency_sbom: *497 + code_scanning_autofix: *497 + copilot_usage_records: *497 required: - core - search @@ -73519,14 +74261,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: default-response: summary: Default response @@ -74034,7 +74776,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *496 + '301': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74052,8 +74794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -74374,10 +75116,10 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 - '307': &498 + default: *500 + '307': &501 description: Temporary Redirect content: application/json: @@ -74406,8 +75148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -74429,7 +75171,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *498 + '307': *501 '404': *6 '409': *116 x-github: @@ -74453,11 +75195,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - - &514 + - &517 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -74480,7 +75222,7 @@ paths: type: integer artifacts: type: array - items: &499 + items: &502 title: Artifact description: An artifact type: object @@ -74575,7 +75317,7 @@ paths: - expires_at - updated_at examples: - default: &515 + default: &518 value: total_count: 2 artifacts: @@ -74636,9 +75378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *490 - - *491 - - &500 + - *493 + - *494 + - &503 name: artifact_id description: The unique identifier of the artifact. in: path @@ -74650,7 +75392,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *502 examples: default: value: @@ -74688,9 +75430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *490 - - *491 - - *500 + - *493 + - *494 + - *503 responses: '204': description: Response @@ -74714,9 +75456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *490 - - *491 - - *500 + - *493 + - *494 + - *503 - name: archive_format in: path required: true @@ -74726,7 +75468,7 @@ paths: '302': description: Response headers: - Location: &633 + Location: &636 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -74751,14 +75493,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &501 + schema: &504 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -74792,13 +75534,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *501 + schema: *504 examples: selected_actions: *39 responses: @@ -74827,14 +75569,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &502 + schema: &505 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -74868,13 +75610,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *502 + schema: *505 examples: selected_actions: *41 responses: @@ -74905,14 +75647,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *503 + schema: *506 examples: default: value: @@ -74938,11 +75680,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - - &504 + - &507 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -74976,7 +75718,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &508 title: Repository actions caches description: Repository actions caches type: object @@ -75026,7 +75768,7 @@ paths: - total_count - actions_caches examples: - default: &506 + default: &509 value: total_count: 1 actions_caches: @@ -75058,23 +75800,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *490 - - *491 + - *493 + - *494 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *504 + - *507 responses: '200': description: Response content: application/json: - schema: *505 + schema: *508 examples: - default: *506 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75094,8 +75836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *490 - - *491 + - *493 + - *494 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -75124,8 +75866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *106 responses: @@ -75208,8 +75950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -75365,9 +76107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *490 - - *491 - - &507 + - *493 + - *494 + - &510 name: job_id description: The unique identifier of the job. in: path @@ -75380,7 +76122,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &521 title: Job description: Information of a job execution in a workflow run type: object @@ -75729,9 +76471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *490 - - *491 - - *507 + - *493 + - *494 + - *510 responses: '302': description: Response @@ -75759,9 +76501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *490 - - *491 - - *507 + - *493 + - *494 + - *510 requestBody: required: false content: @@ -75788,7 +76530,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -75812,8 +76554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Status response @@ -75872,8 +76614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -75912,7 +76654,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -75941,8 +76683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -75960,7 +76702,7 @@ paths: type: integer secrets: type: array - items: &520 + items: &523 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -75981,7 +76723,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &524 value: total_count: 2 secrets: @@ -76014,9 +76756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -76033,7 +76775,7 @@ paths: type: integer variables: type: array - items: &522 + items: &525 title: Actions Variable type: object properties: @@ -76067,7 +76809,7 @@ paths: - created_at - updated_at examples: - default: &523 + default: &526 value: total_count: 2 variables: @@ -76100,8 +76842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -76110,11 +76852,11 @@ paths: schema: type: object properties: - enabled: &508 + enabled: &511 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *57 - selected_actions_url: *267 + selected_actions_url: *270 sha_pinning_required: *58 required: - enabled @@ -76145,8 +76887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -76157,7 +76899,7 @@ paths: schema: type: object properties: - enabled: *508 + enabled: *511 allowed_actions: *57 sha_pinning_required: *58 required: @@ -76190,14 +76932,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &509 + schema: &512 type: object properties: access_level: @@ -76215,7 +76957,7 @@ paths: required: - access_level examples: - default: &510 + default: &513 value: access_level: organization x-github: @@ -76240,15 +76982,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *509 + schema: *512 examples: - default: *510 + default: *513 responses: '204': description: Response @@ -76272,14 +77014,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *269 + schema: *272 examples: default: value: @@ -76303,8 +77045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Empty response for successful settings update @@ -76314,7 +77056,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: summary: Set retention days @@ -76338,8 +77080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -76347,7 +77089,7 @@ paths: application/json: schema: *59 examples: - default: *271 + default: *274 '404': *6 x-github: enabledForGitHubApps: true @@ -76366,8 +77108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -76401,14 +77143,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *272 + schema: *275 examples: default: *60 '403': *27 @@ -76430,13 +77172,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *273 + schema: *276 examples: default: *60 responses: @@ -76462,8 +77204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -76494,8 +77236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -76527,14 +77269,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: default: *66 x-github: @@ -76557,8 +77299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Success response @@ -76569,7 +77311,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *280 examples: default: *66 x-github: @@ -76598,8 +77340,8 @@ paths: in: query schema: type: string - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -76644,8 +77386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: version description: The runner version to look up. in: path @@ -76712,8 +77454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -76721,9 +77463,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76745,8 +77487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -76789,7 +77531,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *286 '404': *6 '422': *7 '409': *116 @@ -76820,8 +77562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -76829,7 +77571,7 @@ paths: application/json: schema: *76 examples: - default: *284 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76857,8 +77599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -76866,7 +77608,7 @@ paths: application/json: schema: *76 examples: - default: *285 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76888,8 +77630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '200': @@ -76898,7 +77640,7 @@ paths: application/json: schema: *73 examples: - default: *286 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76919,8 +77661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '204': @@ -76947,8 +77689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '200': *78 @@ -76973,8 +77715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 requestBody: required: true @@ -77023,8 +77765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 requestBody: required: true @@ -77074,11 +77816,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: - '200': *287 + '200': *290 '404': *6 x-github: githubCloudOnly: false @@ -77105,10 +77847,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 - - *288 + - *291 responses: '200': *78 '404': *6 @@ -77136,9 +77878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *490 - - *491 - - &526 + - *493 + - *494 + - &529 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -77146,7 +77888,7 @@ paths: required: false schema: type: string - - &527 + - &530 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -77154,7 +77896,7 @@ paths: required: false schema: type: string - - &528 + - &531 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -77163,7 +77905,7 @@ paths: required: false schema: type: string - - &529 + - &532 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -77190,7 +77932,7 @@ paths: - pending - *17 - *19 - - &530 + - &533 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -77199,7 +77941,7 @@ paths: schema: type: string format: date-time - - &511 + - &514 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -77208,14 +77950,14 @@ paths: schema: type: boolean default: false - - &531 + - &534 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &532 + - &535 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -77238,7 +77980,7 @@ paths: type: integer workflow_runs: type: array - items: &512 + items: &515 title: Workflow Run description: An invocation of a workflow type: object @@ -77357,7 +78099,7 @@ paths: type: - array - 'null' - items: *224 + items: *227 created_at: type: string format: date-time @@ -77418,7 +78160,7 @@ paths: head_commit: anyOf: - type: 'null' - - &556 + - &559 title: Simple Commit description: A commit. type: object @@ -77492,8 +78234,8 @@ paths: - timestamp - author - committer - repository: *280 - head_repository: *280 + repository: *283 + head_repository: *283 head_repository_id: type: integer examples: @@ -77533,7 +78275,7 @@ paths: - workflow_url - pull_requests examples: - default: &533 + default: &536 value: total_count: 1 workflow_runs: @@ -77769,24 +78511,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *490 - - *491 - - &513 + - *493 + - *494 + - &516 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *511 + - *514 responses: '200': description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: &516 + default: &519 value: id: 30433642 name: Build @@ -78027,9 +78769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '204': description: Response @@ -78052,9 +78794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -78182,15 +78924,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -78217,12 +78959,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - *17 - *19 - - *514 + - *517 - *107 responses: '200': @@ -78239,9 +78981,9 @@ paths: type: integer artifacts: type: array - items: *499 + items: *502 examples: - default: *515 + default: *518 headers: Link: *42 x-github: @@ -78265,25 +79007,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *490 - - *491 - - *513 - - &517 + - *493 + - *494 + - *516 + - &520 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *511 + - *514 responses: '200': description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: *516 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78306,10 +79048,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *490 - - *491 - - *513 - - *517 + - *493 + - *494 + - *516 + - *520 - *17 - *19 responses: @@ -78327,9 +79069,9 @@ paths: type: integer jobs: type: array - items: *518 + items: *521 examples: - default: &519 + default: &522 value: total_count: 1 jobs: @@ -78442,10 +79184,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *490 - - *491 - - *513 - - *517 + - *493 + - *494 + - *516 + - *520 responses: '302': description: Response @@ -78473,15 +79215,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '202': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -78521,9 +79263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - *17 - *105 - *106 @@ -78700,9 +79442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: true content: @@ -78769,15 +79511,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '202': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -78804,9 +79546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -78836,9 +79578,9 @@ paths: type: integer jobs: type: array - items: *518 + items: *521 examples: - default: *519 + default: *522 headers: Link: *42 x-github: @@ -78863,9 +79605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '302': description: Response @@ -78892,9 +79634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '204': description: Response @@ -78921,9 +79663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -78992,7 +79734,7 @@ paths: items: type: object properties: - type: &648 + type: &651 type: string description: The type of reviewer. enum: @@ -79003,7 +79745,7 @@ paths: reviewer: anyOf: - *4 - - *313 + - *316 required: - environment - wait_timer @@ -79078,9 +79820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: true content: @@ -79130,7 +79872,7 @@ paths: application/json: schema: type: array - items: &635 + items: &638 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -79242,7 +79984,7 @@ paths: - created_at - updated_at examples: - default: &636 + default: &639 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -79298,9 +80040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: false content: @@ -79322,7 +80064,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79345,9 +80087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: false content: @@ -79369,7 +80111,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79402,9 +80144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -79541,8 +80283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -79560,9 +80302,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -79587,16 +80329,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79618,17 +80360,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: &534 + default: &537 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -79654,9 +80396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -79687,7 +80429,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79713,9 +80455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -79740,9 +80482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -79759,9 +80501,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -79784,8 +80526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -79812,7 +80554,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79837,17 +80579,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: &535 + default: &538 value: name: USERNAME value: octocat @@ -79873,9 +80615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 requestBody: required: true content: @@ -79917,9 +80659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '204': description: Response @@ -79944,8 +80686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -79963,7 +80705,7 @@ paths: type: integer workflows: type: array - items: &524 + items: &527 title: Workflow description: A GitHub Actions workflow type: object @@ -80081,9 +80823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *490 - - *491 - - &525 + - *493 + - *494 + - &528 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -80098,7 +80840,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -80131,9 +80873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '204': description: Response @@ -80158,9 +80900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '200': description: Response including the workflow run ID and URLs. @@ -80240,9 +80982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '204': description: Response @@ -80269,19 +81011,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *490 - - *491 - - *525 - - *526 - - *527 + - *493 + - *494 - *528 - *529 - - *17 - - *19 - *530 - - *511 - *531 - *532 + - *17 + - *19 + - *533 + - *514 + - *534 + - *535 responses: '200': description: Response @@ -80297,9 +81039,9 @@ paths: type: integer workflow_runs: type: array - items: *512 + items: *515 examples: - default: *533 + default: *536 headers: Link: *42 x-github: @@ -80332,9 +81074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '200': description: Response @@ -80395,8 +81137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *490 - - *491 + - *493 + - *494 - *107 - *17 - *105 @@ -80569,8 +81311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -80588,9 +81330,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -80614,9 +81356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -80633,9 +81375,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -80660,8 +81402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -80679,9 +81421,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -80706,16 +81448,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80737,17 +81479,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80769,9 +81511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -80802,7 +81544,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -80828,9 +81570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -80855,9 +81597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -80874,9 +81616,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -80899,8 +81641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -80927,7 +81669,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -80952,17 +81694,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: *535 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80983,9 +81725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 requestBody: required: true content: @@ -81027,9 +81769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '204': description: Response @@ -81050,8 +81792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -81063,7 +81805,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '404': *6 @@ -81088,8 +81830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *490 - - *491 + - *493 + - *494 - name: assignee in: path required: true @@ -81125,8 +81867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -81236,8 +81978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *105 - *106 @@ -81278,7 +82020,7 @@ paths: initiator: type: string examples: - default: *536 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81298,8 +82040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -81307,7 +82049,7 @@ paths: application/json: schema: type: array - items: &537 + items: &540 title: Autolink reference description: An autolink reference. type: object @@ -81366,8 +82108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -81406,9 +82148,9 @@ paths: description: response content: application/json: - schema: *537 + schema: *540 examples: - default: &538 + default: &541 value: id: 1 key_prefix: TICKET- @@ -81439,9 +82181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *490 - - *491 - - &539 + - *493 + - *494 + - &542 name: autolink_id description: The unique identifier of the autolink. in: path @@ -81453,9 +82195,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: - default: *538 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -81475,9 +82217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *490 - - *491 - - *539 + - *493 + - *494 + - *542 responses: '204': description: Response @@ -81501,8 +82243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response if Dependabot is enabled @@ -81552,8 +82294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -81574,8 +82316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -81595,8 +82337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *490 - - *491 + - *493 + - *494 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -81634,7 +82376,7 @@ paths: - url protected: type: boolean - protection: &541 + protection: &544 title: Branch Protection description: Branch Protection type: object @@ -81677,7 +82419,7 @@ paths: required: - contexts - checks - enforce_admins: &544 + enforce_admins: &547 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -81694,7 +82436,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &546 + required_pull_request_reviews: &549 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -81716,7 +82458,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *313 + items: *316 apps: description: The list of apps with review dismissal access. @@ -81748,7 +82490,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *313 + items: *316 apps: description: The list of apps allowed to bypass pull request requirements. @@ -81778,7 +82520,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &543 + restrictions: &546 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -81841,7 +82583,7 @@ paths: type: string teams: type: array - items: *313 + items: *316 apps: type: array items: @@ -82071,9 +82813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *490 - - *491 - - &542 + - *493 + - *494 + - &545 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -82087,14 +82829,14 @@ paths: description: Response content: application/json: - schema: &552 + schema: &555 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &608 + commit: &611 title: Commit description: Commit type: object @@ -82133,7 +82875,7 @@ paths: author: anyOf: - type: 'null' - - &540 + - &543 title: Git User description: Metaproperties for Git author/committer information. @@ -82155,7 +82897,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 message: type: string examples: @@ -82179,7 +82921,7 @@ paths: required: - sha - url - verification: &666 + verification: &669 title: Verification type: object properties: @@ -82215,14 +82957,14 @@ paths: author: oneOf: - *4 - - *291 + - *294 type: - 'null' - object committer: oneOf: - *4 - - *291 + - *294 type: - 'null' - object @@ -82259,7 +83001,7 @@ paths: type: integer files: type: array - items: &618 + items: &621 title: Diff Entry description: Diff Entry type: object @@ -82355,7 +83097,7 @@ paths: - self protected: type: boolean - protection: *541 + protection: *544 protection_url: type: string format: uri @@ -82464,7 +83206,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *496 + '301': *499 '404': *6 x-github: githubCloudOnly: false @@ -82486,15 +83228,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: default: value: @@ -82688,9 +83430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -82950,7 +83692,7 @@ paths: url: type: string format: uri - required_status_checks: &549 + required_status_checks: &552 title: Status Check Policy description: Status Check Policy type: object @@ -83031,7 +83773,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 apps: type: array items: *5 @@ -83049,7 +83791,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 apps: type: array items: *5 @@ -83109,7 +83851,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *543 + restrictions: *546 required_conversation_resolution: type: object properties: @@ -83221,9 +83963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -83248,17 +83990,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: &545 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -83280,17 +84022,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: *545 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83309,9 +84051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -83336,17 +84078,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *546 + schema: *549 examples: - default: &547 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -83442,9 +84184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -83542,9 +84284,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *549 examples: - default: *547 + default: *550 '422': *15 x-github: githubCloudOnly: false @@ -83565,9 +84307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -83594,17 +84336,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: &548 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -83627,17 +84369,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: *548 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -83657,9 +84399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -83684,17 +84426,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *549 + schema: *552 examples: - default: &550 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -83720,9 +84462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -83774,9 +84516,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *552 examples: - default: *550 + default: *553 '404': *6 '422': *15 x-github: @@ -83798,9 +84540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -83824,9 +84566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -83860,9 +84602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -83929,9 +84671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -83995,9 +84737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: content: application/json: @@ -84063,15 +84805,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *543 + schema: *546 examples: default: value: @@ -84162,9 +84904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84187,9 +84929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -84199,7 +84941,7 @@ paths: type: array items: *5 examples: - default: &551 + default: &554 value: - id: 1 slug: octoapp @@ -84256,9 +84998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84292,7 +85034,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -84313,9 +85055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84349,7 +85091,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -84370,9 +85112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84406,7 +85148,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -84428,9 +85170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -84438,9 +85180,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -84460,9 +85202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84498,9 +85240,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -84521,9 +85263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84559,9 +85301,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -84582,9 +85324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: content: application/json: @@ -84619,9 +85361,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -84643,9 +85385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -84655,7 +85397,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -84679,9 +85421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84714,7 +85456,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -84739,9 +85481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84774,7 +85516,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -84799,9 +85541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84834,7 +85576,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -84861,9 +85603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84885,7 +85627,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *555 examples: default: value: @@ -84999,8 +85741,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 @@ -85014,9 +85756,9 @@ paths: application/json: schema: type: array - items: *308 + items: *311 examples: - default: *309 + default: *312 '404': *6 '500': *35 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -85036,8 +85778,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -85051,7 +85793,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *311 examples: default: value: @@ -85110,8 +85852,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 @@ -85125,9 +85867,9 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: - default: *312 + default: *315 '404': *6 '403': *27 '500': *35 @@ -85151,8 +85893,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -85164,7 +85906,7 @@ paths: description: A single bypass request. content: application/json: - schema: *311 + schema: *314 examples: default: value: @@ -85222,8 +85964,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -85294,8 +86036,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_response_id in: path required: true @@ -85328,8 +86070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -85608,7 +86350,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &556 title: CheckRun description: A check performed on the code of a given code change type: object @@ -85743,8 +86485,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *224 - deployment: &912 + items: *227 + deployment: &915 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -86031,9 +86773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *490 - - *491 - - &554 + - *493 + - *494 + - &557 name: check_run_id description: The unique identifier of the check run. in: path @@ -86046,9 +86788,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: - default: &555 + default: &558 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -86148,9 +86890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 requestBody: required: true content: @@ -86390,9 +87132,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: - default: *555 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86412,9 +87154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 - *17 - *19 responses: @@ -86524,15 +87266,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -86570,8 +87312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -86593,7 +87335,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &557 + schema: &560 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -86675,12 +87417,12 @@ paths: type: - array - 'null' - items: *224 + items: *227 app: anyOf: - type: 'null' - *5 - repository: *280 + repository: *283 created_at: type: - string @@ -86691,7 +87433,7 @@ paths: - string - 'null' format: date-time - head_commit: *556 + head_commit: *559 latest_check_runs_count: type: integer check_runs_url: @@ -86719,7 +87461,7 @@ paths: - check_runs_url - pull_requests examples: - default: &558 + default: &561 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -87010,9 +87752,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *557 + schema: *560 examples: - default: *558 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87031,8 +87773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -87093,7 +87835,7 @@ paths: required: - app_id - setting - repository: *280 + repository: *283 examples: default: value: @@ -87341,9 +88083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *490 - - *491 - - &559 + - *493 + - *494 + - &562 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -87355,9 +88097,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: *558 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87380,17 +88122,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *490 - - *491 - - *559 - - &613 + - *493 + - *494 + - *562 + - &616 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &614 + - &617 name: status description: Returns check runs with the specified `status`. in: query @@ -87429,9 +88171,9 @@ paths: type: integer check_runs: type: array - items: *553 + items: *556 examples: - default: &615 + default: &618 value: total_count: 1 check_runs: @@ -87533,15 +88275,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *490 - - *491 - - *559 + - *493 + - *494 + - *562 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -87564,8 +88306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *107 - *105 @@ -87587,7 +88329,7 @@ paths: application/json: schema: type: array - items: &560 + items: &563 description: Code quality finding type: object properties: @@ -87717,14 +88459,14 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &561 + '403': &564 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87744,8 +88486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *490 - - *491 + - *493 + - *494 - name: finding_number in: path description: The number that identifies a finding. @@ -87757,7 +88499,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *563 examples: default: value: @@ -87786,9 +88528,9 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *561 + '403': *564 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87808,8 +88550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -87891,9 +88633,9 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *561 + '403': *564 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87912,8 +88654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -87984,7 +88726,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -88027,7 +88769,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88050,14 +88792,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &562 + schema: &565 description: AI Scan enablement for a repository. type: object properties: @@ -88070,10 +88812,10 @@ paths: required: - pr_scan examples: - default: &563 + default: &566 value: pr_scan: enabled - '403': &572 + '403': &575 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -88101,8 +88843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -88129,10 +88871,10 @@ paths: description: Response content: application/json: - schema: *562 + schema: *565 examples: - default: *563 - '403': &576 + default: *566 + '403': &579 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -88163,21 +88905,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *490 - - *491 - - *319 - - *320 + - *493 + - *494 + - *322 + - *323 - *19 - *17 - - &580 + - &583 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *564 - - &581 + schema: *567 + - &584 name: pr description: The number of the pull request for the results you want to list. in: query @@ -88202,13 +88944,13 @@ paths: be returned. in: query required: false - schema: *321 + schema: *324 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *565 + schema: *568 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -88227,24 +88969,24 @@ paths: items: type: object properties: - number: *128 - created_at: *135 - updated_at: *136 - url: *133 - html_url: *134 - instances_url: *566 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 + instances_url: *569 state: *110 - fixed_at: *138 + fixed_at: *141 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *137 - dismissed_reason: *567 - dismissed_comment: *568 - rule: *569 - tool: *570 - most_recent_instance: *571 + dismissed_at: *140 + dismissed_reason: *570 + dismissed_comment: *571 + rule: *572 + tool: *573 + most_recent_instance: *574 dismissal_approved_by: anyOf: - type: 'null' @@ -88367,9 +89109,9 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88389,9 +89131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *490 - - *491 - - &574 + - *493 + - *494 + - &577 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -88399,30 +89141,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *128 + schema: *131 responses: '200': description: Response content: application/json: - schema: &575 + schema: &578 type: object properties: - number: *128 - created_at: *135 - updated_at: *136 - url: *133 - html_url: *134 - instances_url: *566 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 + instances_url: *569 state: *110 - fixed_at: *138 + fixed_at: *141 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *137 - dismissed_reason: *567 - dismissed_comment: *568 + dismissed_at: *140 + dismissed_reason: *570 + dismissed_comment: *571 rule: type: object properties: @@ -88484,8 +89226,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *570 - most_recent_instance: *571 + tool: *573 + most_recent_instance: *574 dismissal_approved_by: anyOf: - type: 'null' @@ -88496,7 +89238,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *573 + items: *576 required: - number - created_at @@ -88585,9 +89327,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88605,9 +89347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: true content: @@ -88622,8 +89364,8 @@ paths: enum: - open - dismissed - dismissed_reason: *567 - dismissed_comment: *568 + dismissed_reason: *570 + dismissed_comment: *571 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -88651,7 +89393,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -88727,9 +89469,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88749,15 +89491,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 responses: '200': description: Response content: application/json: - schema: &577 + schema: &580 type: object properties: status: @@ -88784,13 +89526,13 @@ paths: - description - started_at examples: - default: &578 + default: &581 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &579 + '400': &582 description: Bad Request content: application/json: @@ -88801,7 +89543,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *572 + '403': *575 '404': *6 '500': *35 x-github: @@ -88826,29 +89568,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 responses: '200': description: OK content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '202': description: Accepted content: application/json: - schema: *577 + schema: *580 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *579 + '400': *582 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -88880,9 +89622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: false content: @@ -88928,12 +89670,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *579 - '403': *576 + '400': *582 + '403': *579 '404': *6 '422': description: Unprocessable Entity - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88953,13 +89695,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 - *19 - *17 - - *580 - - *581 + - *583 + - *584 responses: '200': description: Response @@ -88970,10 +89712,10 @@ paths: items: type: object properties: - ref: *564 - analysis_key: *582 - environment: *583 - category: *584 + ref: *567 + analysis_key: *585 + environment: *586 + category: *587 state: type: - string @@ -88990,7 +89732,7 @@ paths: properties: text: type: string - location: *585 + location: *588 html_url: type: string classifications: @@ -88998,7 +89740,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *586 + items: *589 examples: default: value: @@ -89035,9 +89777,9 @@ paths: end_column: 50 classifications: - source - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89069,25 +89811,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *490 - - *491 - - *319 - - *320 + - *493 + - *494 + - *322 + - *323 - *19 - *17 - - *581 + - *584 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *564 + schema: *567 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &587 + schema: &590 type: string description: An identifier for the upload. examples: @@ -89109,23 +89851,23 @@ paths: application/json: schema: type: array - items: &588 + items: &591 type: object properties: - ref: *564 - commit_sha: &596 + ref: *567 + commit_sha: &599 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *582 + analysis_key: *585 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *584 + category: *587 error: type: string examples: @@ -89150,8 +89892,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *587 - tool: *570 + sarif_id: *590 + tool: *573 deletable: type: boolean warning: @@ -89213,9 +89955,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89249,8 +89991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -89263,7 +90005,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: response: summary: application/json response @@ -89317,14 +90059,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *572 + '403': *575 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89404,8 +90146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -89461,9 +90203,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89483,8 +90225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -89492,7 +90234,7 @@ paths: application/json: schema: type: array - items: &589 + items: &592 title: CodeQL Database description: A CodeQL database. type: object @@ -89604,9 +90346,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89633,8 +90375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: language in: path description: The language of the CodeQL database. @@ -89646,7 +90388,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *592 examples: default: value: @@ -89678,11 +90420,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &622 + '302': &625 description: Found - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89702,8 +90444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *490 - - *491 + - *493 + - *494 - name: language in: path description: The language of the CodeQL database. @@ -89713,9 +90455,9 @@ paths: responses: '204': description: Response - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89741,8 +90483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -89751,7 +90493,7 @@ paths: type: object additionalProperties: false properties: - language: &590 + language: &593 type: string description: The language targeted by the CodeQL query enum: @@ -89831,7 +90573,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &594 + schema: &597 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -89841,7 +90583,7 @@ paths: description: The ID of the variant analysis. controller_repo: *117 actor: *4 - query_language: *590 + query_language: *593 query_pack_url: type: string description: The download url for the query pack. @@ -89889,7 +90631,7 @@ paths: items: type: object properties: - repository: &591 + repository: &594 title: Repository Identifier description: Repository Identifier type: object @@ -89931,7 +90673,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &595 + analysis_status: &598 type: string description: The new status of the CodeQL variant analysis repository task. @@ -89963,7 +90705,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &592 + access_mismatch_repos: &595 type: object properties: repository_count: @@ -89978,7 +90720,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *591 + items: *594 required: - repository_count - repositories @@ -90001,8 +90743,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *592 - over_limit_repos: *592 + no_codeql_db_repos: *595 + over_limit_repos: *595 required: - access_mismatch_repos - not_found_repos @@ -90018,7 +90760,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &593 + value: &596 summary: Default response value: id: 1 @@ -90164,17 +90906,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *593 + value: *596 repository_lists: summary: Response for a successful variant analysis submission - value: *593 + value: *596 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90195,8 +90937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *490 - - *491 + - *493 + - *494 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -90208,11 +90950,11 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: *593 + default: *596 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90233,7 +90975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *490 + - *493 - name: repo in: path description: The name of the controller repository. @@ -90268,7 +91010,7 @@ paths: type: object properties: repository: *117 - analysis_status: *595 + analysis_status: *598 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -90372,7 +91114,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90393,8 +91135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -90485,9 +91227,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90506,8 +91248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -90576,7 +91318,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -90601,7 +91343,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *576 + '403': *579 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -90615,7 +91357,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90672,8 +91414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -90681,7 +91423,7 @@ paths: schema: type: object properties: - commit_sha: *596 + commit_sha: *599 ref: type: string description: |- @@ -90741,7 +91483,7 @@ paths: schema: type: object properties: - id: *587 + id: *590 url: type: string description: The REST API URL for checking the status of the upload. @@ -90755,11 +91497,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *576 + '403': *579 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90778,8 +91520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *490 - - *491 + - *493 + - *494 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -90827,10 +91569,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *572 + '403': *575 '404': description: Not Found if the sarif id does not match any upload - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90852,8 +91594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -90934,8 +91676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -91063,8 +91805,8 @@ paths: parameters: - *17 - *19 - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -91080,7 +91822,7 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: default: value: @@ -91378,8 +92120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -91443,22 +92185,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91482,8 +92224,8 @@ paths: parameters: - *17 - *19 - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -91547,8 +92289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -91585,9 +92327,9 @@ paths: type: integer machines: type: array - items: *598 + items: *601 examples: - default: &855 + default: &858 value: total_count: 2 machines: @@ -91627,8 +92369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -91715,8 +92457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -91764,7 +92506,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91785,8 +92527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -91804,7 +92546,7 @@ paths: type: integer secrets: type: array - items: &602 + items: &605 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -91825,7 +92567,7 @@ paths: - created_at - updated_at examples: - default: *599 + default: *602 headers: Link: *42 x-github: @@ -91848,16 +92590,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: *601 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91877,17 +92619,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91907,9 +92649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -91937,7 +92679,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -91961,9 +92703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -91991,8 +92733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *490 - - *491 + - *493 + - *494 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -92030,7 +92772,7 @@ paths: application/json: schema: type: array - items: &604 + items: &607 title: Collaborator description: Collaborator type: object @@ -92223,8 +92965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '204': @@ -92271,8 +93013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 requestBody: required: false @@ -92299,7 +93041,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &679 + schema: &682 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92311,7 +93053,7 @@ paths: format: int64 examples: - 42 - repository: *280 + repository: *283 invitee: anyOf: - type: 'null' @@ -92487,7 +93229,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *255 + schema: *258 '403': *27 x-github: triggersNotification: true @@ -92527,8 +93269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '204': @@ -92560,8 +93302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '200': @@ -92582,7 +93324,7 @@ paths: user: anyOf: - type: 'null' - - *604 + - *607 required: - permission - role_name @@ -92636,8 +93378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -92647,7 +93389,7 @@ paths: application/json: schema: type: array - items: &605 + items: &608 title: Commit Comment description: Commit Comment type: object @@ -92688,8 +93430,8 @@ paths: updated_at: type: string format: date-time - author_association: *218 - reactions: *219 + author_association: *221 + reactions: *222 required: - url - html_url @@ -92705,7 +93447,7 @@ paths: - created_at - updated_at examples: - default: &610 + default: &613 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -92764,17 +93506,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: &611 + default: &614 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -92831,9 +93573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -92855,7 +93597,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -92906,9 +93648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -92929,9 +93671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -92957,7 +93699,7 @@ paths: application/json: schema: type: array - items: &606 + items: &609 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -93001,7 +93743,7 @@ paths: - content - created_at examples: - default: &682 + default: &685 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -93046,9 +93788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -93080,9 +93822,9 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: &607 + default: &610 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -93111,9 +93853,9 @@ paths: description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -93135,10 +93877,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *490 - - *491 - - *235 - - &683 + - *493 + - *494 + - *238 + - &686 name: reaction_id description: The unique identifier of the reaction. in: path @@ -93193,8 +93935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *490 - - *491 + - *493 + - *494 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -93250,9 +93992,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: &750 + default: &753 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -93346,9 +94088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *490 - - *491 - - &609 + - *493 + - *494 + - &612 name: commit_sha description: The SHA of the commit. in: path @@ -93420,9 +94162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 - *17 - *19 responses: @@ -93432,9 +94174,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *610 + default: *613 headers: Link: *42 x-github: @@ -93464,9 +94206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 requestBody: required: true content: @@ -93501,9 +94243,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: *611 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93531,9 +94273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 - *17 - *19 responses: @@ -93543,9 +94285,9 @@ paths: application/json: schema: type: array - items: *573 + items: *576 examples: - default: &741 + default: &744 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94082,11 +94824,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 - - &612 + - &615 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -94101,9 +94843,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: &727 + default: &730 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -94191,7 +94933,7 @@ paths: schema: type: string examples: - default: &619 + default: &622 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -94204,7 +94946,7 @@ paths: schema: type: string examples: - default: &620 + default: &623 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -94231,7 +94973,7 @@ paths: '422': *15 '404': *6 '500': *35 - '503': *193 + '503': *196 '409': *116 x-github: githubCloudOnly: false @@ -94257,11 +94999,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *490 - - *491 - - *612 - - *613 - - *614 + - *493 + - *494 + - *615 + - *616 + - *617 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -94295,9 +95037,9 @@ paths: type: integer check_runs: type: array - items: *553 + items: *556 examples: - default: *615 + default: *618 headers: Link: *42 x-github: @@ -94322,9 +95064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -94332,7 +95074,7 @@ paths: schema: type: integer example: 1 - - *613 + - *616 - *17 - *19 responses: @@ -94350,7 +95092,7 @@ paths: type: integer check_suites: type: array - items: *557 + items: *560 examples: default: value: @@ -94550,9 +95292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - *17 - *19 responses: @@ -94623,7 +95365,7 @@ paths: type: string total_count: type: integer - repository: *280 + repository: *283 commit_url: type: string format: uri @@ -94754,9 +95496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - *17 - *19 responses: @@ -94766,7 +95508,7 @@ paths: application/json: schema: type: array - items: &808 + items: &811 title: Status description: The status of a commit. type: object @@ -94847,7 +95589,7 @@ paths: site_admin: false headers: Link: *42 - '301': *496 + '301': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94875,8 +95617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -94909,11 +95651,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *616 + - *619 code_of_conduct_file: anyOf: - type: 'null' - - &617 + - &620 title: Community Health File type: object properties: @@ -94929,23 +95671,23 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 contributing: anyOf: - type: 'null' - - *617 + - *620 readme: anyOf: - type: 'null' - - *617 + - *620 issue_template: anyOf: - type: 'null' - - *617 + - *620 pull_request_template: anyOf: - type: 'null' - - *617 + - *620 required: - code_of_conduct - code_of_conduct_file @@ -95074,8 +95816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 - name: basehead @@ -95123,8 +95865,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *608 - merge_base_commit: *608 + base_commit: *611 + merge_base_commit: *611 status: type: string enum: @@ -95148,10 +95890,10 @@ paths: - 6 commits: type: array - items: *608 + items: *611 files: type: array - items: *618 + items: *621 required: - url - html_url @@ -95397,15 +96139,15 @@ paths: schema: type: string examples: - default: *619 + default: *622 application/vnd.github.patch: schema: type: string examples: - default: *620 + default: *623 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95447,8 +96189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -95618,7 +96360,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &621 + response-if-content-is-a-file-github-object: &624 summary: Response if content is a file value: type: file @@ -95755,7 +96497,7 @@ paths: - size - type - url - - &756 + - &759 title: Content File description: Content File type: object @@ -95973,7 +96715,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *621 + response-if-content-is-a-file: *624 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -96042,7 +96784,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *622 + '302': *625 '304': *32 x-github: githubCloudOnly: false @@ -96065,8 +96807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -96161,7 +96903,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &626 title: File Commit description: File Commit type: object @@ -96317,7 +97059,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: example-for-creating-a-file: value: @@ -96371,7 +97113,7 @@ paths: schema: oneOf: - *3 - - &661 + - &664 description: Repository rule violation was detected type: object properties: @@ -96392,7 +97134,7 @@ paths: items: type: object properties: - placeholder_id: &798 + placeholder_id: &801 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -96424,8 +97166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -96486,7 +97228,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: default: value: @@ -96521,7 +97263,7 @@ paths: '422': *15 '404': *6 '409': *116 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96541,8 +97283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *490 - - *491 + - *493 + - *494 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -96672,8 +97414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -96825,25 +97567,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *490 - - *491 - - *340 - - *341 - - *342 + - *493 + - *494 - *343 - *344 + - *345 + - *346 + - *347 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *345 - - *624 - - *346 - - *347 - *348 + - *627 - *349 + - *350 + - *351 + - *352 - *107 - *105 - *106 @@ -96855,11 +97597,11 @@ paths: application/json: schema: type: array - items: &628 + items: &631 type: object description: A Dependabot alert. properties: - number: *128 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -96874,7 +97616,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *129 + package: *132 manifest_path: type: string description: The full path to the dependency manifest file, @@ -96906,13 +97648,13 @@ paths: - transitive - inconclusive - - security_advisory: *625 - security_vulnerability: *132 - url: *133 - html_url: *134 - created_at: *135 - updated_at: *136 - dismissed_at: *137 + security_advisory: *628 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: anyOf: - type: 'null' @@ -96936,9 +97678,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *138 - auto_dismissed_at: *626 - dismissal_request: *627 + fixed_at: *141 + auto_dismissed_at: *629 + dismissal_request: *630 assignees: type: array description: The users assigned to this alert. @@ -97195,9 +97937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *490 - - *491 - - &629 + - *493 + - *494 + - &632 name: alert_number in: path description: |- @@ -97206,13 +97948,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *128 + schema: *131 responses: '200': description: Response content: application/json: - schema: *628 + schema: *631 examples: default: value: @@ -97346,9 +98088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *490 - - *491 - - *629 + - *493 + - *494 + - *632 requestBody: required: true content: @@ -97421,7 +98163,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *631 examples: default: value: @@ -97553,8 +98295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -97572,7 +98314,7 @@ paths: type: integer secrets: type: array - items: &632 + items: &635 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -97626,16 +98368,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97655,15 +98397,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *632 + schema: *635 examples: default: value: @@ -97689,9 +98431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -97719,7 +98461,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -97743,9 +98485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -97767,8 +98509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *490 - - *491 + - *493 + - *494 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -97928,7 +98670,7 @@ paths: schema: *3 '400': *14 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false category: dependency-graph @@ -97948,8 +98690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -98211,8 +98953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: sbom_uuid in: path required: true @@ -98223,7 +98965,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *633 + Location: *636 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -98244,8 +98986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -98283,8 +99025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -98367,7 +99109,7 @@ paths: - version - url additionalProperties: false - metadata: &634 + metadata: &637 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98406,7 +99148,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *634 + metadata: *637 resolved: type: object description: A collection of resolved package dependencies. @@ -98420,7 +99162,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *634 + metadata: *637 relationship: type: string description: A notation of whether a dependency is requested @@ -98553,8 +99295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *490 - - *491 + - *493 + - *494 - name: sha description: The SHA recorded at creation time. in: query @@ -98595,9 +99337,9 @@ paths: application/json: schema: type: array - items: *635 + items: *638 examples: - default: *636 + default: *639 headers: Link: *42 x-github: @@ -98663,8 +99405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -98746,7 +99488,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: simple-example: summary: Simple example @@ -98819,9 +99561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *490 - - *491 - - &637 + - *493 + - *494 + - &640 name: deployment_id description: deployment_id parameter in: path @@ -98833,7 +99575,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: default: value: @@ -98898,9 +99640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 responses: '204': description: Response @@ -98922,9 +99664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 - *17 - *19 responses: @@ -98934,7 +99676,7 @@ paths: application/json: schema: type: array - items: &638 + items: &641 title: Deployment Status description: The status of a deployment. type: object @@ -99098,9 +99840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 requestBody: required: true content: @@ -99175,9 +99917,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *641 examples: - default: &639 + default: &642 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -99233,9 +99975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 - name: status_id in: path required: true @@ -99246,9 +99988,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *641 examples: - default: *639 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -99275,12 +100017,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 - - *640 - - *641 - - *642 + - *493 + - *494 - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -99290,9 +100032,9 @@ paths: application/json: schema: type: array - items: *644 + items: *647 examples: - default: *645 + default: *648 '404': *6 '403': *27 '500': *35 @@ -99316,8 +100058,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99329,7 +100071,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *644 + schema: *647 examples: default: value: @@ -99385,8 +100127,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99445,12 +100187,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 - - *640 - - *641 - - *642 + - *493 + - *494 - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -99460,9 +100202,9 @@ paths: application/json: schema: type: array - items: *646 + items: *649 examples: - default: *647 + default: *650 '404': *6 '403': *27 '500': *35 @@ -99486,8 +100228,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99499,7 +100241,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *646 + schema: *649 examples: default: value: @@ -99550,8 +100292,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99590,7 +100332,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *646 + schema: *649 examples: default: value: @@ -99641,8 +100383,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99713,8 +100455,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99747,12 +100489,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -99762,9 +100504,9 @@ paths: application/json: schema: type: array - items: *357 + items: *360 examples: - default: *358 + default: *361 '404': *6 '403': *27 '500': *35 @@ -99789,8 +100531,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99802,7 +100544,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *357 + schema: *360 examples: default: value: @@ -99860,8 +100602,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -99930,8 +100672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -99988,8 +100730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -100007,7 +100749,7 @@ paths: - 5 environments: type: array - items: &649 + items: &652 title: Environment description: Details of a deployment environment type: object @@ -100069,7 +100811,7 @@ paths: type: string examples: - wait_timer - wait_timer: &651 + wait_timer: &654 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -100111,11 +100853,11 @@ paths: items: type: object properties: - type: *648 + type: *651 reviewer: anyOf: - *4 - - *313 + - *316 required: - id - node_id @@ -100138,7 +100880,7 @@ paths: - id - node_id - type - deployment_branch_policy: &652 + deployment_branch_policy: &655 type: - object - 'null' @@ -100255,9 +100997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *490 - - *491 - - &650 + - *493 + - *494 + - &653 name: environment_name in: path required: true @@ -100270,9 +101012,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: - default: &653 + default: &656 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -100356,9 +101098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: false content: @@ -100368,7 +101110,7 @@ paths: - object - 'null' properties: - wait_timer: *651 + wait_timer: *654 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -100387,14 +101129,14 @@ paths: items: type: object properties: - type: *648 + type: *651 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *652 + deployment_branch_policy: *655 additionalProperties: false examples: default: @@ -100414,9 +101156,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: - default: *653 + default: *656 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -100440,9 +101182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 responses: '204': description: Default response @@ -100467,9 +101209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 - *17 - *19 responses: @@ -100488,7 +101230,7 @@ paths: - 2 branch_policies: type: array - items: &654 + items: &657 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -100549,9 +101291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: true content: @@ -100599,9 +101341,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - example-wildcard: &655 + example-wildcard: &658 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -100643,10 +101385,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - &656 + - *493 + - *494 + - *653 + - &659 name: branch_policy_id in: path required: true @@ -100658,9 +101400,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100679,10 +101421,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - *656 + - *493 + - *494 + - *653 + - *659 requestBody: required: true content: @@ -100711,9 +101453,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100732,10 +101474,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - *656 + - *493 + - *494 + - *653 + - *659 responses: '204': description: Response @@ -100760,9 +101502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 responses: '200': description: List of deployment protection rules @@ -100779,7 +101521,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &657 + items: &660 title: Deployment protection rule description: Deployment protection rule type: object @@ -100801,7 +101543,7 @@ paths: for the environment. examples: - true - app: &658 + app: &661 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -100904,9 +101646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 requestBody: content: application/json: @@ -100927,9 +101669,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *657 + schema: *660 examples: - default: &659 + default: &662 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -100964,9 +101706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 - *19 - *17 responses: @@ -100986,7 +101728,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *658 + items: *661 examples: default: value: @@ -101021,10 +101763,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *490 - - *491 - - *650 - - &660 + - *493 + - *494 + - *653 + - &663 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -101036,9 +101778,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *660 examples: - default: *659 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101059,10 +101801,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *650 - - *491 - - *490 - - *660 + - *653 + - *494 + - *493 + - *663 responses: '204': description: Response @@ -101088,9 +101830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 - *17 - *19 responses: @@ -101108,9 +101850,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -101135,17 +101877,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101167,18 +101909,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101200,10 +101942,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 requestBody: required: true content: @@ -101234,7 +101976,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -101260,10 +102002,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 responses: '204': description: Default response @@ -101288,10 +102030,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *490 - - *491 - - *650 - - *299 + - *493 + - *494 + - *653 + - *302 - *19 responses: '200': @@ -101308,9 +102050,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -101333,9 +102075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: true content: @@ -101362,7 +102104,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -101387,18 +102129,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *490 - - *491 - - *650 - - *293 + - *493 + - *494 + - *653 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: *535 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101419,10 +102161,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *490 - - *491 - - *293 - - *650 + - *493 + - *494 + - *296 + - *653 requestBody: required: true content: @@ -101464,10 +102206,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *490 - - *491 - - *293 - - *650 + - *493 + - *494 + - *296 + - *653 responses: '204': description: Response @@ -101489,8 +102231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -101500,7 +102242,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: 200-response: value: @@ -101558,8 +102300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *490 - - *491 + - *493 + - *494 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -101581,7 +102323,7 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: default: value: @@ -101718,8 +102460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -101752,9 +102494,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 '400': *14 '422': *15 '403': *27 @@ -101775,8 +102517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -101835,8 +102577,8 @@ paths: application/json: schema: oneOf: - - *255 - - *661 + - *258 + - *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101861,8 +102603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *490 - - *491 + - *493 + - *494 - name: file_sha in: path required: true @@ -101962,8 +102704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -102072,7 +102814,7 @@ paths: description: Response content: application/json: - schema: &662 + schema: &665 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -102299,15 +103041,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 responses: '200': description: Response content: application/json: - schema: *662 + schema: *665 examples: default: value: @@ -102363,9 +103105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *490 - - *491 - - &663 + - *493 + - *494 + - &666 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -102382,7 +103124,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 title: Git Reference description: Git references within a repository type: object @@ -102458,17 +103200,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 responses: '200': description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: &665 + default: &668 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -102497,8 +103239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -102527,9 +103269,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -102555,9 +103297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 requestBody: required: true content: @@ -102586,9 +103328,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 '422': *15 '409': *116 x-github: @@ -102606,9 +103348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 responses: '204': description: Response @@ -102663,8 +103405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -102731,7 +103473,7 @@ paths: description: Response content: application/json: - schema: &667 + schema: &670 title: Git Tag description: Metadata for a Git tag type: object @@ -102787,7 +103529,7 @@ paths: - sha - type - url - verification: *666 + verification: *669 required: - sha - url @@ -102797,7 +103539,7 @@ paths: - tag - message examples: - default: &668 + default: &671 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -102870,8 +103612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *490 - - *491 + - *493 + - *494 - name: tag_sha in: path required: true @@ -102882,9 +103624,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *668 + default: *671 '404': *6 '409': *116 x-github: @@ -102908,8 +103650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -102983,7 +103725,7 @@ paths: description: Response content: application/json: - schema: &669 + schema: &672 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -103085,8 +103827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *490 - - *491 + - *493 + - *494 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -103109,7 +103851,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: default-response: summary: Default response @@ -103167,8 +103909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -103212,8 +103954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -103223,7 +103965,7 @@ paths: application/json: schema: type: array - items: &670 + items: &673 title: Webhook description: Webhooks for repositories. type: object @@ -103286,7 +104028,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &948 + last_response: &951 title: Hook Response type: object properties: @@ -103363,8 +104105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -103417,9 +104159,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: &671 + default: &674 value: type: Repository id: 12345678 @@ -103467,17 +104209,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '200': description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: *671 + default: *674 '404': *6 x-github: githubCloudOnly: false @@ -103497,9 +104239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 requestBody: required: true content: @@ -103544,9 +104286,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: *671 + default: *674 '422': *15 '404': *6 x-github: @@ -103567,9 +104309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -103593,9 +104335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '200': description: Response @@ -103622,9 +104364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 requestBody: required: false content: @@ -103668,12 +104410,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *17 - - *362 - - *363 + - *365 + - *366 responses: '200': description: Response @@ -103681,9 +104423,9 @@ paths: application/json: schema: type: array - items: *364 + items: *367 examples: - default: *365 + default: *368 '400': *14 '422': *15 x-github: @@ -103702,18 +104444,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '400': *14 '422': *15 x-github: @@ -103732,9 +104474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *16 responses: '202': *34 @@ -103757,9 +104499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -103784,9 +104526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -103809,8 +104551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response if immutable releases are enabled @@ -103858,8 +104600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '409': *116 @@ -103879,8 +104621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '409': *116 @@ -103937,14 +104679,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &672 + schema: &675 title: Import description: A repository import from an external source. type: object @@ -104051,7 +104793,7 @@ paths: - html_url - authors_url examples: - default: &675 + default: &678 value: vcs: subversion use_lfs: true @@ -104067,7 +104809,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &673 + '503': &676 description: Unavailable due to service under maintenance. content: application/json: @@ -104096,8 +104838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -104145,7 +104887,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: default: value: @@ -104170,7 +104912,7 @@ paths: type: string '422': *15 '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104198,8 +104940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -104251,7 +104993,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: example-1: summary: Example 1 @@ -104299,7 +105041,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104322,12 +105064,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104353,9 +105095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *490 - - *491 - - &878 + - *493 + - *494 + - &881 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -104369,7 +105111,7 @@ paths: application/json: schema: type: array - items: &674 + items: &677 title: Porter Author description: Porter Author type: object @@ -104423,7 +105165,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104448,8 +105190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *490 - - *491 + - *493 + - *494 - name: author_id in: path required: true @@ -104479,7 +105221,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: default: value: @@ -104492,7 +105234,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104516,8 +105258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -104558,7 +105300,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104586,8 +105328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -104614,11 +105356,11 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: - default: *675 + default: *678 '422': *15 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104641,8 +105383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -104650,8 +105392,8 @@ paths: application/json: schema: *20 examples: - default: *379 - '301': *496 + default: *382 + '301': *499 '404': *6 x-github: githubCloudOnly: false @@ -104671,8 +105413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -104680,12 +105422,12 @@ paths: application/json: schema: anyOf: - - *381 + - *384 - type: object properties: {} additionalProperties: false examples: - default: &677 + default: &680 value: limit: collaborators_only origin: repository @@ -104710,13 +105452,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *676 + schema: *679 examples: default: summary: Example request body @@ -104728,9 +105470,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: - default: *677 + default: *680 '409': description: Response x-github: @@ -104752,8 +105494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -104780,8 +105522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -104835,13 +105577,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: &678 + schema: &681 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -104891,13 +105633,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *678 + schema: *681 examples: default: summary: Example request body @@ -104930,8 +105672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -104984,8 +105726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -105061,8 +105803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -105072,9 +105814,9 @@ paths: application/json: schema: type: array - items: *679 + items: *682 examples: - default: &870 + default: &873 value: - id: 1 repository: @@ -105205,9 +105947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *490 - - *491 - - *385 + - *493 + - *494 + - *388 requestBody: required: false content: @@ -105236,7 +105978,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *682 examples: default: value: @@ -105367,9 +106109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *490 - - *491 - - *385 + - *493 + - *494 + - *388 responses: '204': description: Response @@ -105392,8 +106134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105401,9 +106143,9 @@ paths: application/json: schema: type: array - items: *389 + items: *392 examples: - default: *680 + default: *683 '404': *6 x-github: githubCloudOnly: false @@ -105432,8 +106174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *490 - - *491 + - *493 + - *494 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -105495,7 +106237,7 @@ paths: required: false schema: type: string - - *392 + - *395 - name: sort description: What to sort results by. in: query @@ -105508,7 +106250,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -105518,9 +106260,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: &690 + default: &693 value: - id: 1 node_id: MDU6SXNzdWUx @@ -105669,7 +106411,7 @@ paths: state_reason: completed headers: Link: *42 - '301': *496 + '301': *499 '422': *15 '404': *6 x-github: @@ -105698,8 +106440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -105812,9 +106554,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: &687 + default: &690 value: id: 1 node_id: MDU6SXNzdWUx @@ -105950,7 +106692,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *193 + '503': *196 '404': *6 '410': *30 x-github: @@ -105980,9 +106722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *490 - - *491 - - *243 + - *493 + - *494 + - *246 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -105992,7 +106734,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -106002,9 +106744,9 @@ paths: application/json: schema: type: array - items: *222 + items: *225 examples: - default: &689 + default: &692 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -106063,17 +106805,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: &681 + default: &684 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -106129,9 +106871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -106153,9 +106895,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: *681 + default: *684 '422': *15 x-github: githubCloudOnly: false @@ -106173,9 +106915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -106203,15 +106945,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *222 + schema: *225 examples: default: value: @@ -106284,9 +107026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -106294,7 +107036,7 @@ paths: '403': *27 '404': *6 '410': *30 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106311,9 +107053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -106339,9 +107081,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -106362,9 +107104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -106396,16 +107138,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -106427,10 +107169,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *490 - - *491 - - *235 - - *683 + - *493 + - *494 + - *238 + - *686 responses: '204': description: Response @@ -106450,8 +107192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -106461,7 +107203,7 @@ paths: application/json: schema: type: array - items: &686 + items: &689 title: Issue Event description: Issue Event type: object @@ -106508,7 +107250,7 @@ paths: issue: anyOf: - type: 'null' - - *221 + - *224 label: title: Issue Event Label description: Issue Event Label @@ -106541,7 +107283,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *313 + requested_team: *316 dismissed_review: title: Issue Event Dismissed Review type: object @@ -106608,7 +107350,7 @@ paths: required: - from - to - issue_type: &684 + issue_type: &687 title: Issue Type description: The type of issue. type: @@ -106639,11 +107381,11 @@ paths: required: - id - name - prev_issue_type: *684 + prev_issue_type: *687 sub_issue: anyOf: - type: 'null' - - &685 + - &688 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -106701,19 +107443,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 blocked_by: anyOf: - type: 'null' - - *685 + - *688 blocking: anyOf: - type: 'null' - - *685 + - *688 intent: anyOf: - type: 'null' - - &691 + - &694 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -106742,7 +107484,7 @@ paths: - MEDIUM - HIGH - - author_association: *218 + author_association: *221 lock_reason: type: - string @@ -106935,8 +107677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *490 - - *491 + - *493 + - *494 - name: event_id in: path required: true @@ -106947,7 +107689,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *689 examples: default: value: @@ -107174,9 +107916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *490 - - *491 - - &688 + - *493 + - *494 + - &691 name: issue_number description: The number that identifies the issue. in: path @@ -107188,11 +107930,11 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: default: summary: Issue - value: *687 + value: *690 pinned_comment: summary: Issue with pinned comment value: @@ -107372,7 +108114,7 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *496 + '301': *499 '404': *6 '410': *30 '304': *32 @@ -107399,9 +108141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -107621,7 +108363,7 @@ paths: application/json: schema: allOf: - - *221 + - *224 - type: object properties: suggestions: @@ -107766,11 +108508,11 @@ paths: - already_applied - issue_already_closed examples: - default: *687 + default: *690 '422': *15 - '503': *193 + '503': *196 '403': *27 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -107790,9 +108532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -107840,9 +108582,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107858,9 +108600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: content: application/json: @@ -107885,9 +108627,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107909,9 +108651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: assignee in: path required: true @@ -107951,10 +108693,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *490 - - *491 - - *688 - - *226 + - *493 + - *494 + - *691 + - *229 - *17 - *19 responses: @@ -107964,9 +108706,9 @@ paths: application/json: schema: type: array - items: *222 + items: *225 examples: - default: *689 + default: *692 headers: Link: *42 '404': *6 @@ -107999,9 +108741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -108023,9 +108765,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: *681 + default: *684 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -108060,9 +108802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -108072,12 +108814,12 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -108107,9 +108849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -108131,15 +108873,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *496 + '301': *499 '403': *27 '410': *30 '422': *15 @@ -108172,9 +108914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -108186,10 +108928,10 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 - '301': *496 + default: *690 + '301': *499 '400': *14 '401': *23 '403': *27 @@ -108220,9 +108962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -108232,12 +108974,12 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -108256,9 +108998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -108272,7 +109014,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &697 + - &700 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -108313,7 +109055,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - label - id @@ -108325,7 +109067,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &698 + - &701 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -108366,7 +109108,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - label - id @@ -108407,7 +109149,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -108461,7 +109203,7 @@ paths: - performed_via_github_app - assignee - assigner - - &699 + - &702 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -108507,7 +109249,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &700 + - &703 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -108553,7 +109295,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &704 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -108602,7 +109344,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &705 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -108631,7 +109373,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *313 + requested_team: *316 requested_reviewer: *4 required: - review_requester @@ -108644,7 +109386,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &706 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -108673,7 +109415,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *313 + requested_team: *316 requested_reviewer: *4 required: - review_requester @@ -108686,7 +109428,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &707 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -108742,7 +109484,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &708 title: Locked Issue Event description: Locked Issue Event type: object @@ -108787,7 +109529,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &709 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -108848,7 +109590,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &710 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -108909,7 +109651,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &711 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -108970,7 +109712,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &712 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -109028,7 +109770,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &715 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -109056,11 +109798,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *684 + issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - issue_type - id @@ -109072,7 +109814,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &713 + - &716 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -109100,11 +109842,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *684 + prev_issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - prev_issue_type - id @@ -109116,7 +109858,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &714 + - &717 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -109144,12 +109886,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *684 - prev_issue_type: *684 + issue_type: *687 + prev_issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - issue_type - prev_issue_type @@ -109162,7 +109904,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &715 + - &718 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -109193,7 +109935,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *685 + - *688 required: - sub_issue - id @@ -109205,7 +109947,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &716 + - &719 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -109236,7 +109978,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *685 + - *688 required: - sub_issue - id @@ -109248,7 +109990,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &717 + - &720 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -109279,7 +110021,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 required: - parent_issue - id @@ -109291,7 +110033,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &718 + - &721 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -109322,7 +110064,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 required: - parent_issue - id @@ -109334,7 +110076,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &719 + - &722 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -109365,7 +110107,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *685 + - *688 required: - blocked_by - id @@ -109377,7 +110119,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &720 + - &723 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -109408,7 +110150,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *685 + - *688 required: - blocked_by - id @@ -109420,7 +110162,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &721 + - &724 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -109451,7 +110193,7 @@ paths: blocking: anyOf: - type: 'null' - - *685 + - *688 required: - blocking - id @@ -109463,7 +110205,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &722 + - &725 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -109494,7 +110236,7 @@ paths: blocking: anyOf: - type: 'null' - - *685 + - *688 required: - blocking - id @@ -109558,9 +110300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -109570,9 +110312,9 @@ paths: application/json: schema: type: array - items: *692 + items: *695 examples: - default: &693 + default: &696 value: - issue_field_id: 1 issue_field_name: DRI @@ -109612,7 +110354,7 @@ paths: color: green headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -109643,9 +110385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -109717,14 +110459,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *692 + items: *695 examples: - default: *693 + default: *696 '400': *14 '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -109755,9 +110497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -109824,14 +110566,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *692 + items: *695 examples: - default: *693 + default: *696 '400': *14 '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -109857,17 +110599,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *490 - - *491 - - *688 - - *388 + - *493 + - *494 + - *691 + - *391 responses: '204': description: Issue field value deleted successfully '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -109885,9 +110627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -109897,9 +110639,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: &694 + default: &697 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -109939,7 +110681,7 @@ paths: site_admin: false headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -109957,9 +110699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -110037,10 +110779,10 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 - '301': *496 + default: *697 + '301': *499 '404': *6 '410': *30 '422': *15 @@ -110059,9 +110801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -110121,10 +110863,10 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 - '301': *496 + default: *697 + '301': *499 '404': *6 '410': *30 '422': *15 @@ -110143,13 +110885,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '204': description: Response - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -110170,9 +110912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: name in: path required: true @@ -110185,7 +110927,7 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: default: value: @@ -110198,7 +110940,7 @@ paths: default: true archived_at: archived_by: - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -110220,9 +110962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -110269,9 +111011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '204': description: Response @@ -110301,18 +111043,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '200': description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 - '301': *496 + default: *690 + '301': *499 '404': *6 '410': *30 x-github: @@ -110331,9 +111073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -110359,9 +111101,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -110383,9 +111125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -110417,16 +111159,16 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Response content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -110448,10 +111190,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *490 - - *491 - - *688 - - *683 + - *493 + - *494 + - *691 + - *686 responses: '204': description: Response @@ -110480,9 +111222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -110504,9 +111246,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -110540,9 +111282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -110552,9 +111294,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 '404': *6 @@ -110586,9 +111328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -110615,9 +111357,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -110644,9 +111386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -110677,13 +111419,13 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 '403': *27 '404': *6 '422': *7 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -110708,9 +111450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: state in: query required: false @@ -110747,7 +111489,7 @@ paths: application/json: schema: type: array - items: &695 + items: &698 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -110911,9 +111653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: suggestion_id in: path required: true @@ -110925,9 +111667,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: - default: &696 + default: &699 value: id: 12 issue_id: 4567 @@ -110965,9 +111707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: suggestion_id in: path required: true @@ -110979,9 +111721,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: - default: *696 + default: *699 '403': *27 '404': *6 '422': *15 @@ -111001,9 +111743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 - name: exclude @@ -111024,9 +111766,6 @@ paths: description: Timeline Event type: object anyOf: - - *697 - - *698 - - *699 - *700 - *701 - *702 @@ -111037,6 +111776,9 @@ paths: - *707 - *708 - *709 + - *710 + - *711 + - *712 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -111084,20 +111826,20 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *221 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *222 pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 required: - event - actor @@ -111128,7 +111870,7 @@ paths: properties: type: type: string - issue: *221 + issue: *224 required: - event - created_at @@ -111350,7 +112092,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *221 required: - event - id @@ -111373,7 +112115,7 @@ paths: type: string comments: type: array - items: &744 + items: &747 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -111481,7 +112223,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *221 _links: type: object properties: @@ -111576,7 +112318,7 @@ paths: enum: - line - file - reactions: *219 + reactions: *222 body_html: type: string examples: @@ -111614,7 +112356,7 @@ paths: type: string comments: type: array - items: *605 + items: *608 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -111646,7 +112388,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -111731,7 +112473,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -111742,9 +112484,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *712 - - *713 - - *714 - *715 - *716 - *717 @@ -111753,6 +112492,9 @@ paths: - *720 - *721 - *722 + - *723 + - *724 + - *725 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -112000,8 +112742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -112011,7 +112753,7 @@ paths: application/json: schema: type: array - items: &723 + items: &726 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -112079,8 +112821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -112116,9 +112858,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: &724 + default: &727 value: id: 1 key: ssh-rsa AAA... @@ -112152,9 +112894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *490 - - *491 - - &725 + - *493 + - *494 + - &728 name: key_id description: The unique identifier of the key. in: path @@ -112166,9 +112908,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: *724 + default: *727 '404': *6 x-github: githubCloudOnly: false @@ -112186,9 +112928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *490 - - *491 - - *725 + - *493 + - *494 + - *728 responses: '204': description: Response @@ -112208,8 +112950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -112219,9 +112961,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 + default: *697 headers: Link: *42 '404': *6 @@ -112242,8 +112984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -112279,9 +113021,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: - default: &726 + default: &729 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -112315,8 +113057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -112327,9 +113069,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: - default: *726 + default: *729 '404': *6 x-github: githubCloudOnly: false @@ -112346,8 +113088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -112391,7 +113133,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: default: value: @@ -112419,8 +113161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -112446,8 +113188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -112483,8 +113225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '202': *34 '403': @@ -112512,8 +113254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -112539,9 +113281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *490 - - *491 - - *580 + - *493 + - *494 + - *583 responses: '200': description: Response @@ -112607,7 +113349,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 required: - _links - git_url @@ -112688,8 +113430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -112754,8 +113496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -112789,9 +113531,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *608 + schema: *611 examples: - default: *727 + default: *730 '204': description: Response when already merged '404': @@ -112816,8 +113558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *490 - - *491 + - *493 + - *494 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -112858,7 +113600,7 @@ paths: application/json: schema: type: array - items: *423 + items: *426 examples: default: value: @@ -112914,8 +113656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -112955,9 +113697,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: &728 + default: &731 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -113016,9 +113758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *490 - - *491 - - &729 + - *493 + - *494 + - &732 name: milestone_number description: The number that identifies the milestone. in: path @@ -113030,9 +113772,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: *728 + default: *731 '404': *6 x-github: githubCloudOnly: false @@ -113049,9 +113791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 requestBody: required: false content: @@ -113089,9 +113831,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: *728 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113107,9 +113849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 responses: '204': description: Response @@ -113130,9 +113872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 - *17 - *19 responses: @@ -113142,9 +113884,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 + default: *697 headers: Link: *42 x-github: @@ -113163,12 +113905,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *490 - - *491 - - *730 - - *731 - - *226 - - *732 + - *493 + - *494 + - *733 + - *734 + - *229 + - *735 - *17 - *19 responses: @@ -113178,9 +113920,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: *733 + default: *736 headers: Link: *42 x-github: @@ -113204,8 +113946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -113263,14 +114005,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &734 + schema: &737 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -113414,7 +114156,7 @@ paths: - custom_404 - public examples: - default: &735 + default: &738 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -113455,8 +114197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -113511,9 +114253,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *737 examples: - default: *735 + default: *738 '422': *15 '409': *116 x-github: @@ -113536,8 +114278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -113645,8 +114387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -113672,8 +114414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -113683,7 +114425,7 @@ paths: application/json: schema: type: array - items: &736 + items: &739 title: Page Build description: Page Build type: object @@ -113775,8 +114517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -113823,16 +114565,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *736 + schema: *739 examples: - default: &737 + default: &740 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -113880,8 +114622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *490 - - *491 + - *493 + - *494 - name: build_id in: path required: true @@ -113892,9 +114634,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *739 examples: - default: *737 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113914,8 +114656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114023,9 +114765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *490 - - *491 - - &738 + - *493 + - *494 + - &741 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -114083,9 +114825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *490 - - *491 - - *738 + - *493 + - *494 + - *741 responses: '204': *121 '404': *6 @@ -114112,8 +114854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -114381,7 +115123,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -114408,8 +115150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Private vulnerability reporting status @@ -114446,8 +115188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '422': *14 @@ -114468,8 +115210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '422': *14 @@ -114491,8 +115233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -114500,9 +115242,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *739 + default: *742 '403': *27 '404': *6 x-github: @@ -114524,8 +115266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114537,11 +115279,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *153 + items: *156 required: - properties examples: - default: *740 + default: *743 responses: '204': description: No Content when custom property values are successfully created @@ -114579,8 +115321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -114640,9 +115382,9 @@ paths: application/json: schema: type: array - items: *573 + items: *576 examples: - default: *741 + default: *744 headers: Link: *42 '304': *32 @@ -114674,8 +115416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114742,7 +115484,7 @@ paths: description: Response content: application/json: - schema: &746 + schema: &749 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -114880,7 +115622,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 active_lock_reason: type: - string @@ -114919,7 +115661,7 @@ paths: items: *4 requested_teams: type: array - items: *402 + items: *405 head: type: object properties: @@ -114957,14 +115699,14 @@ paths: _links: type: object properties: - comments: *424 - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + comments: *427 + commits: *427 + statuses: *427 + html: *427 + issue: *427 + review_comments: *427 + review_comment: *427 + self: *427 required: - comments - commits @@ -114974,9 +115716,9 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: *742 - stack: *743 + author_association: *221 + auto_merge: *745 + stack: *746 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -115076,7 +115818,7 @@ paths: - merged_by - review_comments examples: - default: &747 + default: &750 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -115583,8 +116325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: sort in: query required: false @@ -115603,7 +116345,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -115613,9 +116355,9 @@ paths: application/json: schema: type: array - items: *744 + items: *747 examples: - default: &749 + default: &752 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -115692,17 +116434,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: &745 + default: &748 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -115777,9 +116519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -115801,9 +116543,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: *745 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115819,9 +116561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -115842,9 +116584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -115870,9 +116612,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -115893,9 +116635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -115927,16 +116669,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -115958,10 +116700,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *490 - - *491 - - *235 - - *683 + - *493 + - *494 + - *238 + - *686 responses: '204': description: Response @@ -116004,9 +116746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *490 - - *491 - - &748 + - *493 + - *494 + - &751 name: pull_number description: The number that identifies the pull request. in: path @@ -116019,9 +116761,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *746 + schema: *749 examples: - default: *747 + default: *750 '304': *32 '404': *6 '406': @@ -116030,7 +116772,7 @@ paths: application/json: schema: *3 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116056,9 +116798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -116100,9 +116842,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *749 examples: - default: *747 + default: *750 '422': *15 '403': *27 x-github: @@ -116124,9 +116866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -116187,21 +116929,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116227,10 +116969,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *490 - - *491 - - *748 - - *243 + - *493 + - *494 + - *751 + - *246 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -116240,7 +116982,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -116250,9 +116992,9 @@ paths: application/json: schema: type: array - items: *744 + items: *747 examples: - default: *749 + default: *752 headers: Link: *42 x-github: @@ -116285,9 +117027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -116393,7 +117135,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: example-for-a-multi-line-comment: value: @@ -116481,10 +117223,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *490 - - *491 - - *748 - - *235 + - *493 + - *494 + - *751 + - *238 requestBody: required: true content: @@ -116506,7 +117248,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: default: value: @@ -116592,9 +117334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -116604,9 +117346,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: *750 + default: *753 headers: Link: *42 x-github: @@ -116636,9 +117378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -116648,7 +117390,7 @@ paths: application/json: schema: type: array - items: *618 + items: *621 examples: default: value: @@ -116667,7 +117409,7 @@ paths: Link: *42 '422': *15 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116686,9 +117428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 responses: '204': description: Response if pull request has been merged @@ -116711,9 +117453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -116836,9 +117578,9 @@ paths: category: pulls subcategory: pulls parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -116891,7 +117633,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &751 + schema: &754 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -116976,7 +117718,7 @@ paths: merge queue content: application/json: - schema: *751 + schema: *754 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -116996,7 +117738,7 @@ paths: this pull request content: application/json: - schema: *751 + schema: *754 examples: response-if-a-merge-request-already-exists: value: @@ -117012,7 +117754,7 @@ paths: it is closed content: application/json: - schema: *751 + schema: *754 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -117044,9 +117786,9 @@ paths: category: pulls subcategory: pulls parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -117059,7 +117801,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *751 + schema: *754 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -117107,9 +117849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 responses: '200': description: Response @@ -117125,7 +117867,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 required: - users - teams @@ -117184,9 +117926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -117223,7 +117965,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *576 examples: default: value: @@ -117759,9 +118501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -117795,7 +118537,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *576 examples: default: value: @@ -118280,9 +119022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -118292,7 +119034,7 @@ paths: application/json: schema: type: array - items: &752 + items: &755 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -118366,7 +119108,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *221 required: - id - node_id @@ -118448,9 +119190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -118540,9 +119282,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: &754 + default: &757 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -118605,10 +119347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - &753 + - *493 + - *494 + - *751 + - &756 name: review_id description: The unique identifier of the review. in: path @@ -118620,9 +119362,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: &755 + default: &758 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -118681,10 +119423,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -118707,7 +119449,7 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: default: value: @@ -118769,18 +119511,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 responses: '200': description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: *754 + default: *757 '422': *7 '404': *6 x-github: @@ -118807,10 +119549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 - *17 - *19 responses: @@ -118904,13 +119646,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *221 _links: type: object properties: - self: *424 - html: *424 - pull_request: *424 + self: *427 + html: *427 + pull_request: *427 required: - self - html @@ -118919,7 +119661,7 @@ paths: type: string body_html: type: string - reactions: *219 + reactions: *222 side: description: The side of the first line of the range for a multi-line comment. @@ -119068,10 +119810,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -119100,7 +119842,7 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: default: value: @@ -119163,10 +119905,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -119201,9 +119943,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: *755 + default: *758 '404': *6 '422': *7 '403': *27 @@ -119225,9 +119967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -119291,8 +120033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -119305,9 +120047,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *759 examples: - default: &757 + default: &760 value: type: file encoding: base64 @@ -119349,8 +120091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *490 - - *491 + - *493 + - *494 - name: dir description: The alternate path to look for a README file in: path @@ -119370,9 +120112,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *759 examples: - default: *757 + default: *760 '404': *6 '422': *15 x-github: @@ -119394,8 +120136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -119405,7 +120147,7 @@ paths: application/json: schema: type: array - items: *758 + items: *761 examples: default: value: @@ -119504,8 +120246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -119581,9 +120323,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: &762 + default: &765 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -119688,9 +120430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *490 - - *491 - - &760 + - *493 + - *494 + - &763 name: asset_id description: The unique identifier of the asset. in: path @@ -119702,9 +120444,9 @@ paths: description: Response content: application/json: - schema: *759 + schema: *762 examples: - default: &761 + default: &764 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 @@ -119739,7 +120481,7 @@ paths: type: User site_admin: false '404': *6 - '302': *622 + '302': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119755,9 +120497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *490 - - *491 - - *760 + - *493 + - *494 + - *763 requestBody: required: false content: @@ -119786,9 +120528,9 @@ paths: description: Response content: application/json: - schema: *759 + schema: *762 examples: - default: *761 + default: *764 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119804,9 +120546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *490 - - *491 - - *760 + - *493 + - *494 + - *763 responses: '204': description: Response @@ -119831,8 +120573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -119918,16 +120660,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -119945,8 +120687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *490 - - *491 + - *493 + - *494 - name: tag description: tag parameter in: path @@ -119959,9 +120701,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -119983,9 +120725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *490 - - *491 - - &763 + - *493 + - *494 + - &766 name: release_id description: The unique identifier of the release. in: path @@ -119999,9 +120741,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '401': description: Unauthorized x-github: @@ -120025,9 +120767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 requestBody: required: false content: @@ -120091,9 +120833,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': description: Not Found if the discussion category name is invalid content: @@ -120114,9 +120856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 responses: '204': description: Response @@ -120137,9 +120879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - *17 - *19 responses: @@ -120149,7 +120891,7 @@ paths: application/json: schema: type: array - items: *759 + items: *762 examples: default: value: @@ -120231,9 +120973,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - name: name in: query required: true @@ -120259,7 +121001,7 @@ paths: description: Response for successful upload content: application/json: - schema: *759 + schema: *762 examples: response-for-successful-upload: value: @@ -120314,9 +121056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -120340,9 +121082,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -120363,9 +121105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 requestBody: required: true content: @@ -120395,16 +121137,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -120426,10 +121168,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *490 - - *491 - - *763 - - *683 + - *493 + - *494 + - *766 + - *686 responses: '204': description: Response @@ -120453,9 +121195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 - *17 - *19 responses: @@ -120471,8 +121213,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *167 - - &764 + - *170 + - &767 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -120491,72 +121233,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *168 - - *764 - - allOf: - - *169 - - *764 - - allOf: - - *170 - - *764 - - allOf: - - *765 - - *764 - allOf: - *171 - - *764 + - *767 - allOf: - *172 - - *764 + - *767 - allOf: - *173 - - *764 + - *767 + - allOf: + - *768 + - *767 - allOf: - *174 - - *764 + - *767 - allOf: - *175 - - *764 + - *767 - allOf: - *176 - - *764 + - *767 - allOf: - *177 - - *764 + - *767 - allOf: - *178 - - *764 + - *767 - allOf: - *179 - - *764 + - *767 - allOf: - *180 - - *764 + - *767 - allOf: - *181 - - *764 + - *767 - allOf: - *182 - - *764 + - *767 - allOf: - *183 - - *764 - - allOf: - - *766 - - *764 + - *767 - allOf: - *184 - - *764 + - *767 - allOf: - *185 - - *764 + - *767 - allOf: - *186 - - *764 + - *767 + - allOf: + - *769 + - *767 - allOf: - *187 - - *764 + - *767 + - allOf: + - *188 + - *767 + - allOf: + - *189 + - *767 + - allOf: + - *190 + - *767 examples: default: value: @@ -120595,8 +121337,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - name: includes_parents @@ -120607,7 +121349,7 @@ paths: schema: type: boolean default: true - - *767 + - *770 responses: '200': description: Response @@ -120615,7 +121357,7 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: default: value: @@ -120662,8 +121404,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 requestBody: description: Request body required: true @@ -120683,16 +121425,16 @@ paths: - tag - push default: branch - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *159 + items: *169 + conditions: *162 rules: type: array description: An array of rules within the ruleset. - items: *768 + items: *771 required: - name - enforcement @@ -120723,9 +121465,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: &778 + default: &781 value: id: 42 name: super cool ruleset @@ -120773,13 +121515,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *490 - - *491 - - *769 - - *102 - - *770 - - *771 + - *493 + - *494 - *772 + - *102 + - *773 + - *774 + - *775 - *17 - *19 responses: @@ -120787,9 +121529,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *776 examples: - default: *774 + default: *777 '404': *6 '500': *35 x-github: @@ -120810,17 +121552,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *490 - - *491 - - *775 + - *493 + - *494 + - *778 responses: '200': description: Response content: application/json: - schema: *776 + schema: *779 examples: - default: *777 + default: *780 '404': *6 '500': *35 x-github: @@ -120848,8 +121590,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120869,9 +121611,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *778 + default: *781 '404': *6 '500': *35 put: @@ -120889,8 +121631,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120915,16 +121657,16 @@ paths: - branch - tag - push - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *159 + items: *169 + conditions: *162 rules: description: An array of rules within the ruleset. type: array - items: *768 + items: *771 examples: default: value: @@ -120952,9 +121694,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *778 + default: *781 '404': *6 '422': *15 '500': *35 @@ -120973,8 +121715,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120997,8 +121739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - name: ruleset_id @@ -121014,9 +121756,9 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *440 + default: *443 '404': *6 '500': *35 x-github: @@ -121035,8 +121777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121054,7 +121796,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: default: value: @@ -121109,28 +121851,28 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *490 - - *491 - - *442 - - *443 - - *444 + - *493 + - *494 - *445 - *446 - *447 - *448 - *449 - - *107 - - *19 - - *17 - - *779 - - *780 - *450 - *451 - *452 + - *107 + - *19 + - *17 + - *782 + - *783 - *453 - *454 - *455 - *456 + - *457 + - *458 + - *459 responses: '200': description: Response @@ -121141,21 +121883,21 @@ paths: items: type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolved_at: type: - string @@ -121261,7 +122003,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *783 + - *786 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -121398,7 +122140,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121420,32 +122162,32 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 - - *453 + - *493 + - *494 + - *577 + - *456 responses: '200': description: Response content: application/json: - schema: &784 + schema: &787 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolved_at: type: - string @@ -121551,7 +122293,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *783 + - *786 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -121574,7 +122316,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &967 + metadata: &970 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -121624,7 +122366,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121647,9 +122389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: true content: @@ -121657,8 +122399,8 @@ paths: schema: type: object properties: - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -121706,7 +122448,7 @@ paths: description: Response content: application/json: - schema: *784 + schema: *787 examples: default: value: @@ -121786,7 +122528,7 @@ paths: description: State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -121808,9 +122550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 - *19 - *17 responses: @@ -121821,7 +122563,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &969 + items: &972 type: object properties: type: @@ -121848,9 +122590,6 @@ paths: - commit details: oneOf: - - *785 - - *786 - - *787 - *788 - *789 - *790 @@ -121861,6 +122600,9 @@ paths: - *795 - *796 - *797 + - *798 + - *799 + - *800 examples: default: value: @@ -121924,7 +122666,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121951,11 +122693,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 - - *459 - - *460 - - *461 + - *493 + - *494 + - *462 + - *463 + - *464 - *107 - *105 - *106 @@ -121966,9 +122708,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *462 + default: *465 headers: Link: *42 '403': *27 @@ -121993,8 +122735,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -122007,9 +122749,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *463 + items: *466 examples: - default: *464 + default: *467 responses: '201': description: All patterns created successfully. @@ -122021,9 +122763,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: *465 + default: *468 '400': *14 '403': *27 '404': *6 @@ -122047,7 +122789,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *466 + items: *469 delete: summary: Bulk delete repository custom patterns description: |- @@ -122068,8 +122810,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -122083,7 +122825,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *467 + items: *470 post_delete_action: type: string description: |- @@ -122096,14 +122838,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *468 + default: *471 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -122125,8 +122867,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 - name: pattern_id in: path required: true @@ -122137,21 +122879,21 @@ paths: required: true content: application/json: - schema: *469 + schema: *472 examples: - default: *470 + default: *473 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: *471 + default: *474 '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -122169,8 +122911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -122178,14 +122920,14 @@ paths: schema: type: object properties: - reason: &799 + reason: &802 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *798 + placeholder_id: *801 required: - reason - placeholder_id @@ -122202,7 +122944,7 @@ paths: schema: type: object properties: - reason: *799 + reason: *802 expire_at: type: - string @@ -122226,7 +122968,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -122249,13 +122991,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *193 + '503': *196 '200': description: Response content: @@ -122265,7 +123007,7 @@ paths: properties: incremental_scans: type: array - items: &800 + items: &803 description: Information on a single scan performed by secret scanning on the repository type: object @@ -122298,15 +123040,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *800 + items: *803 backfill_scans: type: array - items: *800 + items: *803 custom_pattern_backfill_scans: type: array items: allOf: - - *800 + - *803 - type: object properties: pattern_name: @@ -122319,7 +123061,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *800 + items: *803 examples: default: value: @@ -122384,8 +123126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *490 - - *491 + - *493 + - *494 - *107 - name: sort description: The property to sort the results by. @@ -122429,9 +123171,9 @@ paths: application/json: schema: type: array - items: *801 + items: *804 examples: - default: *802 + default: *805 '400': *14 '404': *6 x-github: @@ -122454,8 +123196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -122535,7 +123277,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 required: - login - type @@ -122625,9 +123367,9 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: &805 + default: &808 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -122842,7 +123584,7 @@ paths: description: Validation failed. content: application/json: - schema: &803 + schema: &806 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -122915,8 +123657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -123029,7 +123771,7 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: default: value: @@ -123154,7 +123896,7 @@ paths: description: Validation failed. content: application/json: - schema: *803 + schema: *806 examples: missing_section: value: @@ -123201,17 +123943,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '200': description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: *805 + default: *808 '403': *27 '404': *6 x-github: @@ -123235,9 +123977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 requestBody: required: true content: @@ -123317,7 +124059,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 required: - login - type @@ -123408,17 +124150,17 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: *805 - add_credit: *805 + default: *808 + add_credit: *808 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *255 + schema: *258 examples: invalid_state_transition: value: @@ -123449,9 +124191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '202': *34 '400': *14 @@ -123478,17 +124220,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '202': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 '400': *14 '422': *15 '403': *27 @@ -123509,8 +124251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *490 - - *491 + - *493 + - *494 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -123643,8 +124385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -123711,11 +124453,11 @@ paths: format: date-time pull_requests: type: array - items: &806 + items: &809 title: Pull Request Stack Pull Request type: object allOf: - - *224 + - *227 - type: object required: - node_id @@ -123938,8 +124680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -123988,7 +124730,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -124108,8 +124850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -124181,7 +124923,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -124388,8 +125130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -124438,7 +125180,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -124514,7 +125256,7 @@ paths: pull request in it is locked and cannot be removed. content: application/json: - schema: *255 + schema: *258 examples: cannot_be_removed: summary: Every pull request in the stack is locked and can't be @@ -124544,8 +125286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -124639,8 +125381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -124682,8 +125424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *490 - - *491 + - *493 + - *494 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -124779,8 +125521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -124789,7 +125531,7 @@ paths: application/json: schema: type: array - items: &807 + items: &810 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -124822,8 +125564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -124901,8 +125643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -124996,8 +125738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -125151,8 +125893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -125162,7 +125904,7 @@ paths: application/json: schema: type: array - items: *807 + items: *810 examples: default: value: @@ -125195,8 +125937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *490 - - *491 + - *493 + - *494 - name: sha in: path required: true @@ -125252,7 +125994,7 @@ paths: description: Response content: application/json: - schema: *808 + schema: *811 examples: default: value: @@ -125306,8 +126048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -125319,7 +126061,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -125339,14 +126081,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &809 + schema: &812 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -125419,8 +126161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -125446,7 +126188,7 @@ paths: description: Response content: application/json: - schema: *809 + schema: *812 examples: default: value: @@ -125473,8 +126215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -125494,8 +126236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -125577,8 +126319,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *490 - - *491 + - *493 + - *494 - name: ref in: path required: true @@ -125614,8 +126356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -125625,9 +126367,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 headers: Link: *42 '404': *6 @@ -125647,8 +126389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 responses: @@ -125656,7 +126398,7 @@ paths: description: Response content: application/json: - schema: &810 + schema: &813 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -125668,7 +126410,7 @@ paths: required: - names examples: - default: &811 + default: &814 value: names: - octocat @@ -125691,8 +126433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -125723,9 +126465,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *813 examples: - default: *811 + default: *814 '404': *6 '422': *7 x-github: @@ -125746,9 +126488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *490 - - *491 - - &812 + - *493 + - *494 + - &815 name: per description: The time frame to display results for. in: query @@ -125779,7 +126521,7 @@ paths: - 128 clones: type: array - items: &813 + items: &816 title: Traffic type: object properties: @@ -125866,8 +126608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -125961,8 +126703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -126025,9 +126767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *490 - - *491 - - *812 + - *493 + - *494 + - *815 responses: '200': description: Response @@ -126048,7 +126790,7 @@ paths: - 3782 views: type: array - items: *813 + items: *816 required: - uniques - count @@ -126125,8 +126867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -126162,7 +126904,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *283 examples: default: value: @@ -126399,8 +127141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -126423,8 +127165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -126446,8 +127188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -126473,8 +127215,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *490 - - *491 + - *493 + - *494 - name: ref in: path required: true @@ -126566,9 +127308,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -126609,7 +127351,7 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: default: value: @@ -126719,7 +127461,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &821 + - &824 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -126729,7 +127471,7 @@ paths: type: string examples: - members - - &826 + - &829 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -126741,7 +127483,7 @@ paths: format: int32 examples: - 1 - - &827 + - &830 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -126785,7 +127527,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &816 + items: &819 allOf: - type: object required: @@ -126867,7 +127609,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &828 + meta: &831 type: object description: The metadata associated with the creation/updates to the user. @@ -126932,30 +127674,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &817 + '400': &820 description: Bad request content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '401': *815 - '403': &818 + schema: *817 + '401': *818 + '403': &821 description: Permission denied - '429': &819 + '429': &822 description: Too many requests content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '500': &820 + schema: *817 + '500': &823 description: Internal server error content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 + schema: *817 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126979,7 +127721,7 @@ paths: required: true content: application/json: - schema: &824 + schema: &827 type: object required: - schemas @@ -127043,9 +127785,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *816 + schema: *819 examples: - group: &822 + group: &825 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -127064,13 +127806,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *817 - '401': *815 - '403': *818 - '409': &825 + '400': *820 + '401': *818 + '403': *821 + '409': &828 description: Duplicate record detected - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127087,7 +127829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &823 + - &826 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -127096,22 +127838,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *821 + - *824 - *36 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *816 + schema: *819 examples: - default: *822 - '400': *817 - '401': *815 - '403': *818 + default: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127130,13 +127872,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *823 + - *826 - *36 requestBody: required: true content: application/json: - schema: *824 + schema: *827 examples: group: summary: Group @@ -127162,17 +127904,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *816 + schema: *819 examples: - group: *822 - groupWithMembers: *822 - '400': *817 - '401': *815 - '403': *818 + group: *825 + groupWithMembers: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127196,13 +127938,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *823 + - *826 - *36 requestBody: required: true content: application/json: - schema: &835 + schema: &838 type: object required: - Operations @@ -127262,17 +128004,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *816 + schema: *819 examples: - updateGroup: *822 - addMembers: *822 - '400': *817 - '401': *815 - '403': *818 + updateGroup: *825 + addMembers: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127288,17 +128030,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *823 + - *826 - *36 responses: '204': description: Group was deleted, no content - '400': *817 - '401': *815 - '403': *818 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127332,8 +128074,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *826 - - *827 + - *829 + - *830 - *36 responses: '200': @@ -127367,7 +128109,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &830 + items: &833 allOf: - type: object required: @@ -127459,7 +128201,7 @@ paths: address. examples: - true - roles: &829 + roles: &832 type: array description: The roles assigned to the user. items: @@ -127518,7 +128260,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *828 + meta: *831 startIndex: type: integer description: A starting index for the returned page @@ -127557,11 +128299,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *817 - '401': *815 - '403': *818 - '429': *819 - '500': *820 + '400': *820 + '401': *818 + '403': *821 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127585,7 +128327,7 @@ paths: required: true content: application/json: - schema: &833 + schema: &836 type: object required: - schemas @@ -127678,9 +128420,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *829 + roles: *832 examples: - user: &834 + user: &837 summary: User value: schemas: @@ -127727,9 +128469,9 @@ paths: description: User has been created content: application/scim+json: - schema: *830 + schema: *833 examples: - user: &831 + user: &834 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -127755,13 +128497,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *831 - '400': *817 - '401': *815 - '403': *818 - '409': *825 - '429': *819 - '500': *820 + enterpriseOwner: *834 + '400': *820 + '401': *818 + '403': *821 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127778,7 +128520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &832 + - &835 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -127791,15 +128533,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *830 + schema: *833 examples: - default: *831 - '400': *817 - '401': *815 - '403': *818 + default: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127850,30 +128592,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *832 + - *835 - *36 requestBody: required: true content: application/json: - schema: *833 + schema: *836 examples: - user: *834 + user: *837 responses: '200': description: User was updated content: application/scim+json: - schema: *830 + schema: *833 examples: - user: *831 - '400': *817 - '401': *815 - '403': *818 + user: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127914,13 +128656,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *832 + - *835 - *36 requestBody: required: true content: application/json: - schema: *835 + schema: *838 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -127960,18 +128702,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *830 - examples: - userMultiValuedProperties: *831 - userSingleValuedProperties: *831 - disableUser: *831 - '400': *817 - '401': *815 - '403': *818 + schema: *833 + examples: + userMultiValuedProperties: *834 + userSingleValuedProperties: *834 + disableUser: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127991,17 +128733,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *832 + - *835 - *36 responses: '204': description: User was deleted, no content - '400': *817 - '401': *815 - '403': *818 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128092,7 +128834,7 @@ paths: - 1 Resources: type: array - items: &836 + items: &839 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -128347,22 +129089,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *32 - '404': &837 + '404': &840 description: Resource not found content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '403': &838 + schema: *817 + '403': &841 description: Forbidden content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '400': *817 - '429': *819 + schema: *817 + '400': *820 + '429': *822 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -128388,9 +129130,9 @@ paths: description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: &839 + default: &842 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -128414,17 +129156,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *32 - '404': *837 - '403': *838 - '500': *820 + '404': *840 + '403': *841 + '500': *823 '409': description: Conflict content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '400': *817 + schema: *817 + '400': *820 requestBody: required: true content: @@ -128524,17 +129266,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 - '404': *837 - '403': *838 + default: *842 + '404': *840 + '403': *841 '304': *32 x-github: githubCloudOnly: true @@ -128558,18 +129300,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 + default: *842 '304': *32 - '404': *837 - '403': *838 + '404': *840 + '403': *841 requestBody: required: true content: @@ -128684,19 +129426,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 + default: *842 '304': *32 - '404': *837 - '403': *838 - '400': *817 + '404': *840 + '403': *841 + '400': *820 '429': description: Response content: @@ -128792,12 +129534,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *84 - - *832 + - *835 responses: '204': description: Response - '404': *837 - '403': *838 + '404': *840 + '403': *841 '304': *32 x-github: githubCloudOnly: true @@ -128912,7 +129654,7 @@ paths: html_url: type: string format: uri - repository: *280 + repository: *283 score: type: number file_size: @@ -128931,7 +129673,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &840 + text_matches: &843 title: Search Result Text Matches type: array items: @@ -129046,7 +129788,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *32 - '503': *193 + '503': *196 '422': *15 '403': *27 x-github: @@ -129095,7 +129837,7 @@ paths: enum: - author-date - committer-date - - &841 + - &844 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 @@ -129164,7 +129906,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 comment_count: type: integer message: @@ -129183,7 +129925,7 @@ paths: url: type: string format: uri - verification: *666 + verification: *669 required: - author - committer @@ -129198,7 +129940,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 parents: type: array items: @@ -129210,12 +129952,12 @@ paths: type: string sha: type: string - repository: *280 + repository: *283 score: type: number node_id: type: string - text_matches: *840 + text_matches: *843 required: - sha - node_id @@ -129408,7 +130150,7 @@ paths: - interactions - created - updated - - *841 + - *844 - *17 - *19 - name: advanced_search @@ -129536,11 +130278,11 @@ paths: - *4 type: - 'null' - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: type: string state_reason: @@ -129550,7 +130292,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 comments: type: integer created_at: @@ -129564,7 +130306,7 @@ paths: - string - 'null' format: date-time - text_matches: *840 + text_matches: *843 pull_request: type: object properties: @@ -129602,7 +130344,7 @@ paths: type: string score: type: number - author_association: *218 + author_association: *221 draft: type: boolean repository: *75 @@ -129613,7 +130355,7 @@ paths: timeline_url: type: string format: uri - type: *389 + type: *392 performed_via_github_app: anyOf: - type: 'null' @@ -129621,8 +130363,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *222 - reactions: *219 + - *225 + reactions: *222 required: - closed_at - comments @@ -129784,7 +130526,7 @@ paths: - quoted_text items: - "..." - '503': *193 + '503': *196 '422': *15 '304': *32 '403': *27 @@ -129838,7 +130580,7 @@ paths: enum: - created - updated - - *841 + - *844 - *17 - *19 responses: @@ -129897,7 +130639,7 @@ paths: - 'null' score: type: number - text_matches: *840 + text_matches: *843 required: - id - node_id @@ -130007,7 +130749,7 @@ paths: - forks - help-wanted-issues - updated - - *841 + - *844 - *17 - *19 responses: @@ -130235,7 +130977,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 permissions: type: object properties: @@ -130253,7 +130995,7 @@ paths: - admin - pull - push - text_matches: *840 + text_matches: *843 temp_clone_token: type: string allow_merge_commit: @@ -130456,7 +131198,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *193 + '503': *196 '422': *15 '304': *32 x-github: @@ -130562,7 +131304,7 @@ paths: - string - 'null' format: uri - text_matches: *840 + text_matches: *843 related: type: - array @@ -130757,7 +131499,7 @@ paths: - followers - repositories - joined - - *841 + - *844 - *17 - *19 responses: @@ -130867,7 +131609,7 @@ paths: type: - boolean - 'null' - text_matches: *840 + text_matches: *843 blog: type: - string @@ -130929,7 +131671,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *32 - '503': *193 + '503': *196 '422': *15 x-github: githubCloudOnly: false @@ -130949,7 +131691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &844 + - &847 name: team_id description: The unique identifier of the team. in: path @@ -130961,9 +131703,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -130990,7 +131732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *844 + - *847 requestBody: required: true content: @@ -131060,16 +131802,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '201': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 '422': *15 '403': *27 @@ -131097,7 +131839,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *844 + - *847 responses: '204': description: Response @@ -131126,7 +131868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -131136,9 +131878,9 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 x-github: @@ -131166,7 +131908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *844 + - *847 - name: role description: Filters members returned by their role in the team. in: query @@ -131187,9 +131929,9 @@ paths: application/json: schema: type: array - items: *845 + items: *848 examples: - default: *846 + default: *849 headers: Link: *42 '404': *6 @@ -131217,7 +131959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -131254,7 +131996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -131294,7 +132036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -131331,16 +132073,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 responses: '200': description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-user-is-a-team-maintainer: *847 + response-if-user-is-a-team-maintainer: *850 '404': *6 x-github: githubCloudOnly: false @@ -131373,7 +132115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 requestBody: required: false @@ -131399,9 +132141,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: *848 + response-if-users-membership-with-team-is-now-pending: *851 '403': description: Forbidden if team synchronization is set up '422': @@ -131435,7 +132177,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -131463,7 +132205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -131473,9 +132215,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *417 + default: *420 headers: Link: *42 '404': *6 @@ -131505,15 +132247,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *849 + schema: *852 examples: alternative-response-with-extra-repository-information: value: @@ -131663,9 +132405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 requestBody: required: false content: @@ -131715,9 +132457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 responses: '204': description: Response @@ -131746,15 +132488,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *844 + - *847 responses: '200': description: Response content: application/json: - schema: *492 + schema: *495 examples: - default: *493 + default: *496 '403': *27 '404': *6 x-github: @@ -131781,7 +132523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *844 + - *847 requestBody: required: true content: @@ -131842,7 +132584,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -131873,7 +132615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -131883,9 +132625,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - response-if-child-teams-exist: *850 + response-if-child-teams-exist: *853 headers: Link: *42 '404': *6 @@ -131920,7 +132662,7 @@ paths: application/json: schema: oneOf: - - &851 + - &854 title: Private User description: Private User type: object @@ -132170,7 +132912,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &877 + - &880 title: Public User description: Public User type: object @@ -132504,7 +133246,7 @@ paths: description: Response content: application/json: - schema: *851 + schema: *854 examples: default: value: @@ -132583,7 +133325,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '304': *32 '404': *6 '403': *27 @@ -132707,9 +133449,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 '304': *32 '500': *35 '401': *23 @@ -132848,21 +133590,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132902,7 +133644,7 @@ paths: type: integer secrets: type: array - items: &852 + items: &855 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -132944,7 +133686,7 @@ paths: - visibility - selected_repositories_url examples: - default: *599 + default: *602 headers: Link: *42 x-github: @@ -133016,13 +133758,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *852 + schema: *855 examples: default: value: @@ -133052,7 +133794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 requestBody: required: true content: @@ -133097,7 +133839,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -133125,7 +133867,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 responses: '204': description: Response @@ -133150,7 +133892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *290 + - *293 responses: '200': description: Response @@ -133166,9 +133908,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *334 + default: *337 '401': *23 '403': *27 '404': *6 @@ -133193,7 +133935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *290 + - *293 requestBody: required: true content: @@ -133247,7 +133989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *290 + - *293 - name: repository_id in: path required: true @@ -133280,7 +134022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *290 + - *293 - name: repository_id in: path required: true @@ -133312,15 +134054,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '304': *32 '500': *35 '401': *23 @@ -133346,7 +134088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 requestBody: required: false content: @@ -133376,9 +134118,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 @@ -133400,7 +134142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '202': *34 '304': *32 @@ -133429,13 +134171,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '202': description: Response content: application/json: - schema: &853 + schema: &856 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -133488,7 +134230,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &854 + default: &857 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -133520,7 +134262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *396 + - *399 - name: export_id in: path required: true @@ -133533,9 +134275,9 @@ paths: description: Response content: application/json: - schema: *853 + schema: *856 examples: - default: *854 + default: *857 '404': *6 x-github: githubCloudOnly: false @@ -133556,7 +134298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *396 + - *399 responses: '200': description: Response @@ -133572,9 +134314,9 @@ paths: type: integer machines: type: array - items: *598 + items: *601 examples: - default: *855 + default: *858 '304': *32 '500': *35 '401': *23 @@ -133603,7 +134345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *396 + - *399 requestBody: required: true content: @@ -133659,11 +134401,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *495 + repository: *498 machine: anyOf: - type: 'null' - - *598 + - *601 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -134460,15 +135202,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '304': *32 '500': *35 '400': *14 @@ -134500,15 +135242,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '500': *35 '401': *23 '403': *27 @@ -134538,9 +135280,9 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: &867 + default: &870 value: - id: 197 name: hello_docker @@ -134641,7 +135383,7 @@ paths: application/json: schema: type: array - items: &856 + items: &859 title: Email description: Email type: object @@ -134711,9 +135453,9 @@ paths: application/json: schema: type: array - items: *856 + items: *859 examples: - default: &869 + default: &872 value: - email: octocat@github.com verified: true @@ -134790,7 +135532,7 @@ paths: application/json: schema: type: array - items: *856 + items: *859 examples: default: value: @@ -134902,7 +135644,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '304': *32 @@ -134935,7 +135677,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '304': *32 @@ -135048,7 +135790,7 @@ paths: application/json: schema: type: array - items: &857 + items: &860 title: GPG Key description: A unique encryption key type: object @@ -135193,7 +135935,7 @@ paths: - subkeys - revoked examples: - default: &887 + default: &890 value: - id: 3 name: Octocat's GPG Key @@ -135278,9 +136020,9 @@ paths: description: Response content: application/json: - schema: *857 + schema: *860 examples: - default: &858 + default: &861 value: id: 3 name: Octocat's GPG Key @@ -135337,7 +136079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &859 + - &862 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -135349,9 +136091,9 @@ paths: description: Response content: application/json: - schema: *857 + schema: *860 examples: - default: *858 + default: *861 '404': *6 '304': *32 '403': *27 @@ -135374,7 +136116,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *859 + - *862 responses: '204': description: Response @@ -135576,7 +136318,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *275 + default: *278 headers: Link: *42 '404': *6 @@ -135602,7 +136344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *274 + - *277 responses: '204': description: Response @@ -135628,7 +136370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *274 + - *277 responses: '204': description: Response @@ -135662,12 +136404,12 @@ paths: application/json: schema: anyOf: - - *381 + - *384 - type: object properties: {} additionalProperties: false examples: - default: *382 + default: *385 '204': description: Response when there are no restrictions x-github: @@ -135691,7 +136433,7 @@ paths: required: true content: application/json: - schema: *676 + schema: *679 examples: default: value: @@ -135702,7 +136444,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -135783,7 +136525,7 @@ paths: - closed - all default: open - - *392 + - *395 - name: sort description: What to sort results by. in: query @@ -135796,7 +136538,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -135806,9 +136548,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *393 + default: *396 headers: Link: *42 '404': *6 @@ -135841,7 +136583,7 @@ paths: application/json: schema: type: array - items: &860 + items: &863 title: Key description: Key type: object @@ -135944,9 +136686,9 @@ paths: description: Response content: application/json: - schema: *860 + schema: *863 examples: - default: &861 + default: &864 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -135979,15 +136721,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *725 + - *728 responses: '200': description: Response content: application/json: - schema: *860 + schema: *863 examples: - default: *861 + default: *864 '404': *6 '304': *32 '403': *27 @@ -136010,7 +136752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *725 + - *728 responses: '204': description: Response @@ -136043,7 +136785,7 @@ paths: application/json: schema: type: array - items: &862 + items: &865 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -136111,7 +136853,7 @@ paths: - id - type - login - plan: *237 + plan: *240 required: - billing_cycle - next_billing_date @@ -136122,7 +136864,7 @@ paths: - account - plan examples: - default: &863 + default: &866 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -136184,9 +136926,9 @@ paths: application/json: schema: type: array - items: *862 + items: *865 examples: - default: *863 + default: *866 headers: Link: *42 '304': *32 @@ -136226,7 +136968,7 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: default: value: @@ -136340,7 +137082,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: default: value: @@ -136427,9 +137169,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *397 + schema: *400 examples: - default: &864 + default: &867 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -136476,9 +137218,9 @@ paths: processed asynchronously. content: application/json: - schema: *397 + schema: *400 examples: - default: *864 + default: *867 '403': *27 '404': *6 '422': *15 @@ -136507,7 +137249,7 @@ paths: application/json: schema: type: array - items: *399 + items: *402 examples: default: value: @@ -136769,7 +137511,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -136949,7 +137691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *400 + - *403 - name: exclude in: query required: false @@ -136962,7 +137704,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -137156,7 +137898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *400 + - *403 responses: '302': description: Response @@ -137182,7 +137924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *400 + - *403 responses: '204': description: Response @@ -137211,8 +137953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *400 - - *865 + - *403 + - *868 responses: '204': description: Response @@ -137236,7 +137978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *400 + - *403 - *17 - *19 responses: @@ -137283,7 +138025,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: *42 '304': *32 @@ -137325,7 +138067,7 @@ paths: - docker - nuget - container - - *866 + - *869 - *19 - *17 responses: @@ -137335,10 +138077,10 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *867 - '400': *868 + default: *870 + '400': *871 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -137358,16 +138100,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 responses: '200': description: Response content: application/json: - schema: *404 + schema: *407 examples: - default: &888 + default: &891 value: id: 40201 name: octo-name @@ -137480,8 +138222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 responses: '204': description: Response @@ -137511,8 +138253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 - name: token description: package token schema: @@ -137544,8 +138286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 - *19 - *17 - name: state @@ -137565,7 +138307,7 @@ paths: application/json: schema: type: array - items: *408 + items: *411 examples: default: value: @@ -137614,15 +138356,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -137658,9 +138400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '204': description: Response @@ -137690,9 +138432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '204': description: Response @@ -137729,9 +138471,9 @@ paths: application/json: schema: type: array - items: *856 + items: *859 examples: - default: *869 + default: *872 headers: Link: *42 '304': *32 @@ -137844,7 +138586,7 @@ paths: type: array items: *75 examples: - default: &876 + default: &879 summary: Default response value: - id: 1296269 @@ -138162,9 +138904,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -138203,9 +138945,9 @@ paths: application/json: schema: type: array - items: *679 + items: *682 examples: - default: *870 + default: *873 headers: Link: *42 '304': *32 @@ -138228,7 +138970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *385 + - *388 responses: '204': description: Response @@ -138252,7 +138994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *385 + - *388 responses: '204': description: Response @@ -138285,7 +139027,7 @@ paths: application/json: schema: type: array - items: &871 + items: &874 title: Social account description: Social media account type: object @@ -138302,7 +139044,7 @@ paths: - provider - url examples: - default: &872 + default: &875 value: - provider: twitter url: https://twitter.com/github @@ -138365,9 +139107,9 @@ paths: application/json: schema: type: array - items: *871 + items: *874 examples: - default: *872 + default: *875 '422': *15 '304': *32 '404': *6 @@ -138455,7 +139197,7 @@ paths: application/json: schema: type: array - items: &873 + items: &876 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -138475,7 +139217,7 @@ paths: - title - created_at examples: - default: &902 + default: &905 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -138540,9 +139282,9 @@ paths: description: Response content: application/json: - schema: *873 + schema: *876 examples: - default: &874 + default: &877 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -138572,7 +139314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &875 + - &878 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -138584,9 +139326,9 @@ paths: description: Response content: application/json: - schema: *873 + schema: *876 examples: - default: *874 + default: *877 '404': *6 '304': *32 '403': *27 @@ -138609,7 +139351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *875 + - *878 responses: '204': description: Response @@ -138638,7 +139380,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &903 + - &906 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 @@ -138663,11 +139405,11 @@ paths: type: array items: *75 examples: - default-response: *876 + default-response: *879 application/vnd.github.v3.star+json: schema: type: array - items: &904 + items: &907 title: Starred Repository description: Starred Repository type: object @@ -138823,8 +139565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response if this repository is starred by you @@ -138852,8 +139594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -138877,8 +139619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -138911,9 +139653,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *417 + default: *420 headers: Link: *42 '304': *32 @@ -138950,7 +139692,7 @@ paths: application/json: schema: type: array - items: *482 + items: *485 examples: default: value: @@ -139028,7 +139770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *239 + - *242 responses: '200': description: Response @@ -139036,10 +139778,10 @@ paths: application/json: schema: oneOf: - - *851 - - *877 + - *854 + - *880 examples: - default-response: &881 + default-response: &884 summary: Default response value: login: octocat @@ -139074,7 +139816,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &882 + response-with-git-hub-plan-information: &885 summary: Response with GitHub plan information value: login: octocat @@ -139131,14 +139873,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &879 + - &882 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *422 + - *425 requestBody: required: true description: Details of the draft item to create in the project. @@ -139172,9 +139914,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: - draft_issue: *428 + draft_issue: *431 '304': *32 '403': *27 '401': *23 @@ -139197,7 +139939,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *878 + - *881 - *17 responses: '200': @@ -139208,7 +139950,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: example: ; rel="next" @@ -139232,8 +139974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *879 - - *422 + - *882 + - *425 requestBody: required: true content: @@ -139348,17 +140090,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *880 + schema: *883 examples: table_view: summary: Response for creating a table view - value: *432 + value: *435 board_view: summary: Response for creating a board view with filter - value: *432 + value: *435 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *435 '304': *32 '403': *27 '401': *23 @@ -139404,11 +140146,11 @@ paths: application/json: schema: oneOf: - - *851 - - *877 + - *854 + - *880 examples: - default-response: *881 - response-with-git-hub-plan-information: *882 + default-response: *884 + response-with-git-hub-plan-information: *885 '404': *6 x-github: githubCloudOnly: false @@ -139458,8 +140200,8 @@ paths: required: - subject_digests examples: - default: *883 - withPredicateType: *884 + default: *886 + withPredicateType: *887 responses: '200': description: Response @@ -139499,7 +140241,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *885 + default: *888 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -139688,12 +140430,12 @@ paths: initiator: type: string examples: - default: *536 + default: *539 '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -139755,7 +140497,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *330 + items: *333 examples: default: summary: Example response for listing user copilot spaces @@ -139970,9 +140712,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: &886 + default: &889 summary: Example response for a user copilot space value: id: 42 @@ -140071,9 +140813,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *886 + default: *889 '403': *27 '404': *6 x-github: @@ -140197,9 +140939,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *886 + default: *889 '403': *27 '404': *6 '422': *15 @@ -140276,7 +141018,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *332 + items: *335 examples: default: value: @@ -140419,7 +141161,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: default: value: @@ -140530,7 +141272,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: default: value: @@ -140660,7 +141402,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *333 + items: *336 examples: default: value: @@ -140752,7 +141494,7 @@ paths: description: Resource created content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -140768,7 +141510,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -140821,7 +141563,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -140888,7 +141630,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -140965,9 +141707,9 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *867 + default: *870 '403': *27 '401': *23 x-github: @@ -141000,7 +141742,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -141073,7 +141815,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -141160,7 +141902,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -141233,7 +141975,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -141267,7 +142009,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -141314,7 +142056,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *127 - - *226 + - *229 - *17 - *19 responses: @@ -141324,9 +142066,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '422': *15 @@ -141357,9 +142099,9 @@ paths: application/json: schema: type: array - items: *857 + items: *860 examples: - default: *887 + default: *890 headers: Link: *42 x-github: @@ -141463,7 +142205,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141549,7 +142291,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: *42 x-github: @@ -141588,7 +142330,7 @@ paths: - docker - nuget - container - - *866 + - *869 - *127 - *19 - *17 @@ -141599,12 +142341,12 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *867 + default: *870 '403': *27 '401': *23 - '400': *868 + '400': *871 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141624,17 +142366,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '200': description: Response content: application/json: - schema: *404 + schema: *407 examples: - default: *888 + default: *891 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141655,8 +142397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '204': @@ -141689,8 +142431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 - name: token description: package token @@ -141723,8 +142465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '200': @@ -141733,7 +142475,7 @@ paths: application/json: schema: type: array - items: *408 + items: *411 examples: default: value: @@ -141791,16 +142533,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 - *127 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -141835,10 +142577,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *406 - - *407 - - *127 - *409 + - *410 + - *127 + - *412 responses: '204': description: Response @@ -141870,10 +142612,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *406 - - *407 - - *127 - *409 + - *410 + - *127 + - *412 responses: '204': description: Response @@ -141914,9 +142656,9 @@ paths: application/json: schema: type: array - items: *420 + items: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -141938,16 +142680,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *422 + - *425 - *127 responses: '200': description: Response content: application/json: - schema: *420 + schema: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -141969,7 +142711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *422 + - *425 - *127 - *17 - *105 @@ -141981,9 +142723,9 @@ paths: application/json: schema: type: array - items: *425 + items: *428 examples: - default: *889 + default: *892 headers: Link: *42 '304': *32 @@ -142005,7 +142747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *127 - - *422 + - *425 requestBody: required: true content: @@ -142043,7 +142785,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *890 + items: *893 required: - name - data_type @@ -142059,7 +142801,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *891 + iteration_configuration: *894 required: - name - data_type @@ -142081,20 +142823,20 @@ paths: value: name: Due date data_type: date - single_select_field: *892 - iteration_field: *893 + single_select_field: *895 + iteration_field: *896 responses: '201': description: Response content: application/json: - schema: *425 + schema: *428 examples: - text_field: *894 - number_field: *895 - date_field: *896 - single_select_field: *897 - iteration_field: *898 + text_field: *897 + number_field: *898 + date_field: *899 + single_select_field: *900 + iteration_field: *901 '304': *32 '403': *27 '401': *23 @@ -142115,17 +142857,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *422 - - *899 + - *425 + - *902 - *127 responses: '200': description: Response content: application/json: - schema: *425 + schema: *428 examples: - default: *900 + default: *903 headers: Link: *42 '304': *32 @@ -142148,7 +142890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *422 + - *425 - *127 - *105 - *106 @@ -142181,9 +142923,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -142205,7 +142947,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *127 - - *422 + - *425 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -142275,22 +143017,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *431 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *431 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *431 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *431 '304': *32 '403': *27 '401': *23 @@ -142310,9 +143052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *422 + - *425 - *127 - - *431 + - *434 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -142332,9 +143074,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -142355,9 +143097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *422 + - *425 - *127 - - *431 + - *434 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -142430,13 +143172,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *433 + number_field: *433 + date_field: *433 + single_select_field: *433 + iteration_field: *433 '401': *23 '403': *27 '404': *6 @@ -142456,9 +143198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *422 + - *425 - *127 - - *431 + - *434 responses: '204': description: Response @@ -142480,9 +143222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *422 + - *425 - *127 - - *901 + - *904 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -142508,9 +143250,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -142548,7 +143290,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -142623,7 +143365,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -142729,9 +143471,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *417 + default: *420 headers: Link: *42 x-github: @@ -142761,9 +143503,9 @@ paths: application/json: schema: type: array - items: *871 + items: *874 examples: - default: *872 + default: *875 headers: Link: *42 x-github: @@ -142793,9 +143535,9 @@ paths: application/json: schema: type: array - items: *873 + items: *876 examples: - default: *902 + default: *905 headers: Link: *42 x-github: @@ -142822,7 +143564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *127 - - *903 + - *906 - *107 - *17 - *19 @@ -142834,11 +143576,11 @@ paths: schema: anyOf: - type: array - items: *904 + items: *907 - type: array items: *75 examples: - default-response: *876 + default-response: *879 headers: Link: *42 x-github: @@ -142867,9 +143609,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *417 + default: *420 headers: Link: *42 x-github: @@ -142998,7 +143740,7 @@ webhooks: type: string enum: - disabled - enterprise: &905 + enterprise: &908 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -143067,7 +143809,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &906 + installation: &909 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -143088,7 +143830,7 @@ webhooks: required: - id - node_id - organization: &907 + organization: &910 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -143161,7 +143903,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &908 + repository: &911 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -143190,7 +143932,7 @@ webhooks: license: anyOf: - type: 'null' - - *223 + - *226 organization: anyOf: - type: 'null' @@ -144076,10 +144818,10 @@ webhooks: type: string enum: - enabled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -144155,11 +144897,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: &909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: &912 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -144382,11 +145124,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: *909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: *912 sender: *4 required: - action @@ -144574,11 +145316,11 @@ webhooks: - everyone required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: *909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: *912 sender: *4 required: - action @@ -144651,7 +145393,7 @@ webhooks: required: true content: application/json: - schema: &929 + schema: &932 title: Exemption request cancellation event type: object properties: @@ -144659,11 +145401,11 @@ webhooks: type: string enum: - cancelled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: &910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: &913 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -144972,7 +145714,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &911 + items: &914 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -145084,7 +145826,7 @@ webhooks: required: true content: application/json: - schema: &930 + schema: &933 title: Exemption request completed event type: object properties: @@ -145092,11 +145834,11 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 sender: *4 required: - action @@ -145168,7 +145910,7 @@ webhooks: required: true content: application/json: - schema: &927 + schema: &930 title: Exemption request created event type: object properties: @@ -145176,11 +145918,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 sender: *4 required: - action @@ -145252,7 +145994,7 @@ webhooks: required: true content: application/json: - schema: &931 + schema: &934 title: Exemption response dismissed event type: object properties: @@ -145260,12 +146002,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 - exemption_response: *911 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 + exemption_response: *914 sender: *4 required: - action @@ -145339,7 +146081,7 @@ webhooks: required: true content: application/json: - schema: &928 + schema: &931 title: Exemption response submitted event type: object properties: @@ -145347,12 +146089,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 - exemption_response: *911 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 + exemption_response: *914 sender: *4 required: - action @@ -145436,7 +146178,7 @@ webhooks: type: string enum: - completed - check_run: &913 + check_run: &916 title: CheckRun description: A check performed on the code of a given code change type: object @@ -145501,8 +146243,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *224 - repository: *280 + items: *227 + repository: *283 status: type: string enum: @@ -145546,7 +146288,7 @@ webhooks: - examples: - neutral - deployment: *912 + deployment: *915 details_url: type: string examples: @@ -145606,7 +146348,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *224 + items: *227 started_at: type: string format: date-time @@ -145644,10 +146386,10 @@ webhooks: - output - app - pull_requests - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -146038,11 +146780,11 @@ webhooks: type: string enum: - created - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -146436,11 +147178,11 @@ webhooks: type: string enum: - requested_action - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 requested_action: description: The action requested by the user. type: object @@ -146843,11 +147585,11 @@ webhooks: type: string enum: - rerequested - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -147832,10 +148574,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -148549,10 +149291,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -149260,10 +150002,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -149432,7 +150174,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -149585,20 +150327,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &914 + commit_oid: &917 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: *905 - installation: *906 - organization: *907 - ref: &915 + enterprise: *908 + installation: *909 + organization: *910 + ref: &918 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: *908 + repository: *911 sender: *4 required: - action @@ -149765,7 +150507,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -150007,12 +150749,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -150110,7 +150852,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -150295,12 +151037,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -150469,7 +151211,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -150647,12 +151389,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -150753,7 +151495,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -150942,9 +151684,9 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -150952,7 +151694,7 @@ webhooks: type: - string - 'null' - repository: *908 + repository: *911 sender: *4 required: - action @@ -151051,7 +151793,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -151198,12 +151940,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -151372,7 +152114,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151525,10 +152267,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -151788,10 +152530,10 @@ webhooks: - updated_at - author_association - body - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -151872,18 +152614,18 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *907 - pusher_type: &916 + organization: *910 + pusher_type: &919 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &917 + ref: &920 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -151893,7 +152635,7 @@ webhooks: enum: - tag - branch - repository: *908 + repository: *911 sender: *4 required: - ref @@ -151975,10 +152717,10 @@ webhooks: type: string enum: - created - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -152063,9 +152805,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -152142,10 +152884,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -152222,10 +152964,10 @@ webhooks: type: string enum: - updated - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -152302,19 +153044,19 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - repository: *908 - organization: *907 + enterprise: *908 + installation: *909 + repository: *911 + organization: *910 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *153 + items: *156 old_property_values: type: array description: The old custom property values for the repository. - items: *153 + items: *156 required: - action - repository @@ -152390,18 +153132,18 @@ webhooks: title: delete event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - pusher_type: *916 - ref: *917 + enterprise: *908 + installation: *909 + organization: *910 + pusher_type: *919 + ref: *920 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *908 + repository: *911 sender: *4 required: - ref @@ -152481,11 +153223,11 @@ webhooks: type: string enum: - assignees_changed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -152565,11 +153307,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -152650,11 +153392,11 @@ webhooks: type: string enum: - auto_reopened - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -152735,11 +153477,11 @@ webhooks: type: string enum: - created - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -152818,11 +153560,11 @@ webhooks: type: string enum: - dismissed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -152901,11 +153643,11 @@ webhooks: type: string enum: - fixed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -152985,11 +153727,11 @@ webhooks: type: string enum: - reintroduced - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153068,11 +153810,11 @@ webhooks: type: string enum: - reopened - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153149,9 +153891,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - key: &918 + enterprise: *908 + installation: *909 + key: &921 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -153189,8 +153931,8 @@ webhooks: - verified - created_at - read_only - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -153267,11 +154009,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - key: *918 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + key: *921 + organization: *910 + repository: *911 sender: *4 required: - action @@ -153838,12 +154580,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: &922 + workflow: &925 title: Workflow type: - object @@ -154594,13 +155336,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *635 + - *638 pull_requests: type: array - items: *746 - repository: *908 - organization: *907 - installation: *906 + items: *749 + repository: *911 + organization: *910 + installation: *909 sender: *4 responses: '200': @@ -154671,7 +155413,7 @@ webhooks: type: string enum: - approved - approver: &919 + approver: &922 type: object properties: avatar_url: @@ -154714,11 +155456,11 @@ webhooks: type: string comment: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - reviewers: &920 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + reviewers: &923 type: array items: type: object @@ -154799,7 +155541,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &921 + workflow_job_run: &924 type: object properties: conclusion: @@ -155545,18 +156287,18 @@ webhooks: type: string enum: - rejected - approver: *919 + approver: *922 comment: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - reviewers: *920 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + reviewers: *923 sender: *4 since: type: string - workflow_job_run: *921 + workflow_job_run: *924 workflow_job_runs: type: array items: @@ -156273,13 +157015,13 @@ webhooks: type: string enum: - requested - enterprise: *905 + enterprise: *908 environment: type: string - installation: *906 - organization: *907 - repository: *908 - requestor: &932 + installation: *909 + organization: *910 + repository: *911 + requestor: &935 title: User type: - object @@ -158212,12 +158954,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Deployment Workflow Run type: @@ -158908,7 +159650,7 @@ webhooks: type: string enum: - answered - answer: &925 + answer: &928 type: object properties: author_association: @@ -159068,11 +159810,11 @@ webhooks: - created_at - updated_at - body - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159199,11 +159941,11 @@ webhooks: - from required: - category - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159286,11 +160028,11 @@ webhooks: type: string enum: - closed - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159372,7 +160114,7 @@ webhooks: type: string enum: - created - comment: &924 + comment: &927 type: object properties: author_association: @@ -159532,11 +160274,11 @@ webhooks: - updated_at - body - reactions - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159619,12 +160361,12 @@ webhooks: type: string enum: - deleted - comment: *924 - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + comment: *927 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159719,12 +160461,12 @@ webhooks: - from required: - body - comment: *924 - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + comment: *927 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159808,11 +160550,11 @@ webhooks: type: string enum: - created - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159894,11 +160636,11 @@ webhooks: type: string enum: - deleted - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -159998,11 +160740,11 @@ webhooks: type: string required: - from - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160084,10 +160826,10 @@ webhooks: type: string enum: - labeled - discussion: *923 - enterprise: *905 - installation: *906 - label: &926 + discussion: *926 + enterprise: *908 + installation: *909 + label: &929 title: Label type: object properties: @@ -160136,8 +160878,8 @@ webhooks: - description - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160220,11 +160962,11 @@ webhooks: type: string enum: - locked - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160306,11 +161048,11 @@ webhooks: type: string enum: - pinned - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160392,11 +161134,11 @@ webhooks: type: string enum: - reopened - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160481,16 +161223,16 @@ webhooks: changes: type: object properties: - new_discussion: *923 - new_repository: *908 + new_discussion: *926 + new_repository: *911 required: - new_discussion - new_repository - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160573,10 +161315,10 @@ webhooks: type: string enum: - unanswered - discussion: *923 - old_answer: *925 - organization: *907 - repository: *908 + discussion: *926 + old_answer: *928 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160658,12 +161400,12 @@ webhooks: type: string enum: - unlabeled - discussion: *923 - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160746,11 +161488,11 @@ webhooks: type: string enum: - unlocked - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160832,11 +161574,11 @@ webhooks: type: string enum: - unpinned - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160905,7 +161647,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160968,7 +161710,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161031,7 +161773,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161094,7 +161836,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161157,7 +161899,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161223,7 +161965,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161289,7 +162031,7 @@ webhooks: required: true content: application/json: - schema: *930 + schema: *933 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161355,7 +162097,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161421,7 +162163,7 @@ webhooks: required: true content: application/json: - schema: *931 + schema: *934 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161487,7 +162229,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161552,7 +162294,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161617,7 +162359,7 @@ webhooks: required: true content: application/json: - schema: *930 + schema: *933 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161682,7 +162424,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161747,7 +162489,7 @@ webhooks: required: true content: application/json: - schema: *931 + schema: *934 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161813,7 +162555,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161880,7 +162622,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *905 + enterprise: *908 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -162558,9 +163300,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - forkee @@ -162706,9 +163448,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pages: description: The pages that were updated. type: array @@ -162746,7 +163488,7 @@ webhooks: - action - sha - html_url - repository: *908 + repository: *911 sender: *4 required: - pages @@ -162822,10 +163564,10 @@ webhooks: type: string enum: - created - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: &933 + organization: *910 + repositories: &936 description: An array of repository objects that the installation can access. type: array @@ -162851,8 +163593,8 @@ webhooks: - name - full_name - private - repository: *908 - requester: *932 + repository: *911 + requester: *935 sender: *4 required: - action @@ -162927,11 +163669,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -163008,11 +163750,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -163089,10 +163831,10 @@ webhooks: type: string enum: - added - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories_added: &934 + organization: *910 + repositories_added: &937 description: An array of repository objects, which were added to the installation. type: array @@ -163139,15 +163881,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *908 - repository_selection: &935 + repository: *911 + repository_selection: &938 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *932 + requester: *935 sender: *4 required: - action @@ -163226,10 +163968,10 @@ webhooks: type: string enum: - removed - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories_added: *934 + organization: *910 + repositories_added: *937 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -163257,9 +163999,9 @@ webhooks: - name - full_name - private - repository: *908 - repository_selection: *935 - requester: *932 + repository: *911 + repository_selection: *938 + requester: *935 sender: *4 required: - action @@ -163338,11 +164080,11 @@ webhooks: type: string enum: - suspend - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -163525,10 +164267,10 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 target_type: type: string @@ -163607,11 +164349,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -163777,11 +164519,11 @@ webhooks: pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 user: title: User type: @@ -163867,8 +164609,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -164680,8 +165422,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164698,7 +165440,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -165042,8 +165784,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -165123,7 +165865,7 @@ webhooks: type: string enum: - deleted - comment: &936 + comment: &939 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -165280,11 +166022,11 @@ webhooks: pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 required: - url - html_url @@ -165298,8 +166040,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -166107,8 +166849,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166125,7 +166867,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -166471,8 +167213,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -166552,7 +167294,7 @@ webhooks: type: string enum: - edited - changes: &960 + changes: &963 description: The changes to the comment. type: object properties: @@ -166564,9 +167306,9 @@ webhooks: type: string required: - from - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167377,8 +168119,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167395,7 +168137,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -167739,8 +168481,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -167821,9 +168563,9 @@ webhooks: type: string enum: - pinned - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -168636,8 +169378,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168654,7 +169396,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -169000,8 +169742,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -169081,9 +169823,9 @@ webhooks: type: string enum: - unpinned - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -169896,8 +170638,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169914,7 +170656,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -170260,8 +171002,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170344,15 +171086,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *224 blocking_issue_repo: *75 - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170435,15 +171177,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *224 blocking_issue_repo: *75 - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170525,15 +171267,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocked_issue_repo: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *906 - organization: *907 - repository: *908 + blocking_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170616,15 +171358,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocked_issue_repo: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *906 - organization: *907 - repository: *908 + blocking_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170704,10 +171446,10 @@ webhooks: type: string enum: - assigned - assignee: *932 - enterprise: *905 - installation: *906 - issue: &937 + assignee: *935 + enterprise: *908 + installation: *909 + issue: &940 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171517,12 +172259,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171539,7 +172281,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -171642,8 +172384,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -171723,8 +172465,8 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -172539,12 +173281,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172561,7 +173303,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -172807,8 +173549,8 @@ webhooks: required: - state - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -172887,8 +173629,8 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173694,12 +174436,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173716,7 +174458,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -173818,8 +174560,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -173898,8 +174640,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174728,12 +175470,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174750,7 +175492,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -174831,7 +175573,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &938 + milestone: &941 title: Milestone description: A collection of related issues and pull requests. type: object @@ -174974,8 +175716,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -175074,8 +175816,8 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175885,12 +176627,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175904,7 +176646,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -176010,9 +176752,9 @@ webhooks: - active_lock_reason - body - reactions - label: *926 - organization: *907 - repository: *908 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -176092,9 +176834,9 @@ webhooks: type: string enum: - field_added - enterprise: *905 - installation: *906 - issue: *937 + enterprise: *908 + installation: *909 + issue: *940 issue_field: type: object description: The issue field whose value was set or updated on the @@ -176260,8 +177002,8 @@ webhooks: - id required: - from - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -176341,9 +177083,9 @@ webhooks: type: string enum: - field_removed - enterprise: *905 - installation: *906 - issue: *937 + enterprise: *908 + installation: *909 + issue: *940 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -176430,8 +177172,8 @@ webhooks: - 'null' required: - id - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -176511,8 +177253,8 @@ webhooks: type: string enum: - labeled - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177337,12 +178079,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177356,7 +178098,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -177462,9 +178204,9 @@ webhooks: - active_lock_reason - body - reactions - label: *926 - organization: *907 - repository: *908 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -177544,8 +178286,8 @@ webhooks: type: string enum: - locked - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178379,12 +179121,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178398,7 +179140,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -178481,8 +179223,8 @@ webhooks: format: uri user_view_type: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -178561,8 +179303,8 @@ webhooks: type: string enum: - milestoned - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179390,12 +180132,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179412,7 +180154,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -179492,9 +180234,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *938 - organization: *907 - repository: *908 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -180381,11 +181123,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180412,7 +181154,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *225 user: title: User type: @@ -180485,7 +181227,7 @@ webhooks: required: - login - id - type: *389 + type: *392 required: - id - number @@ -180977,8 +181719,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -181785,11 +182527,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -181806,7 +182548,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -181817,7 +182559,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *225 user: title: User type: @@ -181912,8 +182654,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -181993,9 +182735,9 @@ webhooks: type: string enum: - pinned - enterprise: *905 - installation: *906 - issue: &939 + enterprise: *908 + installation: *909 + issue: &942 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -182799,12 +183541,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -182821,7 +183563,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -182923,8 +183665,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -183003,8 +183745,8 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -183836,12 +184578,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -183938,9 +184680,9 @@ webhooks: format: uri user_view_type: type: string - type: *389 - organization: *907 - repository: *908 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -184827,12 +185569,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -184849,7 +185591,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -185442,11 +186184,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *905 - installation: *906 - issue: *939 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *942 + organization: *910 + repository: *911 sender: *4 required: - action @@ -185526,12 +186268,12 @@ webhooks: type: string enum: - typed - enterprise: *905 - installation: *906 - issue: *937 - type: *389 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -185612,7 +186354,7 @@ webhooks: type: string enum: - unassigned - assignee: &963 + assignee: &966 title: User type: - object @@ -185684,11 +186426,11 @@ webhooks: required: - login - id - enterprise: *905 - installation: *906 - issue: *937 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + organization: *910 + repository: *911 sender: *4 required: - action @@ -185767,12 +186509,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *905 - installation: *906 - issue: *937 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -185852,8 +186594,8 @@ webhooks: type: string enum: - unlocked - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -186685,12 +187427,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -186707,7 +187449,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -186787,8 +187529,8 @@ webhooks: format: uri user_view_type: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -186868,11 +187610,11 @@ webhooks: type: string enum: - unpinned - enterprise: *905 - installation: *906 - issue: *939 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *942 + organization: *910 + repository: *911 sender: *4 required: - action @@ -186951,12 +187693,12 @@ webhooks: type: string enum: - untyped - enterprise: *905 - installation: *906 - issue: *937 - type: *389 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187036,12 +187778,12 @@ webhooks: type: string enum: - archived - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 label: title: Archived label allOf: - - *926 + - *929 - type: object properties: archived_at: @@ -187055,8 +187797,8 @@ webhooks: required: - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187135,11 +187877,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187217,11 +187959,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187331,11 +188073,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187414,12 +188156,12 @@ webhooks: type: string enum: - unarchived - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 label: title: Unarchived label allOf: - - *926 + - *929 - type: object properties: archived_at: @@ -187439,8 +188181,8 @@ webhooks: required: - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187522,9 +188264,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: &940 + enterprise: *908 + installation: *909 + marketplace_purchase: &943 title: Marketplace Purchase type: object required: @@ -187612,8 +188354,8 @@ webhooks: type: integer unit_count: type: integer - organization: *907 - previous_marketplace_purchase: &941 + organization: *910 + previous_marketplace_purchase: &944 title: Marketplace Purchase type: object properties: @@ -187697,7 +188439,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -187777,10 +188519,10 @@ webhooks: - changed effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -187868,7 +188610,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -187950,10 +188692,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -188039,7 +188781,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -188120,8 +188862,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 marketplace_purchase: title: Marketplace Purchase type: object @@ -188207,9 +188949,9 @@ webhooks: type: integer unit_count: type: integer - organization: *907 - previous_marketplace_purchase: *941 - repository: *908 + organization: *910 + previous_marketplace_purchase: *944 + repository: *911 sender: *4 required: - action @@ -188289,12 +189031,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 - previous_marketplace_purchase: *941 - repository: *908 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 + previous_marketplace_purchase: *944 + repository: *911 sender: *4 required: - action @@ -188396,11 +189138,11 @@ webhooks: type: string required: - to - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188502,11 +189244,11 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188585,11 +189327,11 @@ webhooks: type: string enum: - removed - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188667,11 +189409,11 @@ webhooks: type: string enum: - added - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 scope: description: The scope of the membership. Currently, can only be `team`. @@ -188749,7 +189491,7 @@ webhooks: required: - login - id - team: &942 + team: &945 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -188979,11 +189721,11 @@ webhooks: type: string enum: - removed - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 scope: description: The scope of the membership. Currently, can only be `team`. @@ -189062,7 +189804,7 @@ webhooks: required: - login - id - team: *942 + team: *945 required: - action - scope @@ -189144,8 +189886,8 @@ webhooks: type: string enum: - checks_requested - installation: *906 - merge_group: &943 + installation: *909 + merge_group: &946 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -189164,15 +189906,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *556 + head_commit: *559 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189258,10 +190000,10 @@ webhooks: - merged - invalidated - dequeued - installation: *906 - merge_group: *943 - organization: *907 - repository: *908 + installation: *909 + merge_group: *946 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189334,7 +190076,7 @@ webhooks: type: string enum: - deleted - enterprise: *905 + enterprise: *908 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -189443,12 +190185,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *906 - organization: *907 + installation: *909 + organization: *910 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -189528,11 +190270,11 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189611,9 +190353,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - milestone: &944 + enterprise: *908 + installation: *909 + milestone: &947 title: Milestone description: A collection of related issues and pull requests. type: object @@ -189755,8 +190497,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189835,11 +190577,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189949,11 +190691,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190033,11 +190775,11 @@ webhooks: type: string enum: - opened - enterprise: *905 - installation: *906 - milestone: *944 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *947 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190116,11 +190858,11 @@ webhooks: type: string enum: - blocked - blocked_user: *932 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + blocked_user: *935 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190199,11 +190941,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *932 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + blocked_user: *935 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190278,8 +191020,8 @@ webhooks: type: string enum: - created - definition: *149 - enterprise: *905 + definition: *152 + enterprise: *908 sender: *4 required: - action @@ -190359,8 +191101,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 sender: *4 required: - action @@ -190432,9 +191174,9 @@ webhooks: type: string enum: - updated - definition: *149 - enterprise: *905 - installation: *906 + definition: *152 + enterprise: *908 + installation: *909 sender: *4 required: - action @@ -190506,18 +191248,18 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 new_property_values: type: array description: The new custom property values. - items: *153 + items: *156 old_property_values: type: array description: The old custom property values. - items: *153 + items: *156 required: - action - organization @@ -190596,9 +191338,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - membership: &945 + enterprise: *908 + installation: *909 + membership: &948 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -190708,8 +191450,8 @@ webhooks: - role - organization_url - user - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190787,11 +191529,11 @@ webhooks: type: string enum: - member_added - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190870,8 +191612,8 @@ webhooks: type: string enum: - member_invited - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -190993,10 +191735,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 - user: *932 + user: *935 required: - action - invitation @@ -191074,11 +191816,11 @@ webhooks: type: string enum: - member_removed - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191165,11 +191907,11 @@ webhooks: properties: from: type: string - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191247,9 +191989,9 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 package: description: Information about the package. type: object @@ -191772,7 +192514,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &946 + items: &949 title: Ruby Gems metadata type: object properties: @@ -191869,7 +192611,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -191946,9 +192688,9 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 package: description: Information about the package. type: object @@ -192310,7 +193052,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *946 + items: *949 source_url: type: string format: uri @@ -192381,7 +193123,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -192561,12 +193303,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *905 + enterprise: *908 id: type: integer - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - id @@ -192643,7 +193385,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &947 + personal_access_token_request: &950 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -192793,10 +193535,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *905 - organization: *907 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -192873,11 +193615,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *947 - enterprise: *905 - organization: *907 + personal_access_token_request: *950 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -192953,11 +193695,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *947 - enterprise: *905 - organization: *907 + personal_access_token_request: *950 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -193032,11 +193774,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *947 - organization: *907 - enterprise: *905 + personal_access_token_request: *950 + organization: *910 + enterprise: *908 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -193141,7 +193883,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *948 + last_response: *951 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -193173,8 +193915,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 zen: description: Random string of GitHub zen. @@ -193419,10 +194161,10 @@ webhooks: - from required: - note - enterprise: *905 - installation: *906 - organization: *907 - project_card: &949 + enterprise: *908 + installation: *909 + organization: *910 + project_card: &952 title: Project Card type: object properties: @@ -193545,7 +194287,7 @@ webhooks: - creator - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -193626,11 +194368,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project_card: *949 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_card: *952 + repository: *911 sender: *4 required: - action @@ -193710,9 +194452,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 project_card: title: Project Card type: object @@ -193842,7 +194584,7 @@ webhooks: repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -193936,11 +194678,11 @@ webhooks: - from required: - note - enterprise: *905 - installation: *906 - organization: *907 - project_card: *949 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_card: *952 + repository: *911 sender: *4 required: - action @@ -194034,9 +194776,9 @@ webhooks: - from required: - column_id - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 project_card: allOf: - title: Project Card @@ -194233,7 +194975,7 @@ webhooks: type: string required: - after_id - repository: *908 + repository: *911 sender: *4 required: - action @@ -194313,10 +195055,10 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - organization: *907 - project: &951 + enterprise: *908 + installation: *909 + organization: *910 + project: &954 title: Project type: object properties: @@ -194443,7 +195185,7 @@ webhooks: - creator - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -194523,10 +195265,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project_column: &950 + enterprise: *908 + installation: *909 + organization: *910 + project_column: &953 title: Project Column type: object properties: @@ -194566,7 +195308,7 @@ webhooks: - name - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -194645,14 +195387,14 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -194741,11 +195483,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 + repository: *911 sender: *4 required: - action @@ -194825,11 +195567,11 @@ webhooks: type: string enum: - moved - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 + repository: *911 sender: *4 required: - action @@ -194909,11 +195651,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -194993,14 +195735,14 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - project: *951 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -195101,11 +195843,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -195184,11 +195926,11 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -195269,9 +196011,9 @@ webhooks: type: string enum: - closed - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -195352,9 +196094,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -195435,9 +196177,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -195558,9 +196300,9 @@ webhooks: type: string to: type: string - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -195643,7 +196385,7 @@ webhooks: type: string enum: - archived - changes: &955 + changes: &958 type: object properties: archived_at: @@ -195659,9 +196401,9 @@ webhooks: - string - 'null' format: date-time - installation: *906 - organization: *907 - projects_v2_item: &952 + installation: *909 + organization: *910 + projects_v2_item: &955 title: Projects v2 Item description: An item belonging to a project type: object @@ -195679,7 +196421,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *426 + content_type: *429 creator: *4 created_at: type: string @@ -195801,9 +196543,9 @@ webhooks: - 'null' to: type: string - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -195885,9 +196627,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -195968,9 +196710,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196075,7 +196817,7 @@ webhooks: oneOf: - type: string - type: integer - - &953 + - &956 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -196099,7 +196841,7 @@ webhooks: required: - id - name - - &954 + - &957 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -196139,8 +196881,8 @@ webhooks: oneOf: - type: string - type: integer - - *953 - - *954 + - *956 + - *957 type: - 'null' - string @@ -196163,9 +196905,9 @@ webhooks: - 'null' required: - body - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196262,9 +197004,9 @@ webhooks: type: - string - 'null' - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196347,10 +197089,10 @@ webhooks: type: string enum: - restored - changes: *955 - installation: *906 - organization: *907 - projects_v2_item: *952 + changes: *958 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -196432,9 +197174,9 @@ webhooks: type: string enum: - reopened - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -196515,9 +197257,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -196598,9 +197340,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -196746,9 +197488,9 @@ webhooks: - string - 'null' format: date - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -196819,10 +197561,10 @@ webhooks: title: public event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - repository @@ -196899,13 +197641,13 @@ webhooks: type: string enum: - assigned - assignee: *932 - enterprise: *905 - installation: *906 - number: &957 + assignee: *935 + enterprise: *908 + installation: *909 + number: &960 description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -199130,7 +199872,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -199258,7 +200000,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -199340,10 +200082,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -201559,7 +202301,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -201689,7 +202431,7 @@ webhooks: - draft reason: type: string - repository: *908 + repository: *911 sender: *4 required: - action @@ -201771,10 +202513,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -203990,7 +204732,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -204120,7 +204862,7 @@ webhooks: - draft reason: type: string - repository: *908 + repository: *911 sender: *4 required: - action @@ -204202,13 +204944,13 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: &958 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: &961 allOf: - - *746 + - *749 - type: object properties: allow_auto_merge: @@ -204270,7 +205012,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *908 + repository: *911 sender: *4 required: - action @@ -204351,12 +205093,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -204436,12 +205178,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *905 - installation: *906 - milestone: *423 - number: *957 - organization: *907 - pull_request: &959 + enterprise: *908 + installation: *909 + milestone: *426 + number: *960 + organization: *910 + pull_request: &962 title: Pull Request type: object properties: @@ -206658,7 +207400,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -206786,7 +207528,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -206866,10 +207608,10 @@ webhooks: type: string enum: - dequeued - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -209090,7 +209832,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -209233,7 +209975,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *908 + repository: *911 sender: *4 required: - action @@ -209357,12 +210099,12 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -209443,10 +210185,10 @@ webhooks: type: string enum: - enqueued - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -211667,7 +212409,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -211795,7 +212537,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -211875,11 +212617,11 @@ webhooks: type: string enum: - labeled - enterprise: *905 - installation: *906 - label: *926 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + label: *929 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -214119,7 +214861,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -214247,7 +214989,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -214328,10 +215070,10 @@ webhooks: type: string enum: - locked - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -216553,7 +217295,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -216681,7 +217423,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -216761,13 +217503,13 @@ webhooks: type: string enum: - milestoned - enterprise: *905 - installation: *906 - milestone: *423 - number: *957 - organization: *907 - pull_request: *959 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *426 + number: *960 + organization: *910 + pull_request: *962 + repository: *911 sender: *4 required: - action @@ -216847,12 +217589,12 @@ webhooks: type: string enum: - opened - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -216933,12 +217675,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -217018,12 +217760,12 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -217398,9 +218140,9 @@ webhooks: - start_side - side - reactions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -219511,7 +220253,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -219634,7 +220376,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -219714,7 +220456,7 @@ webhooks: type: string enum: - deleted - comment: &961 + comment: &964 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -220007,9 +220749,9 @@ webhooks: - start_side - side - reactions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -222108,7 +222850,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -222231,7 +222973,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -222311,11 +223053,11 @@ webhooks: type: string enum: - edited - changes: *960 - comment: *961 - enterprise: *905 - installation: *906 - organization: *907 + changes: *963 + comment: *964 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -224417,7 +225159,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -224540,7 +225282,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -224621,9 +225363,9 @@ webhooks: type: string enum: - dismissed - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -226735,7 +227477,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -226860,7 +227602,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 review: description: The review that was affected. type: object @@ -227111,9 +227853,9 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -229222,8 +229964,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 - review: &962 + repository: *911 + review: &965 description: The review that was affected. type: object properties: @@ -229461,12 +230203,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -231689,7 +232431,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -231817,7 +232559,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_reviewer: title: User type: @@ -231903,12 +232645,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -234138,7 +234880,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -234266,7 +235008,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_team: title: Team description: Groups of organization members that gives permissions @@ -234461,12 +235203,12 @@ webhooks: type: string enum: - review_requested - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -236690,7 +237432,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -236819,7 +237561,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_reviewer: title: User type: @@ -236906,12 +237648,12 @@ webhooks: type: string enum: - review_requested - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -239126,7 +239868,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -239255,7 +239997,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_team: title: Team description: Groups of organization members that gives permissions @@ -239439,9 +240181,9 @@ webhooks: type: string enum: - submitted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -241556,7 +242298,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -241681,8 +242423,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 - review: *962 + repository: *911 + review: *965 sender: *4 required: - action @@ -241762,9 +242504,9 @@ webhooks: type: string enum: - resolved - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -243788,7 +244530,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -243913,7 +244655,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 sender: *4 thread: type: object @@ -244310,9 +245052,9 @@ webhooks: type: string enum: - unresolved - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -246320,7 +247062,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -246444,7 +247186,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 sender: *4 thread: type: object @@ -246837,11 +247579,11 @@ webhooks: type: string enum: - stacked - enterprise: *905 - installation: *906 - stack: *743 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + stack: *746 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -249065,7 +249807,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -249193,7 +249935,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -249279,10 +250021,10 @@ webhooks: type: string before: type: string - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -251493,7 +252235,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -251621,7 +252363,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -251703,11 +252445,11 @@ webhooks: type: string enum: - unassigned - assignee: *963 - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + assignee: *966 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -253933,7 +254675,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -254061,7 +254803,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -254141,11 +254883,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *905 - installation: *906 - label: *926 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + label: *929 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -256360,7 +257102,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -256488,7 +257230,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -256569,10 +257311,10 @@ webhooks: type: string enum: - unlocked - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -258778,7 +259520,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -258905,7 +259647,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -259108,7 +259850,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *905 + enterprise: *908 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -259203,8 +259945,8 @@ webhooks: - url - author - committer - installation: *906 - organization: *907 + installation: *909 + organization: *910 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -259803,9 +260545,9 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 registry_package: type: object properties: @@ -260282,7 +261024,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *946 + items: *949 summary: type: string tag_name: @@ -260338,7 +261080,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -260416,9 +261158,9 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 registry_package: type: object properties: @@ -260730,7 +261472,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *946 + items: *949 summary: type: string tag_name: @@ -260780,7 +261522,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -260857,10 +261599,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - release: &964 + enterprise: *908 + installation: *909 + organization: *910 + release: &967 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -261191,7 +261933,7 @@ webhooks: - updated_at - zipball_url - body - repository: *908 + repository: *911 sender: *4 required: - action @@ -261268,11 +262010,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -261389,11 +262131,11 @@ webhooks: type: boolean required: - to - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -261471,9 +262213,9 @@ webhooks: type: string enum: - prereleased - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -261809,7 +262551,7 @@ webhooks: - string - 'null' format: uri - repository: *908 + repository: *911 sender: *4 required: - action @@ -261885,10 +262627,10 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - release: &965 + enterprise: *908 + installation: *909 + organization: *910 + release: &968 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -262221,7 +262963,7 @@ webhooks: - string - 'null' format: uri - repository: *908 + repository: *911 sender: *4 required: - action @@ -262297,11 +263039,11 @@ webhooks: type: string enum: - released - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -262377,11 +263119,11 @@ webhooks: type: string enum: - unpublished - enterprise: *905 - installation: *906 - organization: *907 - release: *965 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *968 + repository: *911 sender: *4 required: - action @@ -262457,11 +263199,11 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_advisory: *801 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_advisory: *804 sender: *4 required: - action @@ -262537,11 +263279,11 @@ webhooks: type: string enum: - reported - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_advisory: *801 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_advisory: *804 sender: *4 required: - action @@ -262617,10 +263359,10 @@ webhooks: type: string enum: - archived - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -262697,10 +263439,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -262778,10 +263520,10 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -262866,10 +263608,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -262984,10 +263726,10 @@ webhooks: - 'null' items: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263059,10 +263801,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 status: type: string @@ -263143,10 +263885,10 @@ webhooks: type: string enum: - privatized - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263223,10 +263965,10 @@ webhooks: type: string enum: - publicized - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263320,10 +264062,10 @@ webhooks: - name required: - repository - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263403,11 +264145,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 sender: *4 required: - action @@ -263485,11 +264227,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 sender: *4 required: - action @@ -263567,11 +264309,11 @@ webhooks: type: string enum: - edited - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 changes: type: object properties: @@ -263590,16 +264332,16 @@ webhooks: properties: added: type: array - items: *159 + items: *162 deleted: type: array - items: *159 + items: *162 updated: type: array items: type: object properties: - condition: *159 + condition: *162 changes: type: object properties: @@ -263632,16 +264374,16 @@ webhooks: properties: added: type: array - items: *768 + items: *771 deleted: type: array - items: *768 + items: *771 updated: type: array items: type: object properties: - rule: *768 + rule: *771 changes: type: object properties: @@ -263878,10 +264620,10 @@ webhooks: - from required: - owner - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -263959,10 +264701,10 @@ webhooks: type: string enum: - unarchived - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264040,7 +264782,7 @@ webhooks: type: string enum: - create - alert: &966 + alert: &969 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -264165,10 +264907,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264378,10 +265120,10 @@ webhooks: type: string enum: - dismissed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264459,11 +265201,11 @@ webhooks: type: string enum: - reopen - alert: *966 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *969 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264665,10 +265407,10 @@ webhooks: enum: - fixed - open - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264746,17 +265488,17 @@ webhooks: type: string enum: - assigned - alert: &968 + alert: &971 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri @@ -264893,12 +265635,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *967 + metadata: *970 assignee: *4 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264976,11 +265718,11 @@ webhooks: type: string enum: - created - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265061,11 +265803,11 @@ webhooks: type: string enum: - created - alert: *968 - installation: *906 - location: *969 - organization: *907 - repository: *908 + alert: *971 + installation: *909 + location: *972 + organization: *910 + repository: *911 sender: *4 required: - location @@ -265303,11 +266045,11 @@ webhooks: type: string enum: - metadata_created - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265384,11 +266126,11 @@ webhooks: type: string enum: - metadata_removed - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265465,11 +266207,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265547,11 +266289,11 @@ webhooks: type: string enum: - reopened - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265629,11 +266371,11 @@ webhooks: type: string enum: - resolved - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265711,12 +266453,12 @@ webhooks: type: string enum: - unassigned - alert: *968 + alert: *971 assignee: *4 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265794,11 +266536,11 @@ webhooks: type: string enum: - validated - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265928,10 +266670,10 @@ webhooks: - organization - enterprise - - repository: *908 - enterprise: *905 - installation: *906 - organization: *907 + repository: *911 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -266009,16 +266751,16 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - security_advisory: &970 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + security_advisory: &973 description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *130 + cvss_severities: *133 cwes: type: array items: @@ -266186,11 +266928,11 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - security_advisory: *970 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + security_advisory: *973 sender: *4 required: - action @@ -266263,16 +267005,16 @@ webhooks: type: string enum: - withdrawn - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 security_advisory: description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *130 + cvss_severities: *133 cwes: type: array items: @@ -266439,11 +267181,11 @@ webhooks: from: type: object properties: - security_and_analysis: *434 - enterprise: *905 - installation: *906 - organization: *907 - repository: *495 + security_and_analysis: *437 + enterprise: *908 + installation: *909 + organization: *910 + repository: *498 sender: *4 required: - changes @@ -266521,12 +267263,12 @@ webhooks: type: string enum: - cancelled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: &971 + sponsorship: &974 type: object properties: created_at: @@ -266831,12 +267573,12 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - sponsorship @@ -266924,12 +267666,12 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -267006,17 +267748,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &972 + effective_date: &975 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: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - sponsorship @@ -267090,7 +267832,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &973 + changes: &976 type: object properties: tier: @@ -267134,13 +267876,13 @@ webhooks: - from required: - tier - effective_date: *972 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + effective_date: *975 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -267217,13 +267959,13 @@ webhooks: type: string enum: - tier_changed - changes: *973 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + changes: *976 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -267297,10 +268039,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -267384,10 +268126,10 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -267821,15 +268563,15 @@ webhooks: type: - string - 'null' - enterprise: *905 + enterprise: *908 id: description: The unique identifier of the status. type: integer - installation: *906 + installation: *909 name: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 sha: description: The Commit SHA. @@ -267939,15 +268681,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *224 parent_issue_repo: *75 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *906 - organization: *907 - repository: *908 + sub_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -268030,15 +268772,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *224 parent_issue_repo: *75 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *906 - organization: *907 - repository: *908 + sub_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -268121,15 +268863,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *224 sub_issue_repo: *75 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *906 - organization: *907 - repository: *908 + parent_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -268212,15 +268954,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *224 sub_issue_repo: *75 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *906 - organization: *907 - repository: *908 + parent_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -268296,12 +269038,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - team: &974 + team: &977 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -268531,9 +269273,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -269003,7 +269745,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -269079,9 +269821,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -269551,7 +270293,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -269628,9 +270370,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -270100,7 +270842,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -270244,9 +270986,9 @@ webhooks: - from required: - permissions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -270716,7 +271458,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - changes @@ -270794,9 +271536,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -271266,7 +272008,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -271342,10 +272084,10 @@ webhooks: type: string enum: - started - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -271418,17 +272160,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *905 + enterprise: *908 inputs: type: - object - 'null' additionalProperties: true - installation: *906 - organization: *907 + installation: *909 + organization: *910 ref: type: string - repository: *908 + repository: *911 sender: *4 workflow: type: string @@ -271510,10 +272252,10 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: allOf: @@ -271769,7 +272511,7 @@ webhooks: type: string required: - conclusion - deployment: *635 + deployment: *638 required: - action - repository @@ -271848,10 +272590,10 @@ webhooks: type: string enum: - in_progress - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: allOf: @@ -272133,7 +272875,7 @@ webhooks: required: - status - steps - deployment: *635 + deployment: *638 required: - action - repository @@ -272212,10 +272954,10 @@ webhooks: type: string enum: - queued - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: type: object @@ -272361,7 +273103,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *635 + deployment: *638 required: - action - repository @@ -272440,10 +273182,10 @@ webhooks: type: string enum: - waiting - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: type: object @@ -272590,7 +273332,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *635 + deployment: *638 required: - action - repository @@ -272670,12 +273412,12 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object @@ -273694,12 +274436,12 @@ webhooks: type: string enum: - in_progress - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object @@ -274703,12 +275445,12 @@ webhooks: type: string enum: - requested - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index b3f534ee6..235dea393 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -53915,6 +53915,1267 @@ } } }, + "/enterprises/{enterprise}/credentials": { + "get": { + "summary": "List enterprise token inventory", + "description": "Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/list-enterprise-token-inventory", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "after", + "description": "A cursor, as given in the `Link` header, for the next page of results.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "token_types", + "description": "A comma-separated list of credential types to filter by.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "authorization_state", + "description": "Filter by enterprise-access status.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + } + }, + { + "name": "owner", + "description": "Filter to credentials owned by this user, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "application", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "ZmVkY2JhOTg3NjU0MzIxMA", + "credential_id": 246810, + "hashed_token": "B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "oauth_app_user_token", + "display_name": "Acme Deploy", + "owner": { + "id": 2, + "login": "hubot" + }, + "owner_type": "user", + "application": { + "id": 42, + "name": "Acme Deploy" + }, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-03-10T14:00:00Z", + "last_used_at": "2024-06-02T08:15:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 2, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + }, + { + "id": 11, + "login": "acme-ops" + } + ], + "age_days": 83, + "never_expires": true, + "past_expiration_policy": false, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": [ + "read:user", + "repo" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "c3NoLWtleS1leGFtcGxlLTAwMQ", + "credential_id": null, + "hashed_token": null, + "fingerprint": "SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", + "item_type": "credential", + "credential_type": "ssh_key", + "display_name": "laptop-2024", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2023-11-01T10:00:00Z", + "last_used_at": "2024-05-20T16:45:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 213, + "never_expires": true, + "past_expiration_policy": true, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": null, + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "YWJjZGVmMDEyMzQ1Njc4OQ", + "credential_id": 135790, + "hashed_token": null, + "fingerprint": null, + "item_type": "credential", + "credential_type": "fine_grained_pat", + "display_name": "release-bot", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-05-01T10:00:00Z", + "last_used_at": "2024-06-03T16:45:00Z", + "expires_at": "2024-11-01T10:00:00Z", + "next_expires_at": "2024-11-01T10:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 45, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": null, + "permissions": { + "contents": "read", + "pull_requests": "write" + }, + "repository_selection": "subset" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the walk hit the safety ceiling or time budget, so the result is a partial page. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the result is incomplete for any reason (truncated, or a source was omitted). A client must not read an absent `Link` next page as \"complete\" without also checking this header. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the result, in ISO 8601 format. The inventory is stitched from replica reads over the request, not a point-in-time snapshot.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted; a comma-separated list of the affected token types (for example, `classic_pat,ssh_key`). Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled, so those rows carry `expiry_unknown` and their `never_expires` / `past_expiration_policy` are not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports": { + "post": { + "summary": "Create an enterprise token inventory export", + "description": "Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day.\n\nThe generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-enterprise-token-inventory-export", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "Optional filters that scope the export to a subset of the inventory.", + "properties": { + "token_types": { + "type": "array", + "description": "The credential types to include.", + "items": { + "type": "string" + } + }, + "authorization_state": { + "type": "string", + "description": "Filter by enterprise-access status.", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "owner": { + "type": "string", + "description": "Filter to credentials owned by this user, given as a login." + }, + "organization": { + "type": "string", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login." + }, + "application": { + "type": "string", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id." + } + } + }, + "examples": { + "default": { + "value": { + "owner": "octocat" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, + "examples": { + "default": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + } + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + }, + "429": { + "description": "Too many requests" + }, + "500": { + "description": "Internal error, for example the export job could not be enqueued." + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports/{export_id}": { + "get": { + "summary": "Get an enterprise token inventory export", + "description": "Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-export", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "export_id", + "description": "The opaque id of the export, as returned when it was created.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, + "examples": { + "default": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + } + } + } + } + }, + "302": { + "description": "The export is ready; redirects to a short-lived download URL.", + "headers": { + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the export hit the safety ceiling, so the CSV is a partial inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the export is incomplete for any reason (truncated, or a source was omitted), so the CSV must not be treated as a complete inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the export, in ISO 8601 format.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted from the export; a comma-separated list of the affected token types. Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present in the export, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled in the export, so those rows carry `expiry_status` = `unknown` and their `past_expiration_policy` is not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/{inventory_id}": { + "get": { + "summary": "Get an enterprise token inventory item", + "description": "Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-item", + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "inventory_id", + "description": "The opaque inventory_id returned by the list endpoint for this enterprise. Pass it unchanged. Its value can differ for the same credential between responses.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + }, + "examples": { + "default": { + "value": { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + } + } + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index e74d80fb1..2de6e2864 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -736,7 +736,7 @@ paths: required: - vector_string - score - cvss_severities: &130 + cvss_severities: &133 type: - object - 'null' @@ -783,7 +783,7 @@ paths: required: - vector_string - score - epss: &131 + epss: &134 type: - object - 'null' @@ -946,7 +946,7 @@ paths: - subscriptions_url - type - url - type: &474 + type: &477 type: string description: The type of credit the user is receiving. enum: @@ -1106,7 +1106,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &256 + schema: &259 title: Validation Error Simple description: Validation Error Simple type: object @@ -1139,7 +1139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &804 + - &807 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4402,7 +4402,7 @@ paths: schema: type: integer default: 30 - - &362 + - &365 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4411,7 +4411,7 @@ paths: required: false schema: type: string - - &363 + - &366 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4431,7 +4431,7 @@ paths: application/json: schema: type: array - items: &364 + items: &367 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4527,7 +4527,7 @@ paths: - installation_id - repository_id examples: - default: &365 + default: &368 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4559,7 +4559,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &814 + schema: &817 title: Scim Error description: Scim Error type: object @@ -4590,7 +4590,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &255 + schema: &258 title: Validation Error description: Validation Error type: object @@ -4662,7 +4662,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &369 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4797,7 +4797,7 @@ paths: - request - response examples: - default: &367 + default: &370 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5001,7 +5001,7 @@ paths: parameters: - *17 - *19 - - &226 + - &229 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -5857,7 +5857,7 @@ paths: license: anyOf: - type: 'null' - - &223 + - &226 title: License Simple description: License Simple type: object @@ -10204,7 +10204,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &260 type: object properties: total_active_caches_count: @@ -10219,7 +10219,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &258 + default: &261 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10434,7 +10434,7 @@ paths: - public_ip_enabled - platform examples: - default: &259 + default: &262 value: total_count: 2 runners: @@ -10738,7 +10738,7 @@ paths: application/json: schema: *44 examples: - default: &260 + default: &263 value: id: 1 platform: linux-x64 @@ -10883,7 +10883,7 @@ paths: application/json: schema: *47 examples: - default: &261 + default: &264 value: version: 1.0.0 size_gb: 75 @@ -11051,7 +11051,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &265 type: object properties: public_ips: @@ -11078,7 +11078,7 @@ paths: required: - public_ips examples: - default: &263 + default: &266 value: public_ips: current_usage: 17 @@ -11118,7 +11118,7 @@ paths: type: array items: *51 examples: - default: &264 + default: &267 value: id: 4-core cpu_cores: 4 @@ -11436,7 +11436,7 @@ paths: required: true content: application/json: - schema: &265 + schema: &268 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11547,7 +11547,7 @@ paths: - all - local_only - selected - selected_actions_url: &267 + selected_actions_url: &270 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -11627,7 +11627,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &269 + schema: &272 type: object properties: days: @@ -11645,7 +11645,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &815 + '401': &818 description: Authorization failure '404': *6 x-github: @@ -11673,7 +11673,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &273 type: object properties: days: @@ -11722,7 +11722,7 @@ paths: required: - approval_policy examples: - default: &271 + default: &274 value: approval_policy: first_time_contributors '404': *6 @@ -11780,7 +11780,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &275 type: object required: - run_workflows_from_fork_pull_requests @@ -11834,7 +11834,7 @@ paths: required: true content: application/json: - schema: &273 + schema: &276 type: object required: - run_workflows_from_fork_pull_requests @@ -12270,7 +12270,7 @@ paths: description: Success response content: application/json: - schema: &276 + schema: &279 type: object properties: default_workflow_permissions: &64 @@ -12318,7 +12318,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &280 type: object properties: default_workflow_permissions: *64 @@ -13240,7 +13240,7 @@ paths: application/json: schema: type: array - items: &281 + items: &284 title: Runner Application description: Runner Application type: object @@ -13265,7 +13265,7 @@ paths: - download_url - filename examples: - default: &282 + default: &285 value: - os: osx architecture: x64 @@ -13349,7 +13349,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &283 + '201': &286 description: Response content: application/json: @@ -13468,7 +13468,7 @@ paths: - token - expires_at examples: - default: &284 + default: &287 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13508,7 +13508,7 @@ paths: application/json: schema: *76 examples: - default: &285 + default: &288 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13540,7 +13540,7 @@ paths: application/json: schema: *73 examples: - default: &286 + default: &289 value: id: 23 name: MBP @@ -13757,7 +13757,7 @@ paths: - *36 - *72 responses: - '200': &287 + '200': &290 description: Response content: application/json: @@ -13813,7 +13813,7 @@ paths: parameters: - *36 - *72 - - &288 + - &291 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13910,7 +13910,7 @@ paths: required: true content: application/json: - schema: &302 + schema: &305 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14561,7 +14561,7 @@ paths: required: false schema: type: string - - &305 + - &308 name: include description: |- The event types to include: @@ -14617,7 +14617,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 type: object properties: "@timestamp": @@ -14739,7 +14739,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &307 + default: &310 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15407,7 +15407,7 @@ paths: application/json: schema: type: array - items: &308 + items: &311 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15579,7 +15579,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &309 + default: &312 value: - id: 21 number: 42 @@ -15684,7 +15684,7 @@ paths: application/json: schema: type: array - items: &311 + items: &314 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15815,7 +15815,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &312 + default: &315 value: - id: 21 number: 42 @@ -15900,7 +15900,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *36 - - &319 + - &322 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -15910,7 +15910,7 @@ paths: schema: &108 type: string description: The name of the tool used to generate the code scanning analysis. - - &320 + - &323 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -15934,7 +15934,7 @@ paths: be returned. in: query required: false - schema: &321 + schema: &324 type: string description: State of a code scanning alert. enum: @@ -15967,36 +15967,36 @@ paths: application/json: schema: type: array - items: &322 + items: &325 type: object properties: - number: &128 + number: &131 type: integer description: The security alert number. readOnly: true - created_at: &135 + created_at: &138 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &136 + updated_at: &139 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &133 + url: &136 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &134 + html_url: &137 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &566 + instances_url: &569 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -16012,7 +16012,7 @@ paths: - dismissed - fixed - - fixed_at: &138 + fixed_at: &141 type: - string - 'null' @@ -16024,7 +16024,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &137 + dismissed_at: &140 type: - string - 'null' @@ -16032,7 +16032,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &567 + dismissed_reason: &570 type: - string - 'null' @@ -16044,14 +16044,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &568 + dismissed_comment: &571 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &569 + rule: &572 type: object properties: id: @@ -16112,7 +16112,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &570 + tool: &573 type: object properties: name: *108 @@ -16123,26 +16123,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *109 - most_recent_instance: &571 + most_recent_instance: &574 type: object properties: - ref: &564 + ref: &567 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &582 + analysis_key: &585 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &583 + environment: &586 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &584 + category: &587 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16162,7 +16162,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &585 + location: &588 type: object description: Describe a region within a file for the alert. properties: @@ -16183,7 +16183,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &586 + items: &589 type: - string - 'null' @@ -16539,7 +16539,7 @@ paths: - most_recent_instance - repository examples: - default: &323 + default: &326 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -16770,7 +16770,7 @@ paths: headers: Link: *42 '404': *6 - '503': &193 + '503': &196 description: Service unavailable content: application/json: @@ -17435,7 +17435,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &328 type: array description: A list of default code security configurations items: @@ -17451,7 +17451,7 @@ paths: default configuration: *111 examples: - default: &326 + default: &329 value: - default_for_new_repos: public configuration: @@ -17909,7 +17909,7 @@ paths: default: value: default_for_new_repos: all - configuration: &324 + configuration: &327 value: id: 1325 target_type: organization @@ -17999,7 +17999,7 @@ paths: application/json: schema: type: array - items: &327 + items: &330 type: object description: Repositories associated with a code security configuration and attachment status @@ -18023,7 +18023,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &328 + repository: &331 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18506,7 +18506,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &143 + items: &146 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18524,7 +18524,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &313 + - &316 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18613,7 +18613,7 @@ paths: parent: anyOf: - type: 'null' - - &402 + - &405 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -18731,7 +18731,7 @@ paths: - slug - parent - type - - &142 + - &145 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18863,7 +18863,7 @@ paths: - created_at additionalProperties: false examples: - default: &144 + default: &147 value: total_seats: 2 seats: @@ -19400,7 +19400,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &335 + '413': &338 description: Payload Too Large content: application/json: @@ -20883,6 +20883,748 @@ paths: enabledForGitHubApps: true category: enterprise-admin subcategory: credential-authorizations + "/enterprises/{enterprise}/credentials": + get: + summary: List enterprise token inventory + description: |- + Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-token-inventory + parameters: + - *36 + - *17 + - name: after + description: A cursor, as given in the `Link` header, for the next page of + results. + in: query + required: false + schema: + type: string + - name: token_types + description: A comma-separated list of credential types to filter by. + in: query + required: false + schema: + type: string + - name: authorization_state + description: Filter by enterprise-access status. + in: query + required: false + schema: + type: string + enum: + - currently_authorized + - member_owned_only + - name: owner + description: Filter to credentials owned by this user, given as a login. + in: query + required: false + schema: + type: string + - name: organization + description: Filter to credentials authorized to this organization in the + enterprise, given as a login. + in: query + required: false + schema: + type: string + - name: application + description: Filter to credentials for this application, given as a GitHub + App slug or an OAuth App client id. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &130 + title: Enterprise Token Inventory Item + description: A credential or GitHub App installation in an enterprise's + token inventory. + type: object + required: + - inventory_id + - item_type + - credential_type + - credential_state + - authorization_state + - effective_access_state + - enterprise_authorized + - authorization_count + - authorized_organizations + properties: + inventory_id: + type: string + description: Opaque identifier for retrieving this item within + the enterprise. Its value can differ between responses for + the same credential. + credential_id: + type: + - integer + - 'null' + description: The credential's ID for audit-log correlation, + unique only within its `credential_type`. Null for SSH keys, + GitHub App installations, and federated credentials. + hashed_token: + type: + - string + - 'null' + description: Base64-encoded SHA-256 hash of the token, matching + `hashed_token` in audit events. Null when not reported. + fingerprint: + type: + - string + - 'null' + description: The SSH key's SHA-256 fingerprint, matching audit + events. Null for other credential types. + item_type: + type: string + enum: + - credential + - token_issuer_principal + credential_type: + type: string + enum: + - classic_pat + - oauth_app_user_token + - github_app_user_token + - fine_grained_pat + - ssh_key + - github_app_installation + - federated_jti + display_name: + type: + - string + - 'null' + owner: + type: + - object + - 'null' + properties: + id: + type: integer + login: + type: string + name: + type: + - string + - 'null' + owner_type: + type: + - string + - 'null' + enum: + - user + - oauth_application + - github_app + - + description: The type of credential owner. + application: + type: + - object + - 'null' + properties: + id: + type: integer + name: + type: + - string + - 'null' + credential_state: + type: string + enum: + - active + - expired + - revoked + - deleted + authorization_state: + type: string + enum: + - currently_authorized + - member_owned_only + effective_access_state: + type: string + enum: + - effective + - not_effective + - unknown + state_reason: + type: + - string + - 'null' + created_at: + type: + - string + - 'null' + format: date-time + last_used_at: + type: + - string + - 'null' + format: date-time + expires_at: + type: + - string + - 'null' + format: date-time + next_expires_at: + type: + - string + - 'null' + format: date-time + credential_instance_count: + type: + - integer + - 'null' + enterprise_authorized: + type: boolean + description: Whether the item is authorized directly at the + enterprise level. + authorization_count: + type: integer + description: Number of authorizing organizations, plus one when + `enterprise_authorized` is true. + authorized_organizations: + type: array + items: + type: object + properties: + id: + type: integer + login: + type: string + age_days: + type: + - integer + - 'null' + description: Age of the credential in whole days at assembly + time. + never_expires: + type: boolean + description: Whether this is an active credential with no expiration. + False for GitHub App installations and credentials with unknown + expiration. + past_expiration_policy: + type: + - boolean + - 'null' + description: Whether the credential exceeds a configured lifetime + limit or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: + - string + - 'null' + enum: + - enforced_limit + - proposed_baseline + - + description: 'The basis for `past_expiration_policy`: an enforced + PAT lifetime limit or an advisory age baseline.' + expiry_unknown: + type: boolean + description: Whether the credential's expiration could not be + determined. + scopes: + type: + - array + - 'null' + items: + type: string + description: OAuth scopes recorded for the token. Null when + not reported for the credential type. + permissions: + type: + - object + - 'null' + additionalProperties: + type: string + description: Permissions by resource for fine-grained PATs and + GitHub App installations. Null when not reported; an empty + object means no recorded permissions. + repository_selection: + type: + - string + - 'null' + enum: + - all + - subset + - none + - + description: Repository selection for the credential. Null when + not reported; `none` means no repositories are selected. + examples: + default: + value: + - inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + - inventory_id: ZmVkY2JhOTg3NjU0MzIxMA + credential_id: 246810 + hashed_token: B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE= + fingerprint: + item_type: credential + credential_type: oauth_app_user_token + display_name: Acme Deploy + owner: + id: 2 + login: hubot + owner_type: user + application: + id: 42 + name: Acme Deploy + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-03-10T14:00:00Z' + last_used_at: '2024-06-02T08:15:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 2 + authorized_organizations: + - id: 10 + login: acme-eng + - id: 11 + login: acme-ops + age_days: 83 + never_expires: true + past_expiration_policy: false + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + - read:user + - repo + permissions: + repository_selection: + - inventory_id: c3NoLWtleS1leGFtcGxlLTAwMQ + credential_id: + hashed_token: + fingerprint: SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 + item_type: credential + credential_type: ssh_key + display_name: laptop-2024 + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2023-11-01T10:00:00Z' + last_used_at: '2024-05-20T16:45:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 213 + never_expires: true + past_expiration_policy: true + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + permissions: + repository_selection: + - inventory_id: YWJjZGVmMDEyMzQ1Njc4OQ + credential_id: 135790 + hashed_token: + fingerprint: + item_type: credential + credential_type: fine_grained_pat + display_name: release-bot + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-05-01T10:00:00Z' + last_used_at: '2024-06-03T16:45:00Z' + expires_at: '2024-11-01T10:00:00Z' + next_expires_at: '2024-11-01T10:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 45 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + permissions: + contents: read + pull_requests: write + repository_selection: subset + headers: + Link: *42 + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the walk hit the safety + ceiling or time budget, so the result is a partial page. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the result is incomplete + for any reason (truncated, or a source was omitted). A client must + not read an absent `Link` next page as "complete" without also checking + this header. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the result, in ISO 8601 format. + The inventory is stitched from replica reads over the request, not + a point-in-time snapshot. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted; a comma-separated list of the affected token types (for + example, `classic_pat,ssh_key`). Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present, but that metadata may be absent. Absent when all metadata + loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled, so those rows carry `expiry_unknown` + and their `never_expires` / `past_expiration_policy` are not asserted. + Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + '422': + description: Validation failed + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports": + post: + summary: Create an enterprise token inventory export + description: |- + Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day. + + The generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/create-enterprise-token-inventory-export + parameters: + - *36 + requestBody: + required: false + content: + application/json: + schema: + type: object + description: Optional filters that scope the export to a subset of the + inventory. + properties: + token_types: + type: array + description: The credential types to include. + items: + type: string + authorization_state: + type: string + description: Filter by enterprise-access status. + enum: + - currently_authorized + - member_owned_only + owner: + type: string + description: Filter to credentials owned by this user, given as + a login. + organization: + type: string + description: Filter to credentials authorized to this organization + in the enterprise, given as a login. + application: + type: string + description: Filter to credentials for this application, given as + a GitHub App slug or an OAuth App client id. + examples: + default: + value: + owner: octocat + responses: + '202': + description: Accepted + content: + application/json: + schema: &128 + title: Enterprise Token Inventory Export + description: The status of an asynchronous enterprise token inventory + CSV export. + type: object + required: + - export_id + - status + properties: + export_id: + type: string + description: Opaque id for the export, used to poll its status. + status: + type: string + description: The state of the export job. + enum: + - pending + - queued + - started + - success + - error + as_of: + type: + - string + - 'null' + description: When the export was requested. + examples: + default: &129 + value: + export_id: 7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507 + status: queued + as_of: 2026-07-30 21:00:00 UTC + '404': + description: Resource not found + '422': + description: Validation failed + '429': + description: Too many requests + '500': + description: Internal error, for example the export job could not be enqueued. + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports/{export_id}": + get: + summary: Get an enterprise token inventory export + description: |- + Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-export + parameters: + - *36 + - name: export_id + description: The opaque id of the export, as returned when it was created. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *128 + examples: + default: *129 + '302': + description: The export is ready; redirects to a short-lived download URL. + headers: + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the export hit the safety + ceiling, so the CSV is a partial inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the export is incomplete + for any reason (truncated, or a source was omitted), so the CSV must + not be treated as a complete inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the export, in ISO 8601 format. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted from the export; a comma-separated list of the affected + token types. Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present in the export, but that metadata may be absent. Absent when + all metadata loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled in the export, so those rows + carry `expiry_status` = `unknown` and their `past_expiration_policy` + is not asserted. Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/{inventory_id}": + get: + summary: Get an enterprise token inventory item + description: |- + Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-item + parameters: + - *36 + - name: inventory_id + description: The opaque inventory_id returned by the list endpoint for this + enterprise. Pass it unchanged. Its value can differ for the same credential + between responses. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: + value: + inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -20902,7 +21644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *36 - - &340 + - &343 name: classification in: query description: |- @@ -20911,7 +21653,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &341 + - &344 name: state in: query description: |- @@ -20920,7 +21662,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &342 + - &345 name: severity in: query description: |- @@ -20929,7 +21671,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &343 + - &346 name: ecosystem in: query description: |- @@ -20938,14 +21680,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &344 + - &347 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &345 + - &348 name: epss_percentage in: query description: |- @@ -20957,7 +21699,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &624 + - &627 name: has in: query description: |- @@ -20971,7 +21713,7 @@ paths: type: string enum: - patch - - &346 + - &349 name: assignee in: query description: |- @@ -20980,7 +21722,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &347 + - &350 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20990,7 +21732,7 @@ paths: enum: - development - runtime - - &348 + - &351 name: relationship in: query description: |- @@ -21000,7 +21742,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &349 + - &352 name: sort in: query description: |- @@ -21026,11 +21768,11 @@ paths: application/json: schema: type: array - items: &350 + items: &353 type: object description: A Dependabot alert. properties: - number: *128 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -21045,7 +21787,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &129 + package: &132 type: object description: Details for the vulnerable package. readOnly: true @@ -21094,7 +21836,7 @@ paths: - transitive - inconclusive - - security_advisory: &625 + security_advisory: &628 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21125,13 +21867,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &132 + items: &135 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *129 + package: *132 severity: type: string description: The severity of the vulnerability. @@ -21206,8 +21948,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *130 - epss: *131 + cvss_severities: *133 + epss: *134 cwes: type: array description: Details for the advisory pertaining to Common @@ -21326,12 +22068,12 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *132 - url: *133 - html_url: *134 - created_at: *135 - updated_at: *136 - dismissed_at: *137 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: anyOf: - type: 'null' @@ -21355,8 +22097,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *138 - auto_dismissed_at: &626 + fixed_at: *141 + auto_dismissed_at: &629 type: - string - 'null' @@ -21364,7 +22106,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &627 + dismissal_request: &630 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21427,7 +22169,7 @@ paths: - repository additionalProperties: false examples: - default: &351 + default: &354 value: - number: 2 state: dismissed @@ -21814,7 +22556,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &355 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21840,7 +22582,7 @@ paths: - *117 additionalProperties: false examples: - default: &353 + default: &356 value: default_level: public accessible_repositories: @@ -22063,7 +22805,7 @@ paths: - *100 - *101 - *102 - - &355 + - &358 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -22089,7 +22831,7 @@ paths: application/json: schema: type: array - items: &357 + items: &360 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22216,7 +22958,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &358 + default: &361 value: - id: 21 number: 42 @@ -22317,7 +23059,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &141 + items: &144 title: Enterprise Role description: Enterprise custom roles type: object @@ -22445,7 +23187,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *36 - - &139 + - &142 name: team_slug description: The slug of the enterprise team name. in: path @@ -22488,8 +23230,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *36 - - *139 - - &140 + - *142 + - &143 name: role_id description: The unique identifier of the role. in: path @@ -22531,8 +23273,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *36 - - *139 - - *140 + - *142 + - *143 responses: '204': description: Response @@ -22601,7 +23343,7 @@ paths: parameters: - *36 - *127 - - *140 + - *143 responses: '204': description: Response @@ -22635,7 +23377,7 @@ paths: parameters: - *36 - *127 - - *140 + - *143 responses: '204': description: Response @@ -22669,13 +23411,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *36 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *141 + schema: *144 examples: default: value: @@ -22729,7 +23471,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *36 - - *140 + - *143 - *17 - *19 responses: @@ -22739,9 +23481,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: &145 + default: &148 value: - id: 1 name: Justice League @@ -22780,7 +23522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *36 - - *140 + - *143 - *17 - *19 responses: @@ -22813,7 +23555,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *142 + items: *145 examples: default: value: @@ -23314,7 +24056,7 @@ paths: application/json: schema: *20 examples: - default: &379 + default: &382 value: id: 1 account: @@ -23471,9 +24213,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 '500': *35 '401': *23 '403': *27 @@ -23511,9 +24253,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *145 + default: *148 headers: Link: *42 '401': *23 @@ -23555,7 +24297,7 @@ paths: type: integer network_configurations: type: array - items: &146 + items: &149 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -23614,7 +24356,7 @@ paths: - name - created_on examples: - default: &478 + default: &481 value: total_count: 2 network_configurations: @@ -23706,9 +24448,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: &147 + default: &150 value: id: 123456789ABCDEF name: My network configuration @@ -23735,7 +24477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *36 - - &148 + - &151 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23747,9 +24489,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 headers: Link: *42 x-github: @@ -23769,7 +24511,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *36 - - *148 + - *151 requestBody: required: true content: @@ -23822,9 +24564,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23842,7 +24584,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *36 - - *148 + - *151 responses: '204': description: Response @@ -23865,7 +24607,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *36 - - &479 + - &482 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23877,7 +24619,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &483 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23916,7 +24658,7 @@ paths: - subnet_id - region examples: - default: &481 + default: &484 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23955,7 +24697,7 @@ paths: application/json: schema: type: array - items: &149 + items: &152 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -24033,7 +24775,7 @@ paths: - property_name - value_type examples: - default: &150 + default: &153 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -24093,7 +24835,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *149 + items: *152 minItems: 1 maxItems: 100 required: @@ -24126,9 +24868,9 @@ paths: application/json: schema: type: array - items: *149 + items: *152 examples: - default: *150 + default: *153 '403': *27 '404': *6 '422': *7 @@ -24155,7 +24897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *36 - - &151 + - &154 name: custom_property_name description: The custom property name in: path @@ -24167,9 +24909,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *152 examples: - default: &152 + default: &155 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -24206,7 +24948,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *36 - - *151 + - *154 requestBody: required: true content: @@ -24284,9 +25026,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *152 examples: - default: *152 + default: *155 '403': *27 '404': *6 '422': *7 @@ -24312,7 +25054,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - *36 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -24365,7 +25107,7 @@ paths: - Hello-World properties: type: array - items: &153 + items: &156 title: Custom Property Value description: Custom property name and associated value type: object @@ -24453,7 +25195,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *153 + items: *156 required: - organization_logins - properties @@ -24503,7 +25245,7 @@ paths: application/json: schema: type: array - items: &154 + items: &157 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -24581,7 +25323,7 @@ paths: - property_name - value_type examples: - default: &155 + default: &158 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24639,7 +25381,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *154 + items: *157 minItems: 1 maxItems: 100 required: @@ -24669,9 +25411,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24695,15 +25437,15 @@ paths: parameters: - *36 - *84 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: &156 + default: &159 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24736,15 +25478,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -24766,12 +25508,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 requestBody: required: true content: application/json: - schema: &433 + schema: &436 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24848,9 +25590,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -24872,7 +25614,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *36 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -24914,7 +25656,7 @@ paths: - push - repository default: branch - enforcement: &165 + enforcement: &168 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24927,7 +25669,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &166 + items: &169 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24971,7 +25713,7 @@ paths: - pull_request - exempt default: always - conditions: &190 + conditions: &193 title: Enterprise ruleset conditions type: object description: |- @@ -24984,7 +25726,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &157 + - &160 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -25010,7 +25752,7 @@ paths: type: string required: - organization_name - - &160 + - &163 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -25039,7 +25781,7 @@ paths: is prevented. required: - repository_name - - &159 + - &162 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -25067,8 +25809,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *157 - - &162 + - *160 + - &165 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -25081,7 +25823,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &158 + items: &161 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -25112,16 +25854,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *158 + items: *161 required: - repository_property - - *159 + - *162 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &161 + - &164 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -25138,22 +25880,22 @@ paths: type: integer required: - organization_id - - *160 - - *159 + - *163 + - *162 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *161 + - *164 + - *165 - *162 - - *159 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &164 + - &167 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -25166,7 +25908,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &163 + items: &166 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -25190,28 +25932,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *163 + items: *166 required: - organization_property - - *160 - - *159 + - *163 + - *162 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *164 + - *167 + - *165 - *162 - - *159 rules: type: array description: An array of rules within the ruleset. - items: &191 + items: &194 title: Repository Rule type: object description: A repository rule. oneOf: - - &167 + - &170 title: creation description: Only allow users with bypass permission to create matching refs. @@ -25223,7 +25965,7 @@ paths: type: string enum: - creation - - &168 + - &171 title: update description: Only allow users with bypass permission to update matching refs. @@ -25244,7 +25986,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &169 + - &172 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -25256,7 +25998,7 @@ paths: type: string enum: - deletion - - &170 + - &173 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -25268,7 +26010,7 @@ paths: type: string enum: - required_linear_history - - &171 + - &174 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -25292,7 +26034,7 @@ paths: type: string required: - required_deployment_environments - - &172 + - &175 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -25304,7 +26046,7 @@ paths: type: string enum: - required_signatures - - &173 + - &176 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -25444,7 +26186,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &174 + - &177 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -25491,7 +26233,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &175 + - &178 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -25503,7 +26245,7 @@ paths: type: string enum: - non_fast_forward - - &176 + - &179 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -25540,7 +26282,7 @@ paths: required: - operator - pattern - - &177 + - &180 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -25577,7 +26319,7 @@ paths: required: - operator - pattern - - &178 + - &181 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -25614,7 +26356,7 @@ paths: required: - operator - pattern - - &179 + - &182 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -25651,7 +26393,7 @@ paths: required: - operator - pattern - - &180 + - &183 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -25688,7 +26430,7 @@ paths: required: - operator - pattern - - &184 + - &187 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -25712,7 +26454,7 @@ paths: type: string required: - restricted_file_paths - - &185 + - &188 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -25736,7 +26478,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &186 + - &189 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -25759,7 +26501,7 @@ paths: type: string required: - restricted_file_extensions - - &187 + - &190 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25783,7 +26525,7 @@ paths: maximum: 100 required: - max_file_size - - &181 + - &184 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25832,7 +26574,7 @@ paths: - repository_id required: - workflows - - &182 + - &185 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25892,7 +26634,7 @@ paths: - tool required: - code_scanning_tools - - &183 + - &186 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25942,7 +26684,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &191 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25977,11 +26719,11 @@ paths: source: type: string description: The name of the source - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 + items: *169 current_user_can_bypass: type: string description: |- @@ -26013,8 +26755,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *159 - - &437 + - *162 + - &440 title: Organization ruleset conditions type: object description: |- @@ -26028,14 +26770,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *159 - - *160 + - *162 + - *163 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *159 + - *162 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -26057,23 +26799,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *159 - *162 + - *165 type: - 'null' - object rules: type: array - items: &768 + items: &771 title: Repository Rule type: object description: A repository rule. oneOf: - - *167 - - *168 - - *169 - *170 - - &765 + - *171 + - *172 + - *173 + - &768 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -26151,9 +26893,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *171 - - *172 - - *173 - *174 - *175 - *176 @@ -26164,7 +26903,10 @@ paths: - *181 - *182 - *183 - - &766 + - *184 + - *185 + - *186 + - &769 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -26176,10 +26918,10 @@ paths: type: string enum: - license_compliance_scanning - - *184 - - *185 - - *186 - *187 + - *188 + - *189 + - *190 created_at: type: string format: date-time @@ -26187,7 +26929,7 @@ paths: type: string format: date-time examples: - default: &189 + default: &192 value: id: 21 name: super cool ruleset @@ -26246,9 +26988,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *189 + default: *192 '404': *6 '500': *35 x-github: @@ -26292,16 +27034,16 @@ paths: - tag - push - repository - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *190 + items: *169 + conditions: *193 rules: description: An array of rules within the ruleset. type: array - items: *191 + items: *194 examples: default: value: @@ -26325,9 +27067,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *189 + default: *192 '404': *6 '500': *35 x-github: @@ -26389,7 +27131,7 @@ paths: application/json: schema: type: array - items: &192 + items: &195 title: Ruleset version type: object description: The historical version of a ruleset @@ -26413,7 +27155,7 @@ paths: type: string format: date-time examples: - default: &440 + default: &443 value: - version_id: 3 actor: @@ -26466,9 +27208,9 @@ paths: description: Response content: application/json: - schema: &441 + schema: &444 allOf: - - *192 + - *195 - type: object required: - state @@ -26521,7 +27263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *36 - - &442 + - &445 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26532,7 +27274,7 @@ paths: enum: - open - resolved - - &443 + - &446 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26542,7 +27284,7 @@ paths: required: false schema: type: string - - &444 + - &447 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26553,7 +27295,7 @@ paths: required: false schema: type: string - - &445 + - &448 name: exclude_providers in: query description: |- @@ -26564,7 +27306,7 @@ paths: required: false schema: type: string - - &446 + - &449 name: providers in: query description: |- @@ -26575,7 +27317,7 @@ paths: required: false schema: type: string - - &447 + - &450 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26584,7 +27326,7 @@ paths: required: false schema: type: string - - &448 + - &451 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26603,7 +27345,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &449 + - &452 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. @@ -26619,7 +27361,7 @@ paths: - *17 - *105 - *106 - - &450 + - &453 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26628,7 +27370,7 @@ paths: required: false schema: type: string - - &451 + - &454 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26637,7 +27379,7 @@ paths: schema: type: boolean default: false - - &452 + - &455 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26646,7 +27388,7 @@ paths: schema: type: boolean default: false - - &453 + - &456 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26655,7 +27397,7 @@ paths: schema: type: boolean default: false - - &454 + - &457 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26666,7 +27408,7 @@ paths: required: false schema: type: boolean - - &455 + - &458 name: included_metadata in: query description: |- @@ -26677,7 +27419,7 @@ paths: required: false schema: type: string - - &456 + - &459 name: owner_email_hash in: query description: |- @@ -26696,30 +27438,30 @@ paths: application/json: schema: type: array - items: &457 + items: &460 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &781 + state: &784 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: &782 + resolution: &785 type: - string - 'null' @@ -26838,14 +27580,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &783 + - &786 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &785 + - &788 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26909,7 +27651,7 @@ paths: - blob_url - commit_sha - commit_url - - &786 + - &789 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. @@ -26970,7 +27712,7 @@ paths: - page_url - commit_sha - commit_url - - &787 + - &790 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26992,7 +27734,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &788 + - &791 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -27014,7 +27756,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &789 + - &792 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -27036,7 +27778,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &790 + - &793 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -27051,7 +27793,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &791 + - &794 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -27066,7 +27808,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &792 + - &795 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -27081,7 +27823,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &793 + - &796 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. @@ -27103,7 +27845,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &794 + - &797 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. @@ -27125,7 +27867,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &795 + - &798 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. @@ -27147,7 +27889,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &796 + - &799 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. @@ -27169,7 +27911,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &797 + - &800 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 @@ -27215,7 +27957,7 @@ paths: - type: 'null' - *4 examples: - default: &458 + default: &461 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27393,7 +28135,7 @@ paths: headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27419,7 +28161,7 @@ paths: subcategory: custom-patterns parameters: - *36 - - &459 + - &462 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -27430,7 +28172,7 @@ paths: enum: - published - unpublished - - &460 + - &463 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -27441,7 +28183,7 @@ paths: enum: - enabled - disabled - - &461 + - &464 name: sort description: The property to sort the results by. in: query @@ -27463,7 +28205,7 @@ paths: application/json: schema: type: array - items: &194 + items: &197 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -27515,7 +28257,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &195 + custom_pattern_version: &198 type: - string - 'null' @@ -27540,7 +28282,7 @@ paths: - state - push_protection_enabled examples: - default: &462 + default: &465 value: - id: 1 name: Example Custom Pattern @@ -27603,7 +28345,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &463 + items: &466 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -27640,7 +28382,7 @@ paths: items: type: string examples: - default: &464 + default: &467 value: patterns: - name: Example Custom Pattern @@ -27664,9 +28406,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: &465 + default: &468 value: created_patterns: - id: 1 @@ -27718,7 +28460,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &466 + items: &469 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -27772,7 +28514,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &467 + items: &470 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -27782,7 +28524,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *195 + custom_pattern_version: *198 post_delete_action: type: string description: |- @@ -27795,7 +28537,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &468 + default: &471 value: patterns: - pattern_id: 2 @@ -27806,7 +28548,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &196 + '412': &199 description: Precondition Failed content: application/json: @@ -27841,7 +28583,7 @@ paths: required: true content: application/json: - schema: &469 + schema: &472 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`, @@ -27880,9 +28622,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *195 + custom_pattern_version: *198 examples: - default: &470 + default: &473 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27897,9 +28639,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: &471 + default: &474 value: id: 1 name: Example Custom Pattern @@ -27919,7 +28661,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/enterprises/{enterprise}/secret-scanning/pattern-configurations": get: @@ -27946,17 +28688,17 @@ paths: description: Response content: application/json: - schema: &472 + schema: &475 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &197 + items: &200 type: object properties: token_type: @@ -28025,9 +28767,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *197 + items: *200 examples: - default: &473 + default: &476 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -28082,7 +28824,7 @@ paths: schema: type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -28108,7 +28850,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *195 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -28163,7 +28905,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *36 - - &475 + - &478 name: advanced_security_product in: query description: | @@ -28183,7 +28925,7 @@ paths: description: Success content: application/json: - schema: &476 + schema: &479 type: object properties: total_advanced_security_committers: @@ -28246,7 +28988,7 @@ paths: required: - repositories examples: - default: &477 + default: &480 value: total_advanced_security_committers: 2 total_count: 2 @@ -28288,7 +29030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *36 - - &201 + - &204 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -28297,7 +29039,7 @@ paths: required: false schema: type: integer - - &202 + - &205 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -28306,7 +29048,7 @@ paths: required: false schema: type: integer - - &203 + - &206 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -28315,7 +29057,7 @@ paths: required: false schema: type: integer - - &204 + - &207 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -28323,21 +29065,21 @@ paths: required: false schema: type: string - - &205 + - &208 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &206 + - &209 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &207 + - &210 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -28476,7 +29218,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29053,7 +29795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *36 - - &198 + - &201 name: budget_id description: The ID corresponding to the budget. in: path @@ -29169,7 +29911,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29496,7 +30238,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *36 - - *198 + - *201 responses: '200': description: Response when deleting a budget @@ -29523,7 +30265,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29547,7 +30289,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *36 - - *198 + - *201 - name: page description: The page number of results to fetch. in: query @@ -29643,7 +30385,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29787,7 +30529,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29975,7 +30717,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *36 - - &200 + - &203 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -30060,7 +30802,7 @@ paths: - name - resources examples: - default: &199 + default: &202 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -30078,7 +30820,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30219,15 +30961,15 @@ paths: - name - resources examples: - update-cost-center: *199 - update-cost-center-with-cap: *199 + update-cost-center: *202 + update-cost-center-with-cap: *202 '400': *14 '403': *27 '404': *6 '409': *116 '422': *15 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30249,7 +30991,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *36 - - *200 + - *203 responses: '200': description: Response when deleting a cost center @@ -30288,7 +31030,7 @@ paths: '404': *6 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30309,7 +31051,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *36 - - *200 + - *203 requestBody: required: true content: @@ -30390,7 +31132,7 @@ paths: '403': *27 '409': *116 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30410,7 +31152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *36 - - *200 + - *203 requestBody: required: true content: @@ -30462,7 +31204,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30483,13 +31225,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *36 - - *201 - - *202 - - *203 - *204 - *205 - *206 - *207 + - *208 + - *209 + - *210 - name: cost_center_id description: The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center. @@ -30622,7 +31364,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30656,7 +31398,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &208 + items: &211 type: object properties: id: @@ -30754,7 +31496,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30820,9 +31562,9 @@ paths: description: Report export request accepted content: application/json: - schema: *208 + schema: *211 examples: - usage-report-export: &209 + usage-report-export: &212 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -30838,7 +31580,7 @@ paths: '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30873,14 +31615,14 @@ paths: description: Usage report export details content: application/json: - schema: *208 + schema: *211 examples: - usage-report-export: *209 + usage-report-export: *212 '401': *23 '403': *27 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30901,7 +31643,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *36 - - *201 + - *204 - 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 @@ -30910,7 +31652,7 @@ paths: required: false schema: type: integer - - *203 + - *206 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -30993,7 +31735,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31014,17 +31756,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *36 - - *201 - - *202 - - *203 - *204 + - *205 + - *206 + - *207 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *207 + - *210 - name: sku description: The SKU to query for usage. in: query @@ -31157,7 +31899,7 @@ paths: '400': *14 '403': *27 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31184,9 +31926,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *145 + default: *148 headers: Link: *42 '403': *27 @@ -31275,9 +32017,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: &215 + default: &218 value: id: 1 name: Justice League @@ -31306,7 +32048,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *36 - - &210 + - &213 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -31325,7 +32067,7 @@ paths: type: array items: *4 examples: - default: &211 + default: &214 value: - login: octocat id: 1 @@ -31364,7 +32106,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31395,7 +32137,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31413,7 +32155,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31444,7 +32186,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31462,7 +32204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *36 - - *210 + - *213 - *127 responses: '200': @@ -31471,7 +32213,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &212 + exampleKey1: &215 value: login: octocat id: 1 @@ -31507,7 +32249,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *36 - - *210 + - *213 - *127 responses: '201': @@ -31516,7 +32258,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *212 + exampleKey1: *215 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31534,7 +32276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *36 - - *210 + - *213 - *127 responses: '204': @@ -31557,7 +32299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *36 - - *210 + - *213 - *17 - *19 responses: @@ -31569,7 +32311,7 @@ paths: type: array items: *70 examples: - default: &213 + default: &216 value: login: github id: 1 @@ -31600,7 +32342,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31630,7 +32372,7 @@ paths: type: array items: *70 examples: - default: &250 + default: &253 value: - login: github id: 1 @@ -31661,7 +32403,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *36 - - *210 + - *213 requestBody: required: true content: @@ -31702,7 +32444,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '200': @@ -31711,7 +32453,7 @@ paths: application/json: schema: *70 examples: - default: *213 + default: *216 '404': description: The team is not assigned to the organization x-github: @@ -31730,7 +32472,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '201': @@ -31739,7 +32481,7 @@ paths: application/json: schema: *70 examples: - default: *213 + default: *216 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31756,7 +32498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *36 - - *210 + - *213 - *84 responses: '204': @@ -31781,7 +32523,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *36 - - &214 + - &217 name: team_slug description: The slug of the team name. in: path @@ -31905,7 +32647,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *36 - - *214 + - *217 requestBody: required: true content: @@ -31973,9 +32715,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *215 + default: *218 headers: Link: *42 '403': *27 @@ -31998,7 +32740,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *36 - - *214 + - *217 responses: '204': description: Response @@ -32050,7 +32792,7 @@ paths: type: integer visual_studio_subscriptions: type: array - items: &216 + items: &219 title: Visual Studio Subscription Assignment description: Visual Studio Subscription Assignment type: object @@ -32141,7 +32883,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -32184,7 +32926,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -32288,7 +33030,7 @@ paths: application/json: schema: type: array - items: &245 + items: &248 title: Event description: Event type: object @@ -32299,7 +33041,7 @@ paths: type: - string - 'null' - actor: &217 + actor: &220 title: Actor description: Actor type: object @@ -32340,7 +33082,7 @@ paths: - id - name - url - org: *217 + org: *220 payload: oneOf: - title: CreateEvent @@ -32387,7 +33129,7 @@ paths: properties: action: type: string - discussion: &923 + discussion: &926 title: Discussion description: A Discussion in a repository. type: object @@ -32684,7 +33426,7 @@ paths: - id labels: type: array - items: &220 + items: &223 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -32786,7 +33528,7 @@ paths: properties: action: type: string - issue: &221 + issue: &224 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -32914,7 +33656,7 @@ paths: milestone: anyOf: - type: 'null' - - &423 + - &426 title: Milestone description: A collection of related issues and pull requests. @@ -33086,7 +33828,7 @@ paths: timeline_url: type: string format: uri - type: &389 + type: &392 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -33147,7 +33889,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &218 + author_association: &221 title: author_association type: string description: How the author is associated with the @@ -33163,7 +33905,7 @@ paths: - OWNER examples: - OWNER - reactions: &219 + reactions: &222 title: Reaction Rollup type: object properties: @@ -33199,7 +33941,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &842 + sub_issues_summary: &845 title: Sub-issues Summary type: object properties: @@ -33223,7 +33965,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &222 + - &225 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -33274,16 +34016,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *221 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *222 pin: anyOf: - type: 'null' - - &710 + - &713 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -33304,7 +34046,7 @@ paths: minimized: anyOf: - type: 'null' - - &711 + - &714 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -33329,7 +34071,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &843 + issue_dependencies_summary: &846 title: Issue Dependencies Summary type: object properties: @@ -33348,7 +34090,7 @@ paths: - total_blocking issue_field_values: type: array - items: &692 + items: &695 title: Issue Field Value description: A value assigned to an issue field type: object @@ -33527,10 +34269,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *223 labels: type: array - items: *220 + items: *223 required: - action - issue @@ -33539,8 +34281,8 @@ paths: properties: action: type: string - issue: *221 - comment: *222 + issue: *224 + comment: *225 required: - action - issue @@ -33719,7 +34461,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 allow_forking: type: boolean is_template: @@ -33810,7 +34552,7 @@ paths: type: string number: type: integer - pull_request: &224 + pull_request: &227 title: Pull Request Minimal type: object properties: @@ -33881,10 +34623,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *223 labels: type: array - items: *220 + items: *223 required: - action - number @@ -33894,7 +34636,7 @@ paths: properties: action: type: string - pull_request: *224 + pull_request: *227 comment: type: object properties: @@ -34148,7 +34890,7 @@ paths: - pull_request updated_at: type: string - pull_request: *224 + pull_request: *227 required: - action - review @@ -34197,7 +34939,7 @@ paths: updated_at: type: string format: date-time - reactions: *219 + reactions: *222 required: - action - comment @@ -34208,7 +34950,7 @@ paths: type: string release: allOf: - - &758 + - &761 title: Release description: A release. type: object @@ -34290,7 +35032,7 @@ paths: author: *4 assets: type: array - items: &759 + items: &762 title: Release Asset description: Data related to a release. type: object @@ -34365,7 +35107,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *219 + reactions: *222 required: - assets_url - upload_url @@ -34458,7 +35200,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *32 '403': *27 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34548,7 +35290,7 @@ paths: _links: type: object properties: - timeline: &225 + timeline: &228 title: Link With Type description: Hypermedia Link with Type type: object @@ -34560,17 +35302,17 @@ paths: required: - href - type - user: *225 - security_advisories: *225 - current_user: *225 - current_user_public: *225 - current_user_actor: *225 - current_user_organization: *225 + user: *228 + security_advisories: *228 + current_user: *228 + current_user_public: *228 + current_user_actor: *228 + current_user_organization: *228 current_user_organizations: type: array - items: *225 - repository_discussions: *225 - repository_discussions_category: *225 + items: *228 + repository_discussions: *228 + repository_discussions_category: *228 required: - timeline - user @@ -34632,7 +35374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *226 + - *229 - *17 - *19 responses: @@ -34642,7 +35384,7 @@ paths: application/json: schema: type: array - items: &227 + items: &230 title: Base Gist description: Base Gist type: object @@ -34768,7 +35510,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &228 + default: &231 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -34892,7 +35634,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &232 title: Gist Simple description: Gist Simple type: object @@ -34910,7 +35652,7 @@ paths: url: type: string format: uri - user: &851 + user: &854 title: Public User description: Public User type: object @@ -35292,7 +36034,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &230 + default: &233 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -35396,7 +36138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *226 + - *229 - *17 - *19 responses: @@ -35406,9 +36148,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '422': *15 @@ -35430,7 +36172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *226 + - *229 - *17 - *19 responses: @@ -35440,9 +36182,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '401': *23 @@ -35469,7 +36211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &231 + - &234 name: gist_id description: The unique identifier of the gist. in: path @@ -35481,10 +36223,10 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 - '403': &234 + default: *233 + '403': &237 description: Forbidden Gist content: application/json: @@ -35532,7 +36274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *231 + - *234 requestBody: required: true content: @@ -35596,9 +36338,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - updateGist: *230 + updateGist: *233 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -35756,7 +36498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -35784,7 +36526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *231 + - *234 - *17 - *19 responses: @@ -35794,7 +36536,7 @@ paths: application/json: schema: type: array - items: &232 + items: &235 title: Gist Comment description: A comment made to a gist. type: object @@ -35832,7 +36574,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *218 + author_association: *221 required: - url - id @@ -35896,7 +36638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *231 + - *234 requestBody: required: true content: @@ -35922,9 +36664,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: &233 + default: &236 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -35981,8 +36723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *231 - - &235 + - *234 + - &238 name: comment_id description: The unique identifier of the comment. in: path @@ -35995,12 +36737,12 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: *233 + default: *236 '304': *32 '404': *6 - '403': *234 + '403': *237 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36021,8 +36763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *231 - - *235 + - *234 + - *238 requestBody: required: true content: @@ -36048,9 +36790,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *235 examples: - default: *233 + default: *236 '404': *6 x-github: githubCloudOnly: false @@ -36067,8 +36809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *231 - - *235 + - *234 + - *238 responses: '204': description: Response @@ -36091,7 +36833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *231 + - *234 - *17 - *19 responses: @@ -36192,7 +36934,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *231 + - *234 - *17 - *19 responses: @@ -36202,7 +36944,7 @@ paths: application/json: schema: type: array - items: *229 + items: *232 examples: default: value: @@ -36267,13 +37009,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *231 + - *234 responses: '201': description: Response content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -36350,7 +37092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *231 + - *234 responses: '204': description: Response if gist is starred @@ -36380,7 +37122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -36402,7 +37144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *231 + - *234 responses: '204': description: Response @@ -36430,7 +37172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *231 + - *234 - name: sha in: path required: true @@ -36441,9 +37183,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '422': *15 '404': *6 '403': *27 @@ -36826,7 +37568,7 @@ paths: - closed - all default: open - - &392 + - &395 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -36845,7 +37587,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - name: collab in: query required: false @@ -36875,9 +37617,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: &393 + default: &396 value: - id: 1 node_id: MDU6SXNzdWUx @@ -37157,7 +37899,7 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: default: value: @@ -37455,7 +38197,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &236 + X-CommonMarker-Version: &239 example: 0.17.4 schema: type: string @@ -37510,7 +38252,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *236 + X-CommonMarker-Version: *239 content: text/html: schema: @@ -37539,7 +38281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &239 + - &242 name: account_id description: account_id parameter in: path @@ -37551,7 +38293,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &241 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -37585,7 +38327,7 @@ paths: - 'null' id: type: integer - plan: &237 + plan: &240 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -37688,7 +38430,7 @@ paths: - 'null' updated_at: type: string - plan: *237 + plan: *240 required: - url - id @@ -37696,7 +38438,7 @@ paths: - login - marketplace_purchase examples: - default: &240 + default: &243 value: url: https://api.github.com/orgs/github type: Organization @@ -37781,9 +38523,9 @@ paths: application/json: schema: type: array - items: *237 + items: *240 examples: - default: &241 + default: &244 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -37823,14 +38565,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &242 + - &245 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &243 + - &246 name: sort description: The property to sort the results by. in: query @@ -37860,9 +38602,9 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: - default: &244 + default: &247 value: - url: https://api.github.com/orgs/github type: Organization @@ -37936,15 +38678,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *239 + - *242 responses: '200': description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *240 + default: *243 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -37976,9 +38718,9 @@ paths: application/json: schema: type: array - items: *237 + items: *240 examples: - default: *241 + default: *244 headers: Link: *42 '401': *23 @@ -38001,8 +38743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *242 - - *243 + - *245 + - *246 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -38022,9 +38764,9 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: - default: *244 + default: *247 headers: Link: *42 '401': *23 @@ -38303,14 +39045,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &490 + - &493 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &491 + - &494 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -38327,7 +39069,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -38372,7 +39114,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &496 + '301': &499 description: Moved permanently content: application/json: @@ -38394,7 +39136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &730 + - &733 name: all description: If `true`, show notifications marked as read. in: query @@ -38402,7 +39144,7 @@ paths: schema: type: boolean default: false - - &731 + - &734 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -38411,8 +39153,8 @@ paths: schema: type: boolean default: false - - *226 - - &732 + - *229 + - &735 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -38437,14 +39179,14 @@ paths: application/json: schema: type: array - items: &246 + items: &249 title: Thread description: Thread type: object properties: id: type: string - repository: &280 + repository: &283 title: Minimal Repository description: Minimal Repository type: object @@ -38794,7 +39536,7 @@ paths: type: boolean examples: - false - security_and_analysis: &434 + security_and_analysis: &437 type: - object - 'null' @@ -39019,7 +39761,7 @@ paths: - url - subscription_url examples: - default: &733 + default: &736 value: - id: '1' repository: @@ -39185,7 +39927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &247 + - &250 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -39199,7 +39941,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *249 examples: default: value: @@ -39302,7 +40044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *247 + - *250 responses: '205': description: Reset Content @@ -39325,7 +40067,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *247 + - *250 responses: '204': description: No content @@ -39348,13 +40090,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *247 + - *250 responses: '200': description: Response content: application/json: - schema: &248 + schema: &251 title: Thread Subscription description: Thread Subscription type: object @@ -39398,7 +40140,7 @@ paths: - url - subscribed examples: - default: &249 + default: &252 value: subscribed: true ignored: false @@ -39429,7 +40171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *247 + - *250 requestBody: required: false content: @@ -39450,9 +40192,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '304': *32 '403': *27 '401': *23 @@ -39475,7 +40217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *247 + - *250 responses: '204': description: Response @@ -39572,7 +40314,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: example: ; rel="next" @@ -39624,7 +40366,7 @@ paths: - 3 custom_roles: type: array - items: &336 + items: &339 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -39673,7 +40415,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &340 value: id: 8030 name: Security Engineer @@ -39739,7 +40481,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &254 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -39778,7 +40520,7 @@ paths: required: true content: application/json: - schema: *251 + schema: *254 examples: selected_actions: *39 responses: @@ -39813,7 +40555,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &255 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -39852,7 +40594,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *255 examples: selected_actions: *41 responses: @@ -39893,9 +40635,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: &739 + default: &742 value: - property_name: environment value: production @@ -39941,11 +40683,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *153 + items: *156 required: - properties examples: - default: &740 + default: &743 value: properties: - property_name: environment @@ -39992,7 +40734,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &256 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -40416,7 +41158,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &254 + default-response: &257 value: login: github id: 1 @@ -40748,17 +41490,17 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 '422': description: Validation failed content: application/json: schema: oneOf: - - *255 - - *256 + - *258 + - *259 '409': *116 x-github: githubCloudOnly: false @@ -40829,9 +41571,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 headers: Link: *42 x-github: @@ -40872,7 +41614,7 @@ paths: type: integer repository_cache_usages: type: array - items: &503 + items: &506 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -40950,7 +41692,7 @@ paths: type: array items: *43 examples: - default: *259 + default: *262 headers: Link: *42 x-github: @@ -41117,7 +41859,7 @@ paths: application/json: schema: *44 examples: - default: *260 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41209,7 +41951,7 @@ paths: application/json: schema: *47 examples: - default: *261 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41328,9 +42070,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41366,7 +42108,7 @@ paths: type: array items: *51 examples: - default: *264 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41610,7 +42352,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *268 examples: default: *55 responses: @@ -41703,7 +42445,7 @@ paths: required: - include_claim_keys examples: - default: &266 + default: &269 value: include_claim_keys: - repo @@ -41748,13 +42490,13 @@ paths: format. type: boolean examples: - default: *266 + default: *269 responses: '201': description: Empty response content: application/json: - schema: &291 + schema: &294 title: Empty Object description: An object without any properties. type: object @@ -41793,7 +42535,7 @@ paths: schema: type: object properties: - enabled_repositories: &268 + enabled_repositories: &271 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -41807,7 +42549,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *57 - selected_actions_url: *267 + selected_actions_url: *270 sha_pinning_required: *58 required: - enabled_repositories @@ -41849,7 +42591,7 @@ paths: schema: type: object properties: - enabled_repositories: *268 + enabled_repositories: *271 allowed_actions: *57 sha_pinning_required: *58 required: @@ -41885,7 +42627,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: response: summary: Example response @@ -41916,7 +42658,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: application/json: value: @@ -41954,7 +42696,7 @@ paths: application/json: schema: *59 examples: - default: *271 + default: *274 '404': *6 x-github: enabledForGitHubApps: true @@ -42011,7 +42753,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *275 examples: default: *60 '403': *27 @@ -42036,7 +42778,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *276 examples: default: *60 responses: @@ -42088,7 +42830,7 @@ paths: type: array items: *75 examples: - default: &275 + default: &278 value: total_count: 1 repositories: @@ -42273,7 +43015,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *84 - - &274 + - &277 name: repository_id description: The unique identifier of the repository. in: path @@ -42302,7 +43044,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -42498,7 +43240,7 @@ paths: type: array items: *75 examples: - default: *275 + default: *278 '403': *27 '404': *6 x-github: @@ -42567,7 +43309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No content @@ -42594,7 +43336,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No content @@ -42628,7 +43370,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: default: *66 x-github: @@ -42662,7 +43404,7 @@ paths: required: false content: application/json: - schema: *277 + schema: *280 examples: default: *66 x-github: @@ -42709,7 +43451,7 @@ paths: type: number runner_groups: type: array - items: &278 + items: &281 type: object properties: id: @@ -42899,9 +43641,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: - default: &279 + default: &282 value: id: 2 name: octo-runner-group @@ -42943,7 +43685,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -43036,9 +43778,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: - default: *279 + default: *282 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -43102,7 +43844,7 @@ paths: type: array items: *43 examples: - default: *259 + default: *262 headers: Link: *42 x-github: @@ -43143,9 +43885,9 @@ paths: type: number repositories: type: array - items: *280 + items: *283 examples: - default: &334 + default: &337 value: total_count: 1 repositories: @@ -43444,7 +44186,7 @@ paths: parameters: - *84 - *69 - - *274 + - *277 responses: '204': description: Response @@ -43468,7 +44210,7 @@ paths: parameters: - *84 - *69 - - *274 + - *277 responses: '204': description: Response @@ -43754,9 +44496,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43821,7 +44563,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *286 '404': *6 '422': *7 '409': *116 @@ -43860,7 +44602,7 @@ paths: application/json: schema: *76 examples: - default: *284 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43896,7 +44638,7 @@ paths: application/json: schema: *76 examples: - default: *285 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43927,7 +44669,7 @@ paths: application/json: schema: *73 examples: - default: *286 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44102,7 +44844,7 @@ paths: - *84 - *72 responses: - '200': *287 + '200': *290 '404': *6 x-github: githubCloudOnly: false @@ -44131,7 +44873,7 @@ paths: parameters: - *84 - *72 - - *288 + - *291 responses: '200': *78 '404': *6 @@ -44176,7 +44918,7 @@ paths: type: integer secrets: type: array - items: &289 + items: &292 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -44210,7 +44952,7 @@ paths: - updated_at - visibility examples: - default: &295 + default: &298 value: total_count: 3 secrets: @@ -44257,7 +44999,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &299 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -44292,7 +45034,7 @@ paths: - key_id - key examples: - default: &297 + default: &300 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44318,7 +45060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *84 - - &290 + - &293 name: secret_name description: The name of the secret. in: path @@ -44330,9 +45072,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: &298 + default: &301 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44361,7 +45103,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -44418,7 +45160,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -44445,7 +45187,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -44472,7 +45214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -44490,9 +45232,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: &294 + default: &297 value: total_count: 1 repositories: @@ -44585,7 +45327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -44638,7 +45380,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -44672,7 +45414,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -44705,7 +45447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *84 - - &299 + - &302 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -44729,7 +45471,7 @@ paths: type: integer variables: type: array - items: &292 + items: &295 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -44777,7 +45519,7 @@ paths: - updated_at - visibility examples: - default: &300 + default: &303 value: total_count: 3 variables: @@ -44867,7 +45609,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -44893,7 +45635,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *84 - - &293 + - &296 name: name description: The name of the variable. in: path @@ -44905,9 +45647,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: - default: &301 + default: &304 value: name: USERNAME value: octocat @@ -44936,7 +45678,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -44999,7 +45741,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '204': description: Response @@ -45026,7 +45768,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 - *19 - *17 responses: @@ -45044,9 +45786,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '409': description: Response when the visibility of the variable is not set to `selected` @@ -45073,7 +45815,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -45123,7 +45865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -45158,7 +45900,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -45210,9 +45952,9 @@ paths: type: integer secrets: type: array - items: *289 + items: *292 examples: - default: *295 + default: *298 headers: Link: *42 x-github: @@ -45243,9 +45985,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45268,15 +46010,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45299,7 +46041,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -45356,7 +46098,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -45383,7 +46125,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -45410,7 +46152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -45428,9 +46170,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45454,7 +46196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -45507,7 +46249,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -45541,7 +46283,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -45575,7 +46317,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *84 - - *299 + - *302 - *19 responses: '200': @@ -45592,9 +46334,9 @@ paths: type: integer variables: type: array - items: *292 + items: *295 examples: - default: *300 + default: *303 headers: Link: *42 x-github: @@ -45665,7 +46407,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -45691,15 +46433,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *292 + schema: *295 examples: - default: *301 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45721,7 +46463,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -45784,7 +46526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *84 - - *293 + - *296 responses: '204': description: Response @@ -45811,7 +46553,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 - *19 - *17 responses: @@ -45829,9 +46571,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '409': description: Response when the visibility of the variable is not set to `selected` @@ -45858,7 +46600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *84 - - *293 + - *296 requestBody: required: true content: @@ -45908,7 +46650,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -45943,7 +46685,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *84 - - *293 + - *296 - name: repository_id in: path required: true @@ -46001,7 +46743,7 @@ paths: required: true content: application/json: - schema: *302 + schema: *305 examples: default: *82 parameters: @@ -46188,7 +46930,7 @@ paths: type: integer deployment_records: type: array - items: &303 + items: &306 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -46235,7 +46977,7 @@ paths: required: - total_count examples: - default: &304 + default: &307 value: total_count: 1 deployment_records: @@ -46425,11 +47167,11 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *306 required: - total_count examples: - default: *304 + default: *307 '207': description: | This response format is only returned when `partial_success` is set to true in the request body. @@ -46446,7 +47188,7 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *306 errors: type: array description: A list of errors for deployments that could not be @@ -47043,9 +47785,9 @@ paths: - 3 deployment_records: type: array - items: *303 + items: *306 examples: - default: *304 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47175,12 +47917,12 @@ paths: required: - subject_digests examples: - default: &883 + default: &886 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &884 + withPredicateType: &887 value: subject_digests: - sha256:abc123 @@ -47239,7 +47981,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &885 + default: &888 value: attestations_subject_digests: - sha256:abc: @@ -47605,7 +48347,7 @@ paths: initiator: type: string examples: - default: &536 + default: &539 value: attestations: - repository_id: 1 @@ -47663,7 +48405,7 @@ paths: required: false schema: type: string - - *305 + - *308 - *124 - *125 - *126 @@ -47675,9 +48417,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47706,7 +48448,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47800,7 +48542,7 @@ paths: subcategory: bypass-requests parameters: - *84 - - &310 + - &313 name: repository_name description: The name of the repository to filter on. in: query @@ -47819,9 +48561,9 @@ paths: application/json: schema: type: array - items: *308 + items: *311 examples: - default: *309 + default: *312 '404': *6 '500': *35 "/orgs/{org}/bypass-requests/secret-scanning": @@ -47845,7 +48587,7 @@ paths: subcategory: delegated-bypass parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 @@ -47859,9 +48601,9 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: - default: *312 + default: *315 '404': *6 '500': *35 "/orgs/{org}/campaigns": @@ -47888,7 +48630,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &314 + schema: &317 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -47914,7 +48656,7 @@ paths: application/json: schema: type: array - items: &315 + items: &318 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -47945,7 +48687,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *313 + items: *316 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -47964,7 +48706,7 @@ paths: - string - 'null' format: date-time - state: *314 + state: *317 contact_link: description: The contact link of the campaign. type: @@ -48062,7 +48804,7 @@ paths: headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48187,9 +48929,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: &316 + default: &319 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -48238,7 +48980,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48272,16 +49014,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: *316 + default: *319 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48352,7 +49094,7 @@ paths: - string - 'null' format: uri - state: *314 + state: *317 examples: default: value: @@ -48362,9 +49104,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: *316 + default: *319 '400': description: Bad Request content: @@ -48376,7 +49118,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48408,7 +49150,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48441,7 +49183,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &320 title: Code scanning AI Scan organization settings description: The AI Scan organization setting type: object @@ -48461,7 +49203,7 @@ paths: required: - pr_scan examples: - default: &318 + default: &321 value: pr_scan: enabled '403': *27 @@ -48521,9 +49263,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *320 examples: - default: *318 + default: *321 '403': *27 '404': *6 '422': *15 @@ -48549,8 +49291,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *84 - - *319 - - *320 + - *322 + - *323 - *105 - *106 - *19 @@ -48561,7 +49303,7 @@ paths: be returned. in: query required: false - schema: *321 + schema: *324 - name: sort description: The property by which to sort the results. in: query @@ -48577,7 +49319,7 @@ paths: be returned. in: query required: false - schema: &565 + schema: &568 type: string description: Severity of a code scanning alert. enum: @@ -48603,13 +49345,13 @@ paths: application/json: schema: type: array - items: *322 + items: *325 examples: - default: *323 + default: *326 headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48980,7 +49722,7 @@ paths: application/json: schema: *111 examples: - default: *324 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49008,9 +49750,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *328 examples: - default: *326 + default: *329 '304': *32 '403': *27 '404': *6 @@ -49099,7 +49841,7 @@ paths: application/json: schema: *111 examples: - default: *324 + default: *327 '304': *32 '403': *27 '404': *6 @@ -49544,7 +50286,7 @@ paths: default: value: default_for_new_repos: all - configuration: *324 + configuration: *327 '403': *27 '404': *6 x-github: @@ -49597,13 +50339,13 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *328 + repository: *331 '403': *27 '404': *6 x-github: @@ -49643,7 +50385,7 @@ paths: type: integer codespaces: type: array - items: &394 + items: &397 type: object title: Codespace description: A codespace. @@ -49674,11 +50416,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *280 + repository: *283 machine: anyOf: - type: 'null' - - &598 + - &601 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -49965,7 +50707,7 @@ paths: - pulls_url - recent_folders examples: - default: &395 + default: &398 value: total_count: 3 codespaces: @@ -50589,7 +51331,7 @@ paths: type: integer secrets: type: array - items: &329 + items: &332 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -50630,7 +51372,7 @@ paths: - updated_at - visibility examples: - default: &599 + default: &602 value: total_count: 2 secrets: @@ -50668,7 +51410,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &603 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -50703,7 +51445,7 @@ paths: - key_id - key examples: - default: &601 + default: &604 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -50727,15 +51469,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: &603 + default: &606 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -50763,7 +51505,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -50818,7 +51560,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -50845,7 +51587,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -50871,7 +51613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -50889,9 +51631,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 '404': *6 x-github: githubCloudOnly: false @@ -50914,7 +51656,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -50965,7 +51707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -50999,7 +51741,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -51069,7 +51811,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &330 + items: &333 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -51466,9 +52208,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: &331 + default: &334 summary: Example response for an organization copilot space value: id: 84 @@ -51573,9 +52315,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *331 + default: *334 '403': *27 '404': *6 x-github: @@ -51704,9 +52446,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *331 + default: *334 '403': *27 '404': *6 '422': *15 @@ -51789,7 +52531,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &332 + items: &335 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -52014,7 +52756,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: user: value: @@ -52144,7 +52886,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: user: value: @@ -52295,7 +53037,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &333 + items: &336 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -52439,7 +53181,7 @@ paths: description: Resource created content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52455,7 +53197,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52510,7 +53252,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52579,7 +53321,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -52821,9 +53563,9 @@ paths: currently being billed. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 headers: Link: *42 '500': *35 @@ -53307,12 +54049,12 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 required: - total_count - repositories examples: - default: *334 + default: *337 '500': *35 '401': *23 '403': *27 @@ -53398,7 +54140,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No Content @@ -53432,7 +54174,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: No Content @@ -53580,7 +54322,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *335 + '413': *338 '422': *7 x-github: githubCloudOnly: @@ -54382,7 +55124,7 @@ paths: - 3 custom_roles: type: array - items: *336 + items: *339 examples: default: value: @@ -54474,7 +55216,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &341 type: object properties: name: @@ -54516,9 +55258,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54543,15 +55285,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: true @@ -54574,12 +55316,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: application/json: - schema: &339 + schema: &342 type: object properties: name: @@ -54618,9 +55360,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54645,7 +55387,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -54678,7 +55420,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -54692,9 +55434,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54725,15 +55467,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: true @@ -54762,12 +55504,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: application/json: - schema: *339 + schema: *342 examples: default: value: @@ -54782,9 +55524,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '422': *15 '404': *6 x-github: @@ -54815,7 +55557,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -54844,12 +55586,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *84 - - *340 - - *341 - - *342 - *343 - *344 - *345 + - *346 + - *347 + - *348 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -54879,7 +55621,7 @@ paths: enum: - patch - deployment - - *346 + - *349 - name: runtime_risk in: query description: |- @@ -54888,9 +55630,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *347 - - *348 - - *349 + - *350 + - *351 + - *352 - *107 - *105 - *106 @@ -54902,9 +55644,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *351 + default: *354 '304': *32 '400': *14 '403': *27 @@ -54953,9 +55695,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *355 examples: - default: *353 + default: *356 '403': *27 '404': *6 x-github: @@ -55119,7 +55861,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &357 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -55198,7 +55940,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &633 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -55217,7 +55959,7 @@ paths: - key_id - key examples: - default: &631 + default: &634 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -55241,13 +55983,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *354 + schema: *357 examples: default: value: @@ -55276,7 +56018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -55333,7 +56075,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -55366,7 +56108,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -55391,7 +56133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 - *19 - *17 responses: @@ -55409,9 +56151,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55433,7 +56175,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -55484,7 +56226,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -55516,7 +56258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *84 - - *290 + - *293 - name: repository_id in: path required: true @@ -55553,7 +56295,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - &640 + - &643 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -55561,7 +56303,7 @@ paths: required: false schema: type: string - - &641 + - &644 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -55569,7 +56311,7 @@ paths: required: false schema: type: string - - &642 + - &645 name: time_period description: |- The time period to filter by. @@ -55585,7 +56327,7 @@ paths: - week - month default: month - - &643 + - &646 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -55600,7 +56342,7 @@ paths: - denied - all default: all - - *310 + - *313 - *17 - *19 responses: @@ -55610,7 +56352,7 @@ paths: application/json: schema: type: array - items: &644 + items: &647 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -55720,7 +56462,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &356 + items: &359 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -55773,7 +56515,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &645 + default: &648 value: - id: 21 number: 42 @@ -55861,11 +56603,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -55875,7 +56617,7 @@ paths: application/json: schema: type: array - items: &646 + items: &649 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -55985,7 +56727,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *356 + items: *359 url: type: string format: uri @@ -55998,7 +56740,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &647 + default: &650 value: - id: 21 number: 42 @@ -56086,11 +56828,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - *310 + - *313 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -56100,9 +56842,9 @@ paths: application/json: schema: type: array - items: *357 + items: *360 examples: - default: *358 + default: *361 '404': *6 '403': *27 '500': *35 @@ -56128,7 +56870,7 @@ paths: application/json: schema: type: array - items: &404 + items: &407 title: Package description: A software package type: object @@ -56181,7 +56923,7 @@ paths: repository: anyOf: - type: 'null' - - *280 + - *283 created_at: type: string format: date-time @@ -56199,7 +56941,7 @@ paths: - created_at - updated_at examples: - default: &405 + default: &408 value: - id: 197 name: hello_docker @@ -56287,7 +57029,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: 200-response: value: @@ -56386,7 +57128,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &490 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -56476,7 +57218,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &488 + default: &491 value: group_id: '123' group_name: Octocat admins @@ -56531,7 +57273,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &487 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -56571,7 +57313,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &485 + default: &488 value: groups: - group_id: '123' @@ -56616,7 +57358,7 @@ paths: application/json: schema: type: array - items: &383 + items: &386 title: Organization Invitation description: Organization Invitation type: object @@ -56670,7 +57412,7 @@ paths: - invitation_teams_url - node_id examples: - default: &384 + default: &387 value: - id: 1 login: monalisa @@ -56737,7 +57479,7 @@ paths: application/json: schema: type: array - items: &435 + items: &438 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -56751,7 +57493,7 @@ paths: - name - description examples: - default: &436 + default: &439 value: - name: add_assignee description: Assign or remove a user @@ -56792,7 +57534,7 @@ paths: application/json: schema: type: array - items: &359 + items: &362 title: Org Hook description: Org Hook type: object @@ -56975,9 +57717,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: &360 + default: &363 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -57022,7 +57764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *84 - - &361 + - &364 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -57035,9 +57777,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: *360 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -57059,7 +57801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *84 - - *361 + - *364 requestBody: required: false content: @@ -57105,7 +57847,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: default: value: @@ -57145,7 +57887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *84 - - *361 + - *364 responses: '204': description: Response @@ -57171,7 +57913,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *84 - - *361 + - *364 responses: '200': description: Response @@ -57200,7 +57942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *84 - - *361 + - *364 requestBody: required: false content: @@ -57249,10 +57991,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *17 - - *362 - - *363 + - *365 + - *366 responses: '200': description: Response @@ -57260,9 +58002,9 @@ paths: application/json: schema: type: array - items: *364 + items: *367 examples: - default: *365 + default: *368 '400': *14 '422': *15 x-github: @@ -57286,16 +58028,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '400': *14 '422': *15 x-github: @@ -57319,7 +58061,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *84 - - *361 + - *364 - *16 responses: '202': *34 @@ -57346,7 +58088,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *84 - - *361 + - *364 responses: '204': description: Response @@ -57371,7 +58113,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *84 - - &372 + - &375 name: actor_type in: path description: The type of the actor @@ -57384,14 +58126,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &373 + - &376 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &368 + - &371 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -57399,7 +58141,7 @@ paths: required: true schema: type: string - - &369 + - &372 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -57496,12 +58238,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *84 - - *368 - - *369 + - *371 + - *372 - *19 - *17 - *107 - - &378 + - &381 name: sort description: The property to sort the results by. in: query @@ -57582,14 +58324,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *84 - - *368 - - *369 + - *371 + - *372 responses: '200': description: Response content: application/json: - schema: &370 + schema: &373 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -57605,7 +58347,7 @@ paths: type: integer format: int64 examples: - default: &371 + default: &374 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -57628,23 +58370,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *84 - - &374 + - &377 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *368 - - *369 + - *371 + - *372 responses: '200': description: Response content: application/json: - schema: *370 + schema: *373 examples: - default: *371 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -57664,18 +58406,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *84 - - *368 - - *369 + - *371 - *372 - - *373 + - *375 + - *376 responses: '200': description: Response content: application/json: - schema: *370 + schema: *373 examples: - default: *371 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -57695,9 +58437,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *84 - - *368 - - *369 - - &375 + - *371 + - *372 + - &378 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -57710,7 +58452,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &379 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -57726,7 +58468,7 @@ paths: type: integer format: int64 examples: - default: &377 + default: &380 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -57765,18 +58507,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *84 - - *374 - - *368 - - *369 - - *375 + - *377 + - *371 + - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 x-github: enabledForGitHubApps: true category: orgs @@ -57796,19 +58538,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *84 - - *372 - - *373 - - *368 - - *369 - *375 + - *376 + - *371 + - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 x-github: enabledForGitHubApps: true category: orgs @@ -57828,13 +58570,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *84 - - *374 - - *368 - - *369 + - *377 + - *371 + - *372 - *19 - *17 - *107 - - *378 + - *381 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -57918,7 +58660,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58038,12 +58780,12 @@ paths: application/json: schema: anyOf: - - &381 + - &384 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &380 + limit: &383 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -58071,7 +58813,7 @@ paths: properties: {} additionalProperties: false examples: - default: &382 + default: &385 value: limit: collaborators_only origin: organization @@ -58100,13 +58842,13 @@ paths: required: true content: application/json: - schema: &676 + schema: &679 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *380 + limit: *383 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -58131,9 +58873,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: - default: *382 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -58345,9 +59087,9 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 '404': *6 @@ -58425,7 +59167,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *386 examples: default: value: @@ -58482,7 +59224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *84 - - &385 + - &388 name: invitation_id description: The unique identifier of the invitation. in: path @@ -58516,7 +59258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *84 - - *385 + - *388 - *17 - *19 responses: @@ -58526,9 +59268,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: &403 + default: &406 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -58571,7 +59313,7 @@ paths: application/json: schema: type: array - items: &386 + items: &389 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -58834,9 +59576,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *389 examples: - default: &387 + default: &390 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -58892,7 +59634,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *84 - - &388 + - &391 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -59002,9 +59744,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *389 examples: - default: *387 + default: *390 '404': *6 '422': *7 x-github: @@ -59029,7 +59771,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *84 - - *388 + - *391 responses: '204': *121 '404': *6 @@ -59059,9 +59801,9 @@ paths: application/json: schema: type: array - items: *389 + items: *392 examples: - default: &680 + default: &683 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -59147,9 +59889,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *392 examples: - default: &390 + default: &393 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -59182,7 +59924,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *84 - - &391 + - &394 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -59238,9 +59980,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *392 examples: - default: *390 + default: *393 '404': *6 '422': *7 x-github: @@ -59265,7 +60007,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *84 - - *391 + - *394 responses: '204': description: Response @@ -59328,7 +60070,7 @@ paths: - closed - all default: open - - *392 + - *395 - name: type description: Can be the name of an issue type. in: query @@ -59347,7 +60089,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -59357,9 +60099,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *393 + default: *396 headers: Link: *42 '404': *6 @@ -59419,7 +60161,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '422': *15 @@ -59524,9 +60266,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 '304': *32 '500': *35 '401': *23 @@ -59553,7 +60295,7 @@ paths: parameters: - *84 - *127 - - &396 + - &399 name: codespace_name in: path required: true @@ -59588,15 +60330,15 @@ paths: parameters: - *84 - *127 - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: &597 + default: &600 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -59776,7 +60518,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *143 + schema: *146 examples: default: value: @@ -59852,7 +60594,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &400 title: Org Membership description: Org Membership type: object @@ -59921,7 +60663,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &398 + response-if-user-has-an-active-admin-membership-with-organization: &401 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -60022,9 +60764,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: - response-if-user-already-had-membership-with-organization: *398 + response-if-user-already-had-membership-with-organization: *401 '422': *15 '403': *27 x-github: @@ -60102,7 +60844,7 @@ paths: application/json: schema: type: array - items: &399 + items: &402 title: Migration description: A migration. type: object @@ -60451,7 +61193,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -60630,7 +61372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *84 - - &400 + - &403 name: migration_id description: The unique identifier of the migration. in: path @@ -60658,7 +61400,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -60828,7 +61570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *84 - - *400 + - *403 responses: '302': description: Response @@ -60850,7 +61592,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *84 - - *400 + - *403 responses: '204': description: Response @@ -60874,8 +61616,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *84 - - *400 - - &866 + - *403 + - &869 name: repo_name description: repo_name parameter in: path @@ -60903,7 +61645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *84 - - *400 + - *403 - *17 - *19 responses: @@ -60913,9 +61655,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: &410 + default: &413 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -61144,7 +61886,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &401 + items: &404 title: Organization Role description: Organization roles type: object @@ -61353,7 +62095,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -61405,7 +62147,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -61431,8 +62173,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *84 - - *214 - - *140 + - *217 + - *143 responses: '204': description: Response @@ -61462,8 +62204,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *84 - - *214 - - *140 + - *217 + - *143 responses: '204': description: Response @@ -61516,7 +62258,7 @@ paths: parameters: - *84 - *127 - - *140 + - *143 responses: '204': description: Response @@ -61548,7 +62290,7 @@ paths: parameters: - *84 - *127 - - *140 + - *143 responses: '204': description: Response @@ -61577,13 +62319,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *84 - - *140 + - *143 responses: '200': description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -61641,7 +62383,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *84 - - *140 + - *143 requestBody: required: true content: @@ -61680,7 +62422,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *404 examples: default: value: @@ -61734,7 +62476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *84 - - *140 + - *143 responses: '204': description: Response @@ -61760,7 +62502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *84 - - *140 + - *143 - *17 - *19 responses: @@ -61839,7 +62581,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *405 type: description: The ownership type of the team type: string @@ -61872,7 +62614,7 @@ paths: - type - parent examples: - default: *403 + default: *406 headers: Link: *42 '404': @@ -61902,7 +62644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *84 - - *140 + - *143 - *17 - *19 responses: @@ -61931,7 +62673,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *402 + items: *405 name: type: - string @@ -62048,7 +62790,7 @@ paths: - type - url examples: - default: *211 + default: *214 headers: Link: *42 '404': @@ -62099,7 +62841,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -62241,7 +62983,7 @@ paths: - nuget - container - *84 - - &867 + - &870 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -62277,12 +63019,12 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *405 + default: *408 '403': *27 '401': *23 - '400': &869 + '400': &872 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -62304,7 +63046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &406 + - &409 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -62322,7 +63064,7 @@ paths: - docker - nuget - container - - &407 + - &410 name: package_name description: The name of the package. in: path @@ -62335,7 +63077,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *407 examples: default: value: @@ -62387,8 +63129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 responses: '204': @@ -62421,8 +63163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - name: token description: package token @@ -62455,8 +63197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - *19 - *17 @@ -62477,7 +63219,7 @@ paths: application/json: schema: type: array - items: &408 + items: &411 title: Package Version description: A version of a software package type: object @@ -62612,10 +63354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *406 - - *407 + - *409 + - *410 - *84 - - &409 + - &412 name: package_version_id description: Unique identifier of the package version. in: path @@ -62627,7 +63369,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -62663,10 +63405,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *406 - - *407 - - *84 - *409 + - *410 + - *84 + - *412 responses: '204': description: Response @@ -62698,10 +63440,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *406 - - *407 - - *84 - *409 + - *410 + - *84 + - *412 responses: '204': description: Response @@ -62731,7 +63473,7 @@ paths: - *84 - *17 - *19 - - &411 + - &414 name: sort description: The property by which to sort the results. in: query @@ -62742,7 +63484,7 @@ paths: - created_at default: created_at - *107 - - &412 + - &415 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -62754,7 +63496,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &413 + - &416 name: repository description: The name of the repository to use to filter the results. in: query @@ -62763,7 +63505,7 @@ paths: type: string examples: - Hello-World - - &414 + - &417 name: permission description: The permission to use to filter the results. in: query @@ -62772,7 +63514,7 @@ paths: type: string examples: - issues_read - - &415 + - &418 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -62782,7 +63524,7 @@ paths: schema: type: string format: date-time - - &416 + - &419 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -62792,7 +63534,7 @@ paths: schema: type: string format: date-time - - &417 + - &420 name: token_id description: The ID of the token in: query @@ -63109,9 +63851,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -63137,14 +63879,14 @@ paths: - *84 - *17 - *19 - - *411 - - *107 - - *412 - - *413 - *414 + - *107 - *415 - *416 - *417 + - *418 + - *419 + - *420 responses: '500': *35 '422': *15 @@ -63426,9 +64168,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -63470,7 +64212,7 @@ paths: type: integer configurations: type: array - items: &418 + items: &421 title: Organization private registry description: Private registry configuration for an organization type: object @@ -63987,7 +64729,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &419 + org-private-registry-with-selected-visibility: &422 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -64079,15 +64821,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -64110,7 +64852,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 requestBody: required: true content: @@ -64299,7 +65041,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *84 - - *290 + - *293 responses: '204': description: Response @@ -64339,7 +65081,7 @@ paths: application/json: schema: type: array - items: &420 + items: &423 title: Projects v2 Project description: A projects v2 project type: object @@ -64413,7 +65155,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &956 + - &959 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -64498,7 +65240,7 @@ paths: - deleted_at - deleted_by examples: - default: &421 + default: &424 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -64601,7 +65343,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &422 + - &425 name: project_number description: The project's number. in: path @@ -64614,9 +65356,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -64639,7 +65381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true description: Details of the draft item to create in the project. @@ -64673,7 +65415,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &430 title: Projects v2 Item description: An item belonging to a project type: object @@ -64686,8 +65428,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *221 - - &573 + - *224 + - &576 title: Pull Request Simple description: Pull Request Simple type: object @@ -64816,7 +65558,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 active_lock_reason: type: - string @@ -64865,7 +65607,7 @@ paths: items: *4 requested_teams: type: array - items: *313 + items: *316 head: type: object properties: @@ -64909,7 +65651,7 @@ paths: _links: type: object properties: - comments: &424 + comments: &427 title: Link description: Hypermedia Link type: object @@ -64918,13 +65660,13 @@ paths: type: string required: - href - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + commits: *427 + statuses: *427 + html: *427 + issue: *427 + review_comments: *427 + review_comment: *427 + self: *427 required: - comments - commits @@ -64934,8 +65676,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: &742 + author_association: *221 + auto_merge: &745 title: Auto merge description: The status of auto merging a pull request. type: @@ -64961,7 +65703,7 @@ paths: - merge_method - commit_title - commit_message - stack: &743 + stack: &746 title: Pull Request Stack description: The stack information associated with a pull request. @@ -65149,7 +65891,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &426 + content_type: &429 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -65193,7 +65935,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &428 + draft_issue: &431 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -65267,7 +66009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *422 + - *425 - *84 - *17 - *105 @@ -65279,7 +66021,7 @@ paths: application/json: schema: type: array - items: &425 + items: &428 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -65432,7 +66174,7 @@ paths: - updated_at - project_url examples: - default: &889 + default: &892 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65562,7 +66304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *422 + - *425 - *84 requestBody: required: true @@ -65609,7 +66351,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &890 + items: &893 type: object properties: name: @@ -65646,7 +66388,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &891 + iteration_configuration: &894 type: object description: The configuration for iteration fields. required: @@ -65703,7 +66445,7 @@ paths: value: name: Due date data_type: date - single_select_field: &892 + single_select_field: &895 summary: Create a single select field value: name: Priority @@ -65730,7 +66472,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &893 + iteration_field: &896 summary: Create an iteration field value: name: Sprint @@ -65750,9 +66492,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *425 + schema: *428 examples: - text_field: &894 + text_field: &897 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -65761,7 +66503,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: &895 + number_field: &898 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -65770,7 +66512,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: &896 + date_field: &899 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -65779,7 +66521,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: &897 + single_select_field: &900 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65813,7 +66555,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &898 + iteration_field: &901 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -65858,8 +66600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *422 - - &899 + - *425 + - &902 name: field_id description: The unique identifier of the field. in: path @@ -65872,9 +66614,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *428 examples: - default: &900 + default: &903 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65930,7 +66672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *422 + - *425 - *84 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -65963,7 +66705,7 @@ paths: application/json: schema: type: array - items: &429 + items: &432 title: Projects v2 Item description: An item belonging to a project type: object @@ -65980,7 +66722,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *426 + content_type: *429 content: type: - object @@ -66030,7 +66772,7 @@ paths: - updated_at - archived_at examples: - default: &430 + default: &433 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -66728,7 +67470,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -66798,22 +67540,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *431 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *431 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *431 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *431 '304': *32 '403': *27 '401': *23 @@ -66833,9 +67575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *422 + - *425 - *84 - - &431 + - &434 name: item_id description: The unique identifier of the project item. in: path @@ -66861,9 +67603,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -66884,9 +67626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *422 + - *425 - *84 - - *431 + - *434 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -66959,13 +67701,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *433 + number_field: *433 + date_field: *433 + single_select_field: *433 + iteration_field: *433 '401': *23 '403': *27 '404': *6 @@ -66985,9 +67727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *422 + - *425 - *84 - - *431 + - *434 responses: '204': description: Response @@ -67011,7 +67753,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *84 - - *422 + - *425 requestBody: required: true content: @@ -67126,7 +67868,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &880 + schema: &883 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -67230,7 +67972,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &432 + value: &435 value: id: 1 number: 1 @@ -67276,10 +68018,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *432 + value: *435 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *435 '304': *32 '403': *27 '401': *23 @@ -67307,9 +68049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *422 + - *425 - *84 - - &901 + - &904 name: view_number description: The number that identifies the project view. in: path @@ -67341,9 +68083,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -67376,9 +68118,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -67416,7 +68158,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *154 + items: *157 minItems: 1 maxItems: 100 required: @@ -67446,9 +68188,9 @@ paths: application/json: schema: type: array - items: *154 + items: *157 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -67470,15 +68212,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -67502,12 +68244,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 requestBody: required: true content: application/json: - schema: *433 + schema: *436 examples: default: value: @@ -67523,9 +68265,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *156 + default: *159 '403': *27 '404': *6 x-github: @@ -67549,7 +68291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *84 - - *151 + - *154 responses: '204': *121 '403': *27 @@ -67613,7 +68355,7 @@ paths: - octocat/Hello-World properties: type: array - items: *153 + items: *156 description: List of custom property names and associated values required: - repository_id @@ -67682,7 +68424,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *153 + items: *156 required: - repository_names - properties @@ -67735,7 +68477,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -67873,9 +68615,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -68079,7 +68821,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &498 title: Full Repository description: Full Repository type: object @@ -68538,7 +69280,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 organization: anyOf: - type: 'null' @@ -68557,7 +69299,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &616 + code_of_conduct: &619 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -68587,7 +69329,7 @@ paths: - key - name - html_url - security_and_analysis: *434 + security_and_analysis: *437 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -68682,7 +69424,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &497 + default: &500 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -69220,9 +69962,9 @@ paths: application/json: schema: type: array - items: *435 + items: *438 examples: - default: *436 + default: *439 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -69247,7 +69989,7 @@ paths: - *84 - *17 - *19 - - &767 + - &770 name: targets description: | A comma-separated list of rule targets to filter by. @@ -69266,7 +70008,7 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: default: value: @@ -69334,23 +70076,20 @@ paths: - push - repository default: branch - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *437 + items: *169 + conditions: *440 rules: type: array description: An array of rules within the ruleset. - items: &439 + items: &442 title: Repository Rule type: object description: A repository rule. oneOf: - - *167 - - *168 - - *169 - *170 - *171 - *172 @@ -69362,13 +70101,16 @@ paths: - *178 - *179 - *180 - - *184 - - *185 - - *186 - - *187 - *181 - *182 - *183 + - *187 + - *188 + - *189 + - *190 + - *184 + - *185 + - *186 required: - name - enforcement @@ -69406,9 +70148,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: &438 + default: &441 value: id: 21 name: super cool ruleset @@ -69464,7 +70206,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *84 - - &769 + - &772 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 @@ -69474,16 +70216,16 @@ paths: schema: type: string x-multi-segment: true - - *310 + - *313 - *102 - - &770 + - &773 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 - - &771 + - &774 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -69496,7 +70238,7 @@ paths: - bypass - all default: all - - &772 + - &775 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. @@ -69519,7 +70261,7 @@ paths: description: Response content: application/json: - schema: &773 + schema: &776 title: Rule Suites description: Response type: array @@ -69575,7 +70317,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &774 + default: &777 value: - id: 21 actor_id: 12 @@ -69619,7 +70361,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *84 - - &775 + - &778 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -69635,7 +70377,7 @@ paths: description: Response content: application/json: - schema: &776 + schema: &779 title: Rule Suite description: Response type: object @@ -69742,7 +70484,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &777 + default: &780 value: id: 21 actor_id: 12 @@ -69815,9 +70557,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *438 + default: *441 '404': *6 '500': *35 put: @@ -69861,16 +70603,16 @@ paths: - tag - push - repository - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *437 + items: *169 + conditions: *440 rules: description: An array of rules within the ruleset. type: array - items: *439 + items: *442 examples: default: value: @@ -69905,9 +70647,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *438 + default: *441 '404': *6 '422': *15 '500': *35 @@ -69965,9 +70707,9 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *440 + default: *443 '404': *6 '500': *35 x-github: @@ -70004,7 +70746,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: default: value: @@ -70067,18 +70809,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *84 - - *442 - - *443 - - *444 - *445 - *446 - *447 - *448 - *449 + - *450 + - *451 + - *452 - *107 - *19 - *17 - - &779 + - &782 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -70088,7 +70830,7 @@ paths: required: false schema: type: string - - &780 + - &783 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -70098,13 +70840,13 @@ paths: required: false schema: type: string - - *450 - - *451 - - *452 - *453 - *454 - *455 - *456 + - *457 + - *458 + - *459 responses: '200': description: Response @@ -70112,13 +70854,13 @@ paths: application/json: schema: type: array - items: *457 + items: *460 examples: - default: *458 + default: *461 headers: Link: *42 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70144,9 +70886,9 @@ paths: subcategory: custom-patterns parameters: - *84 - - *459 - - *460 - - *461 + - *462 + - *463 + - *464 - *107 - *105 - *106 @@ -70157,9 +70899,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *462 + default: *465 headers: Link: *42 '403': *27 @@ -70195,9 +70937,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *463 + items: *466 examples: - default: *464 + default: *467 responses: '201': description: All patterns created successfully. @@ -70209,9 +70951,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: *465 + default: *468 '400': *14 '403': *27 '404': *6 @@ -70235,7 +70977,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *466 + items: *469 delete: summary: Bulk delete organization custom patterns description: |- @@ -70268,7 +71010,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *467 + items: *470 post_delete_action: type: string description: |- @@ -70281,14 +71023,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *468 + default: *471 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 "/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update an organization custom pattern @@ -70319,21 +71061,21 @@ paths: required: true content: application/json: - schema: *469 + schema: *472 examples: - default: *470 + default: *473 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: *471 + default: *474 '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -70360,9 +71102,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *475 examples: - default: *473 + default: *476 '403': *27 '404': *6 patch: @@ -70391,7 +71133,7 @@ paths: schema: type: object properties: - pattern_config_version: *195 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -70417,7 +71159,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *195 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -70515,7 +71257,7 @@ paths: application/json: schema: type: array - items: &801 + items: &804 description: A repository security advisory. type: object properties: @@ -70723,7 +71465,7 @@ paths: required: - vector_string - score - cvss_severities: *130 + cvss_severities: *133 cwes: type: - array @@ -70759,7 +71501,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 credits_detailed: type: - array @@ -70770,7 +71512,7 @@ paths: type: object properties: user: *4 - type: *474 + type: *477 state: type: string description: The state of the user's acceptance of the @@ -70796,7 +71538,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *313 + items: *316 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -70866,7 +71608,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &802 + default: &805 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -71253,7 +71995,7 @@ paths: application/json: schema: type: array - items: *402 + items: *405 examples: default: value: @@ -71294,7 +72036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -71320,7 +72062,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response @@ -71352,7 +72094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *84 - - *475 + - *478 - *17 - *19 responses: @@ -71360,9 +72102,9 @@ paths: description: Success content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -71508,9 +72250,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71579,7 +72321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -71602,7 +72344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *84 - - *274 + - *277 responses: '204': description: Response @@ -71643,9 +72385,9 @@ paths: type: integer network_configurations: type: array - items: *146 + items: *149 examples: - default: *478 + default: *481 headers: Link: *42 x-github: @@ -71722,9 +72464,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71745,15 +72487,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *84 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 headers: Link: *42 x-github: @@ -71775,7 +72517,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *84 - - *148 + - *151 requestBody: required: true content: @@ -71828,9 +72570,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: *147 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71850,7 +72592,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *84 - - *148 + - *151 responses: '204': description: Response @@ -71874,15 +72616,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *84 - - *479 + - *482 responses: '200': description: Response content: application/json: - schema: *480 + schema: *483 examples: - default: *481 + default: *484 headers: Link: *42 x-github: @@ -71920,7 +72662,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &495 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -71972,7 +72714,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &493 + default: &496 value: groups: - group_id: '123' @@ -72027,9 +72769,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 headers: Link: *42 '403': *27 @@ -72127,7 +72869,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &485 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -72201,7 +72943,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *405 members_count: type: integer examples: @@ -72534,7 +73276,7 @@ paths: - repos_count - organization examples: - default: &483 + default: &486 value: id: 1 node_id: MDQ6VGVhbTE= @@ -72616,15 +73358,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -72646,7 +73388,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *84 - - *214 + - *217 requestBody: required: false content: @@ -72715,16 +73457,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '201': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 '422': *15 '403': *27 @@ -72750,11 +73492,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response - '422': &486 + '422': &489 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -72777,16 +73519,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *484 + schema: *487 examples: - default: *485 - '422': *486 + default: *488 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -72806,7 +73548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 requestBody: required: true content: @@ -72830,10 +73572,10 @@ paths: description: Response content: application/json: - schema: *487 + schema: *490 examples: - default: *488 - '422': *486 + default: *491 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72853,11 +73595,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *84 - - *214 + - *217 responses: '204': description: Response - '422': *486 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72879,7 +73621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -72889,12 +73631,12 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 - '422': *486 + '422': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72920,7 +73662,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *84 - - *214 + - *217 - name: role description: Filters members returned by their role in the team. in: query @@ -72941,7 +73683,7 @@ paths: application/json: schema: type: array - items: &845 + items: &848 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 @@ -73084,7 +73826,7 @@ paths: - type - url examples: - default: &846 + default: &849 value: - login: octocat id: 1 @@ -73136,14 +73878,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 responses: '200': description: Response content: application/json: - schema: &489 + schema: &492 title: Team Membership description: Team Membership type: object @@ -73171,7 +73913,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &847 + response-if-user-is-a-team-maintainer: &850 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -73208,7 +73950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 requestBody: required: false @@ -73234,9 +73976,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: &848 + response-if-users-membership-with-team-is-now-pending: &851 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -73272,7 +74014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *84 - - *214 + - *217 - *127 responses: '204': @@ -73302,7 +74044,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -73312,9 +74054,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -73344,15 +74086,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &849 + schema: &852 title: Team Repository description: A team's access to a repository. type: object @@ -73378,7 +74120,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 forks: type: integer permissions: @@ -74079,9 +74821,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 requestBody: required: false content: @@ -74127,9 +74869,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *84 - - *214 - - *490 - - *491 + - *217 + - *493 + - *494 responses: '204': description: Response @@ -74156,16 +74898,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *84 - - *214 + - *217 responses: '200': description: Response content: application/json: - schema: *492 + schema: *495 examples: - default: *493 - '422': *486 + default: *496 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -74188,7 +74930,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *84 - - *214 + - *217 requestBody: required: true content: @@ -74231,7 +74973,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -74243,7 +74985,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *486 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -74265,7 +75007,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *84 - - *214 + - *217 - *17 - *19 responses: @@ -74275,9 +75017,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - response-if-child-teams-exist: &850 + response-if-child-teams-exist: &853 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -74430,7 +75172,7 @@ paths: resources: type: object properties: - core: &494 + core: &497 title: Rate Limit type: object properties: @@ -74447,21 +75189,21 @@ paths: - remaining - reset - used - graphql: *494 - search: *494 - code_search: *494 - source_import: *494 - integration_manifest: *494 - actions_runner_registration: *494 - scim: *494 - dependency_snapshots: *494 - dependency_sbom: *494 - code_scanning_autofix: *494 - copilot_usage_records: *494 + graphql: *497 + search: *497 + code_search: *497 + source_import: *497 + integration_manifest: *497 + actions_runner_registration: *497 + scim: *497 + dependency_snapshots: *497 + dependency_sbom: *497 + code_scanning_autofix: *497 + copilot_usage_records: *497 required: - core - search - rate: *494 + rate: *497 required: - rate - resources @@ -74575,14 +75317,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: default-response: summary: Default response @@ -75097,7 +75839,7 @@ paths: version: '2026-03-10' '403': *27 '404': *6 - '301': *496 + '301': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75115,8 +75857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -75437,10 +76179,10 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 - '307': &498 + default: *500 + '307': &501 description: Temporary Redirect content: application/json: @@ -75469,8 +76211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -75492,7 +76234,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *498 + '307': *501 '404': *6 '409': *116 x-github: @@ -75516,11 +76258,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - - &514 + - &517 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -75543,7 +76285,7 @@ paths: type: integer artifacts: type: array - items: &499 + items: &502 title: Artifact description: An artifact type: object @@ -75638,7 +76380,7 @@ paths: - expires_at - updated_at examples: - default: &515 + default: &518 value: total_count: 2 artifacts: @@ -75699,9 +76441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *490 - - *491 - - &500 + - *493 + - *494 + - &503 name: artifact_id description: The unique identifier of the artifact. in: path @@ -75713,7 +76455,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *502 examples: default: value: @@ -75751,9 +76493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *490 - - *491 - - *500 + - *493 + - *494 + - *503 responses: '204': description: Response @@ -75777,9 +76519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *490 - - *491 - - *500 + - *493 + - *494 + - *503 - name: archive_format in: path required: true @@ -75789,7 +76531,7 @@ paths: '302': description: Response headers: - Location: &633 + Location: &636 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -75814,14 +76556,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &501 + schema: &504 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -75855,13 +76597,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *501 + schema: *504 examples: selected_actions: *39 responses: @@ -75890,14 +76632,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &502 + schema: &505 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -75931,13 +76673,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *502 + schema: *505 examples: selected_actions: *41 responses: @@ -75968,14 +76710,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *503 + schema: *506 examples: default: value: @@ -76001,11 +76743,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - - &504 + - &507 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -76039,7 +76781,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &508 title: Repository actions caches description: Repository actions caches type: object @@ -76089,7 +76831,7 @@ paths: - total_count - actions_caches examples: - default: &506 + default: &509 value: total_count: 1 actions_caches: @@ -76121,23 +76863,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *490 - - *491 + - *493 + - *494 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *504 + - *507 responses: '200': description: Response content: application/json: - schema: *505 + schema: *508 examples: - default: *506 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76157,8 +76899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *490 - - *491 + - *493 + - *494 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -76187,8 +76929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *106 responses: @@ -76271,8 +77013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -76428,9 +77170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *490 - - *491 - - &507 + - *493 + - *494 + - &510 name: job_id description: The unique identifier of the job. in: path @@ -76443,7 +77185,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &521 title: Job description: Information of a job execution in a workflow run type: object @@ -76792,9 +77534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *490 - - *491 - - *507 + - *493 + - *494 + - *510 responses: '302': description: Response @@ -76822,9 +77564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *490 - - *491 - - *507 + - *493 + - *494 + - *510 requestBody: required: false content: @@ -76851,7 +77593,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -76875,8 +77617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Status response @@ -76935,8 +77677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -76975,7 +77717,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -77004,8 +77746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -77023,7 +77765,7 @@ paths: type: integer secrets: type: array - items: &520 + items: &523 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -77044,7 +77786,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &524 value: total_count: 2 secrets: @@ -77077,9 +77819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -77096,7 +77838,7 @@ paths: type: integer variables: type: array - items: &522 + items: &525 title: Actions Variable type: object properties: @@ -77130,7 +77872,7 @@ paths: - created_at - updated_at examples: - default: &523 + default: &526 value: total_count: 2 variables: @@ -77163,8 +77905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -77173,11 +77915,11 @@ paths: schema: type: object properties: - enabled: &508 + enabled: &511 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *57 - selected_actions_url: *267 + selected_actions_url: *270 sha_pinning_required: *58 required: - enabled @@ -77208,8 +77950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -77220,7 +77962,7 @@ paths: schema: type: object properties: - enabled: *508 + enabled: *511 allowed_actions: *57 sha_pinning_required: *58 required: @@ -77253,14 +77995,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &509 + schema: &512 type: object properties: access_level: @@ -77278,7 +78020,7 @@ paths: required: - access_level examples: - default: &510 + default: &513 value: access_level: organization x-github: @@ -77303,15 +78045,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *509 + schema: *512 examples: - default: *510 + default: *513 responses: '204': description: Response @@ -77335,14 +78077,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *269 + schema: *272 examples: default: value: @@ -77366,8 +78108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Empty response for successful settings update @@ -77377,7 +78119,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: summary: Set retention days @@ -77401,8 +78143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -77410,7 +78152,7 @@ paths: application/json: schema: *59 examples: - default: *271 + default: *274 '404': *6 x-github: enabledForGitHubApps: true @@ -77429,8 +78171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -77464,14 +78206,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *272 + schema: *275 examples: default: *60 '403': *27 @@ -77493,13 +78235,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *273 + schema: *276 examples: default: *60 responses: @@ -77525,8 +78267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -77557,8 +78299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -77590,14 +78332,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *276 + schema: *279 examples: default: *66 x-github: @@ -77620,8 +78362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Success response @@ -77632,7 +78374,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *280 examples: default: *66 x-github: @@ -77661,8 +78403,8 @@ paths: in: query schema: type: string - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -77707,8 +78449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: version description: The runner version to look up. in: path @@ -77775,8 +78517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -77784,9 +78526,9 @@ paths: application/json: schema: type: array - items: *281 + items: *284 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77808,8 +78550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -77852,7 +78594,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *286 '404': *6 '422': *7 '409': *116 @@ -77883,8 +78625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -77892,7 +78634,7 @@ paths: application/json: schema: *76 examples: - default: *284 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77920,8 +78662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -77929,7 +78671,7 @@ paths: application/json: schema: *76 examples: - default: *285 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77951,8 +78693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '200': @@ -77961,7 +78703,7 @@ paths: application/json: schema: *73 examples: - default: *286 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77982,8 +78724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '204': @@ -78010,8 +78752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: '200': *78 @@ -78036,8 +78778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 requestBody: required: true @@ -78086,8 +78828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 requestBody: required: true @@ -78137,11 +78879,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 responses: - '200': *287 + '200': *290 '404': *6 x-github: githubCloudOnly: false @@ -78168,10 +78910,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *72 - - *288 + - *291 responses: '200': *78 '404': *6 @@ -78199,9 +78941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *490 - - *491 - - &526 + - *493 + - *494 + - &529 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -78209,7 +78951,7 @@ paths: required: false schema: type: string - - &527 + - &530 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -78217,7 +78959,7 @@ paths: required: false schema: type: string - - &528 + - &531 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -78226,7 +78968,7 @@ paths: required: false schema: type: string - - &529 + - &532 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -78253,7 +78995,7 @@ paths: - pending - *17 - *19 - - &530 + - &533 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -78262,7 +79004,7 @@ paths: schema: type: string format: date-time - - &511 + - &514 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -78271,14 +79013,14 @@ paths: schema: type: boolean default: false - - &531 + - &534 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &532 + - &535 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -78301,7 +79043,7 @@ paths: type: integer workflow_runs: type: array - items: &512 + items: &515 title: Workflow Run description: An invocation of a workflow type: object @@ -78420,7 +79162,7 @@ paths: type: - array - 'null' - items: *224 + items: *227 created_at: type: string format: date-time @@ -78481,7 +79223,7 @@ paths: head_commit: anyOf: - type: 'null' - - &556 + - &559 title: Simple Commit description: A commit. type: object @@ -78555,8 +79297,8 @@ paths: - timestamp - author - committer - repository: *280 - head_repository: *280 + repository: *283 + head_repository: *283 head_repository_id: type: integer examples: @@ -78596,7 +79338,7 @@ paths: - workflow_url - pull_requests examples: - default: &533 + default: &536 value: total_count: 1 workflow_runs: @@ -78832,24 +79574,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *490 - - *491 - - &513 + - *493 + - *494 + - &516 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *511 + - *514 responses: '200': description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: &516 + default: &519 value: id: 30433642 name: Build @@ -79090,9 +79832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '204': description: Response @@ -79115,9 +79857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -79245,15 +79987,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79280,12 +80022,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - *17 - *19 - - *514 + - *517 - *107 responses: '200': @@ -79302,9 +80044,9 @@ paths: type: integer artifacts: type: array - items: *499 + items: *502 examples: - default: *515 + default: *518 headers: Link: *42 x-github: @@ -79328,25 +80070,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *490 - - *491 - - *513 - - &517 + - *493 + - *494 + - *516 + - &520 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *511 + - *514 responses: '200': description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: *516 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79369,10 +80111,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *490 - - *491 - - *513 - - *517 + - *493 + - *494 + - *516 + - *520 - *17 - *19 responses: @@ -79390,9 +80132,9 @@ paths: type: integer jobs: type: array - items: *518 + items: *521 examples: - default: &519 + default: &522 value: total_count: 1 jobs: @@ -79505,10 +80247,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *490 - - *491 - - *513 - - *517 + - *493 + - *494 + - *516 + - *520 responses: '302': description: Response @@ -79536,15 +80278,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '202': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79584,9 +80326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - *17 - *105 - *106 @@ -79763,9 +80505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: true content: @@ -79832,15 +80574,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '202': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -79867,9 +80609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -79899,9 +80641,9 @@ paths: type: integer jobs: type: array - items: *518 + items: *521 examples: - default: *519 + default: *522 headers: Link: *42 x-github: @@ -79926,9 +80668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '302': description: Response @@ -79955,9 +80697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '204': description: Response @@ -79984,9 +80726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -80055,7 +80797,7 @@ paths: items: type: object properties: - type: &648 + type: &651 type: string description: The type of reviewer. enum: @@ -80066,7 +80808,7 @@ paths: reviewer: anyOf: - *4 - - *313 + - *316 required: - environment - wait_timer @@ -80141,9 +80883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: true content: @@ -80193,7 +80935,7 @@ paths: application/json: schema: type: array - items: &635 + items: &638 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -80305,7 +81047,7 @@ paths: - created_at - updated_at examples: - default: &636 + default: &639 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -80361,9 +81103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: false content: @@ -80385,7 +81127,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -80408,9 +81150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 requestBody: required: false content: @@ -80432,7 +81174,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -80465,9 +81207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *490 - - *491 - - *513 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -80604,8 +81346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -80623,9 +81365,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -80650,16 +81392,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80681,17 +81423,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: &534 + default: &537 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -80717,9 +81459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -80750,7 +81492,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -80776,9 +81518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -80803,9 +81545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -80822,9 +81564,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -80847,8 +81589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -80875,7 +81617,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -80900,17 +81642,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: &535 + default: &538 value: name: USERNAME value: octocat @@ -80936,9 +81678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 requestBody: required: true content: @@ -80980,9 +81722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '204': description: Response @@ -81007,8 +81749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -81026,7 +81768,7 @@ paths: type: integer workflows: type: array - items: &524 + items: &527 title: Workflow description: A GitHub Actions workflow type: object @@ -81144,9 +81886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *490 - - *491 - - &525 + - *493 + - *494 + - &528 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -81161,7 +81903,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -81194,9 +81936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '204': description: Response @@ -81221,9 +81963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -81321,9 +82063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '204': description: Response @@ -81350,19 +82092,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *490 - - *491 - - *525 - - *526 - - *527 + - *493 + - *494 - *528 - *529 - - *17 - - *19 - *530 - - *511 - *531 - *532 + - *17 + - *19 + - *533 + - *514 + - *534 + - *535 responses: '200': description: Response @@ -81378,9 +82120,9 @@ paths: type: integer workflow_runs: type: array - items: *512 + items: *515 examples: - default: *533 + default: *536 headers: Link: *42 x-github: @@ -81413,9 +82155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *490 - - *491 - - *525 + - *493 + - *494 + - *528 responses: '200': description: Response @@ -81476,8 +82218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *490 - - *491 + - *493 + - *494 - *107 - *17 - *105 @@ -81650,8 +82392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -81669,9 +82411,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -81695,9 +82437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -81714,9 +82456,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -81741,8 +82483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -81760,9 +82502,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -81787,16 +82529,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81818,17 +82560,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81850,9 +82592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -81883,7 +82625,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -81909,9 +82651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -81936,9 +82678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *490 - - *491 - - *299 + - *493 + - *494 + - *302 - *19 responses: '200': @@ -81955,9 +82697,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -81980,8 +82722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -82008,7 +82750,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -82033,17 +82775,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: *535 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82064,9 +82806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 requestBody: required: true content: @@ -82108,9 +82850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *490 - - *491 - - *293 + - *493 + - *494 + - *296 responses: '204': description: Response @@ -82131,8 +82873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -82144,7 +82886,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '404': *6 @@ -82169,8 +82911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *490 - - *491 + - *493 + - *494 - name: assignee in: path required: true @@ -82206,8 +82948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -82317,8 +83059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *105 - *106 @@ -82375,7 +83117,7 @@ paths: initiator: type: string examples: - default: *536 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82409,8 +83151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -82418,7 +83160,7 @@ paths: application/json: schema: type: array - items: &537 + items: &540 title: Autolink reference description: An autolink reference. type: object @@ -82477,8 +83219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -82517,9 +83259,9 @@ paths: description: response content: application/json: - schema: *537 + schema: *540 examples: - default: &538 + default: &541 value: id: 1 key_prefix: TICKET- @@ -82550,9 +83292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *490 - - *491 - - &539 + - *493 + - *494 + - &542 name: autolink_id description: The unique identifier of the autolink. in: path @@ -82564,9 +83306,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: - default: *538 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -82586,9 +83328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *490 - - *491 - - *539 + - *493 + - *494 + - *542 responses: '204': description: Response @@ -82612,8 +83354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response if Dependabot is enabled @@ -82663,8 +83405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -82685,8 +83427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -82706,8 +83448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *490 - - *491 + - *493 + - *494 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -82745,7 +83487,7 @@ paths: - url protected: type: boolean - protection: &541 + protection: &544 title: Branch Protection description: Branch Protection type: object @@ -82788,7 +83530,7 @@ paths: required: - contexts - checks - enforce_admins: &544 + enforce_admins: &547 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -82805,7 +83547,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &546 + required_pull_request_reviews: &549 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -82827,7 +83569,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *313 + items: *316 apps: description: The list of apps with review dismissal access. @@ -82859,7 +83601,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *313 + items: *316 apps: description: The list of apps allowed to bypass pull request requirements. @@ -82889,7 +83631,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &543 + restrictions: &546 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -82952,7 +83694,7 @@ paths: type: string teams: type: array - items: *313 + items: *316 apps: type: array items: @@ -83182,9 +83924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *490 - - *491 - - &542 + - *493 + - *494 + - &545 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -83198,14 +83940,14 @@ paths: description: Response content: application/json: - schema: &552 + schema: &555 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &608 + commit: &611 title: Commit description: Commit type: object @@ -83244,7 +83986,7 @@ paths: author: anyOf: - type: 'null' - - &540 + - &543 title: Git User description: Metaproperties for Git author/committer information. @@ -83266,7 +84008,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 message: type: string examples: @@ -83290,7 +84032,7 @@ paths: required: - sha - url - verification: &666 + verification: &669 title: Verification type: object properties: @@ -83326,14 +84068,14 @@ paths: author: oneOf: - *4 - - *291 + - *294 type: - 'null' - object committer: oneOf: - *4 - - *291 + - *294 type: - 'null' - object @@ -83370,7 +84112,7 @@ paths: type: integer files: type: array - items: &618 + items: &621 title: Diff Entry description: Diff Entry type: object @@ -83466,7 +84208,7 @@ paths: - self protected: type: boolean - protection: *541 + protection: *544 protection_url: type: string format: uri @@ -83575,7 +84317,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *496 + '301': *499 '404': *6 x-github: githubCloudOnly: false @@ -83597,15 +84339,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: default: value: @@ -83799,9 +84541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -84061,7 +84803,7 @@ paths: url: type: string format: uri - required_status_checks: &549 + required_status_checks: &552 title: Status Check Policy description: Status Check Policy type: object @@ -84142,7 +84884,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 apps: type: array items: *5 @@ -84160,7 +84902,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 apps: type: array items: *5 @@ -84220,7 +84962,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *543 + restrictions: *546 required_conversation_resolution: type: object properties: @@ -84332,9 +85074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84359,17 +85101,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: &545 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -84391,17 +85133,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: *545 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84420,9 +85162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84447,17 +85189,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *546 + schema: *549 examples: - default: &547 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -84553,9 +85295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84653,9 +85395,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *549 examples: - default: *547 + default: *550 '422': *15 x-github: githubCloudOnly: false @@ -84676,9 +85418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84705,17 +85447,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: &548 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -84738,17 +85480,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: *548 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -84768,9 +85510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84795,17 +85537,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *549 + schema: *552 examples: - default: &550 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -84831,9 +85573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -84885,9 +85627,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *552 examples: - default: *550 + default: *553 '404': *6 '422': *15 x-github: @@ -84909,9 +85651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -84935,9 +85677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -84971,9 +85713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -85040,9 +85782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -85106,9 +85848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: content: application/json: @@ -85174,15 +85916,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *543 + schema: *546 examples: default: value: @@ -85273,9 +86015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -85298,9 +86040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -85310,7 +86052,7 @@ paths: type: array items: *5 examples: - default: &551 + default: &554 value: - id: 1 slug: octoapp @@ -85367,9 +86109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85403,7 +86145,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -85424,9 +86166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85460,7 +86202,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -85481,9 +86223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85517,7 +86259,7 @@ paths: type: array items: *5 examples: - default: *551 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -85539,9 +86281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -85549,9 +86291,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -85571,9 +86313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -85609,9 +86351,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -85632,9 +86374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -85670,9 +86412,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -85693,9 +86435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: content: application/json: @@ -85730,9 +86472,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 '422': *15 x-github: githubCloudOnly: false @@ -85754,9 +86496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -85766,7 +86508,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -85790,9 +86532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85825,7 +86567,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -85850,9 +86592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85885,7 +86627,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -85910,9 +86652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85945,7 +86687,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -85972,9 +86714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -85996,7 +86738,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *555 examples: default: value: @@ -86110,8 +86852,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 @@ -86125,9 +86867,9 @@ paths: application/json: schema: type: array - items: *308 + items: *311 examples: - default: *309 + default: *312 '404': *6 '500': *35 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -86147,8 +86889,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -86162,7 +86904,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *311 examples: default: value: @@ -86221,8 +86963,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 @@ -86236,9 +86978,9 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: - default: *312 + default: *315 '404': *6 '403': *27 '500': *35 @@ -86262,8 +87004,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -86275,7 +87017,7 @@ paths: description: A single bypass request. content: application/json: - schema: *311 + schema: *314 examples: default: value: @@ -86333,8 +87075,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -86405,8 +87147,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *490 - - *491 + - *493 + - *494 - name: bypass_response_id in: path required: true @@ -86439,8 +87181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -86719,7 +87461,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &556 title: CheckRun description: A check performed on the code of a given code change type: object @@ -86854,8 +87596,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *224 - deployment: &912 + items: *227 + deployment: &915 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -87142,9 +87884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *490 - - *491 - - &554 + - *493 + - *494 + - &557 name: check_run_id description: The unique identifier of the check run. in: path @@ -87157,9 +87899,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: - default: &555 + default: &558 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -87259,9 +88001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 requestBody: required: true content: @@ -87501,9 +88243,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: - default: *555 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87523,9 +88265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 - *17 - *19 responses: @@ -87635,15 +88377,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *490 - - *491 - - *554 + - *493 + - *494 + - *557 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -87681,8 +88423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -87704,7 +88446,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &557 + schema: &560 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -87786,12 +88528,12 @@ paths: type: - array - 'null' - items: *224 + items: *227 app: anyOf: - type: 'null' - *5 - repository: *280 + repository: *283 created_at: type: - string @@ -87802,7 +88544,7 @@ paths: - string - 'null' format: date-time - head_commit: *556 + head_commit: *559 latest_check_runs_count: type: integer check_runs_url: @@ -87830,7 +88572,7 @@ paths: - check_runs_url - pull_requests examples: - default: &558 + default: &561 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -88121,9 +88863,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *557 + schema: *560 examples: - default: *558 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88142,8 +88884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -88204,7 +88946,7 @@ paths: required: - app_id - setting - repository: *280 + repository: *283 examples: default: value: @@ -88452,9 +89194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *490 - - *491 - - &559 + - *493 + - *494 + - &562 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -88466,9 +89208,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: *558 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88491,17 +89233,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *490 - - *491 - - *559 - - &613 + - *493 + - *494 + - *562 + - &616 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &614 + - &617 name: status description: Returns check runs with the specified `status`. in: query @@ -88540,9 +89282,9 @@ paths: type: integer check_runs: type: array - items: *553 + items: *556 examples: - default: &615 + default: &618 value: total_count: 1 check_runs: @@ -88644,15 +89386,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *490 - - *491 - - *559 + - *493 + - *494 + - *562 responses: '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -88675,8 +89417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *107 - *105 @@ -88698,7 +89440,7 @@ paths: application/json: schema: type: array - items: &560 + items: &563 description: Code quality finding type: object properties: @@ -88828,14 +89570,14 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &561 + '403': &564 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88855,8 +89597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *490 - - *491 + - *493 + - *494 - name: finding_number in: path description: The number that identifies a finding. @@ -88868,7 +89610,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *563 examples: default: value: @@ -88897,9 +89639,9 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *561 + '403': *564 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88919,8 +89661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -89002,9 +89744,9 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *561 + '403': *564 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89023,8 +89765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -89095,7 +89837,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -89138,7 +89880,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89161,14 +89903,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &562 + schema: &565 description: AI Scan enablement for a repository. type: object properties: @@ -89181,10 +89923,10 @@ paths: required: - pr_scan examples: - default: &563 + default: &566 value: pr_scan: enabled - '403': &572 + '403': &575 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -89212,8 +89954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -89240,10 +89982,10 @@ paths: description: Response content: application/json: - schema: *562 + schema: *565 examples: - default: *563 - '403': &576 + default: *566 + '403': &579 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -89274,21 +90016,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *490 - - *491 - - *319 - - *320 + - *493 + - *494 + - *322 + - *323 - *19 - *17 - - &580 + - &583 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *564 - - &581 + schema: *567 + - &584 name: pr description: The number of the pull request for the results you want to list. in: query @@ -89313,13 +90055,13 @@ paths: be returned. in: query required: false - schema: *321 + schema: *324 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *565 + schema: *568 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -89338,24 +90080,24 @@ paths: items: type: object properties: - number: *128 - created_at: *135 - updated_at: *136 - url: *133 - html_url: *134 - instances_url: *566 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 + instances_url: *569 state: *110 - fixed_at: *138 + fixed_at: *141 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *137 - dismissed_reason: *567 - dismissed_comment: *568 - rule: *569 - tool: *570 - most_recent_instance: *571 + dismissed_at: *140 + dismissed_reason: *570 + dismissed_comment: *571 + rule: *572 + tool: *573 + most_recent_instance: *574 dismissal_approved_by: anyOf: - type: 'null' @@ -89478,9 +90220,9 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89500,9 +90242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *490 - - *491 - - &574 + - *493 + - *494 + - &577 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -89510,30 +90252,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *128 + schema: *131 responses: '200': description: Response content: application/json: - schema: &575 + schema: &578 type: object properties: - number: *128 - created_at: *135 - updated_at: *136 - url: *133 - html_url: *134 - instances_url: *566 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 + instances_url: *569 state: *110 - fixed_at: *138 + fixed_at: *141 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *137 - dismissed_reason: *567 - dismissed_comment: *568 + dismissed_at: *140 + dismissed_reason: *570 + dismissed_comment: *571 rule: type: object properties: @@ -89595,8 +90337,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *570 - most_recent_instance: *571 + tool: *573 + most_recent_instance: *574 dismissal_approved_by: anyOf: - type: 'null' @@ -89607,7 +90349,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *573 + items: *576 required: - number - created_at @@ -89696,9 +90438,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89716,9 +90458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: true content: @@ -89733,8 +90475,8 @@ paths: enum: - open - dismissed - dismissed_reason: *567 - dismissed_comment: *568 + dismissed_reason: *570 + dismissed_comment: *571 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -89762,7 +90504,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -89838,9 +90580,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89860,15 +90602,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 responses: '200': description: Response content: application/json: - schema: &577 + schema: &580 type: object properties: status: @@ -89895,13 +90637,13 @@ paths: - description - started_at examples: - default: &578 + default: &581 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &579 + '400': &582 description: Bad Request content: application/json: @@ -89912,7 +90654,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *572 + '403': *575 '404': *6 '500': *35 x-github: @@ -89937,29 +90679,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 responses: '200': description: OK content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '202': description: Accepted content: application/json: - schema: *577 + schema: *580 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *579 + '400': *582 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -89991,9 +90733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: false content: @@ -90039,12 +90781,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *579 - '403': *576 + '400': *582 + '403': *579 '404': *6 '422': description: Unprocessable Entity - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90064,13 +90806,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 - *19 - *17 - - *580 - - *581 + - *583 + - *584 responses: '200': description: Response @@ -90081,10 +90823,10 @@ paths: items: type: object properties: - ref: *564 - analysis_key: *582 - environment: *583 - category: *584 + ref: *567 + analysis_key: *585 + environment: *586 + category: *587 state: type: - string @@ -90101,7 +90843,7 @@ paths: properties: text: type: string - location: *585 + location: *588 html_url: type: string classifications: @@ -90109,7 +90851,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *586 + items: *589 examples: default: value: @@ -90146,9 +90888,9 @@ paths: end_column: 50 classifications: - source - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90180,25 +90922,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *490 - - *491 - - *319 - - *320 + - *493 + - *494 + - *322 + - *323 - *19 - *17 - - *581 + - *584 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *564 + schema: *567 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &587 + schema: &590 type: string description: An identifier for the upload. examples: @@ -90220,23 +90962,23 @@ paths: application/json: schema: type: array - items: &588 + items: &591 type: object properties: - ref: *564 - commit_sha: &596 + ref: *567 + commit_sha: &599 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *582 + analysis_key: *585 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *584 + category: *587 error: type: string examples: @@ -90261,8 +91003,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *587 - tool: *570 + sarif_id: *590 + tool: *573 deletable: type: boolean warning: @@ -90324,9 +91066,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90360,8 +91102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -90374,7 +91116,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: response: summary: application/json response @@ -90428,14 +91170,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *572 + '403': *575 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90515,8 +91257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -90572,9 +91314,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90594,8 +91336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -90603,7 +91345,7 @@ paths: application/json: schema: type: array - items: &589 + items: &592 title: CodeQL Database description: A CodeQL database. type: object @@ -90715,9 +91457,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90744,8 +91486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: language in: path description: The language of the CodeQL database. @@ -90757,7 +91499,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *592 examples: default: value: @@ -90789,11 +91531,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &622 + '302': &625 description: Found - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90813,8 +91555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *490 - - *491 + - *493 + - *494 - name: language in: path description: The language of the CodeQL database. @@ -90824,9 +91566,9 @@ paths: responses: '204': description: Response - '403': *576 + '403': *579 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90852,8 +91594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -90862,7 +91604,7 @@ paths: type: object additionalProperties: false properties: - language: &590 + language: &593 type: string description: The language targeted by the CodeQL query enum: @@ -90942,7 +91684,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &594 + schema: &597 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -90952,7 +91694,7 @@ paths: description: The ID of the variant analysis. controller_repo: *117 actor: *4 - query_language: *590 + query_language: *593 query_pack_url: type: string description: The download url for the query pack. @@ -91000,7 +91742,7 @@ paths: items: type: object properties: - repository: &591 + repository: &594 title: Repository Identifier description: Repository Identifier type: object @@ -91042,7 +91784,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &595 + analysis_status: &598 type: string description: The new status of the CodeQL variant analysis repository task. @@ -91074,7 +91816,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &592 + access_mismatch_repos: &595 type: object properties: repository_count: @@ -91089,7 +91831,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *591 + items: *594 required: - repository_count - repositories @@ -91112,8 +91854,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *592 - over_limit_repos: *592 + no_codeql_db_repos: *595 + over_limit_repos: *595 required: - access_mismatch_repos - not_found_repos @@ -91129,7 +91871,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &593 + value: &596 summary: Default response value: id: 1 @@ -91275,17 +92017,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *593 + value: *596 repository_lists: summary: Response for a successful variant analysis submission - value: *593 + value: *596 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91306,8 +92048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *490 - - *491 + - *493 + - *494 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -91319,11 +92061,11 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: *593 + default: *596 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91344,7 +92086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *490 + - *493 - name: repo in: path description: The name of the controller repository. @@ -91379,7 +92121,7 @@ paths: type: object properties: repository: *117 - analysis_status: *595 + analysis_status: *598 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -91483,7 +92225,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91504,8 +92246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -91615,9 +92357,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *572 + '403': *575 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91636,8 +92378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -91706,7 +92448,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -91731,7 +92473,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *576 + '403': *579 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -91745,7 +92487,7 @@ paths: content: application/json: schema: *3 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91802,8 +92544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -91811,7 +92553,7 @@ paths: schema: type: object properties: - commit_sha: *596 + commit_sha: *599 ref: type: string description: |- @@ -91871,7 +92613,7 @@ paths: schema: type: object properties: - id: *587 + id: *590 url: type: string description: The REST API URL for checking the status of the upload. @@ -91885,11 +92627,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *576 + '403': *579 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91908,8 +92650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *490 - - *491 + - *493 + - *494 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -91957,10 +92699,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *572 + '403': *575 '404': description: Not Found if the sarif id does not match any upload - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91982,8 +92724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -92064,8 +92806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -92193,8 +92935,8 @@ paths: parameters: - *17 - *19 - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -92210,7 +92952,7 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: default: value: @@ -92508,8 +93250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -92573,22 +93315,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92612,8 +93354,8 @@ paths: parameters: - *17 - *19 - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -92677,8 +93419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -92715,9 +93457,9 @@ paths: type: integer machines: type: array - items: *598 + items: *601 examples: - default: &856 + default: &859 value: total_count: 2 machines: @@ -92757,8 +93499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -92845,8 +93587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -92894,7 +93636,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92915,8 +93657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -92934,7 +93676,7 @@ paths: type: integer secrets: type: array - items: &602 + items: &605 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -92955,7 +93697,7 @@ paths: - created_at - updated_at examples: - default: *599 + default: *602 headers: Link: *42 x-github: @@ -92978,16 +93720,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: *601 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93007,17 +93749,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93037,9 +93779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -93067,7 +93809,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -93091,9 +93833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -93121,8 +93863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *490 - - *491 + - *493 + - *494 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -93160,7 +93902,7 @@ paths: application/json: schema: type: array - items: &604 + items: &607 title: Collaborator description: Collaborator type: object @@ -93353,8 +94095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '204': @@ -93401,8 +94143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 requestBody: required: false @@ -93429,7 +94171,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &679 + schema: &682 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93441,7 +94183,7 @@ paths: format: int64 examples: - 42 - repository: *280 + repository: *283 invitee: anyOf: - type: 'null' @@ -93617,7 +94359,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *255 + schema: *258 '403': *27 x-github: triggersNotification: true @@ -93657,8 +94399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '204': @@ -93690,8 +94432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *490 - - *491 + - *493 + - *494 - *127 responses: '200': @@ -93712,7 +94454,7 @@ paths: user: anyOf: - type: 'null' - - *604 + - *607 required: - permission - role_name @@ -93766,8 +94508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -93777,7 +94519,7 @@ paths: application/json: schema: type: array - items: &605 + items: &608 title: Commit Comment description: Commit Comment type: object @@ -93818,8 +94560,8 @@ paths: updated_at: type: string format: date-time - author_association: *218 - reactions: *219 + author_association: *221 + reactions: *222 required: - url - html_url @@ -93835,7 +94577,7 @@ paths: - created_at - updated_at examples: - default: &610 + default: &613 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93894,17 +94636,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: &611 + default: &614 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93961,9 +94703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -93985,7 +94727,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -94036,9 +94778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -94059,9 +94801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -94087,7 +94829,7 @@ paths: application/json: schema: type: array - items: &606 + items: &609 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -94131,7 +94873,7 @@ paths: - content - created_at examples: - default: &682 + default: &685 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -94176,9 +94918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -94210,9 +94952,9 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: &607 + default: &610 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -94241,9 +94983,9 @@ paths: description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -94265,10 +95007,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *490 - - *491 - - *235 - - &683 + - *493 + - *494 + - *238 + - &686 name: reaction_id description: The unique identifier of the reaction. in: path @@ -94323,8 +95065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *490 - - *491 + - *493 + - *494 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -94380,9 +95122,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: &750 + default: &753 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -94476,9 +95218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *490 - - *491 - - &609 + - *493 + - *494 + - &612 name: commit_sha description: The SHA of the commit. in: path @@ -94550,9 +95292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 - *17 - *19 responses: @@ -94562,9 +95304,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *610 + default: *613 headers: Link: *42 x-github: @@ -94594,9 +95336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 requestBody: required: true content: @@ -94631,9 +95373,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: *611 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -94661,9 +95403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 - *17 - *19 responses: @@ -94673,9 +95415,9 @@ paths: application/json: schema: type: array - items: *573 + items: *576 examples: - default: &741 + default: &744 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95212,11 +95954,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 - - &612 + - &615 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -95231,9 +95973,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: &727 + default: &730 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -95321,7 +96063,7 @@ paths: schema: type: string examples: - default: &619 + default: &622 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -95334,7 +96076,7 @@ paths: schema: type: string examples: - default: &620 + default: &623 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -95361,7 +96103,7 @@ paths: '422': *15 '404': *6 '500': *35 - '503': *193 + '503': *196 '409': *116 x-github: githubCloudOnly: false @@ -95387,11 +96129,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *490 - - *491 - - *612 - - *613 - - *614 + - *493 + - *494 + - *615 + - *616 + - *617 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -95425,9 +96167,9 @@ paths: type: integer check_runs: type: array - items: *553 + items: *556 examples: - default: *615 + default: *618 headers: Link: *42 x-github: @@ -95452,9 +96194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -95462,7 +96204,7 @@ paths: schema: type: integer example: 1 - - *613 + - *616 - *17 - *19 responses: @@ -95480,7 +96222,7 @@ paths: type: integer check_suites: type: array - items: *557 + items: *560 examples: default: value: @@ -95680,9 +96422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - *17 - *19 responses: @@ -95753,7 +96495,7 @@ paths: type: string total_count: type: integer - repository: *280 + repository: *283 commit_url: type: string format: uri @@ -95884,9 +96626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *490 - - *491 - - *612 + - *493 + - *494 + - *615 - *17 - *19 responses: @@ -95896,7 +96638,7 @@ paths: application/json: schema: type: array - items: &808 + items: &811 title: Status description: The status of a commit. type: object @@ -95977,7 +96719,7 @@ paths: site_admin: false headers: Link: *42 - '301': *496 + '301': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96005,8 +96747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -96039,11 +96781,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *616 + - *619 code_of_conduct_file: anyOf: - type: 'null' - - &617 + - &620 title: Community Health File type: object properties: @@ -96059,23 +96801,23 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 contributing: anyOf: - type: 'null' - - *617 + - *620 readme: anyOf: - type: 'null' - - *617 + - *620 issue_template: anyOf: - type: 'null' - - *617 + - *620 pull_request_template: anyOf: - type: 'null' - - *617 + - *620 required: - code_of_conduct - code_of_conduct_file @@ -96204,8 +96946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 - name: basehead @@ -96253,8 +96995,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *608 - merge_base_commit: *608 + base_commit: *611 + merge_base_commit: *611 status: type: string enum: @@ -96278,10 +97020,10 @@ paths: - 6 commits: type: array - items: *608 + items: *611 files: type: array - items: *618 + items: *621 required: - url - html_url @@ -96527,15 +97269,15 @@ paths: schema: type: string examples: - default: *619 + default: *622 application/vnd.github.patch: schema: type: string examples: - default: *620 + default: *623 '404': *6 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96577,8 +97319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -96748,7 +97490,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &621 + response-if-content-is-a-file-github-object: &624 summary: Response if content is a file value: type: file @@ -96885,7 +97627,7 @@ paths: - size - type - url - - &756 + - &759 title: Content File description: Content File type: object @@ -97103,7 +97845,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *621 + response-if-content-is-a-file: *624 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -97172,7 +97914,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *622 + '302': *625 '304': *32 x-github: githubCloudOnly: false @@ -97225,8 +97967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -97321,7 +98063,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &626 title: File Commit description: File Commit type: object @@ -97477,7 +98219,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: example-for-creating-a-file: value: @@ -97531,7 +98273,7 @@ paths: schema: oneOf: - *3 - - &661 + - &664 description: Repository rule violation was detected type: object properties: @@ -97552,7 +98294,7 @@ paths: items: type: object properties: - placeholder_id: &798 + placeholder_id: &801 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -97584,8 +98326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *490 - - *491 + - *493 + - *494 - name: path description: path parameter in: path @@ -97646,7 +98388,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: default: value: @@ -97681,7 +98423,7 @@ paths: '422': *15 '404': *6 '409': *116 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97701,8 +98443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *490 - - *491 + - *493 + - *494 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -97832,8 +98574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -97985,25 +98727,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *490 - - *491 - - *340 - - *341 - - *342 + - *493 + - *494 - *343 - *344 + - *345 + - *346 + - *347 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *345 - - *624 - - *346 - - *347 - *348 + - *627 - *349 + - *350 + - *351 + - *352 - *107 - *105 - *106 @@ -98015,11 +98757,11 @@ paths: application/json: schema: type: array - items: &628 + items: &631 type: object description: A Dependabot alert. properties: - number: *128 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -98034,7 +98776,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *129 + package: *132 manifest_path: type: string description: The full path to the dependency manifest file, @@ -98066,13 +98808,13 @@ paths: - transitive - inconclusive - - security_advisory: *625 - security_vulnerability: *132 - url: *133 - html_url: *134 - created_at: *135 - updated_at: *136 - dismissed_at: *137 + security_advisory: *628 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: anyOf: - type: 'null' @@ -98096,9 +98838,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *138 - auto_dismissed_at: *626 - dismissal_request: *627 + fixed_at: *141 + auto_dismissed_at: *629 + dismissal_request: *630 assignees: type: array description: The users assigned to this alert. @@ -98355,9 +99097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *490 - - *491 - - &629 + - *493 + - *494 + - &632 name: alert_number in: path description: |- @@ -98366,13 +99108,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *128 + schema: *131 responses: '200': description: Response content: application/json: - schema: *628 + schema: *631 examples: default: value: @@ -98506,9 +99248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *490 - - *491 - - *629 + - *493 + - *494 + - *632 requestBody: required: true content: @@ -98581,7 +99323,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *631 examples: default: value: @@ -98713,8 +99455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -98732,7 +99474,7 @@ paths: type: integer secrets: type: array - items: &632 + items: &635 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -98786,16 +99528,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98815,15 +99557,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '200': description: Response content: application/json: - schema: *632 + schema: *635 examples: default: value: @@ -98849,9 +99591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 requestBody: required: true content: @@ -98879,7 +99621,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -98903,9 +99645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *490 - - *491 - - *290 + - *493 + - *494 + - *293 responses: '204': description: Response @@ -98927,8 +99669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *490 - - *491 + - *493 + - *494 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -99088,7 +99830,7 @@ paths: schema: *3 '400': *14 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false category: dependency-graph @@ -99108,8 +99850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -99371,8 +100113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: sbom_uuid in: path required: true @@ -99383,7 +100125,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *633 + Location: *636 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -99404,8 +100146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -99443,8 +100185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -99527,7 +100269,7 @@ paths: - version - url additionalProperties: false - metadata: &634 + metadata: &637 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -99566,7 +100308,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *634 + metadata: *637 resolved: type: object description: A collection of resolved package dependencies. @@ -99580,7 +100322,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *634 + metadata: *637 relationship: type: string description: A notation of whether a dependency is requested @@ -99713,8 +100455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *490 - - *491 + - *493 + - *494 - name: sha description: The SHA recorded at creation time. in: query @@ -99755,9 +100497,9 @@ paths: application/json: schema: type: array - items: *635 + items: *638 examples: - default: *636 + default: *639 headers: Link: *42 x-github: @@ -99823,8 +100565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -99906,7 +100648,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: simple-example: summary: Simple example @@ -99979,9 +100721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *490 - - *491 - - &637 + - *493 + - *494 + - &640 name: deployment_id description: deployment_id parameter in: path @@ -99993,7 +100735,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: default: value: @@ -100058,9 +100800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 responses: '204': description: Response @@ -100082,9 +100824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 - *17 - *19 responses: @@ -100094,7 +100836,7 @@ paths: application/json: schema: type: array - items: &638 + items: &641 title: Deployment Status description: The status of a deployment. type: object @@ -100258,9 +101000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 requestBody: required: true content: @@ -100335,9 +101077,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *641 examples: - default: &639 + default: &642 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -100393,9 +101135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *490 - - *491 - - *637 + - *493 + - *494 + - *640 - name: status_id in: path required: true @@ -100406,9 +101148,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *641 examples: - default: *639 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -100435,12 +101177,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 - - *640 - - *641 - - *642 + - *493 + - *494 - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -100450,9 +101192,9 @@ paths: application/json: schema: type: array - items: *644 + items: *647 examples: - default: *645 + default: *648 '404': *6 '403': *27 '500': *35 @@ -100476,8 +101218,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100489,7 +101231,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *644 + schema: *647 examples: default: value: @@ -100545,8 +101287,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100605,12 +101347,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 - - *640 - - *641 - - *642 + - *493 + - *494 - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -100620,9 +101362,9 @@ paths: application/json: schema: type: array - items: *646 + items: *649 examples: - default: *647 + default: *650 '404': *6 '403': *27 '500': *35 @@ -100646,8 +101388,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100659,7 +101401,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *646 + schema: *649 examples: default: value: @@ -100710,8 +101452,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100750,7 +101492,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *646 + schema: *649 examples: default: value: @@ -100801,8 +101543,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100873,8 +101615,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100907,12 +101649,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - *100 - *101 - *102 - - *355 + - *358 - *17 - *19 responses: @@ -100922,9 +101664,9 @@ paths: application/json: schema: type: array - items: *357 + items: *360 examples: - default: *358 + default: *361 '404': *6 '403': *27 '500': *35 @@ -100949,8 +101691,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -100962,7 +101704,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *357 + schema: *360 examples: default: value: @@ -101020,8 +101762,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: alert_number in: path required: true @@ -101090,8 +101832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -101148,8 +101890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -101167,7 +101909,7 @@ paths: - 5 environments: type: array - items: &649 + items: &652 title: Environment description: Details of a deployment environment type: object @@ -101229,7 +101971,7 @@ paths: type: string examples: - wait_timer - wait_timer: &651 + wait_timer: &654 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -101271,11 +102013,11 @@ paths: items: type: object properties: - type: *648 + type: *651 reviewer: anyOf: - *4 - - *313 + - *316 required: - id - node_id @@ -101298,7 +102040,7 @@ paths: - id - node_id - type - deployment_branch_policy: &652 + deployment_branch_policy: &655 type: - object - 'null' @@ -101415,9 +102157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *490 - - *491 - - &650 + - *493 + - *494 + - &653 name: environment_name in: path required: true @@ -101430,9 +102172,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: - default: &653 + default: &656 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -101516,9 +102258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: false content: @@ -101528,7 +102270,7 @@ paths: - object - 'null' properties: - wait_timer: *651 + wait_timer: *654 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -101547,14 +102289,14 @@ paths: items: type: object properties: - type: *648 + type: *651 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *652 + deployment_branch_policy: *655 additionalProperties: false examples: default: @@ -101574,9 +102316,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: - default: *653 + default: *656 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -101600,9 +102342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 responses: '204': description: Default response @@ -101627,9 +102369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 - *17 - *19 responses: @@ -101648,7 +102390,7 @@ paths: - 2 branch_policies: type: array - items: &654 + items: &657 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -101709,9 +102451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: true content: @@ -101759,9 +102501,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - example-wildcard: &655 + example-wildcard: &658 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -101803,10 +102545,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - &656 + - *493 + - *494 + - *653 + - &659 name: branch_policy_id in: path required: true @@ -101818,9 +102560,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101839,10 +102581,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - *656 + - *493 + - *494 + - *653 + - *659 requestBody: required: true content: @@ -101871,9 +102613,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101892,10 +102634,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *490 - - *491 - - *650 - - *656 + - *493 + - *494 + - *653 + - *659 responses: '204': description: Response @@ -101920,9 +102662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 responses: '200': description: List of deployment protection rules @@ -101939,7 +102681,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &657 + items: &660 title: Deployment protection rule description: Deployment protection rule type: object @@ -101961,7 +102703,7 @@ paths: for the environment. examples: - true - app: &658 + app: &661 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -102064,9 +102806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 requestBody: content: application/json: @@ -102087,9 +102829,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *657 + schema: *660 examples: - default: &659 + default: &662 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -102124,9 +102866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *650 - - *491 - - *490 + - *653 + - *494 + - *493 - *19 - *17 responses: @@ -102146,7 +102888,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *658 + items: *661 examples: default: value: @@ -102181,10 +102923,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *490 - - *491 - - *650 - - &660 + - *493 + - *494 + - *653 + - &663 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -102196,9 +102938,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *660 examples: - default: *659 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102219,10 +102961,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *650 - - *491 - - *490 - - *660 + - *653 + - *494 + - *493 + - *663 responses: '204': description: Response @@ -102248,9 +102990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 - *17 - *19 responses: @@ -102268,9 +103010,9 @@ paths: type: integer secrets: type: array - items: *520 + items: *523 examples: - default: *521 + default: *524 headers: Link: *42 x-github: @@ -102295,17 +103037,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 responses: '200': description: Response content: application/json: - schema: *296 + schema: *299 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102327,18 +103069,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102360,10 +103102,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 requestBody: required: true content: @@ -102394,7 +103136,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -102420,10 +103162,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *490 - - *491 - - *650 - - *290 + - *493 + - *494 + - *653 + - *293 responses: '204': description: Default response @@ -102448,10 +103190,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *490 - - *491 - - *650 - - *299 + - *493 + - *494 + - *653 + - *302 - *19 responses: '200': @@ -102468,9 +103210,9 @@ paths: type: integer variables: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *42 x-github: @@ -102493,9 +103235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *490 - - *491 - - *650 + - *493 + - *494 + - *653 requestBody: required: true content: @@ -102522,7 +103264,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -102547,18 +103289,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *490 - - *491 - - *650 - - *293 + - *493 + - *494 + - *653 + - *296 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: *535 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102579,10 +103321,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *490 - - *491 - - *293 - - *650 + - *493 + - *494 + - *296 + - *653 requestBody: required: true content: @@ -102624,10 +103366,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *490 - - *491 - - *293 - - *650 + - *493 + - *494 + - *296 + - *653 responses: '204': description: Response @@ -102649,8 +103391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -102660,7 +103402,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: 200-response: value: @@ -102718,8 +103460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *490 - - *491 + - *493 + - *494 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -102741,7 +103483,7 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: default: value: @@ -102878,8 +103620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -102912,9 +103654,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 '400': *14 '422': *15 '403': *27 @@ -102935,8 +103677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -102995,8 +103737,8 @@ paths: application/json: schema: oneOf: - - *255 - - *661 + - *258 + - *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103021,8 +103763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *490 - - *491 + - *493 + - *494 - name: file_sha in: path required: true @@ -103122,8 +103864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -103232,7 +103974,7 @@ paths: description: Response content: application/json: - schema: &662 + schema: &665 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -103459,15 +104201,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *490 - - *491 - - *609 + - *493 + - *494 + - *612 responses: '200': description: Response content: application/json: - schema: *662 + schema: *665 examples: default: value: @@ -103523,9 +104265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *490 - - *491 - - &663 + - *493 + - *494 + - &666 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -103542,7 +104284,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 title: Git Reference description: Git references within a repository type: object @@ -103618,17 +104360,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 responses: '200': description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: &665 + default: &668 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -103657,8 +104399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -103687,9 +104429,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -103715,9 +104457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 requestBody: required: true content: @@ -103746,9 +104488,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 '422': *15 '409': *116 x-github: @@ -103766,9 +104508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *490 - - *491 - - *663 + - *493 + - *494 + - *666 responses: '204': description: Response @@ -103823,8 +104565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -103891,7 +104633,7 @@ paths: description: Response content: application/json: - schema: &667 + schema: &670 title: Git Tag description: Metadata for a Git tag type: object @@ -103947,7 +104689,7 @@ paths: - sha - type - url - verification: *666 + verification: *669 required: - sha - url @@ -103957,7 +104699,7 @@ paths: - tag - message examples: - default: &668 + default: &671 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -104030,8 +104772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *490 - - *491 + - *493 + - *494 - name: tag_sha in: path required: true @@ -104042,9 +104784,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *668 + default: *671 '404': *6 '409': *116 x-github: @@ -104068,8 +104810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -104143,7 +104885,7 @@ paths: description: Response content: application/json: - schema: &669 + schema: &672 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -104245,8 +104987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *490 - - *491 + - *493 + - *494 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -104269,7 +105011,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: default-response: summary: Default response @@ -104327,8 +105069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -104372,8 +105114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -104383,7 +105125,7 @@ paths: application/json: schema: type: array - items: &670 + items: &673 title: Webhook description: Webhooks for repositories. type: object @@ -104446,7 +105188,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &948 + last_response: &951 title: Hook Response type: object properties: @@ -104523,8 +105265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -104577,9 +105319,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: &671 + default: &674 value: type: Repository id: 12345678 @@ -104627,17 +105369,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '200': description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: *671 + default: *674 '404': *6 x-github: githubCloudOnly: false @@ -104657,9 +105399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 requestBody: required: true content: @@ -104704,9 +105446,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *673 examples: - default: *671 + default: *674 '422': *15 '404': *6 x-github: @@ -104727,9 +105469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -104753,9 +105495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '200': description: Response @@ -104782,9 +105524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 requestBody: required: false content: @@ -104828,12 +105570,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *17 - - *362 - - *363 + - *365 + - *366 responses: '200': description: Response @@ -104841,9 +105583,9 @@ paths: application/json: schema: type: array - items: *364 + items: *367 examples: - default: *365 + default: *368 '400': *14 '422': *15 x-github: @@ -104862,18 +105604,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '400': *14 '422': *15 x-github: @@ -104892,9 +105634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 - *16 responses: '202': *34 @@ -104917,9 +105659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -104944,9 +105686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *490 - - *491 - - *361 + - *493 + - *494 + - *364 responses: '204': description: Response @@ -104969,8 +105711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response if immutable releases are enabled @@ -105018,8 +105760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '409': *116 @@ -105039,8 +105781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '409': *116 @@ -105097,14 +105839,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &672 + schema: &675 title: Import description: A repository import from an external source. type: object @@ -105211,7 +105953,7 @@ paths: - html_url - authors_url examples: - default: &675 + default: &678 value: vcs: subversion use_lfs: true @@ -105227,7 +105969,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &673 + '503': &676 description: Unavailable due to service under maintenance. content: application/json: @@ -105256,8 +105998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -105305,7 +106047,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: default: value: @@ -105330,7 +106072,7 @@ paths: type: string '422': *15 '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105358,8 +106100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -105411,7 +106153,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: example-1: summary: Example 1 @@ -105459,7 +106201,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105482,12 +106224,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105513,9 +106255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *490 - - *491 - - &878 + - *493 + - *494 + - &881 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -105529,7 +106271,7 @@ paths: application/json: schema: type: array - items: &674 + items: &677 title: Porter Author description: Porter Author type: object @@ -105583,7 +106325,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105608,8 +106350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *490 - - *491 + - *493 + - *494 - name: author_id in: path required: true @@ -105639,7 +106381,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: default: value: @@ -105652,7 +106394,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105676,8 +106418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105718,7 +106460,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105746,8 +106488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -105774,11 +106516,11 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: - default: *675 + default: *678 '422': *15 - '503': *673 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105801,8 +106543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105810,8 +106552,8 @@ paths: application/json: schema: *20 examples: - default: *379 - '301': *496 + default: *382 + '301': *499 '404': *6 x-github: githubCloudOnly: false @@ -105831,8 +106573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105840,12 +106582,12 @@ paths: application/json: schema: anyOf: - - *381 + - *384 - type: object properties: {} additionalProperties: false examples: - default: &677 + default: &680 value: limit: collaborators_only origin: repository @@ -105870,13 +106612,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *676 + schema: *679 examples: default: summary: Example request body @@ -105888,9 +106630,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: - default: *677 + default: *680 '409': description: Response x-github: @@ -105912,8 +106654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -105940,8 +106682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -105995,13 +106737,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: &678 + schema: &681 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -106051,13 +106793,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *678 + schema: *681 examples: default: summary: Example request body @@ -106090,8 +106832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -106144,8 +106886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -106221,8 +106963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -106232,9 +106974,9 @@ paths: application/json: schema: type: array - items: *679 + items: *682 examples: - default: &871 + default: &874 value: - id: 1 repository: @@ -106365,9 +107107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *490 - - *491 - - *385 + - *493 + - *494 + - *388 requestBody: required: false content: @@ -106396,7 +107138,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *682 examples: default: value: @@ -106527,9 +107269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *490 - - *491 - - *385 + - *493 + - *494 + - *388 responses: '204': description: Response @@ -106552,8 +107294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -106561,9 +107303,9 @@ paths: application/json: schema: type: array - items: *389 + items: *392 examples: - default: *680 + default: *683 '404': *6 x-github: githubCloudOnly: false @@ -106592,8 +107334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *490 - - *491 + - *493 + - *494 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -106655,7 +107397,7 @@ paths: required: false schema: type: string - - *392 + - *395 - name: sort description: What to sort results by. in: query @@ -106668,7 +107410,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -106678,9 +107420,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: &690 + default: &693 value: - id: 1 node_id: MDU6SXNzdWUx @@ -106829,7 +107571,7 @@ paths: state_reason: completed headers: Link: *42 - '301': *496 + '301': *499 '422': *15 '404': *6 x-github: @@ -106858,8 +107600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -106980,9 +107722,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: &687 + default: &690 value: id: 1 node_id: MDU6SXNzdWUx @@ -107143,7 +107885,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *193 + '503': *196 '404': *6 '410': *30 x-github: @@ -107183,9 +107925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *490 - - *491 - - *243 + - *493 + - *494 + - *246 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -107195,7 +107937,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -107205,9 +107947,9 @@ paths: application/json: schema: type: array - items: *222 + items: *225 examples: - default: &689 + default: &692 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -107266,17 +108008,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: &681 + default: &684 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -107332,9 +108074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -107356,9 +108098,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: *681 + default: *684 '422': *15 x-github: githubCloudOnly: false @@ -107376,9 +108118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -107406,15 +108148,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *222 + schema: *225 examples: default: value: @@ -107487,9 +108229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -107497,7 +108239,7 @@ paths: '403': *27 '404': *6 '410': *30 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107514,9 +108256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -107542,9 +108284,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -107565,9 +108307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -107599,16 +108341,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -107630,10 +108372,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *490 - - *491 - - *235 - - *683 + - *493 + - *494 + - *238 + - *686 responses: '204': description: Response @@ -107653,8 +108395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -107664,7 +108406,7 @@ paths: application/json: schema: type: array - items: &686 + items: &689 title: Issue Event description: Issue Event type: object @@ -107711,7 +108453,7 @@ paths: issue: anyOf: - type: 'null' - - *221 + - *224 label: title: Issue Event Label description: Issue Event Label @@ -107744,7 +108486,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *313 + requested_team: *316 dismissed_review: title: Issue Event Dismissed Review type: object @@ -107811,7 +108553,7 @@ paths: required: - from - to - issue_type: &684 + issue_type: &687 title: Issue Type description: The type of issue. type: @@ -107842,11 +108584,11 @@ paths: required: - id - name - prev_issue_type: *684 + prev_issue_type: *687 sub_issue: anyOf: - type: 'null' - - &685 + - &688 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -107904,19 +108646,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 blocked_by: anyOf: - type: 'null' - - *685 + - *688 blocking: anyOf: - type: 'null' - - *685 + - *688 intent: anyOf: - type: 'null' - - &691 + - &694 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -107945,7 +108687,7 @@ paths: - MEDIUM - HIGH - - author_association: *218 + author_association: *221 lock_reason: type: - string @@ -108138,8 +108880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *490 - - *491 + - *493 + - *494 - name: event_id in: path required: true @@ -108150,7 +108892,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *689 examples: default: value: @@ -108377,9 +109119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *490 - - *491 - - &688 + - *493 + - *494 + - &691 name: issue_number description: The number that identifies the issue. in: path @@ -108391,11 +109133,11 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: default: summary: Issue - value: *687 + value: *690 pinned_comment: summary: Issue with pinned comment value: @@ -108600,7 +109342,7 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *496 + '301': *499 '404': *6 '410': *30 '304': *32 @@ -108627,9 +109369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -108855,7 +109597,7 @@ paths: application/json: schema: allOf: - - *221 + - *224 - type: object properties: suggestions: @@ -109000,11 +109742,11 @@ paths: - already_applied - issue_already_closed examples: - default: *687 + default: *690 '422': *15 - '503': *193 + '503': *196 '403': *27 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -109034,9 +109776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -109084,9 +109826,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109102,9 +109844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: content: application/json: @@ -109129,9 +109871,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109153,9 +109895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: assignee in: path required: true @@ -109195,10 +109937,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *490 - - *491 - - *688 - - *226 + - *493 + - *494 + - *691 + - *229 - *17 - *19 responses: @@ -109208,9 +109950,9 @@ paths: application/json: schema: type: array - items: *222 + items: *225 examples: - default: *689 + default: *692 headers: Link: *42 '404': *6 @@ -109243,9 +109985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -109267,9 +110009,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *225 examples: - default: *681 + default: *684 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -109304,9 +110046,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -109316,12 +110058,12 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -109351,9 +110093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -109375,15 +110117,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *496 + '301': *499 '403': *27 '410': *30 '422': *15 @@ -109416,9 +110158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -109430,10 +110172,10 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 - '301': *496 + default: *690 + '301': *499 '400': *14 '401': *23 '403': *27 @@ -109464,9 +110206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -109476,12 +110218,12 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -109500,9 +110242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -109516,7 +110258,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &697 + - &700 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -109557,7 +110299,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - label - id @@ -109569,7 +110311,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &698 + - &701 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -109610,7 +110352,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - label - id @@ -109651,7 +110393,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -109705,7 +110447,7 @@ paths: - performed_via_github_app - assignee - assigner - - &699 + - &702 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -109751,7 +110493,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &700 + - &703 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -109797,7 +110539,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &704 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -109846,7 +110588,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &705 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -109875,7 +110617,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *313 + requested_team: *316 requested_reviewer: *4 required: - review_requester @@ -109888,7 +110630,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &706 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -109917,7 +110659,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *313 + requested_team: *316 requested_reviewer: *4 required: - review_requester @@ -109930,7 +110672,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &707 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -109986,7 +110728,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &708 title: Locked Issue Event description: Locked Issue Event type: object @@ -110031,7 +110773,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &709 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -110092,7 +110834,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &710 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -110153,7 +110895,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &711 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -110214,7 +110956,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &712 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -110272,7 +111014,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &715 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -110300,11 +111042,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *684 + issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - issue_type - id @@ -110316,7 +111058,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &713 + - &716 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -110344,11 +111086,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *684 + prev_issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - prev_issue_type - id @@ -110360,7 +111102,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &714 + - &717 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -110388,12 +111130,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *684 - prev_issue_type: *684 + issue_type: *687 + prev_issue_type: *687 intent: anyOf: - type: 'null' - - *691 + - *694 required: - issue_type - prev_issue_type @@ -110406,7 +111148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &715 + - &718 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -110437,7 +111179,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *685 + - *688 required: - sub_issue - id @@ -110449,7 +111191,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &716 + - &719 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -110480,7 +111222,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *685 + - *688 required: - sub_issue - id @@ -110492,7 +111234,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &717 + - &720 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -110523,7 +111265,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 required: - parent_issue - id @@ -110535,7 +111277,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &718 + - &721 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -110566,7 +111308,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *685 + - *688 required: - parent_issue - id @@ -110578,7 +111320,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &719 + - &722 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -110609,7 +111351,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *685 + - *688 required: - blocked_by - id @@ -110621,7 +111363,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &720 + - &723 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -110652,7 +111394,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *685 + - *688 required: - blocked_by - id @@ -110664,7 +111406,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &721 + - &724 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -110695,7 +111437,7 @@ paths: blocking: anyOf: - type: 'null' - - *685 + - *688 required: - blocking - id @@ -110707,7 +111449,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &722 + - &725 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -110738,7 +111480,7 @@ paths: blocking: anyOf: - type: 'null' - - *685 + - *688 required: - blocking - id @@ -110802,9 +111544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -110814,9 +111556,9 @@ paths: application/json: schema: type: array - items: *692 + items: *695 examples: - default: &693 + default: &696 value: - issue_field_id: 1 issue_field_name: DRI @@ -110856,7 +111598,7 @@ paths: color: green headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -110887,9 +111629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -110961,14 +111703,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *692 + items: *695 examples: - default: *693 + default: *696 '400': *14 '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -110999,9 +111741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -111068,14 +111810,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *692 + items: *695 examples: - default: *693 + default: *696 '400': *14 '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -111101,17 +111843,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *490 - - *491 - - *688 - - *388 + - *493 + - *494 + - *691 + - *391 responses: '204': description: Issue field value deleted successfully '403': *27 '404': *6 '422': *15 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -111129,9 +111871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -111141,9 +111883,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: &694 + default: &697 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -111183,7 +111925,7 @@ paths: site_admin: false headers: Link: *42 - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -111201,9 +111943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -111281,10 +112023,10 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 - '301': *496 + default: *697 + '301': *499 '404': *6 '410': *30 '422': *15 @@ -111303,9 +112045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -111365,10 +112107,10 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 - '301': *496 + default: *697 + '301': *499 '404': *6 '410': *30 '422': *15 @@ -111387,13 +112129,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '204': description: Response - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -111414,9 +112156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: name in: path required: true @@ -111429,7 +112171,7 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: default: value: @@ -111442,7 +112184,7 @@ paths: default: true archived_at: archived_by: - '301': *496 + '301': *499 '404': *6 '410': *30 x-github: @@ -111464,9 +112206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: false content: @@ -111513,9 +112255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '204': description: Response @@ -111545,18 +112287,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 responses: '200': description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 - '301': *496 + default: *690 + '301': *499 '404': *6 '410': *30 x-github: @@ -111575,9 +112317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -111603,9 +112345,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -111627,9 +112369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -111661,16 +112403,16 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Response content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -111692,10 +112434,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *490 - - *491 - - *688 - - *683 + - *493 + - *494 + - *691 + - *686 responses: '204': description: Response @@ -111724,9 +112466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -111748,9 +112490,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -111784,9 +112526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 responses: @@ -111796,9 +112538,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *690 + default: *693 headers: Link: *42 '404': *6 @@ -111830,9 +112572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -111859,9 +112601,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -111888,9 +112630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 requestBody: required: true content: @@ -111921,13 +112663,13 @@ paths: description: Response content: application/json: - schema: *221 + schema: *224 examples: - default: *687 + default: *690 '403': *27 '404': *6 '422': *7 - '503': *193 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -111952,9 +112694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: state in: query required: false @@ -111991,7 +112733,7 @@ paths: application/json: schema: type: array - items: &695 + items: &698 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -112155,9 +112897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: suggestion_id in: path required: true @@ -112169,9 +112911,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: - default: &696 + default: &699 value: id: 12 issue_id: 4567 @@ -112209,9 +112951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - name: suggestion_id in: path required: true @@ -112223,9 +112965,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: - default: *696 + default: *699 '403': *27 '404': *6 '422': *15 @@ -112245,9 +112987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *490 - - *491 - - *688 + - *493 + - *494 + - *691 - *17 - *19 - name: exclude @@ -112268,9 +113010,6 @@ paths: description: Timeline Event type: object anyOf: - - *697 - - *698 - - *699 - *700 - *701 - *702 @@ -112281,6 +113020,9 @@ paths: - *707 - *708 - *709 + - *710 + - *711 + - *712 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -112328,20 +113070,20 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *221 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *222 pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 required: - event - actor @@ -112372,7 +113114,7 @@ paths: properties: type: type: string - issue: *221 + issue: *224 required: - event - created_at @@ -112594,7 +113336,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *221 required: - event - id @@ -112617,7 +113359,7 @@ paths: type: string comments: type: array - items: &744 + items: &747 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -112725,7 +113467,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *221 _links: type: object properties: @@ -112820,7 +113562,7 @@ paths: enum: - line - file - reactions: *219 + reactions: *222 body_html: type: string examples: @@ -112858,7 +113600,7 @@ paths: type: string comments: type: array - items: *605 + items: *608 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -112890,7 +113632,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -112975,7 +113717,7 @@ paths: intent: anyOf: - type: 'null' - - *691 + - *694 required: - id - node_id @@ -112986,9 +113728,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *712 - - *713 - - *714 - *715 - *716 - *717 @@ -112997,6 +113736,9 @@ paths: - *720 - *721 - *722 + - *723 + - *724 + - *725 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -113244,8 +113986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -113255,7 +113997,7 @@ paths: application/json: schema: type: array - items: &723 + items: &726 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -113323,8 +114065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -113360,9 +114102,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: &724 + default: &727 value: id: 1 key: ssh-rsa AAA... @@ -113396,9 +114138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *490 - - *491 - - &725 + - *493 + - *494 + - &728 name: key_id description: The unique identifier of the key. in: path @@ -113410,9 +114152,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: *724 + default: *727 '404': *6 x-github: githubCloudOnly: false @@ -113430,9 +114172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *490 - - *491 - - *725 + - *493 + - *494 + - *728 responses: '204': description: Response @@ -113452,8 +114194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -113463,9 +114205,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 + default: *697 headers: Link: *42 '404': *6 @@ -113486,8 +114228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -113523,9 +114265,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: - default: &726 + default: &729 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -113559,8 +114301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -113571,9 +114313,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: - default: *726 + default: *729 '404': *6 x-github: githubCloudOnly: false @@ -113590,8 +114332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -113635,7 +114377,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *223 examples: default: value: @@ -113663,8 +114405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *490 - - *491 + - *493 + - *494 - name: name in: path required: true @@ -113690,8 +114432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -113727,8 +114469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '202': *34 '403': @@ -113756,8 +114498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -113783,9 +114525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *490 - - *491 - - *580 + - *493 + - *494 + - *583 responses: '200': description: Response @@ -113851,7 +114593,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 required: - _links - git_url @@ -113932,8 +114674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -113998,8 +114740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114033,9 +114775,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *608 + schema: *611 examples: - default: *727 + default: *730 '204': description: Response when already merged '404': @@ -114060,8 +114802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *490 - - *491 + - *493 + - *494 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -114102,7 +114844,7 @@ paths: application/json: schema: type: array - items: *423 + items: *426 examples: default: value: @@ -114158,8 +114900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114199,9 +114941,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: &728 + default: &731 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -114260,9 +115002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *490 - - *491 - - &729 + - *493 + - *494 + - &732 name: milestone_number description: The number that identifies the milestone. in: path @@ -114274,9 +115016,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: *728 + default: *731 '404': *6 x-github: githubCloudOnly: false @@ -114293,9 +115035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 requestBody: required: false content: @@ -114333,9 +115075,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: - default: *728 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114351,9 +115093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 responses: '204': description: Response @@ -114374,9 +115116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *490 - - *491 - - *729 + - *493 + - *494 + - *732 - *17 - *19 responses: @@ -114386,9 +115128,9 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: - default: *694 + default: *697 headers: Link: *42 x-github: @@ -114407,12 +115149,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *490 - - *491 - - *730 - - *731 - - *226 - - *732 + - *493 + - *494 + - *733 + - *734 + - *229 + - *735 - *17 - *19 responses: @@ -114422,9 +115164,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: *733 + default: *736 headers: Link: *42 x-github: @@ -114448,8 +115190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -114507,14 +115249,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &734 + schema: &737 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -114658,7 +115400,7 @@ paths: - custom_404 - public examples: - default: &735 + default: &738 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -114699,8 +115441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114755,9 +115497,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *737 examples: - default: *735 + default: *738 '422': *15 '409': *116 x-github: @@ -114780,8 +115522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -114889,8 +115631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -114916,8 +115658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -114927,7 +115669,7 @@ paths: application/json: schema: type: array - items: &736 + items: &739 title: Page Build description: Page Build type: object @@ -115019,8 +115761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *490 - - *491 + - *493 + - *494 responses: '201': description: Response @@ -115067,16 +115809,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *736 + schema: *739 examples: - default: &737 + default: &740 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -115124,8 +115866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *490 - - *491 + - *493 + - *494 - name: build_id in: path required: true @@ -115136,9 +115878,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *739 examples: - default: *737 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115158,8 +115900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -115267,9 +116009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *490 - - *491 - - &738 + - *493 + - *494 + - &741 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -115327,9 +116069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *490 - - *491 - - *738 + - *493 + - *494 + - *741 responses: '204': *121 '404': *6 @@ -115356,8 +116098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -115625,7 +116367,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -115652,8 +116394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Private vulnerability reporting status @@ -115690,8 +116432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '422': *14 @@ -115712,8 +116454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': *121 '422': *14 @@ -115735,8 +116477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -115744,9 +116486,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *739 + default: *742 '403': *27 '404': *6 x-github: @@ -115768,8 +116510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -115781,11 +116523,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *153 + items: *156 required: - properties examples: - default: *740 + default: *743 responses: '204': description: No Content when custom property values are successfully created @@ -115823,8 +116565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *490 - - *491 + - *493 + - *494 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -115884,9 +116626,9 @@ paths: application/json: schema: type: array - items: *573 + items: *576 examples: - default: *741 + default: *744 headers: Link: *42 '304': *32 @@ -115918,8 +116660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -115986,7 +116728,7 @@ paths: description: Response content: application/json: - schema: &746 + schema: &749 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -116124,7 +116866,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 active_lock_reason: type: - string @@ -116173,7 +116915,7 @@ paths: items: *4 requested_teams: type: array - items: *402 + items: *405 head: type: object properties: @@ -116211,14 +116953,14 @@ paths: _links: type: object properties: - comments: *424 - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + comments: *427 + commits: *427 + statuses: *427 + html: *427 + issue: *427 + review_comments: *427 + review_comment: *427 + self: *427 required: - comments - commits @@ -116228,9 +116970,9 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: *742 - stack: *743 + author_association: *221 + auto_merge: *745 + stack: *746 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -116426,7 +117168,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &747 + default: &750 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -116964,8 +117706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *490 - - *491 + - *493 + - *494 - name: sort in: query required: false @@ -116984,7 +117726,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -116994,9 +117736,9 @@ paths: application/json: schema: type: array - items: *744 + items: *747 examples: - default: &749 + default: &752 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -117073,17 +117815,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '200': description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: &745 + default: &748 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -117158,9 +117900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -117182,9 +117924,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: *745 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117200,9 +117942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 responses: '204': description: Response @@ -117223,9 +117965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -117251,9 +117993,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -117274,9 +118016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *490 - - *491 - - *235 + - *493 + - *494 + - *238 requestBody: required: true content: @@ -117308,16 +118050,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -117339,10 +118081,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *490 - - *491 - - *235 - - *683 + - *493 + - *494 + - *238 + - *686 responses: '204': description: Response @@ -117385,9 +118127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *490 - - *491 - - &748 + - *493 + - *494 + - &751 name: pull_number description: The number that identifies the pull request. in: path @@ -117400,9 +118142,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *746 + schema: *749 examples: - default: *747 + default: *750 '304': *32 '404': *6 '406': @@ -117411,7 +118153,7 @@ paths: application/json: schema: *3 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117437,9 +118179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -117481,9 +118223,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *749 examples: - default: *747 + default: *750 '422': *15 '403': *27 x-github: @@ -117505,9 +118247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -117568,21 +118310,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117608,10 +118350,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *490 - - *491 - - *748 - - *243 + - *493 + - *494 + - *751 + - *246 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -117621,7 +118363,7 @@ paths: enum: - asc - desc - - *226 + - *229 - *17 - *19 responses: @@ -117631,9 +118373,9 @@ paths: application/json: schema: type: array - items: *744 + items: *747 examples: - default: *749 + default: *752 headers: Link: *42 x-github: @@ -117666,9 +118408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -117774,7 +118516,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: example-for-a-multi-line-comment: value: @@ -117862,10 +118604,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *490 - - *491 - - *748 - - *235 + - *493 + - *494 + - *751 + - *238 requestBody: required: true content: @@ -117887,7 +118629,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: default: value: @@ -117973,9 +118715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -117985,9 +118727,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: *750 + default: *753 headers: Link: *42 x-github: @@ -118017,9 +118759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -118029,7 +118771,7 @@ paths: application/json: schema: type: array - items: *618 + items: *621 examples: default: value: @@ -118048,7 +118790,7 @@ paths: Link: *42 '422': *15 '500': *35 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118067,9 +118809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 responses: '204': description: Response if pull request has been merged @@ -118092,9 +118834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -118217,9 +118959,9 @@ paths: category: pulls subcategory: pulls parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -118272,7 +119014,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &751 + schema: &754 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -118357,7 +119099,7 @@ paths: merge queue content: application/json: - schema: *751 + schema: *754 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -118377,7 +119119,7 @@ paths: this pull request content: application/json: - schema: *751 + schema: *754 examples: response-if-a-merge-request-already-exists: value: @@ -118393,7 +119135,7 @@ paths: it is closed content: application/json: - schema: *751 + schema: *754 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -118425,9 +119167,9 @@ paths: category: pulls subcategory: pulls parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -118440,7 +119182,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *751 + schema: *754 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -118488,9 +119230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 responses: '200': description: Response @@ -118506,7 +119248,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *316 required: - users - teams @@ -118565,9 +119307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -118604,7 +119346,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *576 examples: default: value: @@ -119140,9 +119882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: true content: @@ -119176,7 +119918,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *576 examples: default: value: @@ -119692,9 +120434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 - *17 - *19 responses: @@ -119704,7 +120446,7 @@ paths: application/json: schema: type: array - items: &752 + items: &755 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -119778,7 +120520,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *221 required: - id - node_id @@ -119860,9 +120602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -119952,9 +120694,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: &754 + default: &757 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -120017,10 +120759,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - &753 + - *493 + - *494 + - *751 + - &756 name: review_id description: The unique identifier of the review. in: path @@ -120032,9 +120774,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: &755 + default: &758 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -120093,10 +120835,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -120119,7 +120861,7 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: default: value: @@ -120181,18 +120923,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 responses: '200': description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: *754 + default: *757 '422': *7 '404': *6 x-github: @@ -120219,10 +120961,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 - *17 - *19 responses: @@ -120316,13 +121058,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *221 _links: type: object properties: - self: *424 - html: *424 - pull_request: *424 + self: *427 + html: *427 + pull_request: *427 required: - self - html @@ -120331,7 +121073,7 @@ paths: type: string body_html: type: string - reactions: *219 + reactions: *222 side: description: The side of the first line of the range for a multi-line comment. @@ -120480,10 +121222,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -120512,7 +121254,7 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: default: value: @@ -120575,10 +121317,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *490 - - *491 - - *748 - - *753 + - *493 + - *494 + - *751 + - *756 requestBody: required: true content: @@ -120613,9 +121355,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *755 examples: - default: *755 + default: *758 '404': *6 '422': *7 '403': *27 @@ -120637,9 +121379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *490 - - *491 - - *748 + - *493 + - *494 + - *751 requestBody: required: false content: @@ -120703,8 +121445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *490 - - *491 + - *493 + - *494 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -120717,9 +121459,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *759 examples: - default: &757 + default: &760 value: type: file encoding: base64 @@ -120761,8 +121503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *490 - - *491 + - *493 + - *494 - name: dir description: The alternate path to look for a README file in: path @@ -120782,9 +121524,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *759 examples: - default: *757 + default: *760 '404': *6 '422': *15 x-github: @@ -120806,8 +121548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -120817,7 +121559,7 @@ paths: application/json: schema: type: array - items: *758 + items: *761 examples: default: value: @@ -120916,8 +121658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -120993,9 +121735,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: &762 + default: &765 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -121100,9 +121842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *490 - - *491 - - &760 + - *493 + - *494 + - &763 name: asset_id description: The unique identifier of the asset. in: path @@ -121114,9 +121856,9 @@ paths: description: Response content: application/json: - schema: *759 + schema: *762 examples: - default: &761 + default: &764 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 @@ -121151,7 +121893,7 @@ paths: type: User site_admin: false '404': *6 - '302': *622 + '302': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121167,9 +121909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *490 - - *491 - - *760 + - *493 + - *494 + - *763 requestBody: required: false content: @@ -121198,9 +121940,9 @@ paths: description: Response content: application/json: - schema: *759 + schema: *762 examples: - default: *761 + default: *764 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121216,9 +121958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *490 - - *491 - - *760 + - *493 + - *494 + - *763 responses: '204': description: Response @@ -121243,8 +121985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -121330,16 +122072,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -121357,8 +122099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *490 - - *491 + - *493 + - *494 - name: tag description: tag parameter in: path @@ -121371,9 +122113,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -121395,9 +122137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *490 - - *491 - - &763 + - *493 + - *494 + - &766 name: release_id description: The unique identifier of the release. in: path @@ -121411,9 +122153,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '401': description: Unauthorized x-github: @@ -121437,9 +122179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 requestBody: required: false content: @@ -121503,9 +122245,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *762 + default: *765 '404': description: Not Found if the discussion category name is invalid content: @@ -121526,9 +122268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 responses: '204': description: Response @@ -121549,9 +122291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - *17 - *19 responses: @@ -121561,7 +122303,7 @@ paths: application/json: schema: type: array - items: *759 + items: *762 examples: default: value: @@ -121643,9 +122385,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - name: name in: query required: true @@ -121671,7 +122413,7 @@ paths: description: Response for successful upload content: application/json: - schema: *759 + schema: *762 examples: response-for-successful-upload: value: @@ -121726,9 +122468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -121752,9 +122494,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *682 + default: *685 headers: Link: *42 '404': *6 @@ -121775,9 +122517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *490 - - *491 - - *763 + - *493 + - *494 + - *766 requestBody: required: true content: @@ -121807,16 +122549,16 @@ paths: description: Reaction exists content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '201': description: Reaction created content: application/json: - schema: *606 + schema: *609 examples: - default: *607 + default: *610 '422': *15 x-github: githubCloudOnly: false @@ -121838,10 +122580,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *490 - - *491 - - *763 - - *683 + - *493 + - *494 + - *766 + - *686 responses: '204': description: Response @@ -121865,9 +122607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *490 - - *491 - - *542 + - *493 + - *494 + - *545 - *17 - *19 responses: @@ -121883,8 +122625,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *167 - - &764 + - *170 + - &767 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -121903,72 +122645,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *168 - - *764 - - allOf: - - *169 - - *764 - - allOf: - - *170 - - *764 - - allOf: - - *765 - - *764 - allOf: - *171 - - *764 + - *767 - allOf: - *172 - - *764 + - *767 - allOf: - *173 - - *764 + - *767 + - allOf: + - *768 + - *767 - allOf: - *174 - - *764 + - *767 - allOf: - *175 - - *764 + - *767 - allOf: - *176 - - *764 + - *767 - allOf: - *177 - - *764 + - *767 - allOf: - *178 - - *764 + - *767 - allOf: - *179 - - *764 + - *767 - allOf: - *180 - - *764 + - *767 - allOf: - *181 - - *764 + - *767 - allOf: - *182 - - *764 + - *767 - allOf: - *183 - - *764 - - allOf: - - *766 - - *764 + - *767 - allOf: - *184 - - *764 + - *767 - allOf: - *185 - - *764 + - *767 - allOf: - *186 - - *764 + - *767 + - allOf: + - *769 + - *767 - allOf: - *187 - - *764 + - *767 + - allOf: + - *188 + - *767 + - allOf: + - *189 + - *767 + - allOf: + - *190 + - *767 examples: default: value: @@ -122007,8 +122749,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - name: includes_parents @@ -122019,7 +122761,7 @@ paths: schema: type: boolean default: true - - *767 + - *770 responses: '200': description: Response @@ -122027,7 +122769,7 @@ paths: application/json: schema: type: array - items: *188 + items: *191 examples: default: value: @@ -122074,8 +122816,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 requestBody: description: Request body required: true @@ -122095,16 +122837,16 @@ paths: - tag - push default: branch - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *159 + items: *169 + conditions: *162 rules: type: array description: An array of rules within the ruleset. - items: *768 + items: *771 required: - name - enforcement @@ -122135,9 +122877,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: &778 + default: &781 value: id: 42 name: super cool ruleset @@ -122185,13 +122927,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *490 - - *491 - - *769 - - *102 - - *770 - - *771 + - *493 + - *494 - *772 + - *102 + - *773 + - *774 + - *775 - *17 - *19 responses: @@ -122199,9 +122941,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *776 examples: - default: *774 + default: *777 '404': *6 '500': *35 x-github: @@ -122222,17 +122964,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *490 - - *491 - - *775 + - *493 + - *494 + - *778 responses: '200': description: Response content: application/json: - schema: *776 + schema: *779 examples: - default: *777 + default: *780 '404': *6 '500': *35 x-github: @@ -122260,8 +123002,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -122281,9 +123023,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *778 + default: *781 '404': *6 '500': *35 put: @@ -122301,8 +123043,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -122327,16 +123069,16 @@ paths: - branch - tag - push - enforcement: *165 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *166 - conditions: *159 + items: *169 + conditions: *162 rules: description: An array of rules within the ruleset. type: array - items: *768 + items: *771 examples: default: value: @@ -122364,9 +123106,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *778 + default: *781 '404': *6 '422': *15 '500': *35 @@ -122385,8 +123127,8 @@ paths: category: repos subcategory: rules parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -122409,8 +123151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 - name: ruleset_id @@ -122426,9 +123168,9 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *440 + default: *443 '404': *6 '500': *35 x-github: @@ -122447,8 +123189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *490 - - *491 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -122466,7 +123208,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: default: value: @@ -122521,28 +123263,28 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *490 - - *491 - - *442 - - *443 - - *444 + - *493 + - *494 - *445 - *446 - *447 - *448 - *449 - - *107 - - *19 - - *17 - - *779 - - *780 - *450 - *451 - *452 + - *107 + - *19 + - *17 + - *782 + - *783 - *453 - *454 - *455 - *456 + - *457 + - *458 + - *459 responses: '200': description: Response @@ -122553,21 +123295,21 @@ paths: items: type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolved_at: type: - string @@ -122673,7 +123415,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *783 + - *786 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -122810,7 +123552,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122832,32 +123574,32 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 - - *453 + - *493 + - *494 + - *577 + - *456 responses: '200': description: Response content: application/json: - schema: &784 + schema: &787 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolved_at: type: - string @@ -122963,7 +123705,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *783 + - *786 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -122986,7 +123728,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &967 + metadata: &970 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -123036,7 +123778,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123059,9 +123801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 requestBody: required: true content: @@ -123069,8 +123811,8 @@ paths: schema: type: object properties: - state: *781 - resolution: *782 + state: *784 + resolution: *785 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -123118,7 +123860,7 @@ paths: description: Response content: application/json: - schema: *784 + schema: *787 examples: default: value: @@ -123198,7 +123940,7 @@ paths: description: State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -123220,9 +123962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *490 - - *491 - - *574 + - *493 + - *494 + - *577 - *19 - *17 responses: @@ -123233,7 +123975,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &969 + items: &972 type: object properties: type: @@ -123260,9 +124002,6 @@ paths: - commit details: oneOf: - - *785 - - *786 - - *787 - *788 - *789 - *790 @@ -123273,6 +124012,9 @@ paths: - *795 - *796 - *797 + - *798 + - *799 + - *800 examples: default: value: @@ -123336,7 +124078,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123363,11 +124105,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 - - *459 - - *460 - - *461 + - *493 + - *494 + - *462 + - *463 + - *464 - *107 - *105 - *106 @@ -123378,9 +124120,9 @@ paths: application/json: schema: type: array - items: *194 + items: *197 examples: - default: *462 + default: *465 headers: Link: *42 '403': *27 @@ -123405,8 +124147,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -123419,9 +124161,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *463 + items: *466 examples: - default: *464 + default: *467 responses: '201': description: All patterns created successfully. @@ -123433,9 +124175,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *194 + items: *197 examples: - default: *465 + default: *468 '400': *14 '403': *27 '404': *6 @@ -123459,7 +124201,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *466 + items: *469 delete: summary: Bulk delete repository custom patterns description: |- @@ -123480,8 +124222,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -123495,7 +124237,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *467 + items: *470 post_delete_action: type: string description: |- @@ -123508,14 +124250,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *468 + default: *471 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -123537,8 +124279,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *490 - - *491 + - *493 + - *494 - name: pattern_id in: path required: true @@ -123549,21 +124291,21 @@ paths: required: true content: application/json: - schema: *469 + schema: *472 examples: - default: *470 + default: *473 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *194 + schema: *197 examples: - default: *471 + default: *474 '400': *14 '403': *27 '404': *6 - '412': *196 + '412': *199 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -123581,8 +124323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -123590,14 +124332,14 @@ paths: schema: type: object properties: - reason: &799 + reason: &802 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *798 + placeholder_id: *801 required: - reason - placeholder_id @@ -123614,7 +124356,7 @@ paths: schema: type: object properties: - reason: *799 + reason: *802 expire_at: type: - string @@ -123638,7 +124380,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *193 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -123661,13 +124403,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *193 + '503': *196 '200': description: Response content: @@ -123677,7 +124419,7 @@ paths: properties: incremental_scans: type: array - items: &800 + items: &803 description: Information on a single scan performed by secret scanning on the repository type: object @@ -123710,15 +124452,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *800 + items: *803 backfill_scans: type: array - items: *800 + items: *803 custom_pattern_backfill_scans: type: array items: allOf: - - *800 + - *803 - type: object properties: pattern_name: @@ -123731,7 +124473,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *800 + items: *803 examples: default: value: @@ -123796,8 +124538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *490 - - *491 + - *493 + - *494 - *107 - name: sort description: The property to sort the results by. @@ -123841,9 +124583,9 @@ paths: application/json: schema: type: array - items: *801 + items: *804 examples: - default: *802 + default: *805 '400': *14 '404': *6 x-github: @@ -123866,8 +124608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -123947,7 +124689,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 required: - login - type @@ -124037,9 +124779,9 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: &805 + default: &808 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -124263,7 +125005,7 @@ paths: description: Validation failed. content: application/json: - schema: &803 + schema: &806 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -124336,8 +125078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -124450,7 +125192,7 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: default: value: @@ -124582,7 +125324,7 @@ paths: description: Validation failed. content: application/json: - schema: *803 + schema: *806 examples: missing_section: value: @@ -124629,17 +125371,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '200': description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: *805 + default: *808 '403': *27 '404': *6 x-github: @@ -124663,9 +125405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 requestBody: required: true content: @@ -124745,7 +125487,7 @@ paths: login: type: string description: The username of the user credited. - type: *474 + type: *477 required: - login - type @@ -124836,17 +125578,17 @@ paths: description: Response content: application/json: - schema: *801 + schema: *804 examples: - default: *805 - add_credit: *805 + default: *808 + add_credit: *808 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *255 + schema: *258 examples: invalid_state_transition: value: @@ -124877,9 +125619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '202': *34 '400': *14 @@ -124906,17 +125648,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *490 - - *491 - - *804 + - *493 + - *494 + - *807 responses: '202': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 '400': *14 '422': *15 '403': *27 @@ -124937,8 +125679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *490 - - *491 + - *493 + - *494 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -125071,8 +125813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -125139,11 +125881,11 @@ paths: format: date-time pull_requests: type: array - items: &806 + items: &809 title: Pull Request Stack Pull Request type: object allOf: - - *224 + - *227 - type: object required: - node_id @@ -125366,8 +126108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -125416,7 +126158,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -125536,8 +126278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -125609,7 +126351,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -125816,8 +126558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *490 - - *491 + - *493 + - *494 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -125866,7 +126608,7 @@ paths: format: date-time pull_requests: type: array - items: *806 + items: *809 examples: default: value: @@ -125942,7 +126684,7 @@ paths: pull request in it is locked and cannot be removed. content: application/json: - schema: *255 + schema: *258 examples: cannot_be_removed: summary: Every pull request in the stack is locked and can't be @@ -125972,8 +126714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -126067,8 +126809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -126110,8 +126852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *490 - - *491 + - *493 + - *494 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -126207,8 +126949,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -126217,7 +126959,7 @@ paths: application/json: schema: type: array - items: &807 + items: &810 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -126250,8 +126992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -126329,8 +127071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -126424,8 +127166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -126579,8 +127321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -126590,7 +127332,7 @@ paths: application/json: schema: type: array - items: *807 + items: *810 examples: default: value: @@ -126623,8 +127365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *490 - - *491 + - *493 + - *494 - name: sha in: path required: true @@ -126680,7 +127422,7 @@ paths: description: Response content: application/json: - schema: *808 + schema: *811 examples: default: value: @@ -126734,8 +127476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -126747,7 +127489,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -126767,14 +127509,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &809 + schema: &812 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -126847,8 +127589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: false content: @@ -126874,7 +127616,7 @@ paths: description: Response content: application/json: - schema: *809 + schema: *812 examples: default: value: @@ -126901,8 +127643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -126922,8 +127664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -127005,8 +127747,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *490 - - *491 + - *493 + - *494 - name: ref in: path required: true @@ -127042,8 +127784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *490 - - *491 + - *493 + - *494 - *17 - *19 responses: @@ -127053,9 +127795,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *403 + default: *406 headers: Link: *42 '404': *6 @@ -127075,8 +127817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *490 - - *491 + - *493 + - *494 - *19 - *17 responses: @@ -127084,7 +127826,7 @@ paths: description: Response content: application/json: - schema: &810 + schema: &813 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -127096,7 +127838,7 @@ paths: required: - names examples: - default: &811 + default: &814 value: names: - octocat @@ -127119,8 +127861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -127151,9 +127893,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *813 examples: - default: *811 + default: *814 '404': *6 '422': *7 x-github: @@ -127174,9 +127916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *490 - - *491 - - &812 + - *493 + - *494 + - &815 name: per description: The time frame to display results for. in: query @@ -127207,7 +127949,7 @@ paths: - 128 clones: type: array - items: &813 + items: &816 title: Traffic type: object properties: @@ -127294,8 +128036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -127389,8 +128131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *490 - - *491 + - *493 + - *494 responses: '200': description: Response @@ -127453,9 +128195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *490 - - *491 - - *812 + - *493 + - *494 + - *815 responses: '200': description: Response @@ -127476,7 +128218,7 @@ paths: - 3782 views: type: array - items: *813 + items: *816 required: - uniques - count @@ -127553,8 +128295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *490 - - *491 + - *493 + - *494 requestBody: required: true content: @@ -127590,7 +128332,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *283 examples: default: value: @@ -127834,8 +128576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -127858,8 +128600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -127881,8 +128623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -127908,8 +128650,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *490 - - *491 + - *493 + - *494 - name: ref in: path required: true @@ -128001,9 +128743,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -128044,7 +128786,7 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: default: value: @@ -128154,7 +128896,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &821 + - &824 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -128164,7 +128906,7 @@ paths: type: string examples: - members - - &826 + - &829 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -128176,7 +128918,7 @@ paths: format: int32 examples: - 1 - - &827 + - &830 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -128220,7 +128962,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &816 + items: &819 allOf: - type: object required: @@ -128302,7 +129044,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &828 + meta: &831 type: object description: The metadata associated with the creation/updates to the user. @@ -128367,30 +129109,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &817 + '400': &820 description: Bad request content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '401': *815 - '403': &818 + schema: *817 + '401': *818 + '403': &821 description: Permission denied - '429': &819 + '429': &822 description: Too many requests content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '500': &820 + schema: *817 + '500': &823 description: Internal server error content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 + schema: *817 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128414,7 +129156,7 @@ paths: required: true content: application/json: - schema: &824 + schema: &827 type: object required: - schemas @@ -128478,9 +129220,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *816 + schema: *819 examples: - group: &822 + group: &825 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -128499,13 +129241,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *817 - '401': *815 - '403': *818 - '409': &825 + '400': *820 + '401': *818 + '403': *821 + '409': &828 description: Duplicate record detected - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128522,7 +129264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &823 + - &826 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -128531,22 +129273,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *821 + - *824 - *36 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *816 + schema: *819 examples: - default: *822 - '400': *817 - '401': *815 - '403': *818 + default: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128565,13 +129307,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *823 + - *826 - *36 requestBody: required: true content: application/json: - schema: *824 + schema: *827 examples: group: summary: Group @@ -128597,17 +129339,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *816 + schema: *819 examples: - group: *822 - groupWithMembers: *822 - '400': *817 - '401': *815 - '403': *818 + group: *825 + groupWithMembers: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128631,13 +129373,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *823 + - *826 - *36 requestBody: required: true content: application/json: - schema: &835 + schema: &838 type: object required: - Operations @@ -128697,17 +129439,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *816 + schema: *819 examples: - updateGroup: *822 - addMembers: *822 - '400': *817 - '401': *815 - '403': *818 + updateGroup: *825 + addMembers: *825 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128723,17 +129465,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *823 + - *826 - *36 responses: '204': description: Group was deleted, no content - '400': *817 - '401': *815 - '403': *818 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128767,8 +129509,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *826 - - *827 + - *829 + - *830 - *36 responses: '200': @@ -128802,7 +129544,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &830 + items: &833 allOf: - type: object required: @@ -128894,7 +129636,7 @@ paths: address. examples: - true - roles: &829 + roles: &832 type: array description: The roles assigned to the user. items: @@ -128953,7 +129695,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *828 + meta: *831 startIndex: type: integer description: A starting index for the returned page @@ -128992,11 +129734,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *817 - '401': *815 - '403': *818 - '429': *819 - '500': *820 + '400': *820 + '401': *818 + '403': *821 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129020,7 +129762,7 @@ paths: required: true content: application/json: - schema: &833 + schema: &836 type: object required: - schemas @@ -129113,9 +129855,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *829 + roles: *832 examples: - user: &834 + user: &837 summary: User value: schemas: @@ -129162,9 +129904,9 @@ paths: description: User has been created content: application/scim+json: - schema: *830 + schema: *833 examples: - user: &831 + user: &834 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -129190,13 +129932,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *831 - '400': *817 - '401': *815 - '403': *818 - '409': *825 - '429': *819 - '500': *820 + enterpriseOwner: *834 + '400': *820 + '401': *818 + '403': *821 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129213,7 +129955,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &832 + - &835 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -129226,15 +129968,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *830 + schema: *833 examples: - default: *831 - '400': *817 - '401': *815 - '403': *818 + default: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129285,30 +130027,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *832 + - *835 - *36 requestBody: required: true content: application/json: - schema: *833 + schema: *836 examples: - user: *834 + user: *837 responses: '200': description: User was updated content: application/scim+json: - schema: *830 + schema: *833 examples: - user: *831 - '400': *817 - '401': *815 - '403': *818 + user: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129349,13 +130091,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *832 + - *835 - *36 requestBody: required: true content: application/json: - schema: *835 + schema: *838 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -129395,18 +130137,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *830 - examples: - userMultiValuedProperties: *831 - userSingleValuedProperties: *831 - disableUser: *831 - '400': *817 - '401': *815 - '403': *818 + schema: *833 + examples: + userMultiValuedProperties: *834 + userSingleValuedProperties: *834 + disableUser: *834 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '409': *825 - '429': *819 - '500': *820 + '409': *828 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129426,17 +130168,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *832 + - *835 - *36 responses: '204': description: User was deleted, no content - '400': *817 - '401': *815 - '403': *818 + '400': *820 + '401': *818 + '403': *821 '404': *6 - '429': *819 - '500': *820 + '429': *822 + '500': *823 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129527,7 +130269,7 @@ paths: - 1 Resources: type: array - items: &836 + items: &839 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -129782,22 +130524,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *32 - '404': &837 + '404': &840 description: Resource not found content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '403': &838 + schema: *817 + '403': &841 description: Forbidden content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '400': *817 - '429': *819 + schema: *817 + '400': *820 + '429': *822 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -129823,9 +130565,9 @@ paths: description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: &839 + default: &842 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -129849,17 +130591,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *32 - '404': *837 - '403': *838 - '500': *820 + '404': *840 + '403': *841 + '500': *823 '409': description: Conflict content: application/json: - schema: *814 + schema: *817 application/scim+json: - schema: *814 - '400': *817 + schema: *817 + '400': *820 requestBody: required: true content: @@ -129959,17 +130701,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 - '404': *837 - '403': *838 + default: *842 + '404': *840 + '403': *841 '304': *32 x-github: githubCloudOnly: true @@ -129993,18 +130735,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 + default: *842 '304': *32 - '404': *837 - '403': *838 + '404': *840 + '403': *841 requestBody: required: true content: @@ -130119,19 +130861,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *84 - - *832 + - *835 responses: '200': description: Response content: application/scim+json: - schema: *836 + schema: *839 examples: - default: *839 + default: *842 '304': *32 - '404': *837 - '403': *838 - '400': *817 + '404': *840 + '403': *841 + '400': *820 '429': description: Response content: @@ -130227,12 +130969,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *84 - - *832 + - *835 responses: '204': description: Response - '404': *837 - '403': *838 + '404': *840 + '403': *841 '304': *32 x-github: githubCloudOnly: true @@ -130347,7 +131089,7 @@ paths: html_url: type: string format: uri - repository: *280 + repository: *283 score: type: number file_size: @@ -130366,7 +131108,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &840 + text_matches: &843 title: Search Result Text Matches type: array items: @@ -130481,7 +131223,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *32 - '503': *193 + '503': *196 '422': *15 '403': *27 x-github: @@ -130530,7 +131272,7 @@ paths: enum: - author-date - committer-date - - &841 + - &844 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 @@ -130599,7 +131341,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 comment_count: type: integer message: @@ -130618,7 +131360,7 @@ paths: url: type: string format: uri - verification: *666 + verification: *669 required: - author - committer @@ -130633,7 +131375,7 @@ paths: committer: anyOf: - type: 'null' - - *540 + - *543 parents: type: array items: @@ -130645,12 +131387,12 @@ paths: type: string sha: type: string - repository: *280 + repository: *283 score: type: number node_id: type: string - text_matches: *840 + text_matches: *843 required: - sha - node_id @@ -130843,7 +131585,7 @@ paths: - interactions - created - updated - - *841 + - *844 - *17 - *19 - name: advanced_search @@ -130971,11 +131713,11 @@ paths: - *4 type: - 'null' - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: type: string state_reason: @@ -130989,7 +131731,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *426 comments: type: integer created_at: @@ -131003,7 +131745,7 @@ paths: - string - 'null' format: date-time - text_matches: *840 + text_matches: *843 pull_request: type: object properties: @@ -131041,7 +131783,7 @@ paths: type: string score: type: number - author_association: *218 + author_association: *221 draft: type: boolean repository: *75 @@ -131052,7 +131794,7 @@ paths: timeline_url: type: string format: uri - type: *389 + type: *392 performed_via_github_app: anyOf: - type: 'null' @@ -131060,8 +131802,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *222 - reactions: *219 + - *225 + reactions: *222 required: - assignee - closed_at @@ -131259,7 +132001,7 @@ paths: - quoted_text items: - "..." - '503': *193 + '503': *196 '422': *15 '304': *32 '403': *27 @@ -131313,7 +132055,7 @@ paths: enum: - created - updated - - *841 + - *844 - *17 - *19 responses: @@ -131372,7 +132114,7 @@ paths: - 'null' score: type: number - text_matches: *840 + text_matches: *843 required: - id - node_id @@ -131482,7 +132224,7 @@ paths: - forks - help-wanted-issues - updated - - *841 + - *844 - *17 - *19 responses: @@ -131710,7 +132452,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *226 permissions: type: object properties: @@ -131728,7 +132470,7 @@ paths: - admin - pull - push - text_matches: *840 + text_matches: *843 temp_clone_token: type: string allow_merge_commit: @@ -131931,7 +132673,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *193 + '503': *196 '422': *15 '304': *32 x-github: @@ -132037,7 +132779,7 @@ paths: - string - 'null' format: uri - text_matches: *840 + text_matches: *843 related: type: - array @@ -132232,7 +132974,7 @@ paths: - followers - repositories - joined - - *841 + - *844 - *17 - *19 responses: @@ -132342,7 +133084,7 @@ paths: type: - boolean - 'null' - text_matches: *840 + text_matches: *843 blog: type: - string @@ -132404,7 +133146,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *32 - '503': *193 + '503': *196 '422': *15 x-github: githubCloudOnly: false @@ -132424,7 +133166,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &844 + - &847 name: team_id description: The unique identifier of the team. in: path @@ -132436,9 +133178,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -132465,7 +133207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *844 + - *847 requestBody: required: true content: @@ -132535,16 +133277,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '201': description: Response content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 '404': *6 '422': *15 '403': *27 @@ -132572,7 +133314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *844 + - *847 responses: '204': description: Response @@ -132601,7 +133343,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -132611,9 +133353,9 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *387 headers: Link: *42 x-github: @@ -132641,7 +133383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *844 + - *847 - name: role description: Filters members returned by their role in the team. in: query @@ -132662,9 +133404,9 @@ paths: application/json: schema: type: array - items: *845 + items: *848 examples: - default: *846 + default: *849 headers: Link: *42 '404': *6 @@ -132692,7 +133434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -132729,7 +133471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -132769,7 +133511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -132806,16 +133548,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 responses: '200': description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-user-is-a-team-maintainer: *847 + response-if-user-is-a-team-maintainer: *850 '404': *6 x-github: githubCloudOnly: false @@ -132848,7 +133590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 requestBody: required: false @@ -132874,9 +133616,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: *848 + response-if-users-membership-with-team-is-now-pending: *851 '403': description: Forbidden if team synchronization is set up '422': @@ -132910,7 +133652,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *844 + - *847 - *127 responses: '204': @@ -132938,7 +133680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -132948,9 +133690,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 '404': *6 @@ -132980,15 +133722,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *849 + schema: *852 examples: alternative-response-with-extra-repository-information: value: @@ -133145,9 +133887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 requestBody: required: false content: @@ -133197,9 +133939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *844 - - *490 - - *491 + - *847 + - *493 + - *494 responses: '204': description: Response @@ -133228,15 +133970,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *844 + - *847 responses: '200': description: Response content: application/json: - schema: *492 + schema: *495 examples: - default: *493 + default: *496 '403': *27 '404': *6 x-github: @@ -133263,7 +134005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *844 + - *847 requestBody: required: true content: @@ -133324,7 +134066,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -133355,7 +134097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *844 + - *847 - *17 - *19 responses: @@ -133365,9 +134107,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - response-if-child-teams-exist: *850 + response-if-child-teams-exist: *853 headers: Link: *42 '404': *6 @@ -133402,7 +134144,7 @@ paths: application/json: schema: oneOf: - - &852 + - &855 title: Private User description: Private User type: object @@ -133652,7 +134394,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *851 + - *854 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -133812,7 +134554,7 @@ paths: description: Response content: application/json: - schema: *852 + schema: *855 examples: default: value: @@ -133891,7 +134633,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 '304': *32 '404': *6 '403': *27 @@ -134015,9 +134757,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 '304': *32 '500': *35 '401': *23 @@ -134156,21 +134898,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 - '503': *193 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134210,7 +134952,7 @@ paths: type: integer secrets: type: array - items: &853 + items: &856 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -134252,7 +134994,7 @@ paths: - visibility - selected_repositories_url examples: - default: *599 + default: *602 headers: Link: *42 x-github: @@ -134324,13 +135066,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *853 + schema: *856 examples: default: value: @@ -134360,7 +135102,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 requestBody: required: true content: @@ -134405,7 +135147,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -134433,7 +135175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *290 + - *293 responses: '204': description: Response @@ -134458,7 +135200,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *290 + - *293 responses: '200': description: Response @@ -134474,9 +135216,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *283 examples: - default: *334 + default: *337 '401': *23 '403': *27 '404': *6 @@ -134501,7 +135243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *290 + - *293 requestBody: required: true content: @@ -134555,7 +135297,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *290 + - *293 - name: repository_id in: path required: true @@ -134588,7 +135330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *290 + - *293 - name: repository_id in: path required: true @@ -134620,15 +135362,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '304': *32 '500': *35 '401': *23 @@ -134654,7 +135396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 requestBody: required: false content: @@ -134684,9 +135426,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '401': *23 '403': *27 '404': *6 @@ -134708,7 +135450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '202': *34 '304': *32 @@ -134737,13 +135479,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '202': description: Response content: application/json: - schema: &854 + schema: &857 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -134796,7 +135538,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &855 + default: &858 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -134828,7 +135570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *396 + - *399 - name: export_id in: path required: true @@ -134841,9 +135583,9 @@ paths: description: Response content: application/json: - schema: *854 + schema: *857 examples: - default: *855 + default: *858 '404': *6 x-github: githubCloudOnly: false @@ -134864,7 +135606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *396 + - *399 responses: '200': description: Response @@ -134880,9 +135622,9 @@ paths: type: integer machines: type: array - items: *598 + items: *601 examples: - default: *856 + default: *859 '304': *32 '500': *35 '401': *23 @@ -134911,7 +135653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *396 + - *399 requestBody: required: true content: @@ -134967,11 +135709,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *495 + repository: *498 machine: anyOf: - type: 'null' - - *598 + - *601 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -135768,15 +136510,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '304': *32 '500': *35 '400': *14 @@ -135808,15 +136550,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *396 + - *399 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *597 + default: *600 '500': *35 '401': *23 '403': *27 @@ -135846,9 +136588,9 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: &868 + default: &871 value: - id: 197 name: hello_docker @@ -135949,7 +136691,7 @@ paths: application/json: schema: type: array - items: &857 + items: &860 title: Email description: Email type: object @@ -136019,9 +136761,9 @@ paths: application/json: schema: type: array - items: *857 + items: *860 examples: - default: &870 + default: &873 value: - email: octocat@github.com verified: true @@ -136098,7 +136840,7 @@ paths: application/json: schema: type: array - items: *857 + items: *860 examples: default: value: @@ -136210,7 +136952,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '304': *32 @@ -136243,7 +136985,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 '304': *32 @@ -136356,7 +137098,7 @@ paths: application/json: schema: type: array - items: &858 + items: &861 title: GPG Key description: A unique encryption key type: object @@ -136501,7 +137243,7 @@ paths: - subkeys - revoked examples: - default: &887 + default: &890 value: - id: 3 name: Octocat's GPG Key @@ -136586,9 +137328,9 @@ paths: description: Response content: application/json: - schema: *858 + schema: *861 examples: - default: &859 + default: &862 value: id: 3 name: Octocat's GPG Key @@ -136645,7 +137387,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &860 + - &863 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -136657,9 +137399,9 @@ paths: description: Response content: application/json: - schema: *858 + schema: *861 examples: - default: *859 + default: *862 '404': *6 '304': *32 '403': *27 @@ -136682,7 +137424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *860 + - *863 responses: '204': description: Response @@ -136884,7 +137626,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *275 + default: *278 headers: Link: *42 '404': *6 @@ -136910,7 +137652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *274 + - *277 responses: '204': description: Response @@ -136936,7 +137678,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *274 + - *277 responses: '204': description: Response @@ -136970,12 +137712,12 @@ paths: application/json: schema: anyOf: - - *381 + - *384 - type: object properties: {} additionalProperties: false examples: - default: *382 + default: *385 '204': description: Response when there are no restrictions x-github: @@ -136999,7 +137741,7 @@ paths: required: true content: application/json: - schema: *676 + schema: *679 examples: default: value: @@ -137010,7 +137752,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -137091,7 +137833,7 @@ paths: - closed - all default: open - - *392 + - *395 - name: sort description: What to sort results by. in: query @@ -137104,7 +137846,7 @@ paths: - comments default: created - *107 - - *226 + - *229 - *17 - *19 responses: @@ -137114,9 +137856,9 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: - default: *393 + default: *396 headers: Link: *42 '404': *6 @@ -137149,7 +137891,7 @@ paths: application/json: schema: type: array - items: &861 + items: &864 title: Key description: Key type: object @@ -137252,9 +137994,9 @@ paths: description: Response content: application/json: - schema: *861 + schema: *864 examples: - default: &862 + default: &865 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -137287,15 +138029,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *725 + - *728 responses: '200': description: Response content: application/json: - schema: *861 + schema: *864 examples: - default: *862 + default: *865 '404': *6 '304': *32 '403': *27 @@ -137318,7 +138060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *725 + - *728 responses: '204': description: Response @@ -137351,7 +138093,7 @@ paths: application/json: schema: type: array - items: &863 + items: &866 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -137419,7 +138161,7 @@ paths: - id - type - login - plan: *237 + plan: *240 required: - billing_cycle - next_billing_date @@ -137430,7 +138172,7 @@ paths: - account - plan examples: - default: &864 + default: &867 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -137492,9 +138234,9 @@ paths: application/json: schema: type: array - items: *863 + items: *866 examples: - default: *864 + default: *867 headers: Link: *42 '304': *32 @@ -137534,7 +138276,7 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: default: value: @@ -137648,7 +138390,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: default: value: @@ -137735,9 +138477,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *397 + schema: *400 examples: - default: &865 + default: &868 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -137784,9 +138526,9 @@ paths: processed asynchronously. content: application/json: - schema: *397 + schema: *400 examples: - default: *865 + default: *868 '403': *27 '404': *6 '422': *15 @@ -137815,7 +138557,7 @@ paths: application/json: schema: type: array - items: *399 + items: *402 examples: default: value: @@ -138077,7 +138819,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -138257,7 +138999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *400 + - *403 - name: exclude in: query required: false @@ -138270,7 +139012,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *402 examples: default: value: @@ -138464,7 +139206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *400 + - *403 responses: '302': description: Response @@ -138490,7 +139232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *400 + - *403 responses: '204': description: Response @@ -138519,8 +139261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *400 - - *866 + - *403 + - *869 responses: '204': description: Response @@ -138544,7 +139286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *400 + - *403 - *17 - *19 responses: @@ -138554,9 +139296,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 '404': *6 @@ -138611,7 +139353,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: *42 '304': *32 @@ -138653,7 +139395,7 @@ paths: - docker - nuget - container - - *867 + - *870 - *19 - *17 responses: @@ -138663,10 +139405,10 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *868 - '400': *869 + default: *871 + '400': *872 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -138686,16 +139428,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 responses: '200': description: Response content: application/json: - schema: *404 + schema: *407 examples: - default: &888 + default: &891 value: id: 40201 name: octo-name @@ -138808,8 +139550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 responses: '204': description: Response @@ -138839,8 +139581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 - name: token description: package token schema: @@ -138872,8 +139614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *406 - - *407 + - *409 + - *410 - *19 - *17 - name: state @@ -138893,7 +139635,7 @@ paths: application/json: schema: type: array - items: *408 + items: *411 examples: default: value: @@ -138942,15 +139684,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -138986,9 +139728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '204': description: Response @@ -139018,9 +139760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 responses: '204': description: Response @@ -139057,9 +139799,9 @@ paths: application/json: schema: type: array - items: *857 + items: *860 examples: - default: *870 + default: *873 headers: Link: *42 '304': *32 @@ -139172,7 +139914,7 @@ paths: type: array items: *75 examples: - default: &877 + default: &880 summary: Default response value: - id: 1296269 @@ -139490,9 +140232,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *497 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -139536,9 +140278,9 @@ paths: application/json: schema: type: array - items: *679 + items: *682 examples: - default: *871 + default: *874 headers: Link: *42 '304': *32 @@ -139561,7 +140303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *385 + - *388 responses: '204': description: Response @@ -139590,7 +140332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *385 + - *388 responses: '204': description: Response @@ -139623,7 +140365,7 @@ paths: application/json: schema: type: array - items: &872 + items: &875 title: Social account description: Social media account type: object @@ -139640,7 +140382,7 @@ paths: - provider - url examples: - default: &873 + default: &876 value: - provider: twitter url: https://twitter.com/github @@ -139703,9 +140445,9 @@ paths: application/json: schema: type: array - items: *872 + items: *875 examples: - default: *873 + default: *876 '422': *15 '304': *32 '404': *6 @@ -139793,7 +140535,7 @@ paths: application/json: schema: type: array - items: &874 + items: &877 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -139813,7 +140555,7 @@ paths: - title - created_at examples: - default: &902 + default: &905 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -139878,9 +140620,9 @@ paths: description: Response content: application/json: - schema: *874 + schema: *877 examples: - default: &875 + default: &878 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -139910,7 +140652,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &876 + - &879 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -139922,9 +140664,9 @@ paths: description: Response content: application/json: - schema: *874 + schema: *877 examples: - default: *875 + default: *878 '404': *6 '304': *32 '403': *27 @@ -139947,7 +140689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *876 + - *879 responses: '204': description: Response @@ -139976,7 +140718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &903 + - &906 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 @@ -140001,11 +140743,11 @@ paths: type: array items: *75 examples: - default-response: *877 + default-response: *880 application/vnd.github.v3.star+json: schema: type: array - items: &904 + items: &907 title: Starred Repository description: Starred Repository type: object @@ -140161,8 +140903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response if this repository is starred by you @@ -140190,8 +140932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -140215,8 +140957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *490 - - *491 + - *493 + - *494 responses: '204': description: Response @@ -140249,9 +140991,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 '304': *32 @@ -140288,7 +141030,7 @@ paths: application/json: schema: type: array - items: *482 + items: *485 examples: default: value: @@ -140366,7 +141108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *239 + - *242 responses: '200': description: Response @@ -140374,10 +141116,10 @@ paths: application/json: schema: oneOf: - - *852 - - *851 + - *855 + - *854 examples: - default-response: &881 + default-response: &884 summary: Default response value: login: octocat @@ -140412,7 +141154,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &882 + response-with-git-hub-plan-information: &885 summary: Response with GitHub plan information value: login: octocat @@ -140469,14 +141211,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &879 + - &882 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *422 + - *425 requestBody: required: true description: Details of the draft item to create in the project. @@ -140510,9 +141252,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: - draft_issue: *428 + draft_issue: *431 '304': *32 '403': *27 '401': *23 @@ -140535,7 +141277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *878 + - *881 - *17 responses: '200': @@ -140546,7 +141288,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: example: ; rel="next" @@ -140570,8 +141312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *879 - - *422 + - *882 + - *425 requestBody: required: true content: @@ -140686,17 +141428,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *880 + schema: *883 examples: table_view: summary: Response for creating a table view - value: *432 + value: *435 board_view: summary: Response for creating a board view with filter - value: *432 + value: *435 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *435 '304': *32 '403': *27 '401': *23 @@ -140742,11 +141484,11 @@ paths: application/json: schema: oneOf: - - *852 - - *851 + - *855 + - *854 examples: - default-response: *881 - response-with-git-hub-plan-information: *882 + default-response: *884 + response-with-git-hub-plan-information: *885 '404': *6 x-github: githubCloudOnly: false @@ -140796,8 +141538,8 @@ paths: required: - subject_digests examples: - default: *883 - withPredicateType: *884 + default: *886 + withPredicateType: *887 responses: '200': description: Response @@ -140851,7 +141593,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *885 + default: *888 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -141071,12 +141813,12 @@ paths: initiator: type: string examples: - default: *536 + default: *539 '201': description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -141152,7 +141894,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *330 + items: *333 examples: default: summary: Example response for listing user copilot spaces @@ -141367,9 +142109,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: &886 + default: &889 summary: Example response for a user copilot space value: id: 42 @@ -141468,9 +142210,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *886 + default: *889 '403': *27 '404': *6 x-github: @@ -141594,9 +142336,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: - default: *886 + default: *889 '403': *27 '404': *6 '422': *15 @@ -141673,7 +142415,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *332 + items: *335 examples: default: value: @@ -141816,7 +142558,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: default: value: @@ -141927,7 +142669,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *335 examples: default: value: @@ -142057,7 +142799,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *333 + items: *336 examples: default: value: @@ -142149,7 +142891,7 @@ paths: description: Resource created content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -142165,7 +142907,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -142218,7 +142960,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -142285,7 +143027,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -142362,9 +143104,9 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *868 + default: *871 '403': *27 '401': *23 x-github: @@ -142397,7 +143139,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -142470,7 +143212,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -142557,7 +143299,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -142630,7 +143372,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -142664,7 +143406,7 @@ paths: type: array items: *4 examples: - default: *211 + default: *214 headers: Link: *42 x-github: @@ -142711,7 +143453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *127 - - *226 + - *229 - *17 - *19 responses: @@ -142721,9 +143463,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 headers: Link: *42 '422': *15 @@ -142754,9 +143496,9 @@ paths: application/json: schema: type: array - items: *858 + items: *861 examples: - default: *887 + default: *890 headers: Link: *42 x-github: @@ -142860,7 +143602,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -142946,7 +143688,7 @@ paths: type: array items: *70 examples: - default: *250 + default: *253 headers: Link: *42 x-github: @@ -142985,7 +143727,7 @@ paths: - docker - nuget - container - - *867 + - *870 - *127 - *19 - *17 @@ -142996,12 +143738,12 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *868 + default: *871 '403': *27 '401': *23 - '400': *869 + '400': *872 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -143021,17 +143763,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '200': description: Response content: application/json: - schema: *404 + schema: *407 examples: - default: *888 + default: *891 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -143052,8 +143794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '204': @@ -143086,8 +143828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 - name: token description: package token @@ -143120,8 +143862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *406 - - *407 + - *409 + - *410 - *127 responses: '200': @@ -143130,7 +143872,7 @@ paths: application/json: schema: type: array - items: *408 + items: *411 examples: default: value: @@ -143188,16 +143930,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *406 - - *407 - *409 + - *410 + - *412 - *127 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: default: value: @@ -143232,10 +143974,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *406 - - *407 - - *127 - *409 + - *410 + - *127 + - *412 responses: '204': description: Response @@ -143267,10 +144009,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *406 - - *407 - - *127 - *409 + - *410 + - *127 + - *412 responses: '204': description: Response @@ -143311,9 +144053,9 @@ paths: application/json: schema: type: array - items: *420 + items: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -143335,16 +144077,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *422 + - *425 - *127 responses: '200': description: Response content: application/json: - schema: *420 + schema: *423 examples: - default: *421 + default: *424 headers: Link: *42 '304': *32 @@ -143366,7 +144108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *422 + - *425 - *127 - *17 - *105 @@ -143378,9 +144120,9 @@ paths: application/json: schema: type: array - items: *425 + items: *428 examples: - default: *889 + default: *892 headers: Link: *42 '304': *32 @@ -143402,7 +144144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *127 - - *422 + - *425 requestBody: required: true content: @@ -143440,7 +144182,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *890 + items: *893 required: - name - data_type @@ -143456,7 +144198,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *891 + iteration_configuration: *894 required: - name - data_type @@ -143478,20 +144220,20 @@ paths: value: name: Due date data_type: date - single_select_field: *892 - iteration_field: *893 + single_select_field: *895 + iteration_field: *896 responses: '201': description: Response content: application/json: - schema: *425 + schema: *428 examples: - text_field: *894 - number_field: *895 - date_field: *896 - single_select_field: *897 - iteration_field: *898 + text_field: *897 + number_field: *898 + date_field: *899 + single_select_field: *900 + iteration_field: *901 '304': *32 '403': *27 '401': *23 @@ -143512,17 +144254,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *422 - - *899 + - *425 + - *902 - *127 responses: '200': description: Response content: application/json: - schema: *425 + schema: *428 examples: - default: *900 + default: *903 headers: Link: *42 '304': *32 @@ -143545,7 +144287,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *422 + - *425 - *127 - *105 - *106 @@ -143578,9 +144320,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -143602,7 +144344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *127 - - *422 + - *425 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -143672,22 +144414,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *431 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *431 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *431 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *431 '304': *32 '403': *27 '401': *23 @@ -143707,9 +144449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *422 + - *425 - *127 - - *431 + - *434 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -143729,9 +144471,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -143752,9 +144494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *422 + - *425 - *127 - - *431 + - *434 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -143827,13 +144569,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *433 + number_field: *433 + date_field: *433 + single_select_field: *433 + iteration_field: *433 '401': *23 '403': *27 '404': *6 @@ -143853,9 +144595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *422 + - *425 - *127 - - *431 + - *434 responses: '204': description: Response @@ -143877,9 +144619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *422 + - *425 - *127 - - *901 + - *904 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -143905,9 +144647,9 @@ paths: application/json: schema: type: array - items: *429 + items: *432 examples: - default: *430 + default: *433 headers: Link: *42 '304': *32 @@ -143945,7 +144687,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -144020,7 +144762,7 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: default: value: @@ -144126,9 +144868,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -144158,9 +144900,9 @@ paths: application/json: schema: type: array - items: *872 + items: *875 examples: - default: *873 + default: *876 headers: Link: *42 x-github: @@ -144190,9 +144932,9 @@ paths: application/json: schema: type: array - items: *874 + items: *877 examples: - default: *902 + default: *905 headers: Link: *42 x-github: @@ -144219,7 +144961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *127 - - *903 + - *906 - *107 - *17 - *19 @@ -144231,11 +144973,11 @@ paths: schema: anyOf: - type: array - items: *904 + items: *907 - type: array items: *75 examples: - default-response: *877 + default-response: *880 headers: Link: *42 x-github: @@ -144264,9 +145006,9 @@ paths: application/json: schema: type: array - items: *280 + items: *283 examples: - default: *410 + default: *413 headers: Link: *42 x-github: @@ -144395,7 +145137,7 @@ webhooks: type: string enum: - disabled - enterprise: &905 + enterprise: &908 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -144464,7 +145206,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &906 + installation: &909 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -144485,7 +145227,7 @@ webhooks: required: - id - node_id - organization: &907 + organization: &910 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -144558,7 +145300,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &908 + repository: &911 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -144587,7 +145329,7 @@ webhooks: license: anyOf: - type: 'null' - - *223 + - *226 organization: anyOf: - type: 'null' @@ -145498,10 +146240,10 @@ webhooks: type: string enum: - enabled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -145577,11 +146319,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: &909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: &912 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -145804,11 +146546,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: *909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: *912 sender: *4 required: - action @@ -145996,11 +146738,11 @@ webhooks: - everyone required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - rule: *909 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + rule: *912 sender: *4 required: - action @@ -146073,7 +146815,7 @@ webhooks: required: true content: application/json: - schema: &929 + schema: &932 title: Exemption request cancellation event type: object properties: @@ -146081,11 +146823,11 @@ webhooks: type: string enum: - cancelled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: &910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: &913 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -146394,7 +147136,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &911 + items: &914 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -146506,7 +147248,7 @@ webhooks: required: true content: application/json: - schema: &930 + schema: &933 title: Exemption request completed event type: object properties: @@ -146514,11 +147256,11 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 sender: *4 required: - action @@ -146590,7 +147332,7 @@ webhooks: required: true content: application/json: - schema: &927 + schema: &930 title: Exemption request created event type: object properties: @@ -146598,11 +147340,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 sender: *4 required: - action @@ -146674,7 +147416,7 @@ webhooks: required: true content: application/json: - schema: &931 + schema: &934 title: Exemption response dismissed event type: object properties: @@ -146682,12 +147424,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 - exemption_response: *911 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 + exemption_response: *914 sender: *4 required: - action @@ -146761,7 +147503,7 @@ webhooks: required: true content: application/json: - schema: &928 + schema: &931 title: Exemption response submitted event type: object properties: @@ -146769,12 +147511,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - exemption_request: *910 - exemption_response: *911 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + exemption_request: *913 + exemption_response: *914 sender: *4 required: - action @@ -146858,7 +147600,7 @@ webhooks: type: string enum: - completed - check_run: &913 + check_run: &916 title: CheckRun description: A check performed on the code of a given code change type: object @@ -146923,8 +147665,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *224 - repository: *280 + items: *227 + repository: *283 status: type: string enum: @@ -146968,7 +147710,7 @@ webhooks: - examples: - neutral - deployment: *912 + deployment: *915 details_url: type: string examples: @@ -147028,7 +147770,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *224 + items: *227 started_at: type: string format: date-time @@ -147066,10 +147808,10 @@ webhooks: - output - app - pull_requests - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -147460,11 +148202,11 @@ webhooks: type: string enum: - created - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -147858,11 +148600,11 @@ webhooks: type: string enum: - requested_action - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 requested_action: description: The action requested by the user. type: object @@ -148265,11 +149007,11 @@ webhooks: type: string enum: - rerequested - check_run: *913 - installation: *906 - enterprise: *905 - organization: *907 - repository: *908 + check_run: *916 + installation: *909 + enterprise: *908 + organization: *910 + repository: *911 sender: *4 required: - check_run @@ -149254,10 +149996,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -149971,10 +150713,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -150682,10 +151424,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -150854,7 +151596,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151007,20 +151749,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &914 + commit_oid: &917 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: *905 - installation: *906 - organization: *907 - ref: &915 + enterprise: *908 + installation: *909 + organization: *910 + ref: &918 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: *908 + repository: *911 sender: *4 required: - action @@ -151187,7 +151929,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151429,12 +152171,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -151532,7 +152274,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -151717,12 +152459,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -151891,7 +152633,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -152069,12 +152811,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -152175,7 +152917,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -152364,9 +153106,9 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -152374,7 +153116,7 @@ webhooks: type: - string - 'null' - repository: *908 + repository: *911 sender: *4 required: - action @@ -152473,7 +153215,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -152620,12 +153362,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *914 - enterprise: *905 - installation: *906 - organization: *907 - ref: *915 - repository: *908 + commit_oid: *917 + enterprise: *908 + installation: *909 + organization: *910 + ref: *918 + repository: *911 sender: *4 required: - action @@ -152794,7 +153536,7 @@ webhooks: required: - login - id - dismissed_comment: *568 + dismissed_comment: *571 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -152947,10 +153689,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -153210,10 +153952,10 @@ webhooks: - updated_at - author_association - body - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -153294,18 +154036,18 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *907 - pusher_type: &916 + organization: *910 + pusher_type: &919 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &917 + ref: &920 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -153315,7 +154057,7 @@ webhooks: enum: - tag - branch - repository: *908 + repository: *911 sender: *4 required: - ref @@ -153397,10 +154139,10 @@ webhooks: type: string enum: - created - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -153485,9 +154227,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -153564,10 +154306,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -153644,10 +154386,10 @@ webhooks: type: string enum: - updated - definition: *154 - enterprise: *905 - installation: *906 - organization: *907 + definition: *157 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -153724,19 +154466,19 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - repository: *908 - organization: *907 + enterprise: *908 + installation: *909 + repository: *911 + organization: *910 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *153 + items: *156 old_property_values: type: array description: The old custom property values for the repository. - items: *153 + items: *156 required: - action - repository @@ -153812,18 +154554,18 @@ webhooks: title: delete event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - pusher_type: *916 - ref: *917 + enterprise: *908 + installation: *909 + organization: *910 + pusher_type: *919 + ref: *920 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *908 + repository: *911 sender: *4 required: - ref @@ -153903,11 +154645,11 @@ webhooks: type: string enum: - assignees_changed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -153987,11 +154729,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -154072,11 +154814,11 @@ webhooks: type: string enum: - auto_reopened - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -154157,11 +154899,11 @@ webhooks: type: string enum: - created - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -154240,11 +154982,11 @@ webhooks: type: string enum: - dismissed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -154323,11 +155065,11 @@ webhooks: type: string enum: - fixed - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -154407,11 +155149,11 @@ webhooks: type: string enum: - reintroduced - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -154490,11 +155232,11 @@ webhooks: type: string enum: - reopened - alert: *628 - installation: *906 - organization: *907 - enterprise: *905 - repository: *908 + alert: *631 + installation: *909 + organization: *910 + enterprise: *908 + repository: *911 sender: *4 required: - action @@ -154571,9 +155313,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - key: &918 + enterprise: *908 + installation: *909 + key: &921 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -154611,8 +155353,8 @@ webhooks: - verified - created_at - read_only - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -154689,11 +155431,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - key: *918 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + key: *921 + organization: *910 + repository: *911 sender: *4 required: - action @@ -155260,12 +156002,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: &922 + workflow: &925 title: Workflow type: - object @@ -156016,13 +156758,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *635 + - *638 pull_requests: type: array - items: *746 - repository: *908 - organization: *907 - installation: *906 + items: *749 + repository: *911 + organization: *910 + installation: *909 sender: *4 responses: '200': @@ -156093,7 +156835,7 @@ webhooks: type: string enum: - approved - approver: &919 + approver: &922 type: object properties: avatar_url: @@ -156136,11 +156878,11 @@ webhooks: type: string comment: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - reviewers: &920 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + reviewers: &923 type: array items: type: object @@ -156221,7 +156963,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &921 + workflow_job_run: &924 type: object properties: conclusion: @@ -156967,18 +157709,18 @@ webhooks: type: string enum: - rejected - approver: *919 + approver: *922 comment: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - reviewers: *920 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + reviewers: *923 sender: *4 since: type: string - workflow_job_run: *921 + workflow_job_run: *924 workflow_job_runs: type: array items: @@ -157695,13 +158437,13 @@ webhooks: type: string enum: - requested - enterprise: *905 + enterprise: *908 environment: type: string - installation: *906 - organization: *907 - repository: *908 - requestor: &932 + installation: *909 + organization: *910 + repository: *911 + requestor: &935 title: User type: - object @@ -159634,12 +160376,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Deployment Workflow Run type: @@ -160330,7 +161072,7 @@ webhooks: type: string enum: - answered - answer: &925 + answer: &928 type: object properties: author_association: @@ -160490,11 +161232,11 @@ webhooks: - created_at - updated_at - body - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160621,11 +161363,11 @@ webhooks: - from required: - category - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160708,11 +161450,11 @@ webhooks: type: string enum: - closed - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -160794,7 +161536,7 @@ webhooks: type: string enum: - created - comment: &924 + comment: &927 type: object properties: author_association: @@ -160954,11 +161696,11 @@ webhooks: - updated_at - body - reactions - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161041,12 +161783,12 @@ webhooks: type: string enum: - deleted - comment: *924 - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + comment: *927 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161141,12 +161883,12 @@ webhooks: - from required: - body - comment: *924 - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + comment: *927 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161230,11 +161972,11 @@ webhooks: type: string enum: - created - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161316,11 +162058,11 @@ webhooks: type: string enum: - deleted - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161420,11 +162162,11 @@ webhooks: type: string required: - from - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161506,10 +162248,10 @@ webhooks: type: string enum: - labeled - discussion: *923 - enterprise: *905 - installation: *906 - label: &926 + discussion: *926 + enterprise: *908 + installation: *909 + label: &929 title: Label type: object properties: @@ -161558,8 +162300,8 @@ webhooks: - description - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161642,11 +162384,11 @@ webhooks: type: string enum: - locked - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161728,11 +162470,11 @@ webhooks: type: string enum: - pinned - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161814,11 +162556,11 @@ webhooks: type: string enum: - reopened - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161903,16 +162645,16 @@ webhooks: changes: type: object properties: - new_discussion: *923 - new_repository: *908 + new_discussion: *926 + new_repository: *911 required: - new_discussion - new_repository - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -161995,10 +162737,10 @@ webhooks: type: string enum: - unanswered - discussion: *923 - old_answer: *925 - organization: *907 - repository: *908 + discussion: *926 + old_answer: *928 + organization: *910 + repository: *911 sender: *4 required: - action @@ -162080,12 +162822,12 @@ webhooks: type: string enum: - unlabeled - discussion: *923 - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -162168,11 +162910,11 @@ webhooks: type: string enum: - unlocked - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -162254,11 +162996,11 @@ webhooks: type: string enum: - unpinned - discussion: *923 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + discussion: *926 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -162327,7 +163069,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162390,7 +163132,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162453,7 +163195,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162516,7 +163258,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162579,7 +163321,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162645,7 +163387,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162711,7 +163453,7 @@ webhooks: required: true content: application/json: - schema: *930 + schema: *933 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162777,7 +163519,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162843,7 +163585,7 @@ webhooks: required: true content: application/json: - schema: *931 + schema: *934 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162909,7 +163651,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162974,7 +163716,7 @@ webhooks: required: true content: application/json: - schema: *929 + schema: *932 responses: '200': description: Return a 200 status to indicate that the data was received @@ -163039,7 +163781,7 @@ webhooks: required: true content: application/json: - schema: *930 + schema: *933 responses: '200': description: Return a 200 status to indicate that the data was received @@ -163104,7 +163846,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -163169,7 +163911,7 @@ webhooks: required: true content: application/json: - schema: *931 + schema: *934 responses: '200': description: Return a 200 status to indicate that the data was received @@ -163235,7 +163977,7 @@ webhooks: required: true content: application/json: - schema: *928 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -163302,7 +164044,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *905 + enterprise: *908 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -163980,9 +164722,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - forkee @@ -164128,9 +164870,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pages: description: The pages that were updated. type: array @@ -164168,7 +164910,7 @@ webhooks: - action - sha - html_url - repository: *908 + repository: *911 sender: *4 required: - pages @@ -164244,10 +164986,10 @@ webhooks: type: string enum: - created - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: &933 + organization: *910 + repositories: &936 description: An array of repository objects that the installation can access. type: array @@ -164273,8 +165015,8 @@ webhooks: - name - full_name - private - repository: *908 - requester: *932 + repository: *911 + requester: *935 sender: *4 required: - action @@ -164349,11 +165091,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -164430,11 +165172,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -164511,10 +165253,10 @@ webhooks: type: string enum: - added - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories_added: &934 + organization: *910 + repositories_added: &937 description: An array of repository objects, which were added to the installation. type: array @@ -164561,15 +165303,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *908 - repository_selection: &935 + repository: *911 + repository_selection: &938 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *932 + requester: *935 sender: *4 required: - action @@ -164648,10 +165390,10 @@ webhooks: type: string enum: - removed - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories_added: *934 + organization: *910 + repositories_added: *937 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -164679,9 +165421,9 @@ webhooks: - name - full_name - private - repository: *908 - repository_selection: *935 - requester: *932 + repository: *911 + repository_selection: *938 + requester: *935 sender: *4 required: - action @@ -164760,11 +165502,11 @@ webhooks: type: string enum: - suspend - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -164947,10 +165689,10 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 target_type: type: string @@ -165029,11 +165771,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *905 + enterprise: *908 installation: *20 - organization: *907 - repositories: *933 - repository: *908 + organization: *910 + repositories: *936 + repository: *911 requester: type: - 'null' @@ -165199,11 +165941,11 @@ webhooks: pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 user: title: User type: @@ -165289,8 +166031,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -166102,8 +166844,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166120,7 +166862,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -166464,8 +167206,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -166545,7 +167287,7 @@ webhooks: type: string enum: - deleted - comment: &936 + comment: &939 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -166702,11 +167444,11 @@ webhooks: pin: anyOf: - type: 'null' - - *710 + - *713 minimized: anyOf: - type: 'null' - - *711 + - *714 required: - url - html_url @@ -166720,8 +167462,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167529,8 +168271,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167547,7 +168289,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -167893,8 +168635,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -167974,7 +168716,7 @@ webhooks: type: string enum: - edited - changes: &960 + changes: &963 description: The changes to the comment. type: object properties: @@ -167986,9 +168728,9 @@ webhooks: type: string required: - from - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -168799,8 +169541,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168817,7 +169559,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -169161,8 +169903,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -169243,9 +169985,9 @@ webhooks: type: string enum: - pinned - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -170058,8 +170800,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170076,7 +170818,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -170422,8 +171164,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -170503,9 +171245,9 @@ webhooks: type: string enum: - unpinned - comment: *936 - enterprise: *905 - installation: *906 + comment: *939 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -171318,8 +172060,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171336,7 +172078,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -171682,8 +172424,8 @@ webhooks: - state - locked - assignee - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -171766,15 +172508,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *224 blocking_issue_repo: *75 - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -171857,15 +172599,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *224 blocking_issue_repo: *75 - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -171947,15 +172689,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocked_issue_repo: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *906 - organization: *907 - repository: *908 + blocking_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -172038,15 +172780,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *224 blocked_issue_repo: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *906 - organization: *907 - repository: *908 + blocking_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -172126,10 +172868,10 @@ webhooks: type: string enum: - assigned - assignee: *932 - enterprise: *905 - installation: *906 - issue: &937 + assignee: *935 + enterprise: *908 + installation: *909 + issue: &940 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -172939,12 +173681,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172961,7 +173703,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -173064,8 +173806,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -173145,8 +173887,8 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -173961,12 +174703,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173983,7 +174725,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -174229,8 +174971,8 @@ webhooks: required: - state - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -174309,8 +175051,8 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175116,12 +175858,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175138,7 +175880,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -175240,8 +175982,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -175320,8 +176062,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176150,12 +176892,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176172,7 +176914,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -176253,7 +176995,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &938 + milestone: &941 title: Milestone description: A collection of related issues and pull requests. type: object @@ -176396,8 +177138,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -176496,8 +177238,8 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177307,12 +178049,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177326,7 +178068,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -177432,9 +178174,9 @@ webhooks: - active_lock_reason - body - reactions - label: *926 - organization: *907 - repository: *908 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -177514,9 +178256,9 @@ webhooks: type: string enum: - field_added - enterprise: *905 - installation: *906 - issue: *937 + enterprise: *908 + installation: *909 + issue: *940 issue_field: type: object description: The issue field whose value was set or updated on the @@ -177682,8 +178424,8 @@ webhooks: - id required: - from - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -177763,9 +178505,9 @@ webhooks: type: string enum: - field_removed - enterprise: *905 - installation: *906 - issue: *937 + enterprise: *908 + installation: *909 + issue: *940 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -177852,8 +178594,8 @@ webhooks: - 'null' required: - id - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -177933,8 +178675,8 @@ webhooks: type: string enum: - labeled - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178759,12 +179501,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178778,7 +179520,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -178884,9 +179626,9 @@ webhooks: - active_lock_reason - body - reactions - label: *926 - organization: *907 - repository: *908 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -178966,8 +179708,8 @@ webhooks: type: string enum: - locked - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179801,12 +180543,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179820,7 +180562,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *392 title: description: Title of the issue type: string @@ -179903,8 +180645,8 @@ webhooks: format: uri user_view_type: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -179983,8 +180725,8 @@ webhooks: type: string enum: - milestoned - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -180812,12 +181554,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180834,7 +181576,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -180914,9 +181656,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *938 - organization: *907 - repository: *908 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -181803,11 +182545,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -181834,7 +182576,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *225 user: title: User type: @@ -181907,7 +182649,7 @@ webhooks: required: - login - id - type: *389 + type: *392 required: - id - number @@ -182399,8 +183141,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -183207,11 +183949,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *842 - issue_dependencies_summary: *843 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -183228,7 +183970,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -183239,7 +183981,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *225 user: title: User type: @@ -183334,8 +184076,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -183415,9 +184157,9 @@ webhooks: type: string enum: - pinned - enterprise: *905 - installation: *906 - issue: &939 + enterprise: *908 + installation: *909 + issue: &942 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -184221,12 +184963,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -184243,7 +184985,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -184345,8 +185087,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -184425,8 +185167,8 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -185258,12 +186000,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -185360,9 +186102,9 @@ webhooks: format: uri user_view_type: type: string - type: *389 - organization: *907 - repository: *908 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -186249,12 +186991,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -186271,7 +187013,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -186864,11 +187606,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *905 - installation: *906 - issue: *939 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *942 + organization: *910 + repository: *911 sender: *4 required: - action @@ -186948,12 +187690,12 @@ webhooks: type: string enum: - typed - enterprise: *905 - installation: *906 - issue: *937 - type: *389 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187034,7 +187776,7 @@ webhooks: type: string enum: - unassigned - assignee: &963 + assignee: &966 title: User type: - object @@ -187106,11 +187848,11 @@ webhooks: required: - login - id - enterprise: *905 - installation: *906 - issue: *937 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187189,12 +187931,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *905 - installation: *906 - issue: *937 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -187274,8 +188016,8 @@ webhooks: type: string enum: - unlocked - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -188107,12 +188849,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *842 - issue_dependencies_summary: *843 + - *225 + sub_issues_summary: *845 + issue_dependencies_summary: *846 issue_field_values: type: array - items: *692 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -188129,7 +188871,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *392 updated_at: type: string format: date-time @@ -188209,8 +188951,8 @@ webhooks: format: uri user_view_type: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188290,11 +189032,11 @@ webhooks: type: string enum: - unpinned - enterprise: *905 - installation: *906 - issue: *939 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *942 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188373,12 +189115,12 @@ webhooks: type: string enum: - untyped - enterprise: *905 - installation: *906 - issue: *937 - type: *389 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + issue: *940 + type: *392 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188458,12 +189200,12 @@ webhooks: type: string enum: - archived - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 label: title: Archived label allOf: - - *926 + - *929 - type: object properties: archived_at: @@ -188477,8 +189219,8 @@ webhooks: required: - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188557,11 +189299,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188639,11 +189381,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188753,11 +189495,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - label: *926 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + label: *929 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188836,12 +189578,12 @@ webhooks: type: string enum: - unarchived - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 label: title: Unarchived label allOf: - - *926 + - *929 - type: object properties: archived_at: @@ -188861,8 +189603,8 @@ webhooks: required: - archived_at - archived_by - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -188944,9 +189686,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: &940 + enterprise: *908 + installation: *909 + marketplace_purchase: &943 title: Marketplace Purchase type: object required: @@ -189034,8 +189776,8 @@ webhooks: type: integer unit_count: type: integer - organization: *907 - previous_marketplace_purchase: &941 + organization: *910 + previous_marketplace_purchase: &944 title: Marketplace Purchase type: object properties: @@ -189119,7 +189861,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -189199,10 +189941,10 @@ webhooks: - changed effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -189290,7 +190032,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -189372,10 +190114,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -189461,7 +190203,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *908 + repository: *911 sender: *4 required: - action @@ -189542,8 +190284,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 marketplace_purchase: title: Marketplace Purchase type: object @@ -189629,9 +190371,9 @@ webhooks: type: integer unit_count: type: integer - organization: *907 - previous_marketplace_purchase: *941 - repository: *908 + organization: *910 + previous_marketplace_purchase: *944 + repository: *911 sender: *4 required: - action @@ -189711,12 +190453,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *905 - installation: *906 - marketplace_purchase: *940 - organization: *907 - previous_marketplace_purchase: *941 - repository: *908 + enterprise: *908 + installation: *909 + marketplace_purchase: *943 + organization: *910 + previous_marketplace_purchase: *944 + repository: *911 sender: *4 required: - action @@ -189818,11 +190560,11 @@ webhooks: type: string required: - to - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -189924,11 +190666,11 @@ webhooks: type: - string - 'null' - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190007,11 +190749,11 @@ webhooks: type: string enum: - removed - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190089,11 +190831,11 @@ webhooks: type: string enum: - added - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 scope: description: The scope of the membership. Currently, can only be `team`. @@ -190171,7 +190913,7 @@ webhooks: required: - login - id - team: &942 + team: &945 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -190401,11 +191143,11 @@ webhooks: type: string enum: - removed - enterprise: *905 - installation: *906 - member: *932 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + member: *935 + organization: *910 + repository: *911 scope: description: The scope of the membership. Currently, can only be `team`. @@ -190484,7 +191226,7 @@ webhooks: required: - login - id - team: *942 + team: *945 required: - action - scope @@ -190566,8 +191308,8 @@ webhooks: type: string enum: - checks_requested - installation: *906 - merge_group: &943 + installation: *909 + merge_group: &946 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -190586,15 +191328,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *556 + head_commit: *559 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190680,10 +191422,10 @@ webhooks: - merged - invalidated - dequeued - installation: *906 - merge_group: *943 - organization: *907 - repository: *908 + installation: *909 + merge_group: *946 + organization: *910 + repository: *911 sender: *4 required: - action @@ -190756,7 +191498,7 @@ webhooks: type: string enum: - deleted - enterprise: *905 + enterprise: *908 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -190865,12 +191607,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *906 - organization: *907 + installation: *909 + organization: *910 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -190950,11 +191692,11 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191033,9 +191775,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - milestone: &944 + enterprise: *908 + installation: *909 + milestone: &947 title: Milestone description: A collection of related issues and pull requests. type: object @@ -191177,8 +191919,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191257,11 +191999,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191371,11 +192113,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - milestone: *938 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *941 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191455,11 +192197,11 @@ webhooks: type: string enum: - opened - enterprise: *905 - installation: *906 - milestone: *944 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *947 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191538,11 +192280,11 @@ webhooks: type: string enum: - blocked - blocked_user: *932 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + blocked_user: *935 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191621,11 +192363,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *932 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + blocked_user: *935 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -191700,8 +192442,8 @@ webhooks: type: string enum: - created - definition: *149 - enterprise: *905 + definition: *152 + enterprise: *908 sender: *4 required: - action @@ -191781,8 +192523,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 sender: *4 required: - action @@ -191854,9 +192596,9 @@ webhooks: type: string enum: - updated - definition: *149 - enterprise: *905 - installation: *906 + definition: *152 + enterprise: *908 + installation: *909 sender: *4 required: - action @@ -191928,18 +192670,18 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 new_property_values: type: array description: The new custom property values. - items: *153 + items: *156 old_property_values: type: array description: The old custom property values. - items: *153 + items: *156 required: - action - organization @@ -192018,9 +192760,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - membership: &945 + enterprise: *908 + installation: *909 + membership: &948 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -192130,8 +192872,8 @@ webhooks: - role - organization_url - user - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 required: - action @@ -192209,11 +192951,11 @@ webhooks: type: string enum: - member_added - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -192292,8 +193034,8 @@ webhooks: type: string enum: - member_invited - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -192415,10 +193157,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 - user: *932 + user: *935 required: - action - invitation @@ -192496,11 +193238,11 @@ webhooks: type: string enum: - member_removed - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -192587,11 +193329,11 @@ webhooks: properties: from: type: string - enterprise: *905 - installation: *906 - membership: *945 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + membership: *948 + organization: *910 + repository: *911 sender: *4 required: - action @@ -192669,9 +193411,9 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 package: description: Information about the package. type: object @@ -193194,7 +193936,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &946 + items: &949 title: Ruby Gems metadata type: object properties: @@ -193291,7 +194033,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -193368,9 +194110,9 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 package: description: Information about the package. type: object @@ -193732,7 +194474,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *946 + items: *949 source_url: type: string format: uri @@ -193803,7 +194545,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -193983,12 +194725,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *905 + enterprise: *908 id: type: integer - installation: *906 - organization: *907 - repository: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - id @@ -194065,7 +194807,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &947 + personal_access_token_request: &950 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -194215,10 +194957,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *905 - organization: *907 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -194295,11 +195037,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *947 - enterprise: *905 - organization: *907 + personal_access_token_request: *950 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -194375,11 +195117,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *947 - enterprise: *905 - organization: *907 + personal_access_token_request: *950 + enterprise: *908 + organization: *910 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -194454,11 +195196,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *947 - organization: *907 - enterprise: *905 + personal_access_token_request: *950 + organization: *910 + enterprise: *908 sender: *4 - installation: *906 + installation: *909 required: - action - personal_access_token_request @@ -194563,7 +195305,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *948 + last_response: *951 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -194595,8 +195337,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 zen: description: Random string of GitHub zen. @@ -194841,10 +195583,10 @@ webhooks: - from required: - note - enterprise: *905 - installation: *906 - organization: *907 - project_card: &949 + enterprise: *908 + installation: *909 + organization: *910 + project_card: &952 title: Project Card type: object properties: @@ -194967,7 +195709,7 @@ webhooks: - creator - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -195048,11 +195790,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project_card: *949 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_card: *952 + repository: *911 sender: *4 required: - action @@ -195132,9 +195874,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 project_card: title: Project Card type: object @@ -195264,7 +196006,7 @@ webhooks: repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -195358,11 +196100,11 @@ webhooks: - from required: - note - enterprise: *905 - installation: *906 - organization: *907 - project_card: *949 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_card: *952 + repository: *911 sender: *4 required: - action @@ -195456,9 +196198,9 @@ webhooks: - from required: - column_id - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 project_card: allOf: - title: Project Card @@ -195655,7 +196397,7 @@ webhooks: type: string required: - after_id - repository: *908 + repository: *911 sender: *4 required: - action @@ -195735,10 +196477,10 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - organization: *907 - project: &951 + enterprise: *908 + installation: *909 + organization: *910 + project: &954 title: Project type: object properties: @@ -195865,7 +196607,7 @@ webhooks: - creator - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -195945,10 +196687,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project_column: &950 + enterprise: *908 + installation: *909 + organization: *910 + project_column: &953 title: Project Column type: object properties: @@ -195988,7 +196730,7 @@ webhooks: - name - created_at - updated_at - repository: *908 + repository: *911 sender: *4 required: - action @@ -196067,14 +196809,14 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -196163,11 +196905,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 + repository: *911 sender: *4 required: - action @@ -196247,11 +196989,11 @@ webhooks: type: string enum: - moved - enterprise: *905 - installation: *906 - organization: *907 - project_column: *950 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project_column: *953 + repository: *911 sender: *4 required: - action @@ -196331,11 +197073,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -196415,14 +197157,14 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - project: *951 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 repository: anyOf: - type: 'null' - - *908 + - *911 sender: *4 required: - action @@ -196523,11 +197265,11 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -196606,11 +197348,11 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 - organization: *907 - project: *951 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + project: *954 + repository: *911 sender: *4 required: - action @@ -196691,9 +197433,9 @@ webhooks: type: string enum: - closed - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -196774,9 +197516,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -196857,9 +197599,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -196980,9 +197722,9 @@ webhooks: type: string to: type: string - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -197065,7 +197807,7 @@ webhooks: type: string enum: - archived - changes: &955 + changes: &958 type: object properties: archived_at: @@ -197081,9 +197823,9 @@ webhooks: - string - 'null' format: date-time - installation: *906 - organization: *907 - projects_v2_item: &952 + installation: *909 + organization: *910 + projects_v2_item: &955 title: Projects v2 Item description: An item belonging to a project type: object @@ -197101,7 +197843,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *426 + content_type: *429 creator: *4 created_at: type: string @@ -197223,9 +197965,9 @@ webhooks: - 'null' to: type: string - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -197307,9 +198049,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -197390,9 +198132,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -197497,7 +198239,7 @@ webhooks: oneOf: - type: string - type: integer - - &953 + - &956 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -197521,7 +198263,7 @@ webhooks: required: - id - name - - &954 + - &957 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -197561,8 +198303,8 @@ webhooks: oneOf: - type: string - type: integer - - *953 - - *954 + - *956 + - *957 type: - 'null' - string @@ -197585,9 +198327,9 @@ webhooks: - 'null' required: - body - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -197684,9 +198426,9 @@ webhooks: type: - string - 'null' - installation: *906 - organization: *907 - projects_v2_item: *952 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -197769,10 +198511,10 @@ webhooks: type: string enum: - restored - changes: *955 - installation: *906 - organization: *907 - projects_v2_item: *952 + changes: *958 + installation: *909 + organization: *910 + projects_v2_item: *955 sender: *4 required: - action @@ -197854,9 +198596,9 @@ webhooks: type: string enum: - reopened - installation: *906 - organization: *907 - projects_v2: *420 + installation: *909 + organization: *910 + projects_v2: *423 sender: *4 required: - action @@ -197937,9 +198679,9 @@ webhooks: type: string enum: - created - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -198020,9 +198762,9 @@ webhooks: type: string enum: - deleted - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -198168,9 +198910,9 @@ webhooks: - string - 'null' format: date - installation: *906 - organization: *907 - projects_v2_status_update: *956 + installation: *909 + organization: *910 + projects_v2_status_update: *959 sender: *4 required: - action @@ -198241,10 +198983,10 @@ webhooks: title: public event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - repository @@ -198321,13 +199063,13 @@ webhooks: type: string enum: - assigned - assignee: *932 - enterprise: *905 - installation: *906 - number: &957 + assignee: *935 + enterprise: *908 + installation: *909 + number: &960 description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -200570,7 +201312,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -200699,7 +201441,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -200796,10 +201538,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -203033,7 +203775,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -203164,7 +203906,7 @@ webhooks: - draft reason: type: string - repository: *908 + repository: *911 sender: *4 required: - action @@ -203261,10 +204003,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -205498,7 +206240,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -205629,7 +206371,7 @@ webhooks: - draft reason: type: string - repository: *908 + repository: *911 sender: *4 required: - action @@ -205726,13 +206468,13 @@ webhooks: type: string enum: - closed - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: &958 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: &961 allOf: - - *746 + - *749 - type: object properties: allow_auto_merge: @@ -205794,7 +206536,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *908 + repository: *911 sender: *4 required: - action @@ -205875,12 +206617,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -205960,12 +206702,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *905 - installation: *906 - milestone: *423 - number: *957 - organization: *907 - pull_request: &959 + enterprise: *908 + installation: *909 + milestone: *426 + number: *960 + organization: *910 + pull_request: &962 title: Pull Request type: object properties: @@ -208186,7 +208928,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -208357,7 +209099,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *908 + repository: *911 sender: *4 required: - action @@ -208437,10 +209179,10 @@ webhooks: type: string enum: - dequeued - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -210665,7 +211407,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -210809,7 +211551,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *908 + repository: *911 sender: *4 required: - action @@ -210941,12 +211683,12 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -211027,10 +211769,10 @@ webhooks: type: string enum: - enqueued - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -213255,7 +213997,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -213384,7 +214126,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -213472,11 +214214,11 @@ webhooks: type: string enum: - labeled - enterprise: *905 - installation: *906 - label: *926 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + label: *929 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -215734,7 +216476,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -215863,7 +216605,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -215959,10 +216701,10 @@ webhooks: type: string enum: - locked - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -218202,7 +218944,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -218331,7 +219073,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -218426,13 +219168,13 @@ webhooks: type: string enum: - milestoned - enterprise: *905 - installation: *906 - milestone: *423 - number: *957 - organization: *907 - pull_request: *959 - repository: *908 + enterprise: *908 + installation: *909 + milestone: *426 + number: *960 + organization: *910 + pull_request: *962 + repository: *911 sender: *4 required: - action @@ -218512,12 +219254,12 @@ webhooks: type: string enum: - opened - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -218598,12 +219340,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -218683,12 +219425,12 @@ webhooks: type: string enum: - reopened - enterprise: *905 - installation: *906 - number: *957 - organization: *907 - pull_request: *958 - repository: *908 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 + pull_request: *961 + repository: *911 sender: *4 required: - action @@ -219063,9 +219805,9 @@ webhooks: - start_side - side - reactions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -221194,7 +221936,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -221318,7 +222060,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -221413,7 +222155,7 @@ webhooks: type: string enum: - deleted - comment: &961 + comment: &964 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -221706,9 +222448,9 @@ webhooks: - start_side - side - reactions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -223825,7 +224567,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -223949,7 +224691,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -224044,11 +224786,11 @@ webhooks: type: string enum: - edited - changes: *960 - comment: *961 - enterprise: *905 - installation: *906 - organization: *907 + changes: *963 + comment: *964 + enterprise: *908 + installation: *909 + organization: *910 pull_request: type: object properties: @@ -226168,7 +226910,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -226292,7 +227034,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *908 + repository: *911 sender: *4 required: - action @@ -226388,9 +227130,9 @@ webhooks: type: string enum: - dismissed - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -228520,7 +229262,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -228646,7 +229388,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 review: description: The review that was affected. type: object @@ -228912,9 +229654,9 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -231028,8 +231770,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 - review: &962 + repository: *911 + review: &965 description: The review that was affected. type: object properties: @@ -231275,12 +232017,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -233521,7 +234263,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -233650,7 +234392,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_reviewer: title: User type: @@ -233736,12 +234478,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -235989,7 +236731,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -236118,7 +236860,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_team: title: Team description: Groups of organization members that gives permissions @@ -236336,12 +237078,12 @@ webhooks: type: string enum: - review_requested - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -238583,7 +239325,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -238713,7 +239455,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_reviewer: title: User type: @@ -238800,12 +239542,12 @@ webhooks: type: string enum: - review_requested - enterprise: *905 - installation: *906 + enterprise: *908 + installation: *909 number: description: The pull request number. type: integer - organization: *907 + organization: *910 pull_request: title: Pull Request type: object @@ -241038,7 +241780,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. @@ -241168,7 +241910,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 requested_team: title: Team description: Groups of organization members that gives permissions @@ -241375,9 +242117,9 @@ webhooks: type: string enum: - submitted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -243510,7 +244252,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -243636,8 +244378,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 - review: *962 + repository: *911 + review: *965 sender: *4 required: - action @@ -243732,9 +244474,9 @@ webhooks: type: string enum: - resolved - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -245762,7 +246504,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -245888,7 +246630,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 sender: *4 thread: type: object @@ -246293,9 +247035,9 @@ webhooks: type: string enum: - unresolved - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 pull_request: title: Simple Pull Request type: object @@ -248307,7 +249049,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: type: string enum: @@ -248432,7 +249174,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *908 + repository: *911 sender: *4 thread: type: object @@ -248833,11 +249575,11 @@ webhooks: type: string enum: - stacked - enterprise: *905 - installation: *906 - stack: *743 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + stack: *746 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -251079,7 +251821,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -251208,7 +251950,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -251309,10 +252051,10 @@ webhooks: type: string before: type: string - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -253541,7 +254283,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -253670,7 +254412,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -253767,11 +254509,11 @@ webhooks: type: string enum: - unassigned - assignee: *963 - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + assignee: *966 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -256015,7 +256757,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -256144,7 +256886,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -256239,11 +256981,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *905 - installation: *906 - label: *926 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + label: *929 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -258476,7 +259218,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -258605,7 +259347,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -258701,10 +259443,10 @@ webhooks: type: string enum: - unlocked - enterprise: *905 - installation: *906 - number: *957 - organization: *907 + enterprise: *908 + installation: *909 + number: *960 + organization: *910 pull_request: title: Pull Request type: object @@ -260928,7 +261670,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *743 + stack: *746 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -261056,7 +261798,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *908 + repository: *911 sender: *4 required: - action @@ -261274,7 +262016,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *905 + enterprise: *908 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -261369,8 +262111,8 @@ webhooks: - url - author - committer - installation: *906 - organization: *907 + installation: *909 + organization: *910 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -261969,9 +262711,9 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 registry_package: type: object properties: @@ -262448,7 +263190,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *946 + items: *949 summary: type: string tag_name: @@ -262504,7 +263246,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -262582,9 +263324,9 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 registry_package: type: object properties: @@ -262896,7 +263638,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *946 + items: *949 summary: type: string tag_name: @@ -262946,7 +263688,7 @@ webhooks: - owner - package_version - registry - repository: *908 + repository: *911 sender: *4 required: - action @@ -263023,10 +263765,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - release: &964 + enterprise: *908 + installation: *909 + organization: *910 + release: &967 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -263357,7 +264099,7 @@ webhooks: - updated_at - zipball_url - body - repository: *908 + repository: *911 sender: *4 required: - action @@ -263434,11 +264176,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -263555,11 +264297,11 @@ webhooks: type: boolean required: - to - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -263637,9 +264379,9 @@ webhooks: type: string enum: - prereleased - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -263975,7 +264717,7 @@ webhooks: - string - 'null' format: uri - repository: *908 + repository: *911 sender: *4 required: - action @@ -264051,10 +264793,10 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - release: &965 + enterprise: *908 + installation: *909 + organization: *910 + release: &968 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -264387,7 +265129,7 @@ webhooks: - string - 'null' format: uri - repository: *908 + repository: *911 sender: *4 required: - action @@ -264463,11 +265205,11 @@ webhooks: type: string enum: - released - enterprise: *905 - installation: *906 - organization: *907 - release: *964 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *967 + repository: *911 sender: *4 required: - action @@ -264543,11 +265285,11 @@ webhooks: type: string enum: - unpublished - enterprise: *905 - installation: *906 - organization: *907 - release: *965 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + release: *968 + repository: *911 sender: *4 required: - action @@ -264623,11 +265365,11 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_advisory: *801 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_advisory: *804 sender: *4 required: - action @@ -264703,11 +265445,11 @@ webhooks: type: string enum: - reported - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_advisory: *801 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_advisory: *804 sender: *4 required: - action @@ -264783,10 +265525,10 @@ webhooks: type: string enum: - archived - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264863,10 +265605,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -264944,10 +265686,10 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265032,10 +265774,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265150,10 +265892,10 @@ webhooks: - 'null' items: type: string - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265225,10 +265967,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 status: type: string @@ -265309,10 +266051,10 @@ webhooks: type: string enum: - privatized - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265389,10 +266131,10 @@ webhooks: type: string enum: - publicized - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265486,10 +266228,10 @@ webhooks: - name required: - repository - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -265569,11 +266311,11 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 sender: *4 required: - action @@ -265651,11 +266393,11 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 sender: *4 required: - action @@ -265733,11 +266475,11 @@ webhooks: type: string enum: - edited - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - repository_ruleset: *188 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + repository_ruleset: *191 changes: type: object properties: @@ -265756,16 +266498,16 @@ webhooks: properties: added: type: array - items: *159 + items: *162 deleted: type: array - items: *159 + items: *162 updated: type: array items: type: object properties: - condition: *159 + condition: *162 changes: type: object properties: @@ -265798,16 +266540,16 @@ webhooks: properties: added: type: array - items: *768 + items: *771 deleted: type: array - items: *768 + items: *771 updated: type: array items: type: object properties: - rule: *768 + rule: *771 changes: type: object properties: @@ -266044,10 +266786,10 @@ webhooks: - from required: - owner - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266125,10 +266867,10 @@ webhooks: type: string enum: - unarchived - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266206,7 +266948,7 @@ webhooks: type: string enum: - create - alert: &966 + alert: &969 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -266331,10 +267073,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266544,10 +267286,10 @@ webhooks: type: string enum: - dismissed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266625,11 +267367,11 @@ webhooks: type: string enum: - reopen - alert: *966 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *969 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266831,10 +267573,10 @@ webhooks: enum: - fixed - open - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -266912,17 +267654,17 @@ webhooks: type: string enum: - assigned - alert: &968 + alert: &971 type: object properties: - number: *128 - created_at: *135 + number: *131 + created_at: *138 updated_at: anyOf: - type: 'null' - - *136 - url: *133 - html_url: *134 + - *139 + url: *136 + html_url: *137 locations_url: type: string format: uri @@ -267059,12 +267801,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *967 + metadata: *970 assignee: *4 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -267142,11 +267884,11 @@ webhooks: type: string enum: - created - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -267227,11 +267969,11 @@ webhooks: type: string enum: - created - alert: *968 - installation: *906 - location: *969 - organization: *907 - repository: *908 + alert: *971 + installation: *909 + location: *972 + organization: *910 + repository: *911 sender: *4 required: - location @@ -267469,11 +268211,11 @@ webhooks: type: string enum: - metadata_created - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -267550,11 +268292,11 @@ webhooks: type: string enum: - metadata_removed - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -267631,11 +268373,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -267713,11 +268455,11 @@ webhooks: type: string enum: - reopened - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -267795,11 +268537,11 @@ webhooks: type: string enum: - resolved - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -267877,12 +268619,12 @@ webhooks: type: string enum: - unassigned - alert: *968 + alert: *971 assignee: *4 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -267960,11 +268702,11 @@ webhooks: type: string enum: - validated - alert: *968 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + alert: *971 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -268094,10 +268836,10 @@ webhooks: - organization - enterprise - - repository: *908 - enterprise: *905 - installation: *906 - organization: *907 + repository: *911 + enterprise: *908 + installation: *909 + organization: *910 sender: *4 required: - action @@ -268175,11 +268917,11 @@ webhooks: type: string enum: - published - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - security_advisory: &970 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + security_advisory: &973 description: The details of the security advisory, including summary, description, and severity. type: object @@ -268196,7 +268938,7 @@ webhooks: required: - vector_string - score - cvss_severities: *130 + cvss_severities: *133 cwes: type: array items: @@ -268383,11 +269125,11 @@ webhooks: type: string enum: - updated - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 - security_advisory: *970 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 + security_advisory: *973 sender: *4 required: - action @@ -268460,10 +269202,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -268481,7 +269223,7 @@ webhooks: required: - vector_string - score - cvss_severities: *130 + cvss_severities: *133 cwes: type: array items: @@ -268657,11 +269399,11 @@ webhooks: from: type: object properties: - security_and_analysis: *434 - enterprise: *905 - installation: *906 - organization: *907 - repository: *495 + security_and_analysis: *437 + enterprise: *908 + installation: *909 + organization: *910 + repository: *498 sender: *4 required: - changes @@ -268739,12 +269481,12 @@ webhooks: type: string enum: - cancelled - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: &971 + sponsorship: &974 type: object properties: created_at: @@ -269049,12 +269791,12 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - sponsorship @@ -269142,12 +269884,12 @@ webhooks: type: string required: - from - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -269224,17 +269966,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &972 + effective_date: &975 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: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - sponsorship @@ -269308,7 +270050,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &973 + changes: &976 type: object properties: tier: @@ -269352,13 +270094,13 @@ webhooks: - from required: - tier - effective_date: *972 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + effective_date: *975 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -269435,13 +270177,13 @@ webhooks: type: string enum: - tier_changed - changes: *973 - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + changes: *976 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - sponsorship: *971 + sponsorship: *974 required: - action - changes @@ -269515,10 +270257,10 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -269602,10 +270344,10 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -270039,15 +270781,15 @@ webhooks: type: - string - 'null' - enterprise: *905 + enterprise: *908 id: description: The unique identifier of the status. type: integer - installation: *906 + installation: *909 name: type: string - organization: *907 - repository: *908 + organization: *910 + repository: *911 sender: *4 sha: description: The Commit SHA. @@ -270157,15 +270899,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *224 parent_issue_repo: *75 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *906 - organization: *907 - repository: *908 + sub_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -270248,15 +270990,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *224 parent_issue_repo: *75 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *906 - organization: *907 - repository: *908 + sub_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -270339,15 +271081,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *224 sub_issue_repo: *75 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *906 - organization: *907 - repository: *908 + parent_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -270430,15 +271172,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *224 sub_issue_repo: *75 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *906 - organization: *907 - repository: *908 + parent_issue: *224 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -270514,12 +271256,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - team: &974 + team: &977 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -270749,9 +271491,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -271221,7 +271963,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -271297,9 +272039,9 @@ webhooks: type: string enum: - created - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -271769,7 +272511,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -271846,9 +272588,9 @@ webhooks: type: string enum: - deleted - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -272318,7 +273060,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -272462,9 +273204,9 @@ webhooks: - from required: - permissions - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -272934,7 +273676,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - changes @@ -273012,9 +273754,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *905 - installation: *906 - organization: *907 + enterprise: *908 + installation: *909 + organization: *910 repository: title: Repository description: A git repository @@ -273484,7 +274226,7 @@ webhooks: - topics - visibility sender: *4 - team: *974 + team: *977 required: - action - team @@ -273560,10 +274302,10 @@ webhooks: type: string enum: - started - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 required: - action @@ -273636,17 +274378,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *905 + enterprise: *908 inputs: type: - object - 'null' additionalProperties: true - installation: *906 - organization: *907 + installation: *909 + organization: *910 ref: type: string - repository: *908 + repository: *911 sender: *4 workflow: type: string @@ -273728,10 +274470,10 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: allOf: @@ -273987,7 +274729,7 @@ webhooks: type: string required: - conclusion - deployment: *635 + deployment: *638 required: - action - repository @@ -274066,10 +274808,10 @@ webhooks: type: string enum: - in_progress - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: allOf: @@ -274351,7 +275093,7 @@ webhooks: required: - status - steps - deployment: *635 + deployment: *638 required: - action - repository @@ -274430,10 +275172,10 @@ webhooks: type: string enum: - queued - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: type: object @@ -274579,7 +275321,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *635 + deployment: *638 required: - action - repository @@ -274658,10 +275400,10 @@ webhooks: type: string enum: - waiting - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 workflow_job: type: object @@ -274808,7 +275550,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *635 + deployment: *638 required: - action - repository @@ -274888,12 +275630,12 @@ webhooks: type: string enum: - completed - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object @@ -275912,12 +276654,12 @@ webhooks: type: string enum: - in_progress - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object @@ -276921,12 +277663,12 @@ webhooks: type: string enum: - requested - enterprise: *905 - installation: *906 - organization: *907 - repository: *908 + enterprise: *908 + installation: *909 + organization: *910 + repository: *911 sender: *4 - workflow: *922 + workflow: *925 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index e31aecd51..2e0bdda3b 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -14635,6 +14635,411 @@ } } }, + "/enterprises/{enterprise}/credentials": { + "get": { + "summary": "List enterprise token inventory", + "description": "Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/list-enterprise-token-inventory", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "name": "after", + "description": "A cursor, as given in the `Link` header, for the next page of results.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "token_types", + "description": "A comma-separated list of credential types to filter by.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "authorization_state", + "description": "Filter by enterprise-access status.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + } + }, + { + "name": "owner", + "description": "Filter to credentials owned by this user, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "application", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-token-inventory-item" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + }, + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the walk hit the safety ceiling or time budget, so the result is a partial page. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the result is incomplete for any reason (truncated, or a source was omitted). A client must not read an absent `Link` next page as \"complete\" without also checking this header. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the result, in ISO 8601 format. The inventory is stitched from replica reads over the request, not a point-in-time snapshot.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted; a comma-separated list of the affected token types (for example, `classic_pat,ssh_key`). Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled, so those rows carry `expiry_unknown` and their `never_expires` / `past_expiration_policy` are not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports": { + "post": { + "summary": "Create an enterprise token inventory export", + "description": "Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day.\n\nThe generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-enterprise-token-inventory-export", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "Optional filters that scope the export to a subset of the inventory.", + "properties": { + "token_types": { + "type": "array", + "description": "The credential types to include.", + "items": { + "type": "string" + } + }, + "authorization_state": { + "type": "string", + "description": "Filter by enterprise-access status.", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "owner": { + "type": "string", + "description": "Filter to credentials owned by this user, given as a login." + }, + "organization": { + "type": "string", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login." + }, + "application": { + "type": "string", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id." + } + } + }, + "examples": { + "default": { + "value": { + "owner": "octocat" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-export" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-export" + } + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + }, + "429": { + "description": "Too many requests" + }, + "500": { + "description": "Internal error, for example the export job could not be enqueued." + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports/{export_id}": { + "get": { + "summary": "Get an enterprise token inventory export", + "description": "Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-export", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "export_id", + "description": "The opaque id of the export, as returned when it was created.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-export" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-export" + } + } + } + } + }, + "302": { + "description": "The export is ready; redirects to a short-lived download URL.", + "headers": { + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the export hit the safety ceiling, so the CSV is a partial inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the export is incomplete for any reason (truncated, or a source was omitted), so the CSV must not be treated as a complete inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the export, in ISO 8601 format.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted from the export; a comma-separated list of the affected token types. Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present in the export, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled in the export, so those rows carry `expiry_status` = `unknown` and their `past_expiration_policy` is not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/{inventory_id}": { + "get": { + "summary": "Get an enterprise token inventory item", + "description": "Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-item", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "inventory_id", + "description": "The opaque inventory_id returned by the list endpoint for this enterprise. Pass it unchanged. Its value can differ for the same credential between responses.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-item" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-item" + } + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -146309,6 +146714,310 @@ "report_end_day" ] }, + "enterprise-token-inventory-item": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + }, + "enterprise-token-inventory-export": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -347120,6 +347829,238 @@ } ] }, + "enterprise-token-inventory-items": { + "value": [ + { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "ZmVkY2JhOTg3NjU0MzIxMA", + "credential_id": 246810, + "hashed_token": "B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "oauth_app_user_token", + "display_name": "Acme Deploy", + "owner": { + "id": 2, + "login": "hubot" + }, + "owner_type": "user", + "application": { + "id": 42, + "name": "Acme Deploy" + }, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-03-10T14:00:00Z", + "last_used_at": "2024-06-02T08:15:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 2, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + }, + { + "id": 11, + "login": "acme-ops" + } + ], + "age_days": 83, + "never_expires": true, + "past_expiration_policy": false, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": [ + "read:user", + "repo" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "c3NoLWtleS1leGFtcGxlLTAwMQ", + "credential_id": null, + "hashed_token": null, + "fingerprint": "SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", + "item_type": "credential", + "credential_type": "ssh_key", + "display_name": "laptop-2024", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2023-11-01T10:00:00Z", + "last_used_at": "2024-05-20T16:45:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 213, + "never_expires": true, + "past_expiration_policy": true, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": null, + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "YWJjZGVmMDEyMzQ1Njc4OQ", + "credential_id": 135790, + "hashed_token": null, + "fingerprint": null, + "item_type": "credential", + "credential_type": "fine_grained_pat", + "display_name": "release-bot", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-05-01T10:00:00Z", + "last_used_at": "2024-06-03T16:45:00Z", + "expires_at": "2024-11-01T10:00:00Z", + "next_expires_at": "2024-11-01T10:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 45, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": null, + "permissions": { + "contents": "read", + "pull_requests": "write" + }, + "repository_selection": "subset" + } + ] + }, + "enterprise-token-inventory-export": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + }, + "enterprise-token-inventory-item": { + "value": { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + } + }, "dependabot-alerts-for-organization": { "value": [ { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 58c792d81..a4fcfde93 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -10964,6 +10964,330 @@ paths: enabledForGitHubApps: true category: enterprise-admin subcategory: credential-authorizations + "/enterprises/{enterprise}/credentials": + get: + summary: List enterprise token inventory + description: |- + Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-token-inventory + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - name: after + description: A cursor, as given in the `Link` header, for the next page of + results. + in: query + required: false + schema: + type: string + - name: token_types + description: A comma-separated list of credential types to filter by. + in: query + required: false + schema: + type: string + - name: authorization_state + description: Filter by enterprise-access status. + in: query + required: false + schema: + type: string + enum: + - currently_authorized + - member_owned_only + - name: owner + description: Filter to credentials owned by this user, given as a login. + in: query + required: false + schema: + type: string + - name: organization + description: Filter to credentials authorized to this organization in the + enterprise, given as a login. + in: query + required: false + schema: + type: string + - name: application + description: Filter to credentials for this application, given as a GitHub + App slug or an OAuth App client id. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-token-inventory-item" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-items" + headers: + Link: + "$ref": "#/components/headers/link" + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the walk hit the safety + ceiling or time budget, so the result is a partial page. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the result is incomplete + for any reason (truncated, or a source was omitted). A client must + not read an absent `Link` next page as "complete" without also checking + this header. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the result, in ISO 8601 format. + The inventory is stitched from replica reads over the request, not + a point-in-time snapshot. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted; a comma-separated list of the affected token types (for + example, `classic_pat,ssh_key`). Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present, but that metadata may be absent. Absent when all metadata + loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled, so those rows carry `expiry_unknown` + and their `never_expires` / `past_expiration_policy` are not asserted. + Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + '422': + description: Validation failed + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports": + post: + summary: Create an enterprise token inventory export + description: |- + Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day. + + The generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/create-enterprise-token-inventory-export + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: false + content: + application/json: + schema: + type: object + description: Optional filters that scope the export to a subset of the + inventory. + properties: + token_types: + type: array + description: The credential types to include. + items: + type: string + authorization_state: + type: string + description: Filter by enterprise-access status. + enum: + - currently_authorized + - member_owned_only + owner: + type: string + description: Filter to credentials owned by this user, given as + a login. + organization: + type: string + description: Filter to credentials authorized to this organization + in the enterprise, given as a login. + application: + type: string + description: Filter to credentials for this application, given as + a GitHub App slug or an OAuth App client id. + examples: + default: + value: + owner: octocat + responses: + '202': + description: Accepted + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-export" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-export" + '404': + description: Resource not found + '422': + description: Validation failed + '429': + description: Too many requests + '500': + description: Internal error, for example the export job could not be enqueued. + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports/{export_id}": + get: + summary: Get an enterprise token inventory export + description: |- + Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-export + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: export_id + description: The opaque id of the export, as returned when it was created. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-export" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-export" + '302': + description: The export is ready; redirects to a short-lived download URL. + headers: + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the export hit the safety + ceiling, so the CSV is a partial inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the export is incomplete + for any reason (truncated, or a source was omitted), so the CSV must + not be treated as a complete inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the export, in ISO 8601 format. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted from the export; a comma-separated list of the affected + token types. Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present in the export, but that metadata may be absent. Absent when + all metadata loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled in the export, so those rows + carry `expiry_status` = `unknown` and their `past_expiration_policy` + is not asserted. Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/{inventory_id}": + get: + summary: Get an enterprise token inventory item + description: |- + Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-item + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: inventory_id + description: The opaque inventory_id returned by the list endpoint for this + enterprise. Pass it unchanged. Its value can differ for the same credential + between responses. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-item" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-item" + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -106611,6 +106935,241 @@ components: - download_links - report_start_day - report_end_day + enterprise-token-inventory-item: + title: Enterprise Token Inventory Item + description: A credential or GitHub App installation in an enterprise's token + inventory. + type: object + required: + - inventory_id + - item_type + - credential_type + - credential_state + - authorization_state + - effective_access_state + - enterprise_authorized + - authorization_count + - authorized_organizations + properties: + inventory_id: + type: string + description: Opaque identifier for retrieving this item within the enterprise. + Its value can differ between responses for the same credential. + credential_id: + type: + - integer + - 'null' + description: The credential's ID for audit-log correlation, unique only + within its `credential_type`. Null for SSH keys, GitHub App installations, + and federated credentials. + hashed_token: + type: + - string + - 'null' + description: Base64-encoded SHA-256 hash of the token, matching `hashed_token` + in audit events. Null when not reported. + fingerprint: + type: + - string + - 'null' + description: The SSH key's SHA-256 fingerprint, matching audit events. Null + for other credential types. + item_type: + type: string + enum: + - credential + - token_issuer_principal + credential_type: + type: string + enum: + - classic_pat + - oauth_app_user_token + - github_app_user_token + - fine_grained_pat + - ssh_key + - github_app_installation + - federated_jti + display_name: + type: + - string + - 'null' + owner: + type: + - object + - 'null' + properties: + id: + type: integer + login: + type: string + name: + type: + - string + - 'null' + owner_type: + type: + - string + - 'null' + enum: + - user + - oauth_application + - github_app + - + description: The type of credential owner. + application: + type: + - object + - 'null' + properties: + id: + type: integer + name: + type: + - string + - 'null' + credential_state: + type: string + enum: + - active + - expired + - revoked + - deleted + authorization_state: + type: string + enum: + - currently_authorized + - member_owned_only + effective_access_state: + type: string + enum: + - effective + - not_effective + - unknown + state_reason: + type: + - string + - 'null' + created_at: + type: + - string + - 'null' + format: date-time + last_used_at: + type: + - string + - 'null' + format: date-time + expires_at: + type: + - string + - 'null' + format: date-time + next_expires_at: + type: + - string + - 'null' + format: date-time + credential_instance_count: + type: + - integer + - 'null' + enterprise_authorized: + type: boolean + description: Whether the item is authorized directly at the enterprise level. + authorization_count: + type: integer + description: Number of authorizing organizations, plus one when `enterprise_authorized` + is true. + authorized_organizations: + type: array + items: + type: object + properties: + id: + type: integer + login: + type: string + age_days: + type: + - integer + - 'null' + description: Age of the credential in whole days at assembly time. + never_expires: + type: boolean + description: Whether this is an active credential with no expiration. False + for GitHub App installations and credentials with unknown expiration. + past_expiration_policy: + type: + - boolean + - 'null' + description: Whether the credential exceeds a configured lifetime limit + or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: + - string + - 'null' + enum: + - enforced_limit + - proposed_baseline + - + description: 'The basis for `past_expiration_policy`: an enforced PAT lifetime + limit or an advisory age baseline.' + expiry_unknown: + type: boolean + description: Whether the credential's expiration could not be determined. + scopes: + type: + - array + - 'null' + items: + type: string + description: OAuth scopes recorded for the token. Null when not reported + for the credential type. + permissions: + type: + - object + - 'null' + additionalProperties: + type: string + description: Permissions by resource for fine-grained PATs and GitHub App + installations. Null when not reported; an empty object means no recorded + permissions. + repository_selection: + type: + - string + - 'null' + enum: + - all + - subset + - none + - + description: Repository selection for the credential. Null when not reported; + `none` means no repositories are selected. + enterprise-token-inventory-export: + title: Enterprise Token Inventory Export + description: The status of an asynchronous enterprise token inventory CSV export. + type: object + required: + - export_id + - status + properties: + export_id: + type: string + description: Opaque id for the export, used to poll its status. + status: + type: string + description: The state of the export job. + enum: + - pending + - queued + - started + - success + - error + as_of: + type: + - string + - 'null' + description: When the export was requested. dependabot-alert-package: type: object description: Details for the vulnerable package. @@ -255669,6 +256228,197 @@ components: endpoint: "/chat/completions" body: '{"choices":[{"message":{"content":"Hi there!"}}]}' "@timestamp": 1719600000500 + enterprise-token-inventory-items: + value: + - inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + - inventory_id: ZmVkY2JhOTg3NjU0MzIxMA + credential_id: 246810 + hashed_token: B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE= + fingerprint: + item_type: credential + credential_type: oauth_app_user_token + display_name: Acme Deploy + owner: + id: 2 + login: hubot + owner_type: user + application: + id: 42 + name: Acme Deploy + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-03-10T14:00:00Z' + last_used_at: '2024-06-02T08:15:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 2 + authorized_organizations: + - id: 10 + login: acme-eng + - id: 11 + login: acme-ops + age_days: 83 + never_expires: true + past_expiration_policy: false + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + - read:user + - repo + permissions: + repository_selection: + - inventory_id: c3NoLWtleS1leGFtcGxlLTAwMQ + credential_id: + hashed_token: + fingerprint: SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 + item_type: credential + credential_type: ssh_key + display_name: laptop-2024 + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2023-11-01T10:00:00Z' + last_used_at: '2024-05-20T16:45:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 213 + never_expires: true + past_expiration_policy: true + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + permissions: + repository_selection: + - inventory_id: YWJjZGVmMDEyMzQ1Njc4OQ + credential_id: 135790 + hashed_token: + fingerprint: + item_type: credential + credential_type: fine_grained_pat + display_name: release-bot + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-05-01T10:00:00Z' + last_used_at: '2024-06-03T16:45:00Z' + expires_at: '2024-11-01T10:00:00Z' + next_expires_at: '2024-11-01T10:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 45 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + permissions: + contents: read + pull_requests: write + repository_selection: subset + enterprise-token-inventory-export: + value: + export_id: 7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507 + status: queued + as_of: 2026-07-30 21:00:00 UTC + enterprise-token-inventory-item: + value: + inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: dependabot-alerts-for-organization: value: - number: 2 diff --git a/descriptions-next/ghec/ghec.2026-03-10.json b/descriptions-next/ghec/ghec.2026-03-10.json index 44908537f..c6fb4311b 100644 --- a/descriptions-next/ghec/ghec.2026-03-10.json +++ b/descriptions-next/ghec/ghec.2026-03-10.json @@ -14635,6 +14635,411 @@ } } }, + "/enterprises/{enterprise}/credentials": { + "get": { + "summary": "List enterprise token inventory", + "description": "Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/list-enterprise-token-inventory", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "name": "after", + "description": "A cursor, as given in the `Link` header, for the next page of results.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "token_types", + "description": "A comma-separated list of credential types to filter by.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "authorization_state", + "description": "Filter by enterprise-access status.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + } + }, + { + "name": "owner", + "description": "Filter to credentials owned by this user, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "application", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-token-inventory-item" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + }, + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the walk hit the safety ceiling or time budget, so the result is a partial page. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the result is incomplete for any reason (truncated, or a source was omitted). A client must not read an absent `Link` next page as \"complete\" without also checking this header. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the result, in ISO 8601 format. The inventory is stitched from replica reads over the request, not a point-in-time snapshot.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted; a comma-separated list of the affected token types (for example, `classic_pat,ssh_key`). Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled, so those rows carry `expiry_unknown` and their `never_expires` / `past_expiration_policy` are not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports": { + "post": { + "summary": "Create an enterprise token inventory export", + "description": "Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day.\n\nThe generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-enterprise-token-inventory-export", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "Optional filters that scope the export to a subset of the inventory.", + "properties": { + "token_types": { + "type": "array", + "description": "The credential types to include.", + "items": { + "type": "string" + } + }, + "authorization_state": { + "type": "string", + "description": "Filter by enterprise-access status.", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "owner": { + "type": "string", + "description": "Filter to credentials owned by this user, given as a login." + }, + "organization": { + "type": "string", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login." + }, + "application": { + "type": "string", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id." + } + } + }, + "examples": { + "default": { + "value": { + "owner": "octocat" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-export" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-export" + } + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + }, + "429": { + "description": "Too many requests" + }, + "500": { + "description": "Internal error, for example the export job could not be enqueued." + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports/{export_id}": { + "get": { + "summary": "Get an enterprise token inventory export", + "description": "Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-export", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "export_id", + "description": "The opaque id of the export, as returned when it was created.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-export" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-export" + } + } + } + } + }, + "302": { + "description": "The export is ready; redirects to a short-lived download URL.", + "headers": { + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the export hit the safety ceiling, so the CSV is a partial inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the export is incomplete for any reason (truncated, or a source was omitted), so the CSV must not be treated as a complete inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the export, in ISO 8601 format.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted from the export; a comma-separated list of the affected token types. Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present in the export, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled in the export, so those rows carry `expiry_status` = `unknown` and their `past_expiration_policy` is not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/{inventory_id}": { + "get": { + "summary": "Get an enterprise token inventory item", + "description": "Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-item", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "inventory_id", + "description": "The opaque inventory_id returned by the list endpoint for this enterprise. Pass it unchanged. Its value can differ for the same credential between responses.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-item" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-item" + } + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -146109,6 +146514,310 @@ "report_end_day" ] }, + "enterprise-token-inventory-item": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + }, + "enterprise-token-inventory-export": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -346244,6 +346953,238 @@ } ] }, + "enterprise-token-inventory-items": { + "value": [ + { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "ZmVkY2JhOTg3NjU0MzIxMA", + "credential_id": 246810, + "hashed_token": "B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "oauth_app_user_token", + "display_name": "Acme Deploy", + "owner": { + "id": 2, + "login": "hubot" + }, + "owner_type": "user", + "application": { + "id": 42, + "name": "Acme Deploy" + }, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-03-10T14:00:00Z", + "last_used_at": "2024-06-02T08:15:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 2, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + }, + { + "id": 11, + "login": "acme-ops" + } + ], + "age_days": 83, + "never_expires": true, + "past_expiration_policy": false, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": [ + "read:user", + "repo" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "c3NoLWtleS1leGFtcGxlLTAwMQ", + "credential_id": null, + "hashed_token": null, + "fingerprint": "SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", + "item_type": "credential", + "credential_type": "ssh_key", + "display_name": "laptop-2024", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2023-11-01T10:00:00Z", + "last_used_at": "2024-05-20T16:45:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 213, + "never_expires": true, + "past_expiration_policy": true, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": null, + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "YWJjZGVmMDEyMzQ1Njc4OQ", + "credential_id": 135790, + "hashed_token": null, + "fingerprint": null, + "item_type": "credential", + "credential_type": "fine_grained_pat", + "display_name": "release-bot", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-05-01T10:00:00Z", + "last_used_at": "2024-06-03T16:45:00Z", + "expires_at": "2024-11-01T10:00:00Z", + "next_expires_at": "2024-11-01T10:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 45, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": null, + "permissions": { + "contents": "read", + "pull_requests": "write" + }, + "repository_selection": "subset" + } + ] + }, + "enterprise-token-inventory-export": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + }, + "enterprise-token-inventory-item": { + "value": { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + } + }, "dependabot-alerts-for-organization": { "value": [ { diff --git a/descriptions-next/ghec/ghec.2026-03-10.yaml b/descriptions-next/ghec/ghec.2026-03-10.yaml index e44e45c0c..c2c0e06ac 100644 --- a/descriptions-next/ghec/ghec.2026-03-10.yaml +++ b/descriptions-next/ghec/ghec.2026-03-10.yaml @@ -10964,6 +10964,330 @@ paths: enabledForGitHubApps: true category: enterprise-admin subcategory: credential-authorizations + "/enterprises/{enterprise}/credentials": + get: + summary: List enterprise token inventory + description: |- + Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-token-inventory + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - name: after + description: A cursor, as given in the `Link` header, for the next page of + results. + in: query + required: false + schema: + type: string + - name: token_types + description: A comma-separated list of credential types to filter by. + in: query + required: false + schema: + type: string + - name: authorization_state + description: Filter by enterprise-access status. + in: query + required: false + schema: + type: string + enum: + - currently_authorized + - member_owned_only + - name: owner + description: Filter to credentials owned by this user, given as a login. + in: query + required: false + schema: + type: string + - name: organization + description: Filter to credentials authorized to this organization in the + enterprise, given as a login. + in: query + required: false + schema: + type: string + - name: application + description: Filter to credentials for this application, given as a GitHub + App slug or an OAuth App client id. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-token-inventory-item" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-items" + headers: + Link: + "$ref": "#/components/headers/link" + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the walk hit the safety + ceiling or time budget, so the result is a partial page. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the result is incomplete + for any reason (truncated, or a source was omitted). A client must + not read an absent `Link` next page as "complete" without also checking + this header. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the result, in ISO 8601 format. + The inventory is stitched from replica reads over the request, not + a point-in-time snapshot. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted; a comma-separated list of the affected token types (for + example, `classic_pat,ssh_key`). Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present, but that metadata may be absent. Absent when all metadata + loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled, so those rows carry `expiry_unknown` + and their `never_expires` / `past_expiration_policy` are not asserted. + Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + '422': + description: Validation failed + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports": + post: + summary: Create an enterprise token inventory export + description: |- + Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day. + + The generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/create-enterprise-token-inventory-export + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: false + content: + application/json: + schema: + type: object + description: Optional filters that scope the export to a subset of the + inventory. + properties: + token_types: + type: array + description: The credential types to include. + items: + type: string + authorization_state: + type: string + description: Filter by enterprise-access status. + enum: + - currently_authorized + - member_owned_only + owner: + type: string + description: Filter to credentials owned by this user, given as + a login. + organization: + type: string + description: Filter to credentials authorized to this organization + in the enterprise, given as a login. + application: + type: string + description: Filter to credentials for this application, given as + a GitHub App slug or an OAuth App client id. + examples: + default: + value: + owner: octocat + responses: + '202': + description: Accepted + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-export" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-export" + '404': + description: Resource not found + '422': + description: Validation failed + '429': + description: Too many requests + '500': + description: Internal error, for example the export job could not be enqueued. + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports/{export_id}": + get: + summary: Get an enterprise token inventory export + description: |- + Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-export + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: export_id + description: The opaque id of the export, as returned when it was created. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-export" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-export" + '302': + description: The export is ready; redirects to a short-lived download URL. + headers: + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the export hit the safety + ceiling, so the CSV is a partial inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the export is incomplete + for any reason (truncated, or a source was omitted), so the CSV must + not be treated as a complete inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the export, in ISO 8601 format. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted from the export; a comma-separated list of the affected + token types. Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present in the export, but that metadata may be absent. Absent when + all metadata loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled in the export, so those rows + carry `expiry_status` = `unknown` and their `past_expiration_policy` + is not asserted. Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/{inventory_id}": + get: + summary: Get an enterprise token inventory item + description: |- + Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-item + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: inventory_id + description: The opaque inventory_id returned by the list endpoint for this + enterprise. Pass it unchanged. Its value can differ for the same credential + between responses. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-item" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-item" + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -106450,6 +106774,241 @@ components: - download_links - report_start_day - report_end_day + enterprise-token-inventory-item: + title: Enterprise Token Inventory Item + description: A credential or GitHub App installation in an enterprise's token + inventory. + type: object + required: + - inventory_id + - item_type + - credential_type + - credential_state + - authorization_state + - effective_access_state + - enterprise_authorized + - authorization_count + - authorized_organizations + properties: + inventory_id: + type: string + description: Opaque identifier for retrieving this item within the enterprise. + Its value can differ between responses for the same credential. + credential_id: + type: + - integer + - 'null' + description: The credential's ID for audit-log correlation, unique only + within its `credential_type`. Null for SSH keys, GitHub App installations, + and federated credentials. + hashed_token: + type: + - string + - 'null' + description: Base64-encoded SHA-256 hash of the token, matching `hashed_token` + in audit events. Null when not reported. + fingerprint: + type: + - string + - 'null' + description: The SSH key's SHA-256 fingerprint, matching audit events. Null + for other credential types. + item_type: + type: string + enum: + - credential + - token_issuer_principal + credential_type: + type: string + enum: + - classic_pat + - oauth_app_user_token + - github_app_user_token + - fine_grained_pat + - ssh_key + - github_app_installation + - federated_jti + display_name: + type: + - string + - 'null' + owner: + type: + - object + - 'null' + properties: + id: + type: integer + login: + type: string + name: + type: + - string + - 'null' + owner_type: + type: + - string + - 'null' + enum: + - user + - oauth_application + - github_app + - + description: The type of credential owner. + application: + type: + - object + - 'null' + properties: + id: + type: integer + name: + type: + - string + - 'null' + credential_state: + type: string + enum: + - active + - expired + - revoked + - deleted + authorization_state: + type: string + enum: + - currently_authorized + - member_owned_only + effective_access_state: + type: string + enum: + - effective + - not_effective + - unknown + state_reason: + type: + - string + - 'null' + created_at: + type: + - string + - 'null' + format: date-time + last_used_at: + type: + - string + - 'null' + format: date-time + expires_at: + type: + - string + - 'null' + format: date-time + next_expires_at: + type: + - string + - 'null' + format: date-time + credential_instance_count: + type: + - integer + - 'null' + enterprise_authorized: + type: boolean + description: Whether the item is authorized directly at the enterprise level. + authorization_count: + type: integer + description: Number of authorizing organizations, plus one when `enterprise_authorized` + is true. + authorized_organizations: + type: array + items: + type: object + properties: + id: + type: integer + login: + type: string + age_days: + type: + - integer + - 'null' + description: Age of the credential in whole days at assembly time. + never_expires: + type: boolean + description: Whether this is an active credential with no expiration. False + for GitHub App installations and credentials with unknown expiration. + past_expiration_policy: + type: + - boolean + - 'null' + description: Whether the credential exceeds a configured lifetime limit + or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: + - string + - 'null' + enum: + - enforced_limit + - proposed_baseline + - + description: 'The basis for `past_expiration_policy`: an enforced PAT lifetime + limit or an advisory age baseline.' + expiry_unknown: + type: boolean + description: Whether the credential's expiration could not be determined. + scopes: + type: + - array + - 'null' + items: + type: string + description: OAuth scopes recorded for the token. Null when not reported + for the credential type. + permissions: + type: + - object + - 'null' + additionalProperties: + type: string + description: Permissions by resource for fine-grained PATs and GitHub App + installations. Null when not reported; an empty object means no recorded + permissions. + repository_selection: + type: + - string + - 'null' + enum: + - all + - subset + - none + - + description: Repository selection for the credential. Null when not reported; + `none` means no repositories are selected. + enterprise-token-inventory-export: + title: Enterprise Token Inventory Export + description: The status of an asynchronous enterprise token inventory CSV export. + type: object + required: + - export_id + - status + properties: + export_id: + type: string + description: Opaque id for the export, used to poll its status. + status: + type: string + description: The state of the export job. + enum: + - pending + - queued + - started + - success + - error + as_of: + type: + - string + - 'null' + description: When the export was requested. dependabot-alert-package: type: object description: Details for the vulnerable package. @@ -254946,6 +255505,197 @@ components: endpoint: "/chat/completions" body: '{"choices":[{"message":{"content":"Hi there!"}}]}' "@timestamp": 1719600000500 + enterprise-token-inventory-items: + value: + - inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + - inventory_id: ZmVkY2JhOTg3NjU0MzIxMA + credential_id: 246810 + hashed_token: B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE= + fingerprint: + item_type: credential + credential_type: oauth_app_user_token + display_name: Acme Deploy + owner: + id: 2 + login: hubot + owner_type: user + application: + id: 42 + name: Acme Deploy + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-03-10T14:00:00Z' + last_used_at: '2024-06-02T08:15:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 2 + authorized_organizations: + - id: 10 + login: acme-eng + - id: 11 + login: acme-ops + age_days: 83 + never_expires: true + past_expiration_policy: false + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + - read:user + - repo + permissions: + repository_selection: + - inventory_id: c3NoLWtleS1leGFtcGxlLTAwMQ + credential_id: + hashed_token: + fingerprint: SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 + item_type: credential + credential_type: ssh_key + display_name: laptop-2024 + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2023-11-01T10:00:00Z' + last_used_at: '2024-05-20T16:45:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 213 + never_expires: true + past_expiration_policy: true + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + permissions: + repository_selection: + - inventory_id: YWJjZGVmMDEyMzQ1Njc4OQ + credential_id: 135790 + hashed_token: + fingerprint: + item_type: credential + credential_type: fine_grained_pat + display_name: release-bot + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-05-01T10:00:00Z' + last_used_at: '2024-06-03T16:45:00Z' + expires_at: '2024-11-01T10:00:00Z' + next_expires_at: '2024-11-01T10:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 45 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + permissions: + contents: read + pull_requests: write + repository_selection: subset + enterprise-token-inventory-export: + value: + export_id: 7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507 + status: queued + as_of: 2026-07-30 21:00:00 UTC + enterprise-token-inventory-item: + value: + inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: dependabot-alerts-for-organization: value: - number: 2 diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 175a9b13e..2294a3e6b 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -14649,6 +14649,411 @@ } } }, + "/enterprises/{enterprise}/credentials": { + "get": { + "summary": "List enterprise token inventory", + "description": "Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/list-enterprise-token-inventory", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "name": "after", + "description": "A cursor, as given in the `Link` header, for the next page of results.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "token_types", + "description": "A comma-separated list of credential types to filter by.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "authorization_state", + "description": "Filter by enterprise-access status.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + } + }, + { + "name": "owner", + "description": "Filter to credentials owned by this user, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "organization", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "application", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-token-inventory-item" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + }, + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the walk hit the safety ceiling or time budget, so the result is a partial page. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the result is incomplete for any reason (truncated, or a source was omitted). A client must not read an absent `Link` next page as \"complete\" without also checking this header. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the result, in ISO 8601 format. The inventory is stitched from replica reads over the request, not a point-in-time snapshot.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted; a comma-separated list of the affected token types (for example, `classic_pat,ssh_key`). Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled, so those rows carry `expiry_unknown` and their `never_expires` / `past_expiration_policy` are not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports": { + "post": { + "summary": "Create an enterprise token inventory export", + "description": "Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day.\n\nThe generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-enterprise-token-inventory-export", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "Optional filters that scope the export to a subset of the inventory.", + "properties": { + "token_types": { + "type": "array", + "description": "The credential types to include.", + "items": { + "type": "string" + } + }, + "authorization_state": { + "type": "string", + "description": "Filter by enterprise-access status.", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "owner": { + "type": "string", + "description": "Filter to credentials owned by this user, given as a login." + }, + "organization": { + "type": "string", + "description": "Filter to credentials authorized to this organization in the enterprise, given as a login." + }, + "application": { + "type": "string", + "description": "Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id." + } + } + }, + "examples": { + "default": { + "value": { + "owner": "octocat" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-export" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-export" + } + } + } + } + }, + "404": { + "description": "Resource not found" + }, + "422": { + "description": "Validation failed" + }, + "429": { + "description": "Too many requests" + }, + "500": { + "description": "Internal error, for example the export job could not be enqueued." + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/exports/{export_id}": { + "get": { + "summary": "Get an enterprise token inventory export", + "description": "Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-export", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "export_id", + "description": "The opaque id of the export, as returned when it was created.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-export" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-export" + } + } + } + } + }, + "302": { + "description": "The export is ready; redirects to a short-lived download URL.", + "headers": { + "x-github-enterprise-credentials-truncated": { + "description": "Present and set to `true` when the export hit the safety ceiling, so the CSV is a partial inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-incomplete-results": { + "description": "Present and set to `true` when the export is incomplete for any reason (truncated, or a source was omitted), so the CSV must not be treated as a complete inventory. Absent otherwise.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-generated-at": { + "description": "The as-of assembly time of the export, in ISO 8601 format.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + "x-github-enterprise-credentials-sources-unavailable": { + "description": "Present when one or more credential sources failed and were omitted from the export; a comma-separated list of the affected token types. Absent when all sources succeeded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-metadata-incomplete": { + "description": "Present and set to `true` when best-effort per-credential metadata (scopes, permissions, repository selection, or expiration policy) could not be fully loaded for some rows; the rows are all present in the export, but that metadata may be absent. Absent when all metadata loaded.", + "schema": { + "type": "string" + } + }, + "x-github-enterprise-credentials-expiry-incomplete": { + "description": "Present and set to `true` when one or more fine-grained PAT expiry values could not be filled in the export, so those rows carry `expiry_status` = `unknown` and their `past_expiration_policy` is not asserted. Absent when all expiry was resolved.", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, + "/enterprises/{enterprise}/credentials/{inventory_id}": { + "get": { + "summary": "Get an enterprise token inventory item", + "description": "Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise.\n\nYou must be an enterprise owner (or hold a role with the \"View enterprise credentials\" permission) to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-token-inventory-item", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "inventory_id", + "description": "The opaque inventory_id returned by the list endpoint for this enterprise. Pass it unchanged. Its value can differ for the same credential between responses.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-token-inventory-item" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-token-inventory-item" + } + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "token-inventory" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -146921,6 +147326,310 @@ "report_end_day" ] }, + "enterprise-token-inventory-item": { + "title": "Enterprise Token Inventory Item", + "description": "A credential or GitHub App installation in an enterprise's token inventory.", + "type": "object", + "required": [ + "inventory_id", + "item_type", + "credential_type", + "credential_state", + "authorization_state", + "effective_access_state", + "enterprise_authorized", + "authorization_count", + "authorized_organizations" + ], + "properties": { + "inventory_id": { + "type": "string", + "description": "Opaque identifier for retrieving this item within the enterprise. Its value can differ between responses for the same credential." + }, + "credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The credential's ID for audit-log correlation, unique only within its `credential_type`. Null for SSH keys, GitHub App installations, and federated credentials." + }, + "hashed_token": { + "type": [ + "string", + "null" + ], + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": [ + "string", + "null" + ], + "description": "The SSH key's SHA-256 fingerprint, matching audit events. Null for other credential types." + }, + "item_type": { + "type": "string", + "enum": [ + "credential", + "token_issuer_principal" + ] + }, + "credential_type": { + "type": "string", + "enum": [ + "classic_pat", + "oauth_app_user_token", + "github_app_user_token", + "fine_grained_pat", + "ssh_key", + "github_app_installation", + "federated_jti" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "owner": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "owner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "user", + "oauth_application", + "github_app", + null + ], + "description": "The type of credential owner." + }, + "application": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": [ + "string", + "null" + ] + } + } + }, + "credential_state": { + "type": "string", + "enum": [ + "active", + "expired", + "revoked", + "deleted" + ] + }, + "authorization_state": { + "type": "string", + "enum": [ + "currently_authorized", + "member_owned_only" + ] + }, + "effective_access_state": { + "type": "string", + "enum": [ + "effective", + "not_effective", + "unknown" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "last_used_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "next_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "credential_instance_count": { + "type": [ + "integer", + "null" + ] + }, + "enterprise_authorized": { + "type": "boolean", + "description": "Whether the item is authorized directly at the enterprise level." + }, + "authorization_count": { + "type": "integer", + "description": "Number of authorizing organizations, plus one when `enterprise_authorized` is true." + }, + "authorized_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + } + } + } + }, + "age_days": { + "type": [ + "integer", + "null" + ], + "description": "Age of the credential in whole days at assembly time." + }, + "never_expires": { + "type": "boolean", + "description": "Whether this is an active credential with no expiration. False for GitHub App installations and credentials with unknown expiration." + }, + "past_expiration_policy": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": [ + "string", + "null" + ], + "enum": [ + "enforced_limit", + "proposed_baseline", + null + ], + "description": "The basis for `past_expiration_policy`: an enforced PAT lifetime limit or an advisory age baseline." + }, + "expiry_unknown": { + "type": "boolean", + "description": "Whether the credential's expiration could not be determined." + }, + "scopes": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": "string" + }, + "description": "Permissions by resource for fine-grained PATs and GitHub App installations. Null when not reported; an empty object means no recorded permissions." + }, + "repository_selection": { + "type": [ + "string", + "null" + ], + "enum": [ + "all", + "subset", + "none", + null + ], + "description": "Repository selection for the credential. Null when not reported; `none` means no repositories are selected." + } + } + }, + "enterprise-token-inventory-export": { + "title": "Enterprise Token Inventory Export", + "description": "The status of an asynchronous enterprise token inventory CSV export.", + "type": "object", + "required": [ + "export_id", + "status" + ], + "properties": { + "export_id": { + "type": "string", + "description": "Opaque id for the export, used to poll its status." + }, + "status": { + "type": "string", + "description": "The state of the export job.", + "enum": [ + "pending", + "queued", + "started", + "success", + "error" + ] + }, + "as_of": { + "type": [ + "string", + "null" + ], + "description": "When the export was requested." + } + } + }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -349089,6 +349798,238 @@ } ] }, + "enterprise-token-inventory-items": { + "value": [ + { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "ZmVkY2JhOTg3NjU0MzIxMA", + "credential_id": 246810, + "hashed_token": "B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "oauth_app_user_token", + "display_name": "Acme Deploy", + "owner": { + "id": 2, + "login": "hubot" + }, + "owner_type": "user", + "application": { + "id": 42, + "name": "Acme Deploy" + }, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-03-10T14:00:00Z", + "last_used_at": "2024-06-02T08:15:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 2, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + }, + { + "id": 11, + "login": "acme-ops" + } + ], + "age_days": 83, + "never_expires": true, + "past_expiration_policy": false, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": [ + "read:user", + "repo" + ], + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "c3NoLWtleS1leGFtcGxlLTAwMQ", + "credential_id": null, + "hashed_token": null, + "fingerprint": "SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", + "item_type": "credential", + "credential_type": "ssh_key", + "display_name": "laptop-2024", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2023-11-01T10:00:00Z", + "last_used_at": "2024-05-20T16:45:00Z", + "expires_at": null, + "next_expires_at": null, + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 213, + "never_expires": true, + "past_expiration_policy": true, + "past_expiration_policy_basis": "proposed_baseline", + "expiry_unknown": false, + "scopes": null, + "permissions": null, + "repository_selection": null + }, + { + "inventory_id": "YWJjZGVmMDEyMzQ1Njc4OQ", + "credential_id": 135790, + "hashed_token": null, + "fingerprint": null, + "item_type": "credential", + "credential_type": "fine_grained_pat", + "display_name": "release-bot", + "owner": { + "id": 3, + "login": "monalisa" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-05-01T10:00:00Z", + "last_used_at": "2024-06-03T16:45:00Z", + "expires_at": "2024-11-01T10:00:00Z", + "next_expires_at": "2024-11-01T10:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 45, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": null, + "permissions": { + "contents": "read", + "pull_requests": "write" + }, + "repository_selection": "subset" + } + ] + }, + "enterprise-token-inventory-export": { + "value": { + "export_id": "7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507", + "status": "queued", + "as_of": "2026-07-30 21:00:00 UTC" + } + }, + "enterprise-token-inventory-item": { + "value": { + "inventory_id": "MDEyMzQ1Njc4OWFiY2RlZg", + "credential_id": 987654, + "hashed_token": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=", + "fingerprint": null, + "item_type": "credential", + "credential_type": "classic_pat", + "display_name": "ci-automation", + "owner": { + "id": 1, + "login": "octocat" + }, + "owner_type": "user", + "application": null, + "credential_state": "active", + "authorization_state": "currently_authorized", + "effective_access_state": "effective", + "state_reason": null, + "created_at": "2024-01-15T09:00:00Z", + "last_used_at": "2024-06-01T12:30:00Z", + "expires_at": "2025-01-15T09:00:00Z", + "next_expires_at": "2025-01-15T09:00:00Z", + "credential_instance_count": 1, + "enterprise_authorized": false, + "authorization_count": 1, + "authorized_organizations": [ + { + "id": 10, + "login": "acme-eng" + } + ], + "age_days": 138, + "never_expires": false, + "past_expiration_policy": false, + "past_expiration_policy_basis": "enforced_limit", + "expiry_unknown": false, + "scopes": [ + "repo", + "read:org" + ], + "permissions": null, + "repository_selection": null + } + }, "dependabot-alerts-for-organization": { "value": [ { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 168ad3a5a..0f0108f58 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -10972,6 +10972,330 @@ paths: enabledForGitHubApps: true category: enterprise-admin subcategory: credential-authorizations + "/enterprises/{enterprise}/credentials": + get: + summary: List enterprise token inventory + description: |- + Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the `Link` header; there is no total count. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-token-inventory + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - name: after + description: A cursor, as given in the `Link` header, for the next page of + results. + in: query + required: false + schema: + type: string + - name: token_types + description: A comma-separated list of credential types to filter by. + in: query + required: false + schema: + type: string + - name: authorization_state + description: Filter by enterprise-access status. + in: query + required: false + schema: + type: string + enum: + - currently_authorized + - member_owned_only + - name: owner + description: Filter to credentials owned by this user, given as a login. + in: query + required: false + schema: + type: string + - name: organization + description: Filter to credentials authorized to this organization in the + enterprise, given as a login. + in: query + required: false + schema: + type: string + - name: application + description: Filter to credentials for this application, given as a GitHub + App slug or an OAuth App client id. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-token-inventory-item" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-items" + headers: + Link: + "$ref": "#/components/headers/link" + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the walk hit the safety + ceiling or time budget, so the result is a partial page. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the result is incomplete + for any reason (truncated, or a source was omitted). A client must + not read an absent `Link` next page as "complete" without also checking + this header. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the result, in ISO 8601 format. + The inventory is stitched from replica reads over the request, not + a point-in-time snapshot. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted; a comma-separated list of the affected token types (for + example, `classic_pat,ssh_key`). Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present, but that metadata may be absent. Absent when all metadata + loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled, so those rows carry `expiry_unknown` + and their `never_expires` / `past_expiration_policy` are not asserted. + Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + '422': + description: Validation failed + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#list-enterprise-token-inventory + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports": + post: + summary: Create an enterprise token inventory export + description: |- + Starts an asynchronous CSV export of the enterprise token inventory and returns an opaque export id to poll. Limited to a small number of exports per enterprise per day. + + The generated file is UTF-8 CSV with a header row, using RFC 4180 field quoting and escaping and LF (`\n`) line endings. Timestamps are ISO-8601 in UTC (for example, `2026-09-15T12:00:00Z`). An empty cell means the value is null or unknown, never `false`. Multi-value cells join their entries with `; ` — this includes `scopes` and `permissions`, where each permission is encoded as a `resource:action` pair (for example, `contents:write; issues:read`). The file has one row per (credential, authorizing organization); the credential columns repeat while `organization_id` and `organization` vary, and a credential with no organization grant appears once with empty organization columns. `authorization_count` is the credential's total number of organization authorizations across the enterprise, plus one when `enterprise_authorized` is true, independent of any filters applied to the export. `credential_id` is a raw source-table id that can collide across credential types, so it is unique only together with `credential_type`, and only for the types that populate it (classic and fine-grained PATs, OAuth and GitHub App user tokens); SSH keys are keyed by `fingerprint`, while GitHub App installations and federated JTIs have no unique per-row column. `owner_type` (`user`, `oauth_application`, or `github_app`) disambiguates the id space of `owner_id`. `expiry_status` is `expires`, `never`, or `unknown` — `unknown` marks a credential whose expiration could not be determined, so a blank `expires_at` is never mistaken for one that never expires. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/create-enterprise-token-inventory-export + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: false + content: + application/json: + schema: + type: object + description: Optional filters that scope the export to a subset of the + inventory. + properties: + token_types: + type: array + description: The credential types to include. + items: + type: string + authorization_state: + type: string + description: Filter by enterprise-access status. + enum: + - currently_authorized + - member_owned_only + owner: + type: string + description: Filter to credentials owned by this user, given as + a login. + organization: + type: string + description: Filter to credentials authorized to this organization + in the enterprise, given as a login. + application: + type: string + description: Filter to credentials for this application, given as + a GitHub App slug or an OAuth App client id. + examples: + default: + value: + owner: octocat + responses: + '202': + description: Accepted + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-export" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-export" + '404': + description: Resource not found + '422': + description: Validation failed + '429': + description: Too many requests + '500': + description: Internal error, for example the export job could not be enqueued. + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#create-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/exports/{export_id}": + get: + summary: Get an enterprise token inventory export + description: |- + Returns the status of an enterprise token inventory export. Once the export is ready this redirects to a short-lived URL to download the CSV. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-export + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: export_id + description: The opaque id of the export, as returned when it was created. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-export" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-export" + '302': + description: The export is ready; redirects to a short-lived download URL. + headers: + x-github-enterprise-credentials-truncated: + description: Present and set to `true` when the export hit the safety + ceiling, so the CSV is a partial inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-incomplete-results: + description: Present and set to `true` when the export is incomplete + for any reason (truncated, or a source was omitted), so the CSV must + not be treated as a complete inventory. Absent otherwise. + schema: + type: string + x-github-enterprise-credentials-generated-at: + description: The as-of assembly time of the export, in ISO 8601 format. + schema: + type: string + format: date-time + x-github-enterprise-credentials-sources-unavailable: + description: Present when one or more credential sources failed and + were omitted from the export; a comma-separated list of the affected + token types. Absent when all sources succeeded. + schema: + type: string + x-github-enterprise-credentials-metadata-incomplete: + description: Present and set to `true` when best-effort per-credential + metadata (scopes, permissions, repository selection, or expiration + policy) could not be fully loaded for some rows; the rows are all + present in the export, but that metadata may be absent. Absent when + all metadata loaded. + schema: + type: string + x-github-enterprise-credentials-expiry-incomplete: + description: Present and set to `true` when one or more fine-grained + PAT expiry values could not be filled in the export, so those rows + carry `expiry_status` = `unknown` and their `past_expiration_policy` + is not asserted. Absent when all expiry was resolved. + schema: + type: string + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-export + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory + "/enterprises/{enterprise}/credentials/{inventory_id}": + get: + summary: Get an enterprise token inventory item + description: |- + Returns a single credential from the enterprise token inventory. Use the opaque `inventory_id` returned by the list endpoint for the same enterprise. + + You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-token-inventory-item + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: inventory_id + description: The opaque inventory_id returned by the list endpoint for this + enterprise. Pass it unchanged. Its value can differ for the same credential + between responses. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-token-inventory-item" + examples: + default: + "$ref": "#/components/examples/enterprise-token-inventory-item" + '404': + description: Resource not found + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/token-inventory#get-an-enterprise-token-inventory-item + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: token-inventory "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -107004,6 +107328,241 @@ components: - download_links - report_start_day - report_end_day + enterprise-token-inventory-item: + title: Enterprise Token Inventory Item + description: A credential or GitHub App installation in an enterprise's token + inventory. + type: object + required: + - inventory_id + - item_type + - credential_type + - credential_state + - authorization_state + - effective_access_state + - enterprise_authorized + - authorization_count + - authorized_organizations + properties: + inventory_id: + type: string + description: Opaque identifier for retrieving this item within the enterprise. + Its value can differ between responses for the same credential. + credential_id: + type: + - integer + - 'null' + description: The credential's ID for audit-log correlation, unique only + within its `credential_type`. Null for SSH keys, GitHub App installations, + and federated credentials. + hashed_token: + type: + - string + - 'null' + description: Base64-encoded SHA-256 hash of the token, matching `hashed_token` + in audit events. Null when not reported. + fingerprint: + type: + - string + - 'null' + description: The SSH key's SHA-256 fingerprint, matching audit events. Null + for other credential types. + item_type: + type: string + enum: + - credential + - token_issuer_principal + credential_type: + type: string + enum: + - classic_pat + - oauth_app_user_token + - github_app_user_token + - fine_grained_pat + - ssh_key + - github_app_installation + - federated_jti + display_name: + type: + - string + - 'null' + owner: + type: + - object + - 'null' + properties: + id: + type: integer + login: + type: string + name: + type: + - string + - 'null' + owner_type: + type: + - string + - 'null' + enum: + - user + - oauth_application + - github_app + - + description: The type of credential owner. + application: + type: + - object + - 'null' + properties: + id: + type: integer + name: + type: + - string + - 'null' + credential_state: + type: string + enum: + - active + - expired + - revoked + - deleted + authorization_state: + type: string + enum: + - currently_authorized + - member_owned_only + effective_access_state: + type: string + enum: + - effective + - not_effective + - unknown + state_reason: + type: + - string + - 'null' + created_at: + type: + - string + - 'null' + format: date-time + last_used_at: + type: + - string + - 'null' + format: date-time + expires_at: + type: + - string + - 'null' + format: date-time + next_expires_at: + type: + - string + - 'null' + format: date-time + credential_instance_count: + type: + - integer + - 'null' + enterprise_authorized: + type: boolean + description: Whether the item is authorized directly at the enterprise level. + authorization_count: + type: integer + description: Number of authorizing organizations, plus one when `enterprise_authorized` + is true. + authorized_organizations: + type: array + items: + type: object + properties: + id: + type: integer + login: + type: string + age_days: + type: + - integer + - 'null' + description: Age of the credential in whole days at assembly time. + never_expires: + type: boolean + description: Whether this is an active credential with no expiration. False + for GitHub App installations and credentials with unknown expiration. + past_expiration_policy: + type: + - boolean + - 'null' + description: Whether the credential exceeds a configured lifetime limit + or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: + - string + - 'null' + enum: + - enforced_limit + - proposed_baseline + - + description: 'The basis for `past_expiration_policy`: an enforced PAT lifetime + limit or an advisory age baseline.' + expiry_unknown: + type: boolean + description: Whether the credential's expiration could not be determined. + scopes: + type: + - array + - 'null' + items: + type: string + description: OAuth scopes recorded for the token. Null when not reported + for the credential type. + permissions: + type: + - object + - 'null' + additionalProperties: + type: string + description: Permissions by resource for fine-grained PATs and GitHub App + installations. Null when not reported; an empty object means no recorded + permissions. + repository_selection: + type: + - string + - 'null' + enum: + - all + - subset + - none + - + description: Repository selection for the credential. Null when not reported; + `none` means no repositories are selected. + enterprise-token-inventory-export: + title: Enterprise Token Inventory Export + description: The status of an asynchronous enterprise token inventory CSV export. + type: object + required: + - export_id + - status + properties: + export_id: + type: string + description: Opaque id for the export, used to poll its status. + status: + type: string + description: The state of the export job. + enum: + - pending + - queued + - started + - success + - error + as_of: + type: + - string + - 'null' + description: When the export was requested. dependabot-alert-package: type: object description: Details for the vulnerable package. @@ -256936,6 +257495,197 @@ components: endpoint: "/chat/completions" body: '{"choices":[{"message":{"content":"Hi there!"}}]}' "@timestamp": 1719600000500 + enterprise-token-inventory-items: + value: + - inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: + - inventory_id: ZmVkY2JhOTg3NjU0MzIxMA + credential_id: 246810 + hashed_token: B4iMbnUY6xW/eOlR2nDqA9pKz3sVt1cX8mZ0jL5wQpE= + fingerprint: + item_type: credential + credential_type: oauth_app_user_token + display_name: Acme Deploy + owner: + id: 2 + login: hubot + owner_type: user + application: + id: 42 + name: Acme Deploy + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-03-10T14:00:00Z' + last_used_at: '2024-06-02T08:15:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 2 + authorized_organizations: + - id: 10 + login: acme-eng + - id: 11 + login: acme-ops + age_days: 83 + never_expires: true + past_expiration_policy: false + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + - read:user + - repo + permissions: + repository_selection: + - inventory_id: c3NoLWtleS1leGFtcGxlLTAwMQ + credential_id: + hashed_token: + fingerprint: SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 + item_type: credential + credential_type: ssh_key + display_name: laptop-2024 + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2023-11-01T10:00:00Z' + last_used_at: '2024-05-20T16:45:00Z' + expires_at: + next_expires_at: + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 213 + never_expires: true + past_expiration_policy: true + past_expiration_policy_basis: proposed_baseline + expiry_unknown: false + scopes: + permissions: + repository_selection: + - inventory_id: YWJjZGVmMDEyMzQ1Njc4OQ + credential_id: 135790 + hashed_token: + fingerprint: + item_type: credential + credential_type: fine_grained_pat + display_name: release-bot + owner: + id: 3 + login: monalisa + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-05-01T10:00:00Z' + last_used_at: '2024-06-03T16:45:00Z' + expires_at: '2024-11-01T10:00:00Z' + next_expires_at: '2024-11-01T10:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 45 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + permissions: + contents: read + pull_requests: write + repository_selection: subset + enterprise-token-inventory-export: + value: + export_id: 7b99499081e815c76d819dabdab70202df7fa01adf9a84803ca43963edb6a507 + status: queued + as_of: 2026-07-30 21:00:00 UTC + enterprise-token-inventory-item: + value: + inventory_id: MDEyMzQ1Njc4OWFiY2RlZg + credential_id: 987654 + hashed_token: K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols= + fingerprint: + item_type: credential + credential_type: classic_pat + display_name: ci-automation + owner: + id: 1 + login: octocat + owner_type: user + application: + credential_state: active + authorization_state: currently_authorized + effective_access_state: effective + state_reason: + created_at: '2024-01-15T09:00:00Z' + last_used_at: '2024-06-01T12:30:00Z' + expires_at: '2025-01-15T09:00:00Z' + next_expires_at: '2025-01-15T09:00:00Z' + credential_instance_count: 1 + enterprise_authorized: false + authorization_count: 1 + authorized_organizations: + - id: 10 + login: acme-eng + age_days: 138 + never_expires: false + past_expiration_policy: false + past_expiration_policy_basis: enforced_limit + expiry_unknown: false + scopes: + - repo + - read:org + permissions: + repository_selection: dependabot-alerts-for-organization: value: - number: 2