diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 3aaefcff8..ea92976ae 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -49422,6 +49422,1173 @@ } } }, + "/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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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": 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", + "description": "When the export was requested.", + "nullable": true + } + } + }, + "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", + "description": "When the export was requested.", + "nullable": true + } + } + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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": 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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 817575f49..c80367bf3 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -694,7 +694,7 @@ paths: required: - vector_string - score - cvss_severities: &134 + cvss_severities: &137 type: object nullable: true properties: @@ -734,7 +734,7 @@ paths: required: - vector_string - score - epss: &135 + epss: &138 type: object nullable: true readOnly: true @@ -872,7 +872,7 @@ paths: - subscriptions_url - type - url - type: &492 + type: &495 type: string description: The type of credit the user is receiving. enum: @@ -1005,7 +1005,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &268 + schema: &271 title: Validation Error Simple description: Validation Error Simple type: object @@ -1038,7 +1038,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: - - &835 + - &838 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3823,7 +3823,7 @@ paths: GitHub. type: object nullable: true - properties: &226 + properties: &229 id: description: Unique identifier of the GitHub app example: 37 @@ -3845,7 +3845,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &145 + properties: &148 description: description: A short description of the enterprise. type: string @@ -3887,7 +3887,7 @@ paths: avatar_url: type: string format: uri - required: &146 + required: &149 - id - node_id - name @@ -3956,7 +3956,7 @@ paths: about itself. example: 5 type: integer - required: &227 + required: &230 - id - node_id - owner @@ -4261,7 +4261,7 @@ paths: schema: type: integer default: 30 - - &376 + - &379 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 @@ -4270,7 +4270,7 @@ paths: required: false schema: type: string - - &377 + - &380 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4290,7 +4290,7 @@ paths: application/json: schema: type: array - items: &378 + items: &381 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4370,7 +4370,7 @@ paths: - installation_id - repository_id examples: - default: &379 + default: &382 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4402,7 +4402,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &845 + schema: &848 title: Scim Error description: Scim Error type: object @@ -4429,7 +4429,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &267 + schema: &270 title: Validation Error description: Validation Error type: object @@ -4498,7 +4498,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &383 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4612,7 +4612,7 @@ paths: - request - response examples: - default: &381 + default: &384 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4813,7 +4813,7 @@ paths: parameters: - *17 - *19 - - &238 + - &241 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) @@ -5624,7 +5624,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &450 + properties: &453 id: description: Unique identifier of the repository example: 42 @@ -5644,7 +5644,7 @@ paths: title: License Simple description: License Simple type: object - properties: &234 + properties: &237 key: type: string example: mit @@ -5666,7 +5666,7 @@ paths: html_url: type: string format: uri - required: &235 + required: &238 - key - name - url @@ -6075,7 +6075,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &451 + required: &454 - archive_url - assignees_url - blobs_url @@ -9793,7 +9793,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 type: object properties: total_active_caches_count: @@ -9808,7 +9808,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &270 + default: &273 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10001,7 +10001,7 @@ paths: - public_ip_enabled - platform examples: - default: &271 + default: &274 value: total_count: 2 runners: @@ -10296,7 +10296,7 @@ paths: application/json: schema: *46 examples: - default: &272 + default: &275 value: id: 1 platform: linux-x64 @@ -10436,7 +10436,7 @@ paths: application/json: schema: *49 examples: - default: &273 + default: &276 value: version: 1.0.0 size_gb: 75 @@ -10600,7 +10600,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &277 type: object properties: public_ips: @@ -10625,7 +10625,7 @@ paths: required: - public_ips examples: - default: &275 + default: &278 value: public_ips: current_usage: 17 @@ -10665,7 +10665,7 @@ paths: type: array items: *53 examples: - default: &276 + default: &279 value: id: 4-core cpu_cores: 4 @@ -10980,7 +10980,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &280 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11091,7 +11091,7 @@ paths: - all - local_only - selected - selected_actions_url: &279 + selected_actions_url: &282 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` @@ -11171,7 +11171,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &281 + schema: &284 type: object properties: days: @@ -11189,7 +11189,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &846 + '401': &849 description: Authorization failure '404': *6 x-github: @@ -11217,7 +11217,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &285 type: object properties: days: @@ -11266,7 +11266,7 @@ paths: required: - approval_policy examples: - default: &283 + default: &286 value: approval_policy: first_time_contributors '404': *6 @@ -11324,7 +11324,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &287 type: object required: - run_workflows_from_fork_pull_requests @@ -11378,7 +11378,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &288 type: object required: - run_workflows_from_fork_pull_requests @@ -11801,7 +11801,7 @@ paths: description: Success response content: application/json: - schema: &288 + schema: &291 type: object properties: default_workflow_permissions: &66 @@ -11849,7 +11849,7 @@ paths: required: true content: application/json: - schema: &289 + schema: &292 type: object properties: default_workflow_permissions: *66 @@ -12755,7 +12755,7 @@ paths: application/json: schema: type: array - items: &293 + items: &296 title: Runner Application description: Runner Application type: object @@ -12780,7 +12780,7 @@ paths: - download_url - filename examples: - default: &294 + default: &297 value: - os: osx architecture: x64 @@ -12864,7 +12864,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &295 + '201': &298 description: Response content: application/json: @@ -12979,7 +12979,7 @@ paths: - token - expires_at examples: - default: &296 + default: &299 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13019,7 +13019,7 @@ paths: application/json: schema: *78 examples: - default: &297 + default: &300 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13051,7 +13051,7 @@ paths: application/json: schema: *75 examples: - default: &298 + default: &301 value: id: 23 name: MBP @@ -13268,7 +13268,7 @@ paths: - *38 - *74 responses: - '200': &299 + '200': &302 description: Response content: application/json: @@ -13324,7 +13324,7 @@ paths: parameters: - *38 - *74 - - &300 + - &303 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13415,7 +13415,7 @@ paths: required: true content: application/json: - schema: &314 + schema: &317 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14056,7 +14056,7 @@ paths: required: false schema: type: string - - &317 + - &320 name: include description: |- The event types to include: @@ -14112,7 +14112,7 @@ paths: application/json: schema: type: array - items: &318 + items: &321 type: object properties: "@timestamp": @@ -14234,7 +14234,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &319 + default: &322 value: - "@timestamp": 1606929874512 action: team.add_member @@ -14900,7 +14900,7 @@ paths: application/json: schema: type: array - items: &320 + items: &323 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15061,7 +15061,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &321 + default: &324 value: - id: 21 number: 42 @@ -15166,7 +15166,7 @@ paths: application/json: schema: type: array - items: &323 + items: &326 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15291,7 +15291,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &324 + default: &327 value: - id: 21 number: 42 @@ -15376,7 +15376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &331 + - &334 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`, @@ -15386,7 +15386,7 @@ paths: schema: &110 type: string description: The name of the tool used to generate the code scanning analysis. - - &332 + - &335 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 @@ -15409,7 +15409,7 @@ paths: be returned. in: query required: false - schema: &333 + schema: &336 type: string description: State of a code scanning alert. enum: @@ -15442,36 +15442,36 @@ paths: application/json: schema: type: array - items: &334 + items: &337 type: object properties: - number: &132 + number: &135 type: integer description: The security alert number. readOnly: true - created_at: &139 + created_at: &142 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: &140 + updated_at: &143 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: &137 + url: &140 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &138 + html_url: &141 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &586 + instances_url: &589 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15485,7 +15485,7 @@ paths: - open - dismissed - fixed - fixed_at: &142 + fixed_at: &145 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15499,14 +15499,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &141 + dismissed_at: &144 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &587 + dismissed_reason: &590 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15516,13 +15516,13 @@ paths: - won't fix - used in tests - mitigated - dismissed_comment: &588 + dismissed_comment: &591 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &589 + rule: &592 type: object properties: id: @@ -15575,7 +15575,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &590 + tool: &593 type: object properties: name: *110 @@ -15585,26 +15585,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *111 - most_recent_instance: &591 + most_recent_instance: &594 type: object properties: - ref: &584 + ref: &587 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &602 + analysis_key: &605 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: &603 + environment: &606 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: &604 + category: &607 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15624,7 +15624,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: &605 + location: &608 type: object description: Describe a region within a file for the alert. properties: @@ -15645,7 +15645,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: &606 + items: &609 type: string description: A classification of the file. For example to identify it as generated. @@ -15659,7 +15659,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &143 + properties: &146 id: type: integer format: int64 @@ -15886,7 +15886,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &144 + required: &147 - archive_url - assignees_url - blobs_url @@ -15958,7 +15958,7 @@ paths: - most_recent_instance - repository examples: - default: &335 + default: &338 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -16189,7 +16189,7 @@ paths: headers: Link: *44 '404': *6 - '503': &201 + '503': &204 description: Service unavailable content: application/json: @@ -16841,7 +16841,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &340 type: array description: A list of default code security configurations items: @@ -16857,7 +16857,7 @@ paths: default configuration: *113 examples: - default: &338 + default: &341 value: - default_for_new_repos: public configuration: @@ -17315,7 +17315,7 @@ paths: default: value: default_for_new_repos: all - configuration: &336 + configuration: &339 value: id: 1325 target_type: organization @@ -17405,7 +17405,7 @@ paths: application/json: schema: type: array - items: &339 + items: &342 type: object description: Repositories associated with a code security configuration and attachment status @@ -17429,7 +17429,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &340 + repository: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -17894,7 +17894,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &151 + items: &154 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -17918,7 +17918,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &325 + - &328 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18004,7 +18004,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &416 + properties: &419 id: description: Unique identifier of the team type: integer @@ -18076,7 +18076,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &417 + required: &420 - id - node_id - url @@ -18102,7 +18102,7 @@ paths: - slug - parent - type - - &150 + - &153 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18220,7 +18220,7 @@ paths: - created_at additionalProperties: false examples: - default: &152 + default: &155 value: total_seats: 2 seats: @@ -18757,7 +18757,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &347 + '413': &350 description: Payload Too Large content: application/json: @@ -20236,6 +20236,723 @@ 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: + - *38 + - *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: &134 + 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 + nullable: true + 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 + nullable: true + description: Base64-encoded SHA-256 hash of the token, matching + `hashed_token` in audit events. Null when not reported. + fingerprint: + type: string + nullable: true + 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 + nullable: true + owner: + type: object + nullable: true + properties: + id: + type: integer + login: + type: string + name: + type: string + nullable: true + owner_type: + type: string + nullable: true + enum: + - user + - oauth_application + - github_app + description: The type of credential owner. + application: + type: object + nullable: true + properties: + id: + type: integer + name: + type: string + nullable: true + 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 + nullable: true + created_at: + type: string + format: date-time + nullable: true + last_used_at: + type: string + format: date-time + nullable: true + expires_at: + type: string + format: date-time + nullable: true + next_expires_at: + type: string + format: date-time + nullable: true + credential_instance_count: + type: integer + nullable: true + 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 + nullable: true + 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 + nullable: true + description: Whether the credential exceeds a configured lifetime + limit or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: string + nullable: true + 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 + nullable: true + items: + type: string + description: OAuth scopes recorded for the token. Null when + not reported for the credential type. + permissions: + type: object + nullable: true + 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 + nullable: true + 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: *44 + 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: + - *38 + 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: &132 + 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 + description: When the export was requested. + nullable: true + examples: + default: &133 + 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: + - *38 + - 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: *132 + examples: + default: *133 + '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: + - *38 + - 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: *134 + 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 @@ -20255,7 +20972,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &352 + - &355 name: classification in: query description: |- @@ -20264,7 +20981,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &353 + - &356 name: state in: query description: |- @@ -20273,7 +20990,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &354 + - &357 name: severity in: query description: |- @@ -20282,7 +20999,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &355 + - &358 name: ecosystem in: query description: |- @@ -20291,14 +21008,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &356 + - &359 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 - - &357 + - &360 name: epss_percentage in: query description: |- @@ -20310,7 +21027,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 - - &648 + - &651 name: has in: query description: |- @@ -20324,7 +21041,7 @@ paths: type: string enum: - patch - - &358 + - &361 name: assignee in: query description: |- @@ -20333,7 +21050,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &359 + - &362 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20343,7 +21060,7 @@ paths: enum: - development - runtime - - &360 + - &363 name: relationship in: query description: |- @@ -20353,7 +21070,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 - - &361 + - &364 name: sort in: query description: |- @@ -20379,11 +21096,11 @@ paths: application/json: schema: type: array - items: &362 + items: &365 type: object description: A Dependabot alert. properties: - number: *132 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -20398,7 +21115,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &133 + package: &136 type: object description: Details for the vulnerable package. readOnly: true @@ -20443,7 +21160,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &649 + security_advisory: &652 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20473,13 +21190,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &136 + items: &139 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *133 + package: *136 severity: type: string description: The severity of the vulnerability. @@ -20552,8 +21269,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *134 - epss: *135 + cvss_severities: *137 + epss: *138 cwes: type: array description: Details for the advisory pertaining to Common @@ -20652,12 +21369,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *136 - url: *137 - html_url: *138 - created_at: *139 - updated_at: *140 - dismissed_at: *141 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -20681,15 +21398,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *142 - auto_dismissed_at: &650 + fixed_at: *145 + auto_dismissed_at: &653 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &651 + dismissal_request: &654 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -20751,7 +21468,7 @@ paths: - repository additionalProperties: false examples: - default: &363 + default: &366 value: - number: 2 state: dismissed @@ -21138,7 +21855,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &367 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21159,12 +21876,12 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *143 - required: *144 + properties: *146 + required: *147 nullable: true additionalProperties: false examples: - default: &365 + default: &368 value: default_level: public accessible_repositories: @@ -21386,7 +22103,7 @@ paths: - *102 - *103 - *104 - - &367 + - &370 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21412,7 +22129,7 @@ paths: application/json: schema: type: array - items: &369 + items: &372 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21533,7 +22250,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &370 + default: &373 value: - id: 21 number: 42 @@ -21634,7 +22351,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &149 + items: &152 title: Enterprise Role description: Enterprise custom roles type: object @@ -21668,8 +22385,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *145 - required: *146 + properties: *148 + required: *149 nullable: true created_at: description: The date and time the role was created. @@ -21762,7 +22479,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *38 - - &147 + - &150 name: team_slug description: The slug of the enterprise team name. in: path @@ -21805,8 +22522,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *38 - - *147 - - &148 + - *150 + - &151 name: role_id description: The unique identifier of the role. in: path @@ -21848,8 +22565,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *38 - - *147 - - *148 + - *150 + - *151 responses: '204': description: Response @@ -21918,7 +22635,7 @@ paths: parameters: - *38 - *131 - - *148 + - *151 responses: '204': description: Response @@ -21952,7 +22669,7 @@ paths: parameters: - *38 - *131 - - *148 + - *151 responses: '204': description: Response @@ -21986,13 +22703,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *38 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *149 + schema: *152 examples: default: value: @@ -22046,7 +22763,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: - *38 - - *148 + - *151 - *17 - *19 responses: @@ -22056,9 +22773,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: &153 + default: &156 value: - id: 1 name: Justice League @@ -22097,7 +22814,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: - *38 - - *148 + - *151 - *17 - *19 responses: @@ -22129,7 +22846,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *150 + items: *153 examples: default: value: @@ -22612,7 +23329,7 @@ paths: application/json: schema: *22 examples: - default: &393 + default: &396 value: id: 1 account: @@ -22769,9 +23486,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 '500': *37 '401': *25 '403': *29 @@ -22809,9 +23526,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *153 + default: *156 headers: Link: *44 '401': *25 @@ -22853,7 +23570,7 @@ paths: type: integer network_configurations: type: array - items: &154 + items: &157 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -22905,7 +23622,7 @@ paths: - name - created_on examples: - default: &497 + default: &500 value: total_count: 2 network_configurations: @@ -22997,9 +23714,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: &155 + default: &158 value: id: 123456789ABCDEF name: My network configuration @@ -23026,7 +23743,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: - *38 - - &156 + - &159 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23038,9 +23755,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 headers: Link: *44 x-github: @@ -23060,7 +23777,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: - *38 - - *156 + - *159 requestBody: required: true content: @@ -23113,9 +23830,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23133,7 +23850,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: - *38 - - *156 + - *159 responses: '204': description: Response @@ -23156,7 +23873,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: - *38 - - &498 + - &501 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23168,7 +23885,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &502 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23202,7 +23919,7 @@ paths: - subnet_id - region examples: - default: &500 + default: &503 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23241,7 +23958,7 @@ paths: application/json: schema: type: array - items: &157 + items: &160 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23309,7 +24026,7 @@ paths: - property_name - value_type examples: - default: &158 + default: &161 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23369,7 +24086,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *157 + items: *160 minItems: 1 maxItems: 100 required: @@ -23402,9 +24119,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *158 + default: *161 '403': *29 '404': *6 '422': *7 @@ -23431,7 +24148,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: - *38 - - &159 + - &162 name: custom_property_name description: The custom property name in: path @@ -23443,9 +24160,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: &160 + default: &163 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23482,7 +24199,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: - *38 - - *159 + - *162 requestBody: required: true content: @@ -23551,9 +24268,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *160 + default: *163 '403': *29 '404': *6 '422': *7 @@ -23579,7 +24296,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: - *38 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -23630,7 +24347,7 @@ paths: example: Hello-World properties: type: array - items: &161 + items: &164 title: Custom Property Value description: Custom property name and associated value type: object @@ -23714,7 +24431,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *161 + items: *164 required: - organization_logins - properties @@ -23764,7 +24481,7 @@ paths: application/json: schema: type: array - items: &162 + items: &165 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23832,7 +24549,7 @@ paths: - property_name - value_type examples: - default: &163 + default: &166 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23890,7 +24607,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *162 + items: *165 minItems: 1 maxItems: 100 required: @@ -23920,9 +24637,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -23946,15 +24663,15 @@ paths: parameters: - *38 - *86 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: &164 + default: &167 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23987,15 +24704,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *38 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -24017,12 +24734,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: - *38 - - *159 + - *162 requestBody: required: true content: application/json: - schema: &449 + schema: &452 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24089,9 +24806,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -24113,7 +24830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *38 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -24155,7 +24872,7 @@ paths: - push - repository default: branch - enforcement: &173 + enforcement: &176 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24168,7 +24885,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &174 + items: &177 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24211,7 +24928,7 @@ paths: - pull_request - exempt default: always - conditions: &198 + conditions: &201 title: Enterprise ruleset conditions type: object description: |- @@ -24224,7 +24941,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &165 + - &168 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24250,7 +24967,7 @@ paths: type: string required: - organization_name - - &168 + - &171 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24279,7 +24996,7 @@ paths: is prevented. required: - repository_name - - &167 + - &170 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24307,8 +25024,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *165 - - &170 + - *168 + - &173 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24321,7 +25038,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &166 + items: &169 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24352,16 +25069,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *166 + items: *169 required: - repository_property - - *167 + - *170 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &169 + - &172 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24378,22 +25095,22 @@ paths: type: integer required: - organization_id - - *168 - - *167 + - *171 + - *170 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *169 + - *172 + - *173 - *170 - - *167 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &172 + - &175 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24406,7 +25123,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &171 + items: &174 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24430,28 +25147,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *171 + items: *174 required: - organization_property - - *168 - - *167 + - *171 + - *170 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *172 + - *175 + - *173 - *170 - - *167 rules: type: array description: An array of rules within the ruleset. - items: &199 + items: &202 title: Repository Rule type: object description: A repository rule. oneOf: - - &175 + - &178 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24463,7 +25180,7 @@ paths: type: string enum: - creation - - &176 + - &179 title: update description: Only allow users with bypass permission to update matching refs. @@ -24484,7 +25201,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &177 + - &180 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24496,7 +25213,7 @@ paths: type: string enum: - deletion - - &178 + - &181 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24508,7 +25225,7 @@ paths: type: string enum: - required_linear_history - - &179 + - &182 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24532,7 +25249,7 @@ paths: type: string required: - required_deployment_environments - - &180 + - &183 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24544,7 +25261,7 @@ paths: type: string enum: - required_signatures - - &181 + - &184 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. @@ -24684,7 +25401,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &182 + - &185 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24731,7 +25448,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &183 + - &186 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24743,7 +25460,7 @@ paths: type: string enum: - non_fast_forward - - &184 + - &187 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24780,7 +25497,7 @@ paths: required: - operator - pattern - - &185 + - &188 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24817,7 +25534,7 @@ paths: required: - operator - pattern - - &186 + - &189 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24854,7 +25571,7 @@ paths: required: - operator - pattern - - &187 + - &190 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24891,7 +25608,7 @@ paths: required: - operator - pattern - - &188 + - &191 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -24928,7 +25645,7 @@ paths: required: - operator - pattern - - &192 + - &195 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -24952,7 +25669,7 @@ paths: type: string required: - restricted_file_paths - - &193 + - &196 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -24976,7 +25693,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &194 + - &197 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -24999,7 +25716,7 @@ paths: type: string required: - restricted_file_extensions - - &195 + - &198 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25023,7 +25740,7 @@ paths: maximum: 100 required: - max_file_size - - &189 + - &192 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25072,7 +25789,7 @@ paths: - repository_id required: - workflows - - &190 + - &193 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25132,7 +25849,7 @@ paths: - tool required: - code_scanning_tools - - &191 + - &194 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25182,7 +25899,7 @@ paths: description: Response content: application/json: - schema: &196 + schema: &199 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25217,11 +25934,11 @@ paths: source: type: string description: The name of the source - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 + items: *177 current_user_can_bypass: type: string description: |- @@ -25253,8 +25970,8 @@ paths: conditions: nullable: true anyOf: - - *167 - - &455 + - *170 + - &458 title: Organization ruleset conditions type: object description: |- @@ -25268,14 +25985,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *167 - - *168 + - *170 + - *171 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *167 + - *170 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25297,20 +26014,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *167 - *170 + - *173 rules: type: array - items: &799 + items: &802 title: Repository Rule type: object description: A repository rule. oneOf: - - *175 - - *176 - - *177 - *178 - - &796 + - *179 + - *180 + - *181 + - &799 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25388,9 +26105,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *179 - - *180 - - *181 - *182 - *183 - *184 @@ -25401,7 +26115,10 @@ paths: - *189 - *190 - *191 - - &797 + - *192 + - *193 + - *194 + - &800 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -25413,10 +26130,10 @@ paths: type: string enum: - license_compliance_scanning - - *192 - - *193 - - *194 - *195 + - *196 + - *197 + - *198 created_at: type: string format: date-time @@ -25424,7 +26141,7 @@ paths: type: string format: date-time examples: - default: &197 + default: &200 value: id: 21 name: super cool ruleset @@ -25483,9 +26200,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *197 + default: *200 '404': *6 '500': *37 x-github: @@ -25529,16 +26246,16 @@ paths: - tag - push - repository - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *198 + items: *177 + conditions: *201 rules: description: An array of rules within the ruleset. type: array - items: *199 + items: *202 examples: default: value: @@ -25562,9 +26279,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *197 + default: *200 '404': *6 '500': *37 x-github: @@ -25626,7 +26343,7 @@ paths: application/json: schema: type: array - items: &200 + items: &203 title: Ruleset version type: object description: The historical version of a ruleset @@ -25650,7 +26367,7 @@ paths: type: string format: date-time examples: - default: &458 + default: &461 value: - version_id: 3 actor: @@ -25703,9 +26420,9 @@ paths: description: Response content: application/json: - schema: &459 + schema: &462 allOf: - - *200 + - *203 - type: object required: - state @@ -25758,7 +26475,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &460 + - &463 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25769,7 +26486,7 @@ paths: enum: - open - resolved - - &461 + - &464 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25779,7 +26496,7 @@ paths: required: false schema: type: string - - &462 + - &465 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25790,7 +26507,7 @@ paths: required: false schema: type: string - - &463 + - &466 name: exclude_providers in: query description: |- @@ -25801,7 +26518,7 @@ paths: required: false schema: type: string - - &464 + - &467 name: providers in: query description: |- @@ -25812,7 +26529,7 @@ paths: required: false schema: type: string - - &465 + - &468 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25821,7 +26538,7 @@ paths: required: false schema: type: string - - &466 + - &469 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25840,7 +26557,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &467 + - &470 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. @@ -25856,7 +26573,7 @@ paths: - *17 - *107 - *108 - - &468 + - &471 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25865,7 +26582,7 @@ paths: required: false schema: type: string - - &469 + - &472 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25874,7 +26591,7 @@ paths: schema: type: boolean default: false - - &470 + - &473 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25883,7 +26600,7 @@ paths: schema: type: boolean default: false - - &471 + - &474 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25892,7 +26609,7 @@ paths: schema: type: boolean default: false - - &472 + - &475 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25903,7 +26620,7 @@ paths: required: false schema: type: boolean - - &473 + - &476 name: included_metadata in: query description: |- @@ -25914,7 +26631,7 @@ paths: required: false schema: type: string - - &474 + - &477 name: owner_email_hash in: query description: |- @@ -25933,11 +26650,11 @@ paths: application/json: schema: type: array - items: &475 + items: &478 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -25945,21 +26662,21 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &812 + state: &815 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: &813 + resolution: &816 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -26076,8 +26793,8 @@ paths: pull request. ' - oneOf: &814 - - &816 + oneOf: &817 + - &819 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26135,7 +26852,7 @@ paths: - blob_url - commit_sha - commit_url - - &817 + - &820 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. @@ -26190,7 +26907,7 @@ paths: - page_url - commit_sha - commit_url - - &818 + - &821 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26210,7 +26927,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &819 + - &822 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26230,7 +26947,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &820 + - &823 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26250,7 +26967,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &821 + - &824 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26264,7 +26981,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &822 + - &825 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26278,7 +26995,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &823 + - &826 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26292,7 +27009,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &824 + - &827 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. @@ -26312,7 +27029,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &825 + - &828 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. @@ -26332,7 +27049,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &826 + - &829 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. @@ -26352,7 +27069,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &827 + - &830 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. @@ -26372,7 +27089,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &828 + - &831 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -26420,7 +27137,7 @@ paths: required: *21 nullable: true examples: - default: &476 + default: &479 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26598,7 +27315,7 @@ paths: headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26624,7 +27341,7 @@ paths: subcategory: custom-patterns parameters: - *38 - - &477 + - &480 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -26635,7 +27352,7 @@ paths: enum: - published - unpublished - - &478 + - &481 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -26646,7 +27363,7 @@ paths: enum: - enabled - disabled - - &479 + - &482 name: sort description: The property to sort the results by. in: query @@ -26668,7 +27385,7 @@ paths: application/json: schema: type: array - items: &202 + items: &205 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -26716,7 +27433,7 @@ paths: nullable: true items: type: string - custom_pattern_version: &203 + custom_pattern_version: &206 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -26740,7 +27457,7 @@ paths: - state - push_protection_enabled examples: - default: &480 + default: &483 value: - id: 1 name: Example Custom Pattern @@ -26803,7 +27520,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &481 + items: &484 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -26840,7 +27557,7 @@ paths: items: type: string examples: - default: &482 + default: &485 value: patterns: - name: Example Custom Pattern @@ -26864,9 +27581,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: &483 + default: &486 value: created_patterns: - id: 1 @@ -26918,7 +27635,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &484 + items: &487 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -26972,7 +27689,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &485 + items: &488 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -26982,7 +27699,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *203 + custom_pattern_version: *206 post_delete_action: type: string description: |- @@ -26995,7 +27712,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &486 + default: &489 value: patterns: - pattern_id: 2 @@ -27006,7 +27723,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': &204 + '412': &207 description: Precondition Failed content: application/json: @@ -27041,7 +27758,7 @@ paths: required: true content: application/json: - schema: &487 + schema: &490 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`, @@ -27080,9 +27797,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *203 + custom_pattern_version: *206 examples: - default: &488 + default: &491 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27097,9 +27814,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: &489 + default: &492 value: id: 1 name: Example Custom Pattern @@ -27119,7 +27836,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/enterprises/{enterprise}/secret-scanning/pattern-configurations": get: @@ -27146,17 +27863,17 @@ paths: description: Response content: application/json: - schema: &490 + schema: &493 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: *203 + pattern_config_version: *206 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &205 + items: &208 type: object properties: token_type: @@ -27222,9 +27939,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *205 + items: *208 examples: - default: &491 + default: &494 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27279,7 +27996,7 @@ paths: schema: type: object properties: - pattern_config_version: *203 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -27305,7 +28022,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *203 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27360,7 +28077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *38 - - &494 + - &497 name: advanced_security_product in: query description: | @@ -27380,7 +28097,7 @@ paths: description: Success content: application/json: - schema: &495 + schema: &498 type: object properties: total_advanced_security_committers: @@ -27435,7 +28152,7 @@ paths: required: - repositories examples: - default: &496 + default: &499 value: total_advanced_security_committers: 2 total_count: 2 @@ -27477,7 +28194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *38 - - &209 + - &212 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, @@ -27486,7 +28203,7 @@ paths: required: false schema: type: integer - - &210 + - &213 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 @@ -27495,7 +28212,7 @@ paths: required: false schema: type: integer - - &211 + - &214 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 @@ -27504,7 +28221,7 @@ paths: required: false schema: type: integer - - &212 + - &215 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -27512,21 +28229,21 @@ paths: required: false schema: type: string - - &213 + - &216 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &214 + - &217 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &218 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -27665,7 +28382,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28226,7 +28943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *38 - - &206 + - &209 name: budget_id description: The ID corresponding to the budget. in: path @@ -28335,7 +29052,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28651,7 +29368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *38 - - *206 + - *209 responses: '200': description: Response when deleting a budget @@ -28678,7 +29395,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28702,7 +29419,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *38 - - *206 + - *209 - name: page description: The page number of results to fetch. in: query @@ -28798,7 +29515,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28939,7 +29656,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29124,7 +29841,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *38 - - &208 + - &211 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -29206,7 +29923,7 @@ paths: - name - resources examples: - default: &207 + default: &210 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -29224,7 +29941,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29362,15 +30079,15 @@ paths: - name - resources examples: - update-cost-center: *207 - update-cost-center-with-cap: *207 + update-cost-center: *210 + update-cost-center-with-cap: *210 '400': *14 '403': *29 '404': *6 '409': *118 '422': *15 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29392,7 +30109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *38 - - *208 + - *211 responses: '200': description: Response when deleting a cost center @@ -29431,7 +30148,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29452,7 +30169,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *38 - - *208 + - *211 requestBody: required: true content: @@ -29532,7 +30249,7 @@ paths: '403': *29 '409': *118 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29552,7 +30269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *38 - - *208 + - *211 requestBody: required: true content: @@ -29604,7 +30321,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29625,13 +30342,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *38 - - *209 - - *210 - - *211 - *212 - *213 - *214 - *215 + - *216 + - *217 + - *218 - 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. @@ -29764,7 +30481,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29798,7 +30515,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &216 + items: &219 type: object properties: id: @@ -29889,7 +30606,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29953,9 +30670,9 @@ paths: description: Report export request accepted content: application/json: - schema: *216 + schema: *219 examples: - usage-report-export: &217 + usage-report-export: &220 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -29971,7 +30688,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30006,14 +30723,14 @@ paths: description: Usage report export details content: application/json: - schema: *216 + schema: *219 examples: - usage-report-export: *217 + usage-report-export: *220 '401': *25 '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30034,7 +30751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *38 - - *209 + - *212 - 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 @@ -30043,7 +30760,7 @@ paths: required: false schema: type: integer - - *211 + - *214 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -30126,7 +30843,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30147,17 +30864,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *38 - - *209 - - *210 - - *211 - *212 + - *213 + - *214 + - *215 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *215 + - *218 - name: sku description: The SKU to query for usage. in: query @@ -30290,7 +31007,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30317,9 +31034,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *153 + default: *156 headers: Link: *44 '403': *29 @@ -30406,9 +31123,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: &223 + default: &226 value: id: 1 name: Justice League @@ -30437,7 +31154,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *38 - - &218 + - &221 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -30456,7 +31173,7 @@ paths: type: array items: *4 examples: - default: &219 + default: &222 value: - login: octocat id: 1 @@ -30495,7 +31212,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30526,7 +31243,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30544,7 +31261,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30575,7 +31292,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30593,7 +31310,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *38 - - *218 + - *221 - *131 responses: '200': @@ -30602,7 +31319,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &220 + exampleKey1: &223 value: login: octocat id: 1 @@ -30638,7 +31355,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *38 - - *218 + - *221 - *131 responses: '201': @@ -30647,7 +31364,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *220 + exampleKey1: *223 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30665,7 +31382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *38 - - *218 + - *221 - *131 responses: '204': @@ -30688,7 +31405,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *38 - - *218 + - *221 - *17 - *19 responses: @@ -30700,7 +31417,7 @@ paths: type: array items: *72 examples: - default: &221 + default: &224 value: login: github id: 1 @@ -30731,7 +31448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30761,7 +31478,7 @@ paths: type: array items: *72 examples: - default: &262 + default: &265 value: - login: github id: 1 @@ -30792,7 +31509,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30833,7 +31550,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '200': @@ -30842,7 +31559,7 @@ paths: application/json: schema: *72 examples: - default: *221 + default: *224 '404': description: The team is not assigned to the organization x-github: @@ -30861,7 +31578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '201': @@ -30870,7 +31587,7 @@ paths: application/json: schema: *72 examples: - default: *221 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30887,7 +31604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '204': @@ -30912,7 +31629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *38 - - &222 + - &225 name: team_slug description: The slug of the team name. in: path @@ -31027,7 +31744,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *38 - - *222 + - *225 requestBody: required: true content: @@ -31092,9 +31809,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *223 + default: *226 headers: Link: *44 '403': *29 @@ -31117,7 +31834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *38 - - *222 + - *225 responses: '204': description: Response @@ -31169,7 +31886,7 @@ paths: type: integer visual_studio_subscriptions: type: array - items: &224 + items: &227 title: Visual Studio Subscription Assignment description: Visual Studio Subscription Assignment type: object @@ -31255,7 +31972,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -31298,7 +32015,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -31402,7 +32119,7 @@ paths: application/json: schema: type: array - items: &257 + items: &260 title: Event description: Event type: object @@ -31412,7 +32129,7 @@ paths: type: type: string nullable: true - actor: &225 + actor: &228 title: Actor description: Actor type: object @@ -31452,7 +32169,7 @@ paths: - id - name - url - org: *225 + org: *228 payload: oneOf: - title: CreateEvent @@ -31498,7 +32215,7 @@ paths: properties: action: type: string - discussion: &957 + discussion: &960 title: Discussion description: A Discussion in a repository. type: object @@ -31785,7 +32502,7 @@ paths: - id labels: type: array - items: &230 + items: &233 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -31876,12 +32593,12 @@ paths: properties: action: type: string - issue: &231 + issue: &234 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &709 + properties: &712 id: type: integer format: int64 @@ -32000,7 +32717,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &438 + properties: &441 url: type: string format: uri @@ -32070,7 +32787,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &439 + required: &442 - closed_issues - creator - description @@ -32149,7 +32866,7 @@ paths: timeline_url: type: string format: uri - type: &403 + type: &406 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -32212,9 +32929,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - author_association: &228 + properties: *229 + required: *230 + author_association: &231 title: author_association type: string example: OWNER @@ -32229,7 +32946,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &229 + reactions: &232 title: Reaction Rollup type: object properties: @@ -32265,7 +32982,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &873 + sub_issues_summary: &876 title: Sub-issues Summary type: object properties: @@ -32290,7 +33007,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &232 + properties: &235 id: description: Unique identifier of the issue comment example: 42 @@ -32333,7 +33050,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *231 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -32344,15 +33061,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *229 + required: *230 + reactions: *232 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &738 + properties: &741 pinned_at: type: string format: date-time @@ -32364,7 +33081,7 @@ paths: properties: *20 required: *21 nullable: true - required: &739 + required: &742 - pinned_at - pinned_by nullable: true @@ -32373,16 +33090,16 @@ paths: description: Details about why an issue comment was minimized. type: object - properties: &740 + properties: &743 reason: description: The reason the comment was minimized. type: string nullable: true example: low-quality - required: &741 + required: &744 - reason nullable: true - required: &233 + required: &236 - id - node_id - html_url @@ -32392,7 +33109,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &874 + issue_dependencies_summary: &877 title: Issue Dependencies Summary type: object properties: @@ -32411,7 +33128,7 @@ paths: - total_blocking issue_field_values: type: array - items: &720 + items: &723 title: Issue Field Value description: A value assigned to an issue field type: object @@ -32503,7 +33220,7 @@ paths: - node_id - data_type - value - required: &710 + required: &713 - assignee - closed_at - comments @@ -32528,10 +33245,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *233 labels: type: array - items: *230 + items: *233 required: - action - issue @@ -32540,14 +33257,14 @@ paths: properties: action: type: string - issue: *231 - comment: &705 + issue: *234 + comment: &708 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 required: - action - issue @@ -32720,8 +33437,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true allow_forking: type: boolean @@ -32810,7 +33527,7 @@ paths: type: string number: type: integer - pull_request: &236 + pull_request: &239 title: Pull Request Minimal type: object properties: @@ -32881,10 +33598,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *233 labels: type: array - items: *230 + items: *233 required: - action - number @@ -32894,7 +33611,7 @@ paths: properties: action: type: string - pull_request: *236 + pull_request: *239 comment: type: object properties: @@ -33145,7 +33862,7 @@ paths: - pull_request updated_at: type: string - pull_request: *236 + pull_request: *239 required: - action - review @@ -33194,7 +33911,7 @@ paths: updated_at: type: string format: date-time - reactions: *229 + reactions: *232 required: - action - comment @@ -33205,7 +33922,7 @@ paths: type: string release: allOf: - - &789 + - &792 title: Release description: A release. type: object @@ -33276,7 +33993,7 @@ paths: author: *4 assets: type: array - items: &790 + items: &793 title: Release Asset description: Data related to a release. type: object @@ -33351,7 +34068,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *229 + reactions: *232 required: - assets_url - upload_url @@ -33443,7 +34160,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *34 '403': *29 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33524,7 +34241,7 @@ paths: _links: type: object properties: - timeline: &237 + timeline: &240 title: Link With Type description: Hypermedia Link with Type type: object @@ -33536,17 +34253,17 @@ paths: required: - href - type - user: *237 - security_advisories: *237 - current_user: *237 - current_user_public: *237 - current_user_actor: *237 - current_user_organization: *237 + user: *240 + security_advisories: *240 + current_user: *240 + current_user_public: *240 + current_user_actor: *240 + current_user_organization: *240 current_user_organizations: type: array - items: *237 - repository_discussions: *237 - repository_discussions_category: *237 + items: *240 + repository_discussions: *240 + repository_discussions_category: *240 required: - timeline - user @@ -33608,7 +34325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *238 + - *241 - *17 - *19 responses: @@ -33618,7 +34335,7 @@ paths: application/json: schema: type: array - items: &239 + items: &242 title: Base Gist description: Base Gist type: object @@ -33717,7 +34434,7 @@ paths: - created_at - updated_at examples: - default: &240 + default: &243 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33838,7 +34555,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &244 title: Gist Simple description: Gist Simple type: object @@ -33855,7 +34572,7 @@ paths: url: type: string format: uri - user: &882 + user: &885 title: Public User description: Public User type: object @@ -34217,7 +34934,7 @@ paths: truncated: type: boolean examples: - default: &242 + default: &245 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -34321,7 +35038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *238 + - *241 - *17 - *19 responses: @@ -34331,9 +35048,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '422': *15 @@ -34355,7 +35072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *238 + - *241 - *17 - *19 responses: @@ -34365,9 +35082,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '401': *25 @@ -34394,7 +35111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &243 + - &246 name: gist_id description: The unique identifier of the gist. in: path @@ -34406,10 +35123,10 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 - '403': &246 + default: *245 + '403': &249 description: Forbidden Gist content: application/json: @@ -34456,7 +35173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *243 + - *246 requestBody: required: true content: @@ -34516,9 +35233,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - updateGist: *242 + updateGist: *245 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -34676,7 +35393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -34704,7 +35421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *243 + - *246 - *17 - *19 responses: @@ -34714,7 +35431,7 @@ paths: application/json: schema: type: array - items: &244 + items: &247 title: Gist Comment description: A comment made to a gist. type: object @@ -34749,7 +35466,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *228 + author_association: *231 required: - url - id @@ -34813,7 +35530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *243 + - *246 requestBody: required: true content: @@ -34838,9 +35555,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: &245 + default: &248 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -34897,8 +35614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *243 - - &247 + - *246 + - &250 name: comment_id description: The unique identifier of the comment. in: path @@ -34911,12 +35628,12 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: *245 + default: *248 '304': *34 '404': *6 - '403': *246 + '403': *249 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34937,8 +35654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *243 - - *247 + - *246 + - *250 requestBody: required: true content: @@ -34963,9 +35680,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: *245 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -34982,8 +35699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *243 - - *247 + - *246 + - *250 responses: '204': description: Response @@ -35006,7 +35723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *243 + - *246 - *17 - *19 responses: @@ -35107,7 +35824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *243 + - *246 - *17 - *19 responses: @@ -35117,7 +35834,7 @@ paths: application/json: schema: type: array - items: *241 + items: *244 examples: default: value: @@ -35182,13 +35899,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *243 + - *246 responses: '201': description: Response content: application/json: - schema: *239 + schema: *242 examples: default: value: @@ -35259,7 +35976,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *243 + - *246 responses: '204': description: Response if gist is starred @@ -35289,7 +36006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -35311,7 +36028,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -35339,7 +36056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *243 + - *246 - name: sha in: path required: true @@ -35350,9 +36067,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '422': *15 '404': *6 '403': *29 @@ -35732,7 +36449,7 @@ paths: - closed - all default: open - - &406 + - &409 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -35751,7 +36468,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - name: collab in: query required: false @@ -35781,9 +36498,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: &407 + default: &410 value: - id: 1 node_id: MDU6SXNzdWUx @@ -36067,8 +36784,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 examples: default: value: @@ -36353,7 +37070,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &248 + X-CommonMarker-Version: &251 example: 0.17.4 schema: type: string @@ -36408,7 +37125,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *248 + X-CommonMarker-Version: *251 content: text/html: schema: @@ -36437,7 +37154,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: - - &251 + - &254 name: account_id description: account_id parameter in: path @@ -36449,7 +37166,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &253 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -36479,7 +37196,7 @@ paths: nullable: true id: type: integer - plan: &249 + plan: &252 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -36568,7 +37285,7 @@ paths: nullable: true updated_at: type: string - plan: *249 + plan: *252 required: - url - id @@ -36576,7 +37293,7 @@ paths: - login - marketplace_purchase examples: - default: &252 + default: &255 value: url: https://api.github.com/orgs/github type: Organization @@ -36661,9 +37378,9 @@ paths: application/json: schema: type: array - items: *249 + items: *252 examples: - default: &253 + default: &256 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -36703,14 +37420,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &254 + - &257 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &255 + - &258 name: sort description: The property to sort the results by. in: query @@ -36740,9 +37457,9 @@ paths: application/json: schema: type: array - items: *250 + items: *253 examples: - default: &256 + default: &259 value: - url: https://api.github.com/orgs/github type: Organization @@ -36816,15 +37533,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: - - *251 + - *254 responses: '200': description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *252 + default: *255 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -36856,9 +37573,9 @@ paths: application/json: schema: type: array - items: *249 + items: *252 examples: - default: *253 + default: *256 headers: Link: *44 '401': *25 @@ -36881,8 +37598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *254 - - *255 + - *257 + - *258 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36902,9 +37619,9 @@ paths: application/json: schema: type: array - items: *250 + items: *253 examples: - default: *256 + default: *259 headers: Link: *44 '401': *25 @@ -37182,14 +37899,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: - - &509 + - &512 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &510 + - &513 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -37206,7 +37923,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -37251,7 +37968,7 @@ paths: '404': *6 '403': *29 '304': *34 - '301': &515 + '301': &518 description: Moved permanently content: application/json: @@ -37273,7 +37990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &761 + - &764 name: all description: If `true`, show notifications marked as read. in: query @@ -37281,7 +37998,7 @@ paths: schema: type: boolean default: false - - &762 + - &765 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -37290,8 +38007,8 @@ paths: schema: type: boolean default: false - - *238 - - &763 + - *241 + - &766 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: @@ -37316,18 +38033,18 @@ paths: application/json: schema: type: array - items: &258 + items: &261 title: Thread description: Thread type: object properties: id: type: string - repository: &292 + repository: &295 title: Minimal Repository description: Minimal Repository type: object - properties: &371 + properties: &374 id: type: integer format: int64 @@ -37613,7 +38330,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &452 + security_and_analysis: &455 nullable: true type: object properties: @@ -37741,7 +38458,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &372 + required: &375 - archive_url - assignees_url - blobs_url @@ -37829,7 +38546,7 @@ paths: - url - subscription_url examples: - default: &764 + default: &767 value: - id: '1' repository: @@ -37995,7 +38712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &259 + - &262 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 @@ -38009,7 +38726,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *261 examples: default: value: @@ -38112,7 +38829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *259 + - *262 responses: '205': description: Reset Content @@ -38135,7 +38852,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *259 + - *262 responses: '204': description: No content @@ -38158,13 +38875,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: - - *259 + - *262 responses: '200': description: Response content: application/json: - schema: &260 + schema: &263 title: Thread Subscription description: Thread Subscription type: object @@ -38201,7 +38918,7 @@ paths: - url - subscribed examples: - default: &261 + default: &264 value: subscribed: true ignored: false @@ -38232,7 +38949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *259 + - *262 requestBody: required: false content: @@ -38253,9 +38970,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *263 examples: - default: *261 + default: *264 '304': *34 '403': *29 '401': *25 @@ -38278,7 +38995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *259 + - *262 responses: '204': description: Response @@ -38375,7 +39092,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: example: ; rel="next" @@ -38426,7 +39143,7 @@ paths: type: integer custom_roles: type: array - items: &348 + items: &351 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -38474,7 +39191,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &352 value: id: 8030 name: Security Engineer @@ -38527,7 +39244,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &266 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -38565,7 +39282,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *266 examples: selected_actions: *41 responses: @@ -38600,7 +39317,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &267 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -38638,7 +39355,7 @@ paths: required: true content: application/json: - schema: *264 + schema: *267 examples: selected_actions: *43 responses: @@ -38679,9 +39396,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: &770 + default: &773 value: - property_name: environment value: production @@ -38727,11 +39444,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *161 + items: *164 required: - properties examples: - default: &771 + default: &774 value: properties: - property_name: environment @@ -38778,7 +39495,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &268 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -39115,7 +39832,7 @@ paths: - updated_at - archived_at examples: - default-response: &266 + default-response: &269 value: login: github id: 1 @@ -39440,17 +40157,17 @@ paths: description: Response content: application/json: - schema: *265 + schema: *268 examples: - default: *266 + default: *269 '422': description: Validation failed content: application/json: schema: oneOf: - - *267 - - *268 + - *270 + - *271 '409': *118 x-github: githubCloudOnly: false @@ -39505,9 +40222,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 headers: Link: *44 x-github: @@ -39548,7 +40265,7 @@ paths: type: integer repository_cache_usages: type: array - items: &522 + items: &525 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -39623,7 +40340,7 @@ paths: type: array items: *45 examples: - default: *271 + default: *274 headers: Link: *44 x-github: @@ -39789,7 +40506,7 @@ paths: application/json: schema: *46 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39881,7 +40598,7 @@ paths: application/json: schema: *49 examples: - default: *273 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40000,9 +40717,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *275 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40038,7 +40755,7 @@ paths: type: array items: *53 examples: - default: *276 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40281,7 +40998,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *280 examples: default: *57 responses: @@ -40374,7 +41091,7 @@ paths: required: - include_claim_keys examples: - default: &278 + default: &281 value: include_claim_keys: - repo @@ -40419,13 +41136,13 @@ paths: format. type: boolean examples: - default: *278 + default: *281 responses: '201': description: Empty response content: application/json: - schema: &303 + schema: &306 title: Empty Object description: An object without any properties. type: object @@ -40464,7 +41181,7 @@ paths: schema: type: object properties: - enabled_repositories: &280 + enabled_repositories: &283 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -40478,7 +41195,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *59 - selected_actions_url: *279 + selected_actions_url: *282 sha_pinning_required: *60 required: - enabled_repositories @@ -40520,7 +41237,7 @@ paths: schema: type: object properties: - enabled_repositories: *280 + enabled_repositories: *283 allowed_actions: *59 sha_pinning_required: *60 required: @@ -40556,7 +41273,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: response: summary: Example response @@ -40587,7 +41304,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: application/json: value: @@ -40625,7 +41342,7 @@ paths: application/json: schema: *61 examples: - default: *283 + default: *286 '404': *6 x-github: enabledForGitHubApps: true @@ -40682,7 +41399,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *287 examples: default: *62 '403': *29 @@ -40707,7 +41424,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *288 examples: default: *62 responses: @@ -40759,7 +41476,7 @@ paths: type: array items: *77 examples: - default: &287 + default: &290 value: total_count: 1 repositories: @@ -40944,7 +41661,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *86 - - &286 + - &289 name: repository_id description: The unique identifier of the repository. in: path @@ -40973,7 +41690,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -41169,7 +41886,7 @@ paths: type: array items: *77 examples: - default: *287 + default: *290 '403': *29 '404': *6 x-github: @@ -41238,7 +41955,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: - *86 - - *286 + - *289 responses: '204': description: No content @@ -41265,7 +41982,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: - *86 - - *286 + - *289 responses: '204': description: No content @@ -41299,7 +42016,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: *68 x-github: @@ -41333,7 +42050,7 @@ paths: required: false content: application/json: - schema: *289 + schema: *292 examples: default: *68 x-github: @@ -41380,7 +42097,7 @@ paths: type: number runner_groups: type: array - items: &290 + items: &293 type: object properties: id: @@ -41568,9 +42285,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: - default: &291 + default: &294 value: id: 2 name: octo-runner-group @@ -41612,7 +42329,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -41703,9 +42420,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: - default: *291 + default: *294 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41769,7 +42486,7 @@ paths: type: array items: *45 examples: - default: *271 + default: *274 headers: Link: *44 x-github: @@ -41810,9 +42527,9 @@ paths: type: number repositories: type: array - items: *292 + items: *295 examples: - default: &346 + default: &349 value: total_count: 1 repositories: @@ -42111,7 +42828,7 @@ paths: parameters: - *86 - *71 - - *286 + - *289 responses: '204': description: Response @@ -42135,7 +42852,7 @@ paths: parameters: - *86 - *71 - - *286 + - *289 responses: '204': description: Response @@ -42416,9 +43133,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42483,7 +43200,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *298 '404': *6 '422': *7 '409': *118 @@ -42522,7 +43239,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42558,7 +43275,7 @@ paths: application/json: schema: *78 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42589,7 +43306,7 @@ paths: application/json: schema: *75 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42764,7 +43481,7 @@ paths: - *86 - *74 responses: - '200': *299 + '200': *302 '404': *6 x-github: githubCloudOnly: false @@ -42793,7 +43510,7 @@ paths: parameters: - *86 - *74 - - *300 + - *303 responses: '200': *80 '404': *6 @@ -42838,7 +43555,7 @@ paths: type: integer secrets: type: array - items: &301 + items: &304 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -42870,7 +43587,7 @@ paths: - updated_at - visibility examples: - default: &307 + default: &310 value: total_count: 3 secrets: @@ -42917,7 +43634,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &311 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42946,7 +43663,7 @@ paths: - key_id - key examples: - default: &309 + default: &312 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42972,7 +43689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *86 - - &302 + - &305 name: secret_name description: The name of the secret. in: path @@ -42984,9 +43701,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: &310 + default: &313 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43015,7 +43732,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -43072,7 +43789,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -43099,7 +43816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -43126,7 +43843,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -43144,9 +43861,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: &306 + default: &309 value: total_count: 1 repositories: @@ -43239,7 +43956,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -43292,7 +44009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -43326,7 +44043,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -43359,7 +44076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *86 - - &311 + - &314 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)." @@ -43383,7 +44100,7 @@ paths: type: integer variables: type: array - items: &304 + items: &307 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -43426,7 +44143,7 @@ paths: - updated_at - visibility examples: - default: &312 + default: &315 value: total_count: 3 variables: @@ -43516,7 +44233,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -43542,7 +44259,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *86 - - &305 + - &308 name: name description: The name of the variable. in: path @@ -43554,9 +44271,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *307 examples: - default: &313 + default: &316 value: name: USERNAME value: octocat @@ -43585,7 +44302,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -43648,7 +44365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '204': description: Response @@ -43675,7 +44392,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 - *19 - *17 responses: @@ -43693,9 +44410,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43722,7 +44439,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -43772,7 +44489,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -43807,7 +44524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -43859,9 +44576,9 @@ paths: type: integer secrets: type: array - items: *301 + items: *304 examples: - default: *307 + default: *310 headers: Link: *44 x-github: @@ -43892,9 +44609,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43917,15 +44634,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: *310 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43948,7 +44665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -44005,7 +44722,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -44032,7 +44749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -44059,7 +44776,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -44077,9 +44794,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44103,7 +44820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -44156,7 +44873,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -44190,7 +44907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -44224,7 +44941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *86 - - *311 + - *314 - *19 responses: '200': @@ -44241,9 +44958,9 @@ paths: type: integer variables: type: array - items: *304 + items: *307 examples: - default: *312 + default: *315 headers: Link: *44 x-github: @@ -44314,7 +45031,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -44340,15 +45057,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '200': description: Response content: application/json: - schema: *304 + schema: *307 examples: - default: *313 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44370,7 +45087,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -44433,7 +45150,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '204': description: Response @@ -44460,7 +45177,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 - *19 - *17 responses: @@ -44478,9 +45195,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44507,7 +45224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -44557,7 +45274,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -44592,7 +45309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -44650,7 +45367,7 @@ paths: required: true content: application/json: - schema: *314 + schema: *317 examples: default: *84 parameters: @@ -44834,7 +45551,7 @@ paths: type: integer deployment_records: type: array - items: &315 + items: &318 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44880,7 +45597,7 @@ paths: required: - total_count examples: - default: &316 + default: &319 value: total_count: 1 deployment_records: @@ -45068,11 +45785,11 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 required: - total_count examples: - default: *316 + default: *319 '207': description: | This response format is only returned when `partial_success` is set to true in the request body. @@ -45089,7 +45806,7 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 errors: type: array description: A list of errors for deployments that could not be @@ -45669,9 +46386,9 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 examples: - default: *316 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45800,12 +46517,12 @@ paths: required: - subject_digests examples: - default: &915 + default: &918 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &916 + withPredicateType: &919 value: subject_digests: - sha256:abc123 @@ -45863,7 +46580,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &917 + default: &920 value: attestations_subject_digests: - sha256:abc: @@ -46213,7 +46930,7 @@ paths: initiator: type: string examples: - default: &555 + default: &558 value: attestations: - repository_id: 1 @@ -46257,7 +46974,7 @@ paths: required: false schema: type: string - - *317 + - *320 - *128 - *129 - *130 @@ -46269,9 +46986,9 @@ paths: application/json: schema: type: array - items: *318 + items: *321 examples: - default: *319 + default: *322 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46300,7 +47017,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46394,7 +47111,7 @@ paths: subcategory: bypass-requests parameters: - *86 - - &322 + - &325 name: repository_name description: The name of the repository to filter on. in: query @@ -46413,9 +47130,9 @@ paths: application/json: schema: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 '404': *6 '500': *37 "/orgs/{org}/bypass-requests/secret-scanning": @@ -46439,7 +47156,7 @@ paths: subcategory: delegated-bypass parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 @@ -46453,9 +47170,9 @@ paths: application/json: schema: type: array - items: *323 + items: *326 examples: - default: *324 + default: *327 '404': *6 '500': *37 "/orgs/{org}/campaigns": @@ -46482,7 +47199,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &326 + schema: &329 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -46508,7 +47225,7 @@ paths: application/json: schema: type: array - items: &327 + items: &330 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -46539,7 +47256,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *325 + items: *328 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -46557,7 +47274,7 @@ paths: type: string format: date-time nullable: true - state: *326 + state: *329 contact_link: description: The contact link of the campaign. type: string @@ -46654,7 +47371,7 @@ paths: headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46777,9 +47494,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: &328 + default: &331 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -46828,7 +47545,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46862,16 +47579,16 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: *328 + default: *331 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46941,7 +47658,7 @@ paths: type: string format: uri nullable: true - state: *326 + state: *329 examples: default: value: @@ -46951,9 +47668,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: *328 + default: *331 '400': description: Bad Request content: @@ -46965,7 +47682,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46997,7 +47714,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47030,7 +47747,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &332 title: Code scanning AI Scan organization settings description: The AI Scan organization setting type: object @@ -47049,7 +47766,7 @@ paths: required: - pr_scan examples: - default: &330 + default: &333 value: pr_scan: enabled '403': *29 @@ -47108,9 +47825,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 '403': *29 '404': *6 '422': *15 @@ -47136,8 +47853,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *86 - - *331 - - *332 + - *334 + - *335 - *107 - *108 - *19 @@ -47148,7 +47865,7 @@ paths: be returned. in: query required: false - schema: *333 + schema: *336 - name: sort description: The property by which to sort the results. in: query @@ -47164,7 +47881,7 @@ paths: be returned. in: query required: false - schema: &585 + schema: &588 type: string description: Severity of a code scanning alert. enum: @@ -47190,13 +47907,13 @@ paths: application/json: schema: type: array - items: *334 + items: *337 examples: - default: *335 + default: *338 headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47567,7 +48284,7 @@ paths: application/json: schema: *113 examples: - default: *336 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47595,9 +48312,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *340 examples: - default: *338 + default: *341 '304': *34 '403': *29 '404': *6 @@ -47686,7 +48403,7 @@ paths: application/json: schema: *113 examples: - default: *336 + default: *339 '304': *34 '403': *29 '404': *6 @@ -48131,7 +48848,7 @@ paths: default: value: default_for_new_repos: all - configuration: *336 + configuration: *339 '403': *29 '404': *6 x-github: @@ -48184,13 +48901,13 @@ paths: application/json: schema: type: array - items: *339 + items: *342 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *340 + repository: *343 '403': *29 '404': *6 x-github: @@ -48230,7 +48947,7 @@ paths: type: integer codespaces: type: array - items: &408 + items: &411 type: object title: Codespace description: A codespace. @@ -48255,12 +48972,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *292 + repository: *295 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &618 + properties: &621 name: type: string description: The name of the machine. @@ -48302,7 +49019,7 @@ paths: - ready - in_progress nullable: true - required: &619 + required: &622 - name - display_name - operating_system @@ -48507,7 +49224,7 @@ paths: - pulls_url - recent_folders examples: - default: &409 + default: &412 value: total_count: 3 codespaces: @@ -49131,7 +49848,7 @@ paths: type: integer secrets: type: array - items: &341 + items: &344 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -49170,7 +49887,7 @@ paths: - updated_at - visibility examples: - default: &620 + default: &623 value: total_count: 2 secrets: @@ -49208,7 +49925,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &624 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -49237,7 +49954,7 @@ paths: - key_id - key examples: - default: &622 + default: &625 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -49261,15 +49978,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *341 + schema: *344 examples: - default: &624 + default: &627 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49297,7 +50014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -49352,7 +50069,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -49379,7 +50096,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -49405,7 +50122,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -49423,9 +50140,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -49448,7 +50165,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -49499,7 +50216,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -49533,7 +50250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -49603,7 +50320,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &342 + items: &345 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -49984,9 +50701,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: &343 + default: &346 summary: Example response for an organization copilot space value: id: 84 @@ -50091,9 +50808,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '403': *29 '404': *6 x-github: @@ -50219,9 +50936,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '403': *29 '404': *6 '422': *15 @@ -50304,7 +51021,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &344 + items: &347 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -50527,7 +51244,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: user: value: @@ -50657,7 +51374,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: user: value: @@ -50808,7 +51525,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &345 + items: &348 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -50951,7 +51668,7 @@ paths: description: Resource created content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -50967,7 +51684,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -51022,7 +51739,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -51091,7 +51808,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -51333,9 +52050,9 @@ paths: currently being billed. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 headers: Link: *44 '500': *37 @@ -51819,12 +52536,12 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 required: - total_count - repositories examples: - default: *346 + default: *349 '500': *37 '401': *25 '403': *29 @@ -51910,7 +52627,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: - *86 - - *286 + - *289 responses: '204': description: No Content @@ -51944,7 +52661,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: - *86 - - *286 + - *289 responses: '204': description: No Content @@ -52092,7 +52809,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *347 + '413': *350 '422': *7 x-github: githubCloudOnly: @@ -52878,7 +53595,7 @@ paths: type: integer custom_roles: type: array - items: *348 + items: *351 examples: default: value: @@ -52970,7 +53687,7 @@ paths: required: true content: application/json: - schema: &350 + schema: &353 type: object properties: name: @@ -53011,9 +53728,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -53038,15 +53755,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '404': *6 x-github: githubCloudOnly: true @@ -53069,12 +53786,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: application/json: - schema: &351 + schema: &354 type: object properties: name: @@ -53112,9 +53829,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -53139,7 +53856,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -53172,7 +53889,7 @@ paths: required: true content: application/json: - schema: *350 + schema: *353 examples: default: value: @@ -53186,9 +53903,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -53219,15 +53936,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '404': *6 x-github: githubCloudOnly: true @@ -53256,12 +53973,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: application/json: - schema: *351 + schema: *354 examples: default: value: @@ -53276,9 +53993,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -53309,7 +54026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -53338,12 +54055,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *86 - - *352 - - *353 - - *354 - *355 - *356 - *357 + - *358 + - *359 + - *360 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -53373,7 +54090,7 @@ paths: enum: - patch - deployment - - *358 + - *361 - name: runtime_risk in: query description: |- @@ -53382,9 +54099,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *359 - - *360 - - *361 + - *362 + - *363 + - *364 - *109 - *107 - *108 @@ -53396,9 +54113,9 @@ paths: application/json: schema: type: array - items: *362 + items: *365 examples: - default: *363 + default: *366 '304': *34 '400': *14 '403': *29 @@ -53447,9 +54164,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *367 examples: - default: *365 + default: *368 '403': *29 '404': *6 x-github: @@ -53612,7 +54329,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &369 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -53689,7 +54406,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &657 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -53706,7 +54423,7 @@ paths: - key_id - key examples: - default: &655 + default: &658 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -53730,13 +54447,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: default: value: @@ -53765,7 +54482,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -53822,7 +54539,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -53847,7 +54564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -53872,7 +54589,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -53890,9 +54607,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53914,7 +54631,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -53965,7 +54682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -53997,7 +54714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -54034,7 +54751,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - &664 + - &667 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -54042,7 +54759,7 @@ paths: required: false schema: type: string - - &665 + - &668 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -54050,7 +54767,7 @@ paths: required: false schema: type: string - - &666 + - &669 name: time_period description: |- The time period to filter by. @@ -54066,7 +54783,7 @@ paths: - week - month default: month - - &667 + - &670 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -54081,7 +54798,7 @@ paths: - denied - all default: all - - *322 + - *325 - *17 - *19 responses: @@ -54091,7 +54808,7 @@ paths: application/json: schema: type: array - items: &668 + items: &671 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -54197,7 +54914,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &368 + items: &371 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -54247,7 +54964,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &669 + default: &672 value: - id: 21 number: 42 @@ -54335,11 +55052,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -54349,7 +55066,7 @@ paths: application/json: schema: type: array - items: &670 + items: &673 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -54455,7 +55172,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *368 + items: *371 url: type: string format: uri @@ -54466,7 +55183,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &671 + default: &674 value: - id: 21 number: 42 @@ -54554,11 +55271,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -54568,9 +55285,9 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: - default: *370 + default: *373 '404': *6 '403': *29 '500': *37 @@ -54596,7 +55313,7 @@ paths: application/json: schema: type: array - items: &419 + items: &422 title: Package description: A software package type: object @@ -54646,8 +55363,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *371 - required: *372 + properties: *374 + required: *375 nullable: true created_at: type: string @@ -54666,7 +55383,7 @@ paths: - created_at - updated_at examples: - default: &420 + default: &423 value: - id: 197 name: hello_docker @@ -54754,7 +55471,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: 200-response: value: @@ -54853,7 +55570,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &509 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -54934,7 +55651,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &507 + default: &510 value: group_id: '123' group_name: Octocat admins @@ -54989,7 +55706,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &506 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -55026,7 +55743,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &504 + default: &507 value: groups: - group_id: '123' @@ -55071,7 +55788,7 @@ paths: application/json: schema: type: array - items: &397 + items: &400 title: Organization Invitation description: Organization Invitation type: object @@ -55118,7 +55835,7 @@ paths: - invitation_teams_url - node_id examples: - default: &398 + default: &401 value: - id: 1 login: monalisa @@ -55185,7 +55902,7 @@ paths: application/json: schema: type: array - items: &453 + items: &456 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -55199,7 +55916,7 @@ paths: - name - description examples: - default: &454 + default: &457 value: - name: add_assignee description: Assign or remove a user @@ -55240,7 +55957,7 @@ paths: application/json: schema: type: array - items: &373 + items: &376 title: Org Hook description: Org Hook type: object @@ -55409,9 +56126,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: - default: &374 + default: &377 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -55456,7 +56173,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *86 - - &375 + - &378 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. @@ -55469,9 +56186,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: - default: *374 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -55493,7 +56210,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *86 - - *375 + - *378 requestBody: required: false content: @@ -55538,7 +56255,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: default: value: @@ -55578,7 +56295,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *86 - - *375 + - *378 responses: '204': description: Response @@ -55604,7 +56321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *86 - - *375 + - *378 responses: '200': description: Response @@ -55633,7 +56350,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *86 - - *375 + - *378 requestBody: required: false content: @@ -55682,10 +56399,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *86 - - *375 + - *378 - *17 - - *376 - - *377 + - *379 + - *380 responses: '200': description: Response @@ -55693,9 +56410,9 @@ paths: application/json: schema: type: array - items: *378 + items: *381 examples: - default: *379 + default: *382 '400': *14 '422': *15 x-github: @@ -55719,16 +56436,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *86 - - *375 + - *378 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *383 examples: - default: *381 + default: *384 '400': *14 '422': *15 x-github: @@ -55752,7 +56469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *86 - - *375 + - *378 - *16 responses: '202': *36 @@ -55779,7 +56496,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *86 - - *375 + - *378 responses: '204': description: Response @@ -55804,7 +56521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *86 - - &386 + - &389 name: actor_type in: path description: The type of the actor @@ -55817,14 +56534,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &387 + - &390 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &382 + - &385 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`.' @@ -55832,7 +56549,7 @@ paths: required: true schema: type: string - - &383 + - &386 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) @@ -55928,12 +56645,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *86 - - *382 - - *383 + - *385 + - *386 - *19 - *17 - *109 - - &392 + - &395 name: sort description: The property to sort the results by. in: query @@ -56013,14 +56730,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *86 - - *382 - - *383 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: &384 + schema: &387 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -56036,7 +56753,7 @@ paths: type: integer format: int64 examples: - default: &385 + default: &388 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -56059,23 +56776,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *86 - - &388 + - &391 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *382 - - *383 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *384 + schema: *387 examples: - default: *385 + default: *388 x-github: enabledForGitHubApps: true category: orgs @@ -56095,18 +56812,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *86 - - *382 - - *383 + - *385 - *386 - - *387 + - *389 + - *390 responses: '200': description: Response content: application/json: - schema: *384 + schema: *387 examples: - default: *385 + default: *388 x-github: enabledForGitHubApps: true category: orgs @@ -56126,9 +56843,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *86 - - *382 - - *383 - - &389 + - *385 + - *386 + - &392 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -56141,7 +56858,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &393 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -56157,7 +56874,7 @@ paths: type: integer format: int64 examples: - default: &391 + default: &394 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -56196,18 +56913,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *86 - - *388 - - *382 - - *383 - - *389 + - *391 + - *385 + - *386 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: *391 + default: *394 x-github: enabledForGitHubApps: true category: orgs @@ -56227,19 +56944,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *86 - - *386 - - *387 - - *382 - - *383 - *389 + - *390 + - *385 + - *386 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: *391 + default: *394 x-github: enabledForGitHubApps: true category: orgs @@ -56259,13 +56976,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *86 - - *388 - - *382 - - *383 + - *391 + - *385 + - *386 - *19 - *17 - *109 - - *392 + - *395 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -56346,7 +57063,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56466,12 +57183,12 @@ paths: application/json: schema: anyOf: - - &395 + - &398 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &394 + limit: &397 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -56496,7 +57213,7 @@ paths: properties: {} additionalProperties: false examples: - default: &396 + default: &399 value: limit: collaborators_only origin: organization @@ -56525,13 +57242,13 @@ paths: required: true content: application/json: - schema: &700 + schema: &703 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *394 + limit: *397 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -56555,9 +57272,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *396 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -56769,9 +57486,9 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: - default: *398 + default: *401 headers: Link: *44 '404': *6 @@ -56849,7 +57566,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: default: value: @@ -56906,7 +57623,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *86 - - &399 + - &402 name: invitation_id description: The unique identifier of the invitation. in: path @@ -56940,7 +57657,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *86 - - *399 + - *402 - *17 - *19 responses: @@ -56950,9 +57667,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: &418 + default: &421 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -56995,7 +57712,7 @@ paths: application/json: schema: type: array - items: &400 + items: &403 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -57248,9 +57965,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: &401 + default: &404 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -57306,7 +58023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *86 - - &402 + - &405 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -57414,9 +58131,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 '404': *6 '422': *7 x-github: @@ -57441,7 +58158,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *86 - - *402 + - *405 responses: '204': *125 '404': *6 @@ -57471,9 +58188,9 @@ paths: application/json: schema: type: array - items: *403 + items: *406 examples: - default: &704 + default: &707 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -57556,9 +58273,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: &404 + default: &407 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -57591,7 +58308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *86 - - &405 + - &408 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -57644,9 +58361,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: *404 + default: *407 '404': *6 '422': *7 x-github: @@ -57671,7 +58388,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *86 - - *405 + - *408 responses: '204': description: Response @@ -57734,7 +58451,7 @@ paths: - closed - all default: open - - *406 + - *409 - name: type description: Can be the name of an issue type. in: query @@ -57753,7 +58470,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -57763,9 +58480,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *407 + default: *410 headers: Link: *44 '404': *6 @@ -57825,7 +58542,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '422': *15 @@ -57924,9 +58641,9 @@ paths: type: integer codespaces: type: array - items: *408 + items: *411 examples: - default: *409 + default: *412 '304': *34 '500': *37 '401': *25 @@ -57953,7 +58670,7 @@ paths: parameters: - *86 - *131 - - &410 + - &413 name: codespace_name in: path required: true @@ -57988,15 +58705,15 @@ paths: parameters: - *86 - *131 - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: &617 + default: &620 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -58176,7 +58893,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *151 + schema: *154 examples: default: value: @@ -58252,7 +58969,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &414 title: Org Membership description: Org Membership type: object @@ -58319,7 +59036,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &412 + response-if-user-has-an-active-admin-membership-with-organization: &415 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -58420,9 +59137,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *414 examples: - response-if-user-already-had-membership-with-organization: *412 + response-if-user-already-had-membership-with-organization: *415 '422': *15 '403': *29 x-github: @@ -58493,7 +59210,7 @@ paths: application/json: schema: type: array - items: &413 + items: &416 title: Migration description: A migration. type: object @@ -58822,7 +59539,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -59001,7 +59718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *86 - - &414 + - &417 name: migration_id description: The unique identifier of the migration. in: path @@ -59028,7 +59745,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -59198,7 +59915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *86 - - *414 + - *417 responses: '302': description: Response @@ -59220,7 +59937,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *86 - - *414 + - *417 responses: '204': description: Response @@ -59244,8 +59961,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *86 - - *414 - - &898 + - *417 + - &901 name: repo_name description: repo_name parameter in: path @@ -59273,7 +59990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *86 - - *414 + - *417 - *17 - *19 responses: @@ -59283,9 +60000,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: &425 + default: &428 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59496,7 +60213,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &415 + items: &418 title: Organization Role description: Organization roles type: object @@ -59703,7 +60420,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: default: value: @@ -59755,7 +60472,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -59781,8 +60498,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *86 - - *222 - - *148 + - *225 + - *151 responses: '204': description: Response @@ -59812,8 +60529,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *86 - - *222 - - *148 + - *225 + - *151 responses: '204': description: Response @@ -59866,7 +60583,7 @@ paths: parameters: - *86 - *131 - - *148 + - *151 responses: '204': description: Response @@ -59898,7 +60615,7 @@ paths: parameters: - *86 - *131 - - *148 + - *151 responses: '204': description: Response @@ -59927,13 +60644,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *415 + schema: *418 examples: default: value: @@ -59991,7 +60708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: @@ -60030,7 +60747,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: default: value: @@ -60084,7 +60801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -60110,7 +60827,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *86 - - *148 + - *151 - *17 - *19 responses: @@ -60188,8 +60905,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *419 + required: *420 nullable: true type: description: The ownership type of the team @@ -60221,7 +60938,7 @@ paths: - type - parent examples: - default: *418 + default: *421 headers: Link: *44 '404': @@ -60251,7 +60968,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *86 - - *148 + - *151 - *17 - *19 responses: @@ -60279,13 +60996,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &493 + items: &496 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *419 + required: *420 name: nullable: true type: string @@ -60380,7 +61097,7 @@ paths: - type - url examples: - default: *219 + default: *222 headers: Link: *44 '404': @@ -60431,7 +61148,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -60573,7 +61290,7 @@ paths: - nuget - container - *86 - - &899 + - &902 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -60609,12 +61326,12 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: *420 + default: *423 '403': *29 '401': *25 - '400': &901 + '400': &904 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -60636,7 +61353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &421 + - &424 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 @@ -60654,7 +61371,7 @@ paths: - docker - nuget - container - - &422 + - &425 name: package_name description: The name of the package. in: path @@ -60667,7 +61384,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *422 examples: default: value: @@ -60719,8 +61436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *421 - - *422 + - *424 + - *425 - *86 responses: '204': @@ -60753,8 +61470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *421 - - *422 + - *424 + - *425 - *86 - name: token description: package token @@ -60787,8 +61504,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: - - *421 - - *422 + - *424 + - *425 - *86 - *19 - *17 @@ -60809,7 +61526,7 @@ paths: application/json: schema: type: array - items: &423 + items: &426 title: Package Version description: A version of a software package type: object @@ -60934,10 +61651,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: - - *421 - - *422 + - *424 + - *425 - *86 - - &424 + - &427 name: package_version_id description: Unique identifier of the package version. in: path @@ -60949,7 +61666,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: default: value: @@ -60985,10 +61702,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *421 - - *422 - - *86 - *424 + - *425 + - *86 + - *427 responses: '204': description: Response @@ -61020,10 +61737,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *421 - - *422 - - *86 - *424 + - *425 + - *86 + - *427 responses: '204': description: Response @@ -61053,7 +61770,7 @@ paths: - *86 - *17 - *19 - - &426 + - &429 name: sort description: The property by which to sort the results. in: query @@ -61064,7 +61781,7 @@ paths: - created_at default: created_at - *109 - - &427 + - &430 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -61075,7 +61792,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &428 + - &431 name: repository description: The name of the repository to use to filter the results. in: query @@ -61083,7 +61800,7 @@ paths: schema: type: string example: Hello-World - - &429 + - &432 name: permission description: The permission to use to filter the results. in: query @@ -61091,7 +61808,7 @@ paths: schema: type: string example: issues_read - - &430 + - &433 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) @@ -61101,7 +61818,7 @@ paths: schema: type: string format: date-time - - &431 + - &434 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) @@ -61111,7 +61828,7 @@ paths: schema: type: string format: date-time - - &432 + - &435 name: token_id description: The ID of the token in: query @@ -61422,9 +62139,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 x-github: @@ -61450,14 +62167,14 @@ paths: - *86 - *17 - *19 - - *426 - - *109 - - *427 - - *428 - *429 + - *109 - *430 - *431 - *432 + - *433 + - *434 + - *435 responses: '500': *37 '422': *15 @@ -61737,9 +62454,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 x-github: @@ -61781,7 +62498,7 @@ paths: type: integer configurations: type: array - items: &433 + items: &436 title: Organization private registry description: Private registry configuration for an organization type: object @@ -62292,7 +63009,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &434 + org-private-registry-with-selected-visibility: &437 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -62382,15 +63099,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *433 + schema: *436 examples: - default: *434 + default: *437 '404': *6 x-github: githubCloudOnly: false @@ -62413,7 +63130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -62601,7 +63318,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -62641,7 +63358,7 @@ paths: application/json: schema: type: array - items: &435 + items: &438 title: Projects v2 Project description: A projects v2 project type: object @@ -62711,7 +63428,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &993 + properties: &996 id: type: number description: The unique identifier of the status update. @@ -62759,7 +63476,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &994 + required: &997 - id - node_id - created_at @@ -62784,7 +63501,7 @@ paths: - deleted_at - deleted_by examples: - default: &436 + default: &439 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -62887,7 +63604,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &437 + - &440 name: project_number description: The project's number. in: path @@ -62900,9 +63617,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: *436 + default: *439 headers: Link: *44 '304': *34 @@ -62925,7 +63642,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *86 - - *437 + - *440 requestBody: required: true description: Details of the draft item to create in the project. @@ -62959,7 +63676,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &446 title: Projects v2 Item description: An item belonging to a project type: object @@ -62972,8 +63689,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *231 - - &593 + - *234 + - &596 title: Pull Request Simple description: Pull Request Simple type: object @@ -63087,8 +63804,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *441 + required: *442 nullable: true active_lock_reason: type: string @@ -63131,7 +63848,7 @@ paths: items: *4 requested_teams: type: array - items: *325 + items: *328 head: type: object properties: @@ -63181,7 +63898,7 @@ paths: _links: type: object properties: - comments: &440 + comments: &443 title: Link description: Hypermedia Link type: object @@ -63190,13 +63907,13 @@ paths: type: string required: - href - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + commits: *443 + statuses: *443 + html: *443 + issue: *443 + review_comments: *443 + review_comment: *443 + self: *443 required: - comments - commits @@ -63206,8 +63923,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: &773 + author_association: *231 + auto_merge: &776 title: Auto merge description: The status of auto merging a pull request. type: object @@ -63232,7 +63949,7 @@ paths: - commit_title - commit_message nullable: true - stack: &774 + stack: &777 title: Pull Request Stack description: The stack information associated with a pull request. @@ -63348,7 +64065,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &442 + content_type: &445 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -63388,7 +64105,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &444 + draft_issue: &447 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -63462,7 +64179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *437 + - *440 - *86 - *17 - *107 @@ -63474,7 +64191,7 @@ paths: application/json: schema: type: array - items: &441 + items: &444 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -63624,7 +64341,7 @@ paths: - updated_at - project_url examples: - default: &921 + default: &924 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63754,7 +64471,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: - - *437 + - *440 - *86 requestBody: required: true @@ -63801,7 +64518,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &922 + items: &925 type: object properties: name: @@ -63838,7 +64555,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &923 + iteration_configuration: &926 type: object description: The configuration for iteration fields. required: @@ -63895,7 +64612,7 @@ paths: value: name: Due date data_type: date - single_select_field: &924 + single_select_field: &927 summary: Create a single select field value: name: Priority @@ -63922,7 +64639,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &925 + iteration_field: &928 summary: Create an iteration field value: name: Sprint @@ -63942,9 +64659,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *441 + schema: *444 examples: - text_field: &926 + text_field: &929 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -63953,7 +64670,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: &927 + number_field: &930 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -63962,7 +64679,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: &928 + date_field: &931 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -63971,7 +64688,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: &929 + single_select_field: &932 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64005,7 +64722,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &930 + iteration_field: &933 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -64050,8 +64767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *437 - - &931 + - *440 + - &934 name: field_id description: The unique identifier of the field. in: path @@ -64064,9 +64781,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: - default: &932 + default: &935 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64122,7 +64839,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: - - *437 + - *440 - *86 - 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) @@ -64155,7 +64872,7 @@ paths: application/json: schema: type: array - items: &445 + items: &448 title: Projects v2 Item description: An item belonging to a project type: object @@ -64171,7 +64888,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *442 + content_type: *445 content: type: object additionalProperties: true @@ -64214,7 +64931,7 @@ paths: - updated_at - archived_at examples: - default: &446 + default: &449 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -64912,7 +65629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *86 - - *437 + - *440 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -64982,22 +65699,22 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *447 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *447 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *447 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 + value: *447 '304': *34 '403': *29 '401': *25 @@ -65017,9 +65734,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: - - *437 + - *440 - *86 - - &447 + - &450 name: item_id description: The unique identifier of the project item. in: path @@ -65045,9 +65762,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -65068,9 +65785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *437 + - *440 - *86 - - *447 + - *450 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -65140,13 +65857,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *449 + number_field: *449 + date_field: *449 + single_select_field: *449 + iteration_field: *449 '401': *25 '403': *29 '404': *6 @@ -65166,9 +65883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *437 + - *440 - *86 - - *447 + - *450 responses: '204': description: Response @@ -65192,7 +65909,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *86 - - *437 + - *440 requestBody: required: true content: @@ -65304,7 +66021,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &912 + schema: &915 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -65402,7 +66119,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &448 + value: &451 value: id: 1 number: 1 @@ -65448,10 +66165,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *448 + value: *451 roadmap_view: summary: Response for creating a roadmap view - value: *448 + value: *451 '304': *34 '403': *29 '401': *25 @@ -65479,9 +66196,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: - - *437 + - *440 - *86 - - &933 + - &936 name: view_number description: The number that identifies the project view. in: path @@ -65513,9 +66230,9 @@ paths: application/json: schema: type: array - items: *445 + items: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -65548,9 +66265,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -65588,7 +66305,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *162 + items: *165 minItems: 1 maxItems: 100 required: @@ -65618,9 +66335,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -65642,15 +66359,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -65674,12 +66391,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 requestBody: required: true content: application/json: - schema: *449 + schema: *452 examples: default: value: @@ -65695,9 +66412,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -65721,7 +66438,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -65782,7 +66499,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *161 + items: *164 description: List of custom property names and associated values required: - repository_id @@ -65851,7 +66568,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *161 + items: *164 required: - repository_names - properties @@ -65904,7 +66621,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -66042,9 +66759,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 x-github: @@ -66247,7 +66964,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &517 title: Full Repository description: Full Repository type: object @@ -66535,8 +67252,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *450 - required: *451 + properties: *453 + required: *454 nullable: true temp_clone_token: type: string @@ -66623,8 +67340,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true organization: title: Simple User @@ -66651,7 +67368,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &638 + properties: &641 url: type: string format: uri @@ -66667,12 +67384,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &639 + required: &642 - url - key - name - html_url - security_and_analysis: *452 + security_and_analysis: *455 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -66756,7 +67473,7 @@ paths: - network_count - subscribers_count examples: - default: &516 + default: &519 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -67282,9 +67999,9 @@ paths: application/json: schema: type: array - items: *453 + items: *456 examples: - default: *454 + default: *457 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -67309,7 +68026,7 @@ paths: - *86 - *17 - *19 - - &798 + - &801 name: targets description: | A comma-separated list of rule targets to filter by. @@ -67327,7 +68044,7 @@ paths: application/json: schema: type: array - items: *196 + items: *199 examples: default: value: @@ -67395,23 +68112,20 @@ paths: - push - repository default: branch - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *455 + items: *177 + conditions: *458 rules: type: array description: An array of rules within the ruleset. - items: &457 + items: &460 title: Repository Rule type: object description: A repository rule. oneOf: - - *175 - - *176 - - *177 - *178 - *179 - *180 @@ -67423,13 +68137,16 @@ paths: - *186 - *187 - *188 - - *192 - - *193 - - *194 - - *195 - *189 - *190 - *191 + - *195 + - *196 + - *197 + - *198 + - *192 + - *193 + - *194 required: - name - enforcement @@ -67467,9 +68184,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: &456 + default: &459 value: id: 21 name: super cool ruleset @@ -67525,7 +68242,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *86 - - &800 + - &803 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 @@ -67535,16 +68252,16 @@ paths: schema: type: string x-multi-segment: true - - *322 + - *325 - *104 - - &801 + - &804 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 - - &802 + - &805 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -67557,7 +68274,7 @@ paths: - bypass - all default: all - - &803 + - &806 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. @@ -67580,7 +68297,7 @@ paths: description: Response content: application/json: - schema: &804 + schema: &807 title: Rule Suites description: Response type: array @@ -67635,7 +68352,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &805 + default: &808 value: - id: 21 actor_id: 12 @@ -67679,7 +68396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *86 - - &806 + - &809 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -67695,7 +68412,7 @@ paths: description: Response content: application/json: - schema: &807 + schema: &810 title: Rule Suite description: Response type: object @@ -67794,7 +68511,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &808 + default: &811 value: id: 21 actor_id: 12 @@ -67867,9 +68584,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *456 + default: *459 '404': *6 '500': *37 put: @@ -67913,16 +68630,16 @@ paths: - tag - push - repository - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *455 + items: *177 + conditions: *458 rules: description: An array of rules within the ruleset. type: array - items: *457 + items: *460 examples: default: value: @@ -67957,9 +68674,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *456 + default: *459 '404': *6 '422': *15 '500': *37 @@ -68017,9 +68734,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *458 + default: *461 '404': *6 '500': *37 x-github: @@ -68056,7 +68773,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *462 examples: default: value: @@ -68119,18 +68836,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *86 - - *460 - - *461 - - *462 - *463 - *464 - *465 - *466 - *467 + - *468 + - *469 + - *470 - *109 - *19 - *17 - - &810 + - &813 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 @@ -68140,7 +68857,7 @@ paths: required: false schema: type: string - - &811 + - &814 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 @@ -68150,13 +68867,13 @@ paths: required: false schema: type: string - - *468 - - *469 - - *470 - *471 - *472 - *473 - *474 + - *475 + - *476 + - *477 responses: '200': description: Response @@ -68164,13 +68881,13 @@ paths: application/json: schema: type: array - items: *475 + items: *478 examples: - default: *476 + default: *479 headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68196,9 +68913,9 @@ paths: subcategory: custom-patterns parameters: - *86 - - *477 - - *478 - - *479 + - *480 + - *481 + - *482 - *109 - *107 - *108 @@ -68209,9 +68926,9 @@ paths: application/json: schema: type: array - items: *202 + items: *205 examples: - default: *480 + default: *483 headers: Link: *44 '403': *29 @@ -68247,9 +68964,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *481 + items: *484 examples: - default: *482 + default: *485 responses: '201': description: All patterns created successfully. @@ -68261,9 +68978,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: *483 + default: *486 '400': *14 '403': *29 '404': *6 @@ -68287,7 +69004,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *484 + items: *487 delete: summary: Bulk delete organization custom patterns description: |- @@ -68320,7 +69037,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *485 + items: *488 post_delete_action: type: string description: |- @@ -68333,14 +69050,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *486 + default: *489 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 "/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update an organization custom pattern @@ -68371,21 +69088,21 @@ paths: required: true content: application/json: - schema: *487 + schema: *490 examples: - default: *488 + default: *491 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: *489 + default: *492 '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -68412,9 +69129,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *493 examples: - default: *491 + default: *494 '403': *29 '404': *6 patch: @@ -68443,7 +69160,7 @@ paths: schema: type: object properties: - pattern_config_version: *203 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -68469,7 +69186,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *203 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -68567,7 +69284,7 @@ paths: application/json: schema: type: array - items: &832 + items: &835 description: A repository security advisory. type: object properties: @@ -68754,7 +69471,7 @@ paths: required: - vector_string - score - cvss_severities: *134 + cvss_severities: *137 cwes: type: array nullable: true @@ -68787,7 +69504,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *495 credits_detailed: type: array nullable: true @@ -68797,7 +69514,7 @@ paths: type: object properties: user: *4 - type: *492 + type: *495 state: type: string description: The state of the user's acceptance of the @@ -68821,7 +69538,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *325 + items: *328 private_fork: readOnly: true nullable: true @@ -68858,7 +69575,7 @@ paths: - private_fork additionalProperties: false examples: - default: &833 + default: &836 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -69245,7 +69962,7 @@ paths: application/json: schema: type: array - items: *493 + items: *496 examples: default: value: @@ -69286,7 +70003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -69312,7 +70029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -69344,7 +70061,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *86 - - *494 + - *497 - *17 - *19 responses: @@ -69352,9 +70069,9 @@ paths: description: Success content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -69498,9 +70215,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69569,7 +70286,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -69592,7 +70309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -69633,9 +70350,9 @@ paths: type: integer network_configurations: type: array - items: *154 + items: *157 examples: - default: *497 + default: *500 headers: Link: *44 x-github: @@ -69712,9 +70429,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69735,15 +70452,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *86 - - *156 + - *159 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 headers: Link: *44 x-github: @@ -69765,7 +70482,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *86 - - *156 + - *159 requestBody: required: true content: @@ -69818,9 +70535,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69840,7 +70557,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *86 - - *156 + - *159 responses: '204': description: Response @@ -69864,15 +70581,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: - *86 - - *498 + - *501 responses: '200': description: Response content: application/json: - schema: *499 + schema: *502 examples: - default: *500 + default: *503 headers: Link: *44 x-github: @@ -69910,7 +70627,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &514 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -69956,7 +70673,7 @@ paths: type: string nullable: true examples: - default: &512 + default: &515 value: groups: - group_id: '123' @@ -70011,9 +70728,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 headers: Link: *44 '403': *29 @@ -70111,7 +70828,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &504 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -70174,8 +70891,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *419 + required: *420 nullable: true members_count: type: integer @@ -70442,7 +71159,7 @@ paths: - repos_count - organization examples: - default: &502 + default: &505 value: id: 1 node_id: MDQ6VGVhbTE= @@ -70513,15 +71230,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -70543,7 +71260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *86 - - *222 + - *225 requestBody: required: false content: @@ -70610,16 +71327,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '201': description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '404': *6 '422': *15 '403': *29 @@ -70645,11 +71362,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response - '422': &505 + '422': &508 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -70672,16 +71389,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: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: *504 - '422': *505 + default: *507 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -70701,7 +71418,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: - *86 - - *222 + - *225 requestBody: required: true content: @@ -70724,10 +71441,10 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: *507 - '422': *505 + default: *510 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70747,11 +71464,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: - *86 - - *222 + - *225 responses: '204': description: Response - '422': *505 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70773,7 +71490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -70783,12 +71500,12 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: - default: *398 + default: *401 headers: Link: *44 - '422': *505 + '422': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70814,7 +71531,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *86 - - *222 + - *225 - name: role description: Filters members returned by their role in the team. in: query @@ -70835,7 +71552,7 @@ paths: application/json: schema: type: array - items: &876 + items: &879 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 @@ -70954,7 +71671,7 @@ paths: - type - url examples: - default: &877 + default: &880 value: - login: octocat id: 1 @@ -71006,14 +71723,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 responses: '200': description: Response content: application/json: - schema: &508 + schema: &511 title: Team Membership description: Team Membership type: object @@ -71040,7 +71757,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &878 + response-if-user-is-a-team-maintainer: &881 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -71077,7 +71794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 requestBody: required: false @@ -71103,9 +71820,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - response-if-users-membership-with-team-is-now-pending: &879 + response-if-users-membership-with-team-is-now-pending: &882 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -71141,7 +71858,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 responses: '204': @@ -71171,7 +71888,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -71181,9 +71898,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 x-github: @@ -71213,15 +71930,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *86 - - *222 - - *509 - - *510 + - *225 + - *512 + - *513 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &880 + schema: &883 title: Team Repository description: A team's access to a repository. type: object @@ -71244,8 +71961,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true forks: type: integer @@ -71791,9 +72508,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *86 - - *222 - - *509 - - *510 + - *225 + - *512 + - *513 requestBody: required: false content: @@ -71839,9 +72556,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *86 - - *222 - - *509 - - *510 + - *225 + - *512 + - *513 responses: '204': description: Response @@ -71868,16 +72585,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: *512 - '422': *505 + default: *515 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71900,7 +72617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *86 - - *222 + - *225 requestBody: required: true content: @@ -71943,7 +72660,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *514 examples: default: value: @@ -71955,7 +72672,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *505 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71977,7 +72694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -71987,9 +72704,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - response-if-child-teams-exist: &881 + response-if-child-teams-exist: &884 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -72142,7 +72859,7 @@ paths: resources: type: object properties: - core: &513 + core: &516 title: Rate Limit type: object properties: @@ -72159,21 +72876,21 @@ paths: - remaining - reset - used - graphql: *513 - search: *513 - code_search: *513 - source_import: *513 - integration_manifest: *513 - actions_runner_registration: *513 - scim: *513 - dependency_snapshots: *513 - dependency_sbom: *513 - code_scanning_autofix: *513 - copilot_usage_records: *513 + graphql: *516 + search: *516 + code_search: *516 + source_import: *516 + integration_manifest: *516 + actions_runner_registration: *516 + scim: *516 + dependency_snapshots: *516 + dependency_sbom: *516 + code_scanning_autofix: *516 + copilot_usage_records: *516 required: - core - search - rate: *513 + rate: *516 required: - rate - resources @@ -72273,14 +72990,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *514 + schema: *517 examples: default-response: summary: Default response @@ -72789,7 +73506,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *515 + '301': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72807,8 +73524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -73128,10 +73845,10 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 - '307': &517 + default: *519 + '307': &520 description: Temporary Redirect content: application/json: @@ -73160,8 +73877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -73183,7 +73900,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': *517 + '307': *520 '404': *6 '409': *118 x-github: @@ -73207,11 +73924,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 - - &533 + - &536 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -73234,7 +73951,7 @@ paths: type: integer artifacts: type: array - items: &518 + items: &521 title: Artifact description: An artifact type: object @@ -73312,7 +74029,7 @@ paths: - expires_at - updated_at examples: - default: &534 + default: &537 value: total_count: 2 artifacts: @@ -73373,9 +74090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *509 - - *510 - - &519 + - *512 + - *513 + - &522 name: artifact_id description: The unique identifier of the artifact. in: path @@ -73387,7 +74104,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *521 examples: default: value: @@ -73425,9 +74142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *509 - - *510 - - *519 + - *512 + - *513 + - *522 responses: '204': description: Response @@ -73451,9 +74168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *509 - - *510 - - *519 + - *512 + - *513 + - *522 - name: archive_format in: path required: true @@ -73463,7 +74180,7 @@ paths: '302': description: Response headers: - Location: &657 + Location: &660 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 @@ -73488,14 +74205,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &520 + schema: &523 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -73528,13 +74245,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *520 + schema: *523 examples: selected_actions: *41 responses: @@ -73563,14 +74280,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &521 + schema: &524 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -73603,13 +74320,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *521 + schema: *524 examples: selected_actions: *43 responses: @@ -73640,14 +74357,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: default: value: @@ -73673,11 +74390,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: - - *509 - - *510 + - *512 + - *513 - *17 - *19 - - &523 + - &526 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 @@ -73711,7 +74428,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &527 title: Repository actions caches description: Repository actions caches type: object @@ -73753,7 +74470,7 @@ paths: - total_count - actions_caches examples: - default: &525 + default: &528 value: total_count: 1 actions_caches: @@ -73785,23 +74502,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: - - *509 - - *510 + - *512 + - *513 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *523 + - *526 responses: '200': description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: *525 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73821,8 +74538,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: - - *509 - - *510 + - *512 + - *513 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -73851,8 +74568,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: - - *509 - - *510 + - *512 + - *513 - *17 - *108 responses: @@ -73934,8 +74651,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: - - *509 - - *510 + - *512 + - *513 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -74087,9 +74804,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: - - *509 - - *510 - - &526 + - *512 + - *513 + - &529 name: job_id description: The unique identifier of the job. in: path @@ -74102,7 +74819,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &540 title: Job description: Information of a job execution in a workflow run type: object @@ -74411,9 +75128,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: - - *509 - - *510 - - *526 + - *512 + - *513 + - *529 responses: '302': description: Response @@ -74441,9 +75158,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: - - *509 - - *510 - - *526 + - *512 + - *513 + - *529 requestBody: required: false content: @@ -74469,7 +75186,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -74493,8 +75210,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Status response @@ -74553,8 +75270,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -74593,7 +75310,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -74622,8 +75339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -74641,7 +75358,7 @@ paths: type: integer secrets: type: array - items: &539 + items: &542 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -74661,7 +75378,7 @@ paths: - created_at - updated_at examples: - default: &540 + default: &543 value: total_count: 2 secrets: @@ -74694,9 +75411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *509 - - *510 - - *311 + - *512 + - *513 + - *314 - *19 responses: '200': @@ -74713,7 +75430,7 @@ paths: type: integer variables: type: array - items: &541 + items: &544 title: Actions Variable type: object properties: @@ -74743,7 +75460,7 @@ paths: - created_at - updated_at examples: - default: &542 + default: &545 value: total_count: 2 variables: @@ -74776,8 +75493,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -74786,11 +75503,11 @@ paths: schema: type: object properties: - enabled: &527 + enabled: &530 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *59 - selected_actions_url: *279 + selected_actions_url: *282 sha_pinning_required: *60 required: - enabled @@ -74821,8 +75538,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -74833,7 +75550,7 @@ paths: schema: type: object properties: - enabled: *527 + enabled: *530 allowed_actions: *59 sha_pinning_required: *60 required: @@ -74866,14 +75583,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &528 + schema: &531 type: object properties: access_level: @@ -74891,7 +75608,7 @@ paths: required: - access_level examples: - default: &529 + default: &532 value: access_level: organization x-github: @@ -74916,15 +75633,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *528 + schema: *531 examples: - default: *529 + default: *532 responses: '204': description: Response @@ -74948,14 +75665,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -74979,8 +75696,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Empty response for successful settings update @@ -74990,7 +75707,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: summary: Set retention days @@ -75014,8 +75731,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -75023,7 +75740,7 @@ paths: application/json: schema: *61 examples: - default: *283 + default: *286 '404': *6 x-github: enabledForGitHubApps: true @@ -75042,8 +75759,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -75077,14 +75794,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *284 + schema: *287 examples: default: *62 '403': *29 @@ -75106,13 +75823,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *285 + schema: *288 examples: default: *62 responses: @@ -75138,8 +75855,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -75170,8 +75887,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -75203,14 +75920,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: *68 x-github: @@ -75233,8 +75950,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Success response @@ -75245,7 +75962,7 @@ paths: required: true content: application/json: - schema: *289 + schema: *292 examples: default: *68 x-github: @@ -75274,8 +75991,8 @@ paths: in: query schema: type: string - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -75320,8 +76037,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: - - *509 - - *510 + - *512 + - *513 - name: version description: The runner version to look up. in: path @@ -75383,8 +76100,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -75392,9 +76109,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75416,8 +76133,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -75460,7 +76177,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *298 '404': *6 '422': *7 '409': *118 @@ -75491,8 +76208,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: - - *509 - - *510 + - *512 + - *513 responses: '201': description: Response @@ -75500,7 +76217,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75528,8 +76245,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: - - *509 - - *510 + - *512 + - *513 responses: '201': description: Response @@ -75537,7 +76254,7 @@ paths: application/json: schema: *78 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75559,8 +76276,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: - - *509 - - *510 + - *512 + - *513 - *74 responses: '200': @@ -75569,7 +76286,7 @@ paths: application/json: schema: *75 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75590,8 +76307,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: - - *509 - - *510 + - *512 + - *513 - *74 responses: '204': @@ -75618,8 +76335,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: - - *509 - - *510 + - *512 + - *513 - *74 responses: '200': *80 @@ -75644,8 +76361,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: - - *509 - - *510 + - *512 + - *513 - *74 requestBody: required: true @@ -75694,8 +76411,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: - - *509 - - *510 + - *512 + - *513 - *74 requestBody: required: true @@ -75745,11 +76462,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: - - *509 - - *510 + - *512 + - *513 - *74 responses: - '200': *299 + '200': *302 '404': *6 x-github: githubCloudOnly: false @@ -75776,10 +76493,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: - - *509 - - *510 + - *512 + - *513 - *74 - - *300 + - *303 responses: '200': *80 '404': *6 @@ -75807,9 +76524,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: - - *509 - - *510 - - &545 + - *512 + - *513 + - &548 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. @@ -75817,7 +76534,7 @@ paths: required: false schema: type: string - - &546 + - &549 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -75825,7 +76542,7 @@ paths: required: false schema: type: string - - &547 + - &550 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -75834,7 +76551,7 @@ paths: required: false schema: type: string - - &548 + - &551 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 @@ -75861,7 +76578,7 @@ paths: - pending - *17 - *19 - - &549 + - &552 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)." @@ -75870,7 +76587,7 @@ paths: schema: type: string format: date-time - - &530 + - &533 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -75879,14 +76596,14 @@ paths: schema: type: boolean default: false - - &550 + - &553 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &551 + - &554 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -75909,7 +76626,7 @@ paths: type: integer workflow_runs: type: array - items: &531 + items: &534 title: Workflow Run description: An invocation of a workflow type: object @@ -76006,7 +76723,7 @@ paths: that triggered the run. type: array nullable: true - items: *236 + items: *239 created_at: type: string format: date-time @@ -76059,7 +76776,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &575 + properties: &578 id: type: string description: SHA for the commit @@ -76110,7 +76827,7 @@ paths: - name - email nullable: true - required: &576 + required: &579 - id - tree_id - message @@ -76118,8 +76835,8 @@ paths: - author - committer nullable: true - repository: *292 - head_repository: *292 + repository: *295 + head_repository: *295 head_repository_id: type: integer example: 5 @@ -76157,7 +76874,7 @@ paths: - workflow_url - pull_requests examples: - default: &552 + default: &555 value: total_count: 1 workflow_runs: @@ -76393,24 +77110,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *509 - - *510 - - &532 + - *512 + - *513 + - &535 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *530 + - *533 responses: '200': description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: &535 + default: &538 value: id: 30433642 name: Build @@ -76651,9 +77368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '204': description: Response @@ -76676,9 +77393,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '200': description: Response @@ -76797,15 +77514,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -76832,12 +77549,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 - *17 - *19 - - *533 + - *536 - *109 responses: '200': @@ -76854,9 +77571,9 @@ paths: type: integer artifacts: type: array - items: *518 + items: *521 examples: - default: *534 + default: *537 headers: Link: *44 x-github: @@ -76880,25 +77597,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *509 - - *510 - - *532 - - &536 + - *512 + - *513 + - *535 + - &539 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *530 + - *533 responses: '200': description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: *535 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76921,10 +77638,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: - - *509 - - *510 - - *532 - - *536 + - *512 + - *513 + - *535 + - *539 - *17 - *19 responses: @@ -76942,9 +77659,9 @@ paths: type: integer jobs: type: array - items: *537 + items: *540 examples: - default: &538 + default: &541 value: total_count: 1 jobs: @@ -77057,10 +77774,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *509 - - *510 - - *532 - - *536 + - *512 + - *513 + - *535 + - *539 responses: '302': description: Response @@ -77088,15 +77805,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '202': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77136,9 +77853,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 - *17 - *107 - *108 @@ -77309,9 +78026,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 requestBody: required: true content: @@ -77378,15 +78095,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '202': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77413,9 +78130,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 - 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 @@ -77445,9 +78162,9 @@ paths: type: integer jobs: type: array - items: *537 + items: *540 examples: - default: *538 + default: *541 headers: Link: *44 x-github: @@ -77472,9 +78189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '302': description: Response @@ -77501,9 +78218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '204': description: Response @@ -77530,9 +78247,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '200': description: Response @@ -77592,7 +78309,7 @@ paths: items: type: object properties: - type: &672 + type: &675 type: string description: The type of reviewer. enum: @@ -77602,7 +78319,7 @@ paths: reviewer: anyOf: - *4 - - *325 + - *328 required: - environment - wait_timer @@ -77677,9 +78394,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 requestBody: required: true content: @@ -77726,12 +78443,12 @@ paths: application/json: schema: type: array - items: &659 + items: &662 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &951 + properties: &954 url: type: string format: uri @@ -77814,9 +78531,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - required: &952 + properties: *229 + required: *230 + required: &955 - id - node_id - sha @@ -77832,7 +78549,7 @@ paths: - created_at - updated_at examples: - default: &660 + default: &663 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -77888,9 +78605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 requestBody: required: false content: @@ -77911,7 +78628,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77934,9 +78651,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 requestBody: required: false content: @@ -77957,7 +78674,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77990,9 +78707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '200': description: Response @@ -78129,8 +78846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -78148,9 +78865,9 @@ paths: type: integer secrets: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -78175,16 +78892,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78206,17 +78923,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '200': description: Response content: application/json: - schema: *539 + schema: *542 examples: - default: &553 + default: &556 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -78242,9 +78959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 requestBody: required: true content: @@ -78275,7 +78992,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -78301,9 +79018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '204': description: Response @@ -78328,9 +79045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *509 - - *510 - - *311 + - *512 + - *513 + - *314 - *19 responses: '200': @@ -78347,9 +79064,9 @@ paths: type: integer variables: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -78372,8 +79089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -78400,7 +79117,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -78425,17 +79142,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: &554 + default: &557 value: name: USERNAME value: octocat @@ -78461,9 +79178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 requestBody: required: true content: @@ -78505,9 +79222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 responses: '204': description: Response @@ -78532,8 +79249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -78551,7 +79268,7 @@ paths: type: integer workflows: type: array - items: &543 + items: &546 title: Workflow description: A GitHub Actions workflow type: object @@ -78658,9 +79375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *509 - - *510 - - &544 + - *512 + - *513 + - &547 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -78675,7 +79392,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *546 examples: default: value: @@ -78708,9 +79425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *509 - - *510 - - *544 + - *512 + - *513 + - *547 responses: '204': description: Response @@ -78735,9 +79452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *509 - - *510 - - *544 + - *512 + - *513 + - *547 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -78824,9 +79541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *509 - - *510 - - *544 + - *512 + - *513 + - *547 responses: '204': description: Response @@ -78853,19 +79570,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: - - *509 - - *510 - - *544 - - *545 - - *546 + - *512 + - *513 - *547 - *548 - - *17 - - *19 - *549 - - *530 - *550 - *551 + - *17 + - *19 + - *552 + - *533 + - *553 + - *554 responses: '200': description: Response @@ -78881,9 +79598,9 @@ paths: type: integer workflow_runs: type: array - items: *531 + items: *534 examples: - default: *552 + default: *555 headers: Link: *44 x-github: @@ -78916,9 +79633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *509 - - *510 - - *544 + - *512 + - *513 + - *547 responses: '200': description: Response @@ -78979,8 +79696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *509 - - *510 + - *512 + - *513 - *109 - *17 - *107 @@ -79149,8 +79866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -79168,9 +79885,9 @@ paths: type: integer secrets: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -79194,9 +79911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *509 - - *510 - - *311 + - *512 + - *513 + - *314 - *19 responses: '200': @@ -79213,9 +79930,9 @@ paths: type: integer variables: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -79240,8 +79957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -79259,9 +79976,9 @@ paths: type: integer secrets: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -79286,16 +80003,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79317,17 +80034,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '200': description: Response content: application/json: - schema: *539 + schema: *542 examples: - default: *553 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79349,9 +80066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 requestBody: required: true content: @@ -79382,7 +80099,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -79408,9 +80125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '204': description: Response @@ -79435,9 +80152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *509 - - *510 - - *311 + - *512 + - *513 + - *314 - *19 responses: '200': @@ -79454,9 +80171,9 @@ paths: type: integer variables: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -79479,8 +80196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -79507,7 +80224,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -79532,17 +80249,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: *554 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79563,9 +80280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 requestBody: required: true content: @@ -79607,9 +80324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 responses: '204': description: Response @@ -79630,8 +80347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -79643,7 +80360,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '404': *6 @@ -79668,8 +80385,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: - - *509 - - *510 + - *512 + - *513 - name: assignee in: path required: true @@ -79705,8 +80422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -79816,8 +80533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *107 - *108 @@ -79874,7 +80591,7 @@ paths: initiator: type: string examples: - default: *555 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79894,8 +80611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -79903,7 +80620,7 @@ paths: application/json: schema: type: array - items: &556 + items: &559 title: Autolink reference description: An autolink reference. type: object @@ -79957,8 +80674,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -79997,9 +80714,9 @@ paths: description: response content: application/json: - schema: *556 + schema: *559 examples: - default: &557 + default: &560 value: id: 1 key_prefix: TICKET- @@ -80030,9 +80747,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: - - *509 - - *510 - - &558 + - *512 + - *513 + - &561 name: autolink_id description: The unique identifier of the autolink. in: path @@ -80044,9 +80761,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: - default: *557 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -80066,9 +80783,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: - - *509 - - *510 - - *558 + - *512 + - *513 + - *561 responses: '204': description: Response @@ -80092,8 +80809,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response if Dependabot is enabled @@ -80141,8 +80858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -80163,8 +80880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -80184,8 +80901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *509 - - *510 + - *512 + - *513 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -80223,7 +80940,7 @@ paths: - url protected: type: boolean - protection: &560 + protection: &563 title: Branch Protection description: Branch Protection type: object @@ -80265,7 +80982,7 @@ paths: required: - contexts - checks - enforce_admins: &563 + enforce_admins: &566 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -80280,7 +80997,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &565 + required_pull_request_reviews: &568 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -80301,7 +81018,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *325 + items: *328 apps: description: The list of apps with review dismissal access. @@ -80330,7 +81047,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *325 + items: *328 apps: description: The list of apps allowed to bypass pull request requirements. @@ -80356,7 +81073,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &562 + restrictions: &565 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -80419,7 +81136,7 @@ paths: type: string teams: type: array - items: *325 + items: *328 apps: type: array items: @@ -80633,9 +81350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *509 - - *510 - - &561 + - *512 + - *513 + - &564 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). @@ -80649,14 +81366,14 @@ paths: description: Response content: application/json: - schema: &571 + schema: &574 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &630 + commit: &633 title: Commit description: Commit type: object @@ -80690,7 +81407,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &559 + properties: &562 name: type: string example: '"Chris Wanstrath"' @@ -80706,7 +81423,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *562 nullable: true message: type: string @@ -80727,7 +81444,7 @@ paths: required: - sha - url - verification: &690 + verification: &693 title: Verification type: object properties: @@ -80761,12 +81478,12 @@ paths: nullable: true oneOf: - *4 - - *303 + - *306 committer: nullable: true oneOf: - *4 - - *303 + - *306 parents: type: array items: @@ -80797,7 +81514,7 @@ paths: type: integer files: type: array - items: &642 + items: &645 title: Diff Entry description: Diff Entry type: object @@ -80881,7 +81598,7 @@ paths: - self protected: type: boolean - protection: *560 + protection: *563 protection_url: type: string format: uri @@ -80988,7 +81705,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *515 + '301': *518 '404': *6 x-github: githubCloudOnly: false @@ -81010,15 +81727,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *560 + schema: *563 examples: default: value: @@ -81212,9 +81929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -81469,7 +82186,7 @@ paths: url: type: string format: uri - required_status_checks: &568 + required_status_checks: &571 title: Status Check Policy description: Status Check Policy type: object @@ -81545,7 +82262,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 apps: type: array items: *5 @@ -81563,7 +82280,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 apps: type: array items: *5 @@ -81621,7 +82338,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *562 + restrictions: *565 required_conversation_resolution: type: object properties: @@ -81733,9 +82450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -81760,17 +82477,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: &564 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -81792,17 +82509,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: *564 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81821,9 +82538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -81848,17 +82565,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: &566 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -81954,9 +82671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -82054,9 +82771,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: *566 + default: *569 '422': *15 x-github: githubCloudOnly: false @@ -82077,9 +82794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -82106,17 +82823,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: &567 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -82139,17 +82856,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: *567 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -82169,9 +82886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -82196,17 +82913,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *568 + schema: *571 examples: - default: &569 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -82232,9 +82949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -82286,9 +83003,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *571 examples: - default: *569 + default: *572 '404': *6 '422': *15 x-github: @@ -82310,9 +83027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -82336,9 +83053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response @@ -82372,9 +83089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -82441,9 +83158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -82507,9 +83224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: content: application/json: @@ -82575,15 +83292,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *562 + schema: *565 examples: default: value: @@ -82674,9 +83391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -82699,9 +83416,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: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response @@ -82711,7 +83428,7 @@ paths: type: array items: *5 examples: - default: &570 + default: &573 value: - id: 1 slug: octoapp @@ -82768,9 +83485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82804,7 +83521,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -82825,9 +83542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82861,7 +83578,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -82882,9 +83599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82918,7 +83635,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -82940,9 +83657,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: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response @@ -82950,9 +83667,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 '404': *6 x-github: githubCloudOnly: false @@ -82972,9 +83689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -83010,9 +83727,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 '422': *15 x-github: githubCloudOnly: false @@ -83033,9 +83750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -83071,9 +83788,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 '422': *15 x-github: githubCloudOnly: false @@ -83094,9 +83811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: content: application/json: @@ -83131,9 +83848,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 '422': *15 x-github: githubCloudOnly: false @@ -83155,9 +83872,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: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response @@ -83167,7 +83884,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '404': *6 x-github: githubCloudOnly: false @@ -83191,9 +83908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -83226,7 +83943,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -83251,9 +83968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -83286,7 +84003,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -83311,9 +84028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -83346,7 +84063,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -83373,9 +84090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -83397,7 +84114,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *574 examples: default: value: @@ -83511,8 +84228,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *509 - - *510 + - *512 + - *513 - *102 - *103 - *104 @@ -83526,9 +84243,9 @@ paths: application/json: schema: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 '404': *6 '500': *37 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -83548,8 +84265,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: bypass_request_number in: path required: true @@ -83563,7 +84280,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: default: value: @@ -83622,8 +84339,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - - *510 + - *512 + - *513 - *102 - *103 - *104 @@ -83637,9 +84354,9 @@ paths: application/json: schema: type: array - items: *323 + items: *326 examples: - default: *324 + default: *327 '404': *6 '403': *29 '500': *37 @@ -83663,8 +84380,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - - *510 + - *512 + - *513 - name: bypass_request_number in: path required: true @@ -83676,7 +84393,7 @@ paths: description: A single bypass request. content: application/json: - schema: *323 + schema: *326 examples: default: value: @@ -83734,8 +84451,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - - *510 + - *512 + - *513 - name: bypass_request_number in: path required: true @@ -83806,8 +84523,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - - *510 + - *512 + - *513 - name: bypass_response_id in: path required: true @@ -83840,8 +84557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -84120,7 +84837,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &575 title: CheckRun description: A check performed on the code of a given code change type: object @@ -84231,16 +84948,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *236 - deployment: &944 + items: *239 + deployment: &947 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -84307,8 +85024,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -84520,9 +85237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *509 - - *510 - - &573 + - *512 + - *513 + - &576 name: check_run_id description: The unique identifier of the check run. in: path @@ -84535,9 +85252,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: &574 + default: &577 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -84637,9 +85354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *509 - - *510 - - *573 + - *512 + - *513 + - *576 requestBody: required: true content: @@ -84879,9 +85596,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: *574 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84901,9 +85618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *509 - - *510 - - *573 + - *512 + - *513 + - *576 - *17 - *19 responses: @@ -84998,15 +85715,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *509 - - *510 - - *573 + - *512 + - *513 + - *576 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -85044,8 +85761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -85067,7 +85784,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &577 + schema: &580 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -85131,7 +85848,7 @@ paths: nullable: true pull_requests: type: array - items: *236 + items: *239 nullable: true app: title: GitHub app @@ -85142,9 +85859,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - repository: *292 + properties: *229 + required: *230 + repository: *295 created_at: type: string format: date-time @@ -85153,12 +85870,12 @@ paths: type: string format: date-time nullable: true - head_commit: &977 + head_commit: &980 title: Simple Commit description: A commit. type: object - properties: *575 - required: *576 + properties: *578 + required: *579 latest_check_runs_count: type: integer check_runs_url: @@ -85186,7 +85903,7 @@ paths: - check_runs_url - pull_requests examples: - default: &578 + default: &581 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -85477,9 +86194,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85498,8 +86215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -85560,7 +86277,7 @@ paths: required: - app_id - setting - repository: *292 + repository: *295 examples: default: value: @@ -85808,9 +86525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *509 - - *510 - - &579 + - *512 + - *513 + - &582 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -85822,9 +86539,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85847,17 +86564,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: - - *509 - - *510 - - *579 - - &635 + - *512 + - *513 + - *582 + - &638 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &636 + - &639 name: status description: Returns check runs with the specified `status`. in: query @@ -85896,9 +86613,9 @@ paths: type: integer check_runs: type: array - items: *572 + items: *575 examples: - default: &637 + default: &640 value: total_count: 1 check_runs: @@ -86000,15 +86717,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *509 - - *510 - - *579 + - *512 + - *513 + - *582 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -86031,8 +86748,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: - - *509 - - *510 + - *512 + - *513 - *17 - *109 - *107 @@ -86054,7 +86771,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 description: Code quality finding type: object properties: @@ -86184,14 +86901,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': &581 + '403': &584 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86211,8 +86928,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: - - *509 - - *510 + - *512 + - *513 - name: finding_number in: path description: The number that identifies a finding. @@ -86224,7 +86941,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -86253,9 +86970,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': *581 + '403': *584 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86275,8 +86992,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -86348,9 +87065,9 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *581 + '403': *584 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86369,8 +87086,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -86439,7 +87156,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -86482,7 +87199,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86505,14 +87222,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &582 + schema: &585 description: AI Scan enablement for a repository. type: object properties: @@ -86525,10 +87242,10 @@ paths: required: - pr_scan examples: - default: &583 + default: &586 value: pr_scan: enabled - '403': &592 + '403': &595 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -86556,8 +87273,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -86584,10 +87301,10 @@ paths: description: Response content: application/json: - schema: *582 + schema: *585 examples: - default: *583 - '403': &596 + default: *586 + '403': &599 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -86618,21 +87335,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: - - *509 - - *510 - - *331 - - *332 + - *512 + - *513 + - *334 + - *335 - *19 - *17 - - &600 + - &603 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: *584 - - &601 + schema: *587 + - &604 name: pr description: The number of the pull request for the results you want to list. in: query @@ -86657,13 +87374,13 @@ paths: be returned. in: query required: false - schema: *333 + schema: *336 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *585 + schema: *588 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -86682,14 +87399,14 @@ paths: items: type: object properties: - number: *132 - created_at: *139 - updated_at: *140 - url: *137 - html_url: *138 - instances_url: *586 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *589 state: *112 - fixed_at: *142 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -86697,12 +87414,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *141 - dismissed_reason: *587 - dismissed_comment: *588 - rule: *589 - tool: *590 - most_recent_instance: *591 + dismissed_at: *144 + dismissed_reason: *590 + dismissed_comment: *591 + rule: *592 + tool: *593 + most_recent_instance: *594 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -86828,9 +87545,9 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *34 - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86850,9 +87567,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: - - *509 - - *510 - - &594 + - *512 + - *513 + - &597 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -86860,23 +87577,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *132 + schema: *135 responses: '200': description: Response content: application/json: - schema: &595 + schema: &598 type: object properties: - number: *132 - created_at: *139 - updated_at: *140 - url: *137 - html_url: *138 - instances_url: *586 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *589 state: *112 - fixed_at: *142 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -86884,9 +87601,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *141 - dismissed_reason: *587 - dismissed_comment: *588 + dismissed_at: *144 + dismissed_reason: *590 + dismissed_comment: *591 rule: type: object properties: @@ -86940,8 +87657,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *590 - most_recent_instance: *591 + tool: *593 + most_recent_instance: *594 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -86955,7 +87672,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *593 + items: *596 required: - number - created_at @@ -87044,9 +87761,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *34 - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87064,9 +87781,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 requestBody: required: true content: @@ -87081,8 +87798,8 @@ paths: enum: - open - dismissed - dismissed_reason: *587 - dismissed_comment: *588 + dismissed_reason: *590 + dismissed_comment: *591 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -87110,7 +87827,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *598 examples: default: value: @@ -87186,9 +87903,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': *596 + '403': *599 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87208,15 +87925,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 responses: '200': description: Response content: application/json: - schema: &597 + schema: &600 type: object properties: status: @@ -87242,13 +87959,13 @@ paths: - description - started_at examples: - default: &598 + default: &601 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &599 + '400': &602 description: Bad Request content: application/json: @@ -87259,7 +87976,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': *592 + '403': *595 '404': *6 '500': *37 x-github: @@ -87284,29 +88001,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 responses: '200': description: OK content: application/json: - schema: *597 + schema: *600 examples: - default: *598 + default: *601 '202': description: Accepted content: application/json: - schema: *597 + schema: *600 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *599 + '400': *602 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -87338,9 +88055,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 requestBody: required: false content: @@ -87385,12 +88102,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *599 - '403': *596 + '400': *602 + '403': *599 '404': *6 '422': description: Unprocessable Entity - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87410,13 +88127,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 - *19 - *17 - - *600 - - *601 + - *603 + - *604 responses: '200': description: Response @@ -87427,10 +88144,10 @@ paths: items: type: object properties: - ref: *584 - analysis_key: *602 - environment: *603 - category: *604 + ref: *587 + analysis_key: *605 + environment: *606 + category: *607 state: type: string description: State of a code scanning alert instance. @@ -87445,7 +88162,7 @@ paths: properties: text: type: string - location: *605 + location: *608 html_url: type: string classifications: @@ -87453,7 +88170,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: *606 + items: *609 examples: default: value: @@ -87490,9 +88207,9 @@ paths: end_column: 50 classifications: - source - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87524,25 +88241,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: - - *509 - - *510 - - *331 - - *332 + - *512 + - *513 + - *334 + - *335 - *19 - *17 - - *601 + - *604 - 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: *584 + schema: *587 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &607 + schema: &610 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -87563,23 +88280,23 @@ paths: application/json: schema: type: array - items: &608 + items: &611 type: object properties: - ref: *584 - commit_sha: &616 + ref: *587 + commit_sha: &619 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: *602 + analysis_key: *605 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *604 + category: *607 error: type: string example: error reading field xyz @@ -87603,8 +88320,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *607 - tool: *590 + sarif_id: *610 + tool: *593 deletable: type: boolean warning: @@ -87665,9 +88382,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87701,8 +88418,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: - - *509 - - *510 + - *512 + - *513 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -87715,7 +88432,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: response: summary: application/json response @@ -87769,14 +88486,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *592 + '403': *595 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87856,8 +88573,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: - - *509 - - *510 + - *512 + - *513 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -87910,9 +88627,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': *596 + '403': *599 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87932,8 +88649,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -87941,7 +88658,7 @@ paths: application/json: schema: type: array - items: &609 + items: &612 title: CodeQL Database description: A CodeQL database. type: object @@ -88052,9 +88769,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': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88081,8 +88798,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: - - *509 - - *510 + - *512 + - *513 - name: language in: path description: The language of the CodeQL database. @@ -88094,7 +88811,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: default: value: @@ -88126,11 +88843,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': &646 + '302': &649 description: Found - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88150,8 +88867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *509 - - *510 + - *512 + - *513 - name: language in: path description: The language of the CodeQL database. @@ -88161,9 +88878,9 @@ paths: responses: '204': description: Response - '403': *596 + '403': *599 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88189,8 +88906,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -88199,7 +88916,7 @@ paths: type: object additionalProperties: false properties: - language: &610 + language: &613 type: string description: The language targeted by the CodeQL query enum: @@ -88279,7 +88996,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &614 + schema: &617 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -88289,7 +89006,7 @@ paths: description: The ID of the variant analysis. controller_repo: *119 actor: *4 - query_language: *610 + query_language: *613 query_pack_url: type: string description: The download url for the query pack. @@ -88336,7 +89053,7 @@ paths: items: type: object properties: - repository: &611 + repository: &614 title: Repository Identifier description: Repository Identifier type: object @@ -88372,7 +89089,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &615 + analysis_status: &618 type: string description: The new status of the CodeQL variant analysis repository task. @@ -88404,7 +89121,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &612 + access_mismatch_repos: &615 type: object properties: repository_count: @@ -88418,7 +89135,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: *611 + items: *614 required: - repository_count - repositories @@ -88440,8 +89157,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *612 - over_limit_repos: *612 + no_codeql_db_repos: *615 + over_limit_repos: *615 required: - access_mismatch_repos - not_found_repos @@ -88457,7 +89174,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &613 + value: &616 summary: Default response value: id: 1 @@ -88603,17 +89320,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *613 + value: *616 repository_lists: summary: Response for a successful variant analysis submission - value: *613 + value: *616 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88634,8 +89351,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: - - *509 - - *510 + - *512 + - *513 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -88647,11 +89364,11 @@ paths: description: Response content: application/json: - schema: *614 + schema: *617 examples: - default: *613 + default: *616 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,7 +89389,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: - - *509 + - *512 - name: repo in: path description: The name of the controller repository. @@ -88707,7 +89424,7 @@ paths: type: object properties: repository: *119 - analysis_status: *615 + analysis_status: *618 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -88811,7 +89528,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88832,8 +89549,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -88918,9 +89635,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88939,8 +89656,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -89007,7 +89724,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -89032,7 +89749,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *596 + '403': *599 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -89046,7 +89763,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89103,8 +89820,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -89112,7 +89829,7 @@ paths: schema: type: object properties: - commit_sha: *616 + commit_sha: *619 ref: type: string description: |- @@ -89170,7 +89887,7 @@ paths: schema: type: object properties: - id: *607 + id: *610 url: type: string description: The REST API URL for checking the status of the upload. @@ -89184,11 +89901,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': *596 + '403': *599 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89207,8 +89924,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: - - *509 - - *510 + - *512 + - *513 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -89254,10 +89971,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': *592 + '403': *595 '404': description: Not Found if the sarif id does not match any upload - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89279,8 +89996,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -89361,8 +90078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *509 - - *510 + - *512 + - *513 - 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 @@ -89482,8 +90199,8 @@ paths: parameters: - *17 - *19 - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -89499,7 +90216,7 @@ paths: type: integer codespaces: type: array - items: *408 + items: *411 examples: default: value: @@ -89797,8 +90514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -89861,22 +90578,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89900,8 +90617,8 @@ paths: parameters: - *17 - *19 - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -89965,8 +90682,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: - - *509 - - *510 + - *512 + - *513 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -90001,14 +90718,14 @@ paths: type: integer machines: type: array - items: &887 + items: &890 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *618 - required: *619 + properties: *621 + required: *622 examples: - default: &888 + default: &891 value: total_count: 2 machines: @@ -90048,8 +90765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *509 - - *510 + - *512 + - *513 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -90133,8 +90850,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: - - *509 - - *510 + - *512 + - *513 - 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 @@ -90179,7 +90896,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90200,8 +90917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -90219,7 +90936,7 @@ paths: type: integer secrets: type: array - items: &623 + items: &626 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -90239,7 +90956,7 @@ paths: - created_at - updated_at examples: - default: *620 + default: *623 headers: Link: *44 x-github: @@ -90262,16 +90979,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *622 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90291,17 +91008,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '200': description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90321,9 +91038,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: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 requestBody: required: true content: @@ -90351,7 +91068,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -90375,9 +91092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '204': description: Response @@ -90405,8 +91122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *509 - - *510 + - *512 + - *513 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -90448,7 +91165,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &625 + properties: &628 login: type: string example: octocat @@ -90541,7 +91258,7 @@ paths: user_view_type: type: string example: public - required: &626 + required: &629 - avatar_url - events_url - followers_url @@ -90615,8 +91332,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: - - *509 - - *510 + - *512 + - *513 - *131 responses: '204': @@ -90663,8 +91380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *509 - - *510 + - *512 + - *513 - *131 requestBody: required: false @@ -90691,7 +91408,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &703 + schema: &706 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -90702,7 +91419,7 @@ paths: example: 42 type: integer format: int64 - repository: *292 + repository: *295 invitee: title: Simple User description: A GitHub user. @@ -90880,7 +91597,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *267 + schema: *270 '403': *29 x-github: triggersNotification: true @@ -90920,8 +91637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *509 - - *510 + - *512 + - *513 - *131 responses: '204': @@ -90953,8 +91670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *509 - - *510 + - *512 + - *513 - *131 responses: '200': @@ -90975,8 +91692,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *625 - required: *626 + properties: *628 + required: *629 nullable: true required: - permission @@ -91031,8 +91748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -91042,7 +91759,7 @@ paths: application/json: schema: type: array - items: &627 + items: &630 title: Commit Comment description: Commit Comment type: object @@ -91083,8 +91800,8 @@ paths: updated_at: type: string format: date-time - author_association: *228 - reactions: *229 + author_association: *231 + reactions: *232 required: - url - html_url @@ -91100,7 +91817,7 @@ paths: - created_at - updated_at examples: - default: &632 + default: &635 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -91159,17 +91876,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '200': description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: &633 + default: &636 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -91226,9 +91943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -91250,7 +91967,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: default: value: @@ -91301,9 +92018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '204': description: Response @@ -91324,9 +92041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 - 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. @@ -91352,7 +92069,7 @@ paths: application/json: schema: type: array - items: &628 + items: &631 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -91395,7 +92112,7 @@ paths: - content - created_at examples: - default: &707 + default: &710 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -91440,9 +92157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -91474,9 +92191,9 @@ paths: description: Reaction exists content: application/json: - schema: *628 + schema: *631 examples: - default: &629 + default: &632 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -91505,9 +92222,9 @@ paths: description: Reaction created content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -91529,10 +92246,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *509 - - *510 - - *247 - - &708 + - *512 + - *513 + - *250 + - &711 name: reaction_id description: The unique identifier of the reaction. in: path @@ -91587,8 +92304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *509 - - *510 + - *512 + - *513 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -91644,9 +92361,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: &781 + default: &784 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -91740,9 +92457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *509 - - *510 - - &631 + - *512 + - *513 + - &634 name: commit_sha description: The SHA of the commit. in: path @@ -91814,9 +92531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *509 - - *510 - - *631 + - *512 + - *513 + - *634 - *17 - *19 responses: @@ -91826,9 +92543,9 @@ paths: application/json: schema: type: array - items: *627 + items: *630 examples: - default: *632 + default: *635 headers: Link: *44 x-github: @@ -91858,9 +92575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *509 - - *510 - - *631 + - *512 + - *513 + - *634 requestBody: required: true content: @@ -91895,9 +92612,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *633 + default: *636 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -91925,9 +92642,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: - - *509 - - *510 - - *631 + - *512 + - *513 + - *634 - *17 - *19 responses: @@ -91937,9 +92654,9 @@ paths: application/json: schema: type: array - items: *593 + items: *596 examples: - default: &772 + default: &775 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -92476,11 +93193,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *509 - - *510 + - *512 + - *513 - *19 - *17 - - &634 + - &637 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)" @@ -92495,9 +93212,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: &757 + default: &760 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -92585,7 +93302,7 @@ paths: schema: type: string examples: - default: &643 + default: &646 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -92598,7 +93315,7 @@ paths: schema: type: string examples: - default: &644 + default: &647 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -92625,7 +93342,7 @@ paths: '422': *15 '404': *6 '500': *37 - '503': *201 + '503': *204 '409': *118 x-github: githubCloudOnly: false @@ -92651,11 +93368,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: - - *509 - - *510 - - *634 - - *635 - - *636 + - *512 + - *513 + - *637 + - *638 + - *639 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -92689,9 +93406,9 @@ paths: type: integer check_runs: type: array - items: *572 + items: *575 examples: - default: *637 + default: *640 headers: Link: *44 x-github: @@ -92716,9 +93433,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: - - *509 - - *510 - - *634 + - *512 + - *513 + - *637 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -92726,7 +93443,7 @@ paths: schema: type: integer example: 1 - - *635 + - *638 - *17 - *19 responses: @@ -92744,7 +93461,7 @@ paths: type: integer check_suites: type: array - items: *577 + items: *580 examples: default: value: @@ -92944,9 +93661,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: - - *509 - - *510 - - *634 + - *512 + - *513 + - *637 - *17 - *19 responses: @@ -93013,7 +93730,7 @@ paths: type: string total_count: type: integer - repository: *292 + repository: *295 commit_url: type: string format: uri @@ -93144,9 +93861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *509 - - *510 - - *634 + - *512 + - *513 + - *637 - *17 - *19 responses: @@ -93156,7 +93873,7 @@ paths: application/json: schema: type: array - items: &839 + items: &842 title: Status description: The status of a commit. type: object @@ -93237,7 +93954,7 @@ paths: site_admin: false headers: Link: *44 - '301': *515 + '301': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93265,8 +93982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -93295,20 +94012,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *638 - required: *639 + properties: *641 + required: *642 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &640 + properties: &643 url: type: string format: uri html_url: type: string format: uri - required: &641 + required: &644 - url - html_url nullable: true @@ -93316,32 +94033,32 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true contributing: title: Community Health File type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true readme: title: Community Health File type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true issue_template: title: Community Health File type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true pull_request_template: title: Community Health File type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true required: - code_of_conduct @@ -93468,8 +94185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *509 - - *510 + - *512 + - *513 - *19 - *17 - name: basehead @@ -93512,8 +94229,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *630 - merge_base_commit: *630 + base_commit: *633 + merge_base_commit: *633 status: type: string enum: @@ -93533,10 +94250,10 @@ paths: example: 6 commits: type: array - items: *630 + items: *633 files: type: array - items: *642 + items: *645 required: - url - html_url @@ -93782,15 +94499,15 @@ paths: schema: type: string examples: - default: *643 + default: *646 application/vnd.github.patch: schema: type: string examples: - default: *644 + default: *647 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93832,8 +94549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *509 - - *510 + - *512 + - *513 - name: path description: path parameter in: path @@ -93993,7 +94710,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &645 + response-if-content-is-a-file-github-object: &648 summary: Response if content is a file value: type: file @@ -94125,7 +94842,7 @@ paths: - size - type - url - - &787 + - &790 title: Content File description: Content File type: object @@ -94326,7 +95043,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *645 + response-if-content-is-a-file: *648 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -94395,7 +95112,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *646 + '302': *649 '304': *34 x-github: githubCloudOnly: false @@ -94418,8 +95135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *509 - - *510 + - *512 + - *513 - name: path description: path parameter in: path @@ -94512,7 +95229,7 @@ paths: description: Response content: application/json: - schema: &647 + schema: &650 title: File Commit description: File Commit type: object @@ -94664,7 +95381,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: example-for-creating-a-file: value: @@ -94718,7 +95435,7 @@ paths: schema: oneOf: - *3 - - &685 + - &688 description: Repository rule violation was detected type: object properties: @@ -94739,7 +95456,7 @@ paths: items: type: object properties: - placeholder_id: &829 + placeholder_id: &832 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -94771,8 +95488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *509 - - *510 + - *512 + - *513 - name: path description: path parameter in: path @@ -94833,7 +95550,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: default: value: @@ -94868,7 +95585,7 @@ paths: '422': *15 '404': *6 '409': *118 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94888,8 +95605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *509 - - *510 + - *512 + - *513 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -95018,8 +95735,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -95170,25 +95887,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *509 - - *510 - - *352 - - *353 - - *354 + - *512 + - *513 - *355 - *356 + - *357 + - *358 + - *359 - 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 - - *357 - - *648 - - *358 - - *359 - *360 + - *651 - *361 + - *362 + - *363 + - *364 - *109 - *107 - *108 @@ -95200,11 +95917,11 @@ paths: application/json: schema: type: array - items: &652 + items: &655 type: object description: A Dependabot alert. properties: - number: *132 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -95219,7 +95936,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *133 + package: *136 manifest_path: type: string description: The full path to the dependency manifest file, @@ -95247,13 +95964,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *649 - security_vulnerability: *136 - url: *137 - html_url: *138 - created_at: *139 - updated_at: *140 - dismissed_at: *141 + security_advisory: *652 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -95277,9 +95994,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *142 - auto_dismissed_at: *650 - dismissal_request: *651 + fixed_at: *145 + auto_dismissed_at: *653 + dismissal_request: *654 assignees: type: array description: The users assigned to this alert. @@ -95536,9 +96253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *509 - - *510 - - &653 + - *512 + - *513 + - &656 name: alert_number in: path description: |- @@ -95547,13 +96264,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *132 + schema: *135 responses: '200': description: Response content: application/json: - schema: *652 + schema: *655 examples: default: value: @@ -95687,9 +96404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *509 - - *510 - - *653 + - *512 + - *513 + - *656 requestBody: required: true content: @@ -95762,7 +96479,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *655 examples: default: value: @@ -95894,8 +96611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -95913,7 +96630,7 @@ paths: type: integer secrets: type: array - items: &656 + items: &659 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -95966,16 +96683,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95995,15 +96712,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '200': description: Response content: application/json: - schema: *656 + schema: *659 examples: default: value: @@ -96029,9 +96746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 requestBody: required: true content: @@ -96059,7 +96776,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -96083,9 +96800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '204': description: Response @@ -96107,8 +96824,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: - - *509 - - *510 + - *512 + - *513 - 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 @@ -96254,7 +96971,7 @@ paths: schema: *3 '400': *14 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false category: dependency-graph @@ -96274,8 +96991,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -96516,8 +97233,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: - - *509 - - *510 + - *512 + - *513 - name: sbom_uuid in: path required: true @@ -96528,7 +97245,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *657 + Location: *660 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -96549,8 +97266,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: - - *509 - - *510 + - *512 + - *513 responses: '201': description: Response @@ -96588,8 +97305,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -96664,7 +97381,7 @@ paths: - version - url additionalProperties: false - metadata: &658 + metadata: &661 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -96697,7 +97414,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *658 + metadata: *661 resolved: type: object description: A collection of resolved package dependencies. @@ -96710,7 +97427,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *658 + metadata: *661 relationship: type: string description: A notation of whether a dependency is requested @@ -96839,8 +97556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *509 - - *510 + - *512 + - *513 - name: sha description: The SHA recorded at creation time. in: query @@ -96880,9 +97597,9 @@ paths: application/json: schema: type: array - items: *659 + items: *662 examples: - default: *660 + default: *663 headers: Link: *44 x-github: @@ -96948,8 +97665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -97030,7 +97747,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *662 examples: simple-example: summary: Simple example @@ -97103,9 +97820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *509 - - *510 - - &661 + - *512 + - *513 + - &664 name: deployment_id description: deployment_id parameter in: path @@ -97117,7 +97834,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *662 examples: default: value: @@ -97182,9 +97899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *509 - - *510 - - *661 + - *512 + - *513 + - *664 responses: '204': description: Response @@ -97206,9 +97923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *509 - - *510 - - *661 + - *512 + - *513 + - *664 - *17 - *19 responses: @@ -97218,7 +97935,7 @@ paths: application/json: schema: type: array - items: &662 + items: &665 title: Deployment Status description: The status of a deployment. type: object @@ -97309,8 +98026,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -97379,9 +98096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *509 - - *510 - - *661 + - *512 + - *513 + - *664 requestBody: required: true content: @@ -97456,9 +98173,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *665 examples: - default: &663 + default: &666 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -97514,9 +98231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *509 - - *510 - - *661 + - *512 + - *513 + - *664 - name: status_id in: path required: true @@ -97527,9 +98244,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *665 examples: - default: *663 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -97556,12 +98273,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 - - *664 - - *665 - - *666 + - *512 + - *513 - *667 + - *668 + - *669 + - *670 - *17 - *19 responses: @@ -97571,9 +98288,9 @@ paths: application/json: schema: type: array - items: *668 + items: *671 examples: - default: *669 + default: *672 '404': *6 '403': *29 '500': *37 @@ -97597,8 +98314,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97610,7 +98327,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *668 + schema: *671 examples: default: value: @@ -97666,8 +98383,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97726,12 +98443,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 - - *664 - - *665 - - *666 + - *512 + - *513 - *667 + - *668 + - *669 + - *670 - *17 - *19 responses: @@ -97741,9 +98458,9 @@ paths: application/json: schema: type: array - items: *670 + items: *673 examples: - default: *671 + default: *674 '404': *6 '403': *29 '500': *37 @@ -97767,8 +98484,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97780,7 +98497,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *670 + schema: *673 examples: default: value: @@ -97831,8 +98548,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97871,7 +98588,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *670 + schema: *673 examples: default: value: @@ -97922,8 +98639,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97994,8 +98711,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -98028,12 +98745,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -98043,9 +98760,9 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: - default: *370 + default: *373 '404': *6 '403': *29 '500': *37 @@ -98070,8 +98787,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -98083,7 +98800,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -98141,8 +98858,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -98211,8 +98928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -98269,8 +98986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -98287,7 +99004,7 @@ paths: type: integer environments: type: array - items: &673 + items: &676 title: Environment description: Details of a deployment environment type: object @@ -98339,7 +99056,7 @@ paths: type: type: string example: wait_timer - wait_timer: &675 + wait_timer: &678 type: integer example: 30 description: The amount of time to delay a job after @@ -98376,11 +99093,11 @@ paths: items: type: object properties: - type: *672 + type: *675 reviewer: anyOf: - *4 - - *325 + - *328 required: - id - node_id @@ -98400,7 +99117,7 @@ paths: - id - node_id - type - deployment_branch_policy: &676 + deployment_branch_policy: &679 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -98516,9 +99233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *509 - - *510 - - &674 + - *512 + - *513 + - &677 name: environment_name in: path required: true @@ -98531,9 +99248,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *676 examples: - default: &677 + default: &680 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -98617,9 +99334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 requestBody: required: false content: @@ -98628,7 +99345,7 @@ paths: type: object nullable: true properties: - wait_timer: *675 + wait_timer: *678 prevent_self_review: type: boolean example: false @@ -98645,13 +99362,13 @@ paths: items: type: object properties: - type: *672 + type: *675 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *676 + deployment_branch_policy: *679 additionalProperties: false examples: default: @@ -98671,9 +99388,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *676 examples: - default: *677 + default: *680 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -98697,9 +99414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 responses: '204': description: Default response @@ -98724,9 +99441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 - *17 - *19 responses: @@ -98744,7 +99461,7 @@ paths: example: 2 branch_policies: type: array - items: &678 + items: &681 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -98801,9 +99518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 requestBody: required: true content: @@ -98849,9 +99566,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *681 examples: - example-wildcard: &679 + example-wildcard: &682 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -98893,10 +99610,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *509 - - *510 - - *674 - - &680 + - *512 + - *513 + - *677 + - &683 name: branch_policy_id in: path required: true @@ -98908,9 +99625,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *681 examples: - default: *679 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98929,10 +99646,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *509 - - *510 - - *674 - - *680 + - *512 + - *513 + - *677 + - *683 requestBody: required: true content: @@ -98960,9 +99677,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *681 examples: - default: *679 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98981,10 +99698,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *509 - - *510 - - *674 - - *680 + - *512 + - *513 + - *677 + - *683 responses: '204': description: Response @@ -99009,9 +99726,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: - - *674 - - *510 - - *509 + - *677 + - *513 + - *512 responses: '200': description: List of deployment protection rules @@ -99027,7 +99744,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &681 + items: &684 title: Deployment protection rule description: Deployment protection rule type: object @@ -99046,7 +99763,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &682 + app: &685 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -99145,9 +99862,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: - - *674 - - *510 - - *509 + - *677 + - *513 + - *512 requestBody: content: application/json: @@ -99168,9 +99885,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *681 + schema: *684 examples: - default: &683 + default: &686 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -99205,9 +99922,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: - - *674 - - *510 - - *509 + - *677 + - *513 + - *512 - *19 - *17 responses: @@ -99226,7 +99943,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *682 + items: *685 examples: default: value: @@ -99261,10 +99978,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: - - *509 - - *510 - - *674 - - &684 + - *512 + - *513 + - *677 + - &687 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -99276,9 +99993,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: *683 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99299,10 +100016,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: - - *674 - - *510 - - *509 - - *684 + - *677 + - *513 + - *512 + - *687 responses: '204': description: Response @@ -99328,9 +100045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 - *17 - *19 responses: @@ -99348,9 +100065,9 @@ paths: type: integer secrets: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -99375,17 +100092,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99407,18 +100124,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *509 - - *510 - - *674 - - *302 + - *512 + - *513 + - *677 + - *305 responses: '200': description: Response content: application/json: - schema: *539 + schema: *542 examples: - default: *553 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99440,10 +100157,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *509 - - *510 - - *674 - - *302 + - *512 + - *513 + - *677 + - *305 requestBody: required: true content: @@ -99474,7 +100191,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -99500,10 +100217,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *509 - - *510 - - *674 - - *302 + - *512 + - *513 + - *677 + - *305 responses: '204': description: Default response @@ -99528,10 +100245,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *509 - - *510 - - *674 - - *311 + - *512 + - *513 + - *677 + - *314 - *19 responses: '200': @@ -99548,9 +100265,9 @@ paths: type: integer variables: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -99573,9 +100290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 requestBody: required: true content: @@ -99602,7 +100319,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -99627,18 +100344,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *509 - - *510 - - *674 - - *305 + - *512 + - *513 + - *677 + - *308 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: *554 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99659,10 +100376,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *509 - - *510 - - *305 - - *674 + - *512 + - *513 + - *308 + - *677 requestBody: required: true content: @@ -99704,10 +100421,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *509 - - *510 - - *305 - - *674 + - *512 + - *513 + - *308 + - *677 responses: '204': description: Response @@ -99729,8 +100446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -99740,7 +100457,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: 200-response: value: @@ -99798,8 +100515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *509 - - *510 + - *512 + - *513 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -99821,7 +100538,7 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: default: value: @@ -99958,8 +100675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -99991,9 +100708,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 + default: *519 '400': *14 '422': *15 '403': *29 @@ -100014,8 +100731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -100074,8 +100791,8 @@ paths: application/json: schema: oneOf: - - *267 - - *685 + - *270 + - *688 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100100,8 +100817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *509 - - *510 + - *512 + - *513 - name: file_sha in: path required: true @@ -100200,8 +100917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -100310,7 +101027,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &689 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -100524,15 +101241,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *509 - - *510 - - *631 + - *512 + - *513 + - *634 responses: '200': description: Response content: application/json: - schema: *686 + schema: *689 examples: default: value: @@ -100588,9 +101305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *509 - - *510 - - &687 + - *512 + - *513 + - &690 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. @@ -100607,7 +101324,7 @@ paths: application/json: schema: type: array - items: &688 + items: &691 title: Git Reference description: Git references within a repository type: object @@ -100682,17 +101399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *509 - - *510 - - *687 + - *512 + - *513 + - *690 responses: '200': description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: &689 + default: &692 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -100721,8 +101438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -100751,9 +101468,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: *689 + default: *692 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -100779,9 +101496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *509 - - *510 - - *687 + - *512 + - *513 + - *690 requestBody: required: true content: @@ -100810,9 +101527,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: *689 + default: *692 '422': *15 '409': *118 x-github: @@ -100830,9 +101547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *509 - - *510 - - *687 + - *512 + - *513 + - *690 responses: '204': description: Response @@ -100887,8 +101604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -100955,7 +101672,7 @@ paths: description: Response content: application/json: - schema: &691 + schema: &694 title: Git Tag description: Metadata for a Git tag type: object @@ -101006,7 +101723,7 @@ paths: - sha - type - url - verification: *690 + verification: *693 required: - sha - url @@ -101016,7 +101733,7 @@ paths: - tag - message examples: - default: &692 + default: &695 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -101089,8 +101806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *509 - - *510 + - *512 + - *513 - name: tag_sha in: path required: true @@ -101101,9 +101818,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *694 examples: - default: *692 + default: *695 '404': *6 '409': *118 x-github: @@ -101127,8 +101844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -101201,7 +101918,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &696 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -101297,8 +102014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *509 - - *510 + - *512 + - *513 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -101321,7 +102038,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *696 examples: default-response: summary: Default response @@ -101379,8 +102096,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -101423,8 +102140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -101434,7 +102151,7 @@ paths: application/json: schema: type: array - items: &694 + items: &697 title: Webhook description: Webhooks for repositories. type: object @@ -101488,7 +102205,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &985 + last_response: &988 title: Hook Response type: object properties: @@ -101562,8 +102279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -101615,9 +102332,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: - default: &695 + default: &698 value: type: Repository id: 12345678 @@ -101665,17 +102382,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '200': description: Response content: application/json: - schema: *694 + schema: *697 examples: - default: *695 + default: *698 '404': *6 x-github: githubCloudOnly: false @@ -101695,9 +102412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 requestBody: required: true content: @@ -101742,9 +102459,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: - default: *695 + default: *698 '422': *15 '404': *6 x-github: @@ -101765,9 +102482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '204': description: Response @@ -101791,9 +102508,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: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '200': description: Response @@ -101820,9 +102537,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: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 requestBody: required: false content: @@ -101866,12 +102583,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 - *17 - - *376 - - *377 + - *379 + - *380 responses: '200': description: Response @@ -101879,9 +102596,9 @@ paths: application/json: schema: type: array - items: *378 + items: *381 examples: - default: *379 + default: *382 '400': *14 '422': *15 x-github: @@ -101900,18 +102617,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: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *383 examples: - default: *381 + default: *384 '400': *14 '422': *15 x-github: @@ -101930,9 +102647,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: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 - *16 responses: '202': *36 @@ -101955,9 +102672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '204': description: Response @@ -101982,9 +102699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '204': description: Response @@ -102007,8 +102724,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response if immutable releases are enabled @@ -102054,8 +102771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': *125 '409': *118 @@ -102075,8 +102792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': *125 '409': *118 @@ -102133,14 +102850,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &696 + schema: &699 title: Import description: A repository import from an external source. type: object @@ -102239,7 +102956,7 @@ paths: - html_url - authors_url examples: - default: &699 + default: &702 value: vcs: subversion use_lfs: true @@ -102255,7 +102972,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': &697 + '503': &700 description: Unavailable due to service under maintenance. content: application/json: @@ -102284,8 +103001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -102333,7 +103050,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: default: value: @@ -102358,7 +103075,7 @@ paths: type: string '422': *15 '404': *6 - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102386,8 +103103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -102436,7 +103153,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: example-1: summary: Example 1 @@ -102484,7 +103201,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': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102507,12 +103224,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102538,9 +103255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *509 - - *510 - - &910 + - *512 + - *513 + - &913 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -102554,7 +103271,7 @@ paths: application/json: schema: type: array - items: &698 + items: &701 title: Porter Author description: Porter Author type: object @@ -102608,7 +103325,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': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102633,8 +103350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *509 - - *510 + - *512 + - *513 - name: author_id in: path required: true @@ -102664,7 +103381,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: default: value: @@ -102677,7 +103394,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102701,8 +103418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -102743,7 +103460,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102771,8 +103488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -102799,11 +103516,11 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: *699 + default: *702 '422': *15 - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102826,8 +103543,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -102835,8 +103552,8 @@ paths: application/json: schema: *22 examples: - default: *393 - '301': *515 + default: *396 + '301': *518 '404': *6 x-github: githubCloudOnly: false @@ -102856,8 +103573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -102865,12 +103582,12 @@ paths: application/json: schema: anyOf: - - *395 + - *398 - type: object properties: {} additionalProperties: false examples: - default: &701 + default: &704 value: limit: collaborators_only origin: repository @@ -102895,13 +103612,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *700 + schema: *703 examples: default: summary: Example request body @@ -102913,9 +103630,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *701 + default: *704 '409': description: Response x-github: @@ -102937,8 +103654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -102965,8 +103682,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -103020,13 +103737,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: &702 + schema: &705 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. @@ -103076,13 +103793,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *702 + schema: *705 examples: default: summary: Example request body @@ -103115,8 +103832,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -103169,8 +103886,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -103246,8 +103963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -103257,9 +103974,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: &903 + default: &906 value: - id: 1 repository: @@ -103390,9 +104107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *509 - - *510 - - *399 + - *512 + - *513 + - *402 requestBody: required: false content: @@ -103421,7 +104138,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *706 examples: default: value: @@ -103552,9 +104269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *509 - - *510 - - *399 + - *512 + - *513 + - *402 responses: '204': description: Response @@ -103577,8 +104294,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -103586,9 +104303,9 @@ paths: application/json: schema: type: array - items: *403 + items: *406 examples: - default: *704 + default: *707 '404': *6 x-github: githubCloudOnly: false @@ -103617,8 +104334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *509 - - *510 + - *512 + - *513 - 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 @@ -103680,7 +104397,7 @@ paths: required: false schema: type: string - - *406 + - *409 - name: sort description: What to sort results by. in: query @@ -103693,7 +104410,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -103703,9 +104420,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: &718 + default: &721 value: - id: 1 node_id: MDU6SXNzdWUx @@ -103854,7 +104571,7 @@ paths: state_reason: completed headers: Link: *44 - '301': *515 + '301': *518 '422': *15 '404': *6 x-github: @@ -103883,8 +104600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -103997,9 +104714,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: &715 + default: &718 value: id: 1 node_id: MDU6SXNzdWUx @@ -104154,7 +104871,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *201 + '503': *204 '404': *6 '410': *32 x-github: @@ -104184,9 +104901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *509 - - *510 - - *255 + - *512 + - *513 + - *258 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -104196,7 +104913,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -104206,9 +104923,9 @@ paths: application/json: schema: type: array - items: *705 + items: *708 examples: - default: &717 + default: &720 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -104267,17 +104984,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '200': description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: &706 + default: &709 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -104333,9 +105050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -104357,9 +105074,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 '422': *15 x-github: githubCloudOnly: false @@ -104377,9 +105094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '204': description: Response @@ -104407,15 +105124,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '200': description: Response content: application/json: - schema: *705 + schema: *708 examples: default: value: @@ -104488,9 +105205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '204': description: Response @@ -104498,7 +105215,7 @@ paths: '403': *29 '404': *6 '410': *32 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104515,9 +105232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 - 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. @@ -104543,9 +105260,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *707 + default: *710 headers: Link: *44 '404': *6 @@ -104566,9 +105283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -104600,16 +105317,16 @@ paths: description: Reaction exists content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '201': description: Reaction created content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -104631,10 +105348,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *509 - - *510 - - *247 - - *708 + - *512 + - *513 + - *250 + - *711 responses: '204': description: Response @@ -104654,8 +105371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -104665,7 +105382,7 @@ paths: application/json: schema: type: array - items: &714 + items: &717 title: Issue Event description: Issue Event type: object @@ -104708,8 +105425,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *709 - required: *710 + properties: *712 + required: *713 nullable: true label: title: Issue Event Label @@ -104753,7 +105470,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *325 + requested_team: *328 dismissed_review: title: Issue Event Dismissed Review type: object @@ -104818,7 +105535,7 @@ paths: required: - from - to - issue_type: &711 + issue_type: &714 title: Issue Type description: The type of issue. type: object @@ -104846,14 +105563,14 @@ paths: required: - id - name - prev_issue_type: *711 + prev_issue_type: *714 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: &712 + properties: &715 number: type: integer description: The number of the referenced issue. @@ -104891,7 +105608,7 @@ paths: - id - node_id - name - required: &713 + required: &716 - number - title - state @@ -104903,24 +105620,24 @@ paths: event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 blocking: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -104931,7 +105648,7 @@ paths: is disabled or the event type does not support intent. type: object nullable: true - properties: &719 + properties: &722 rationale: type: string description: The reasoning the agent provided for the change. @@ -104945,7 +105662,7 @@ paths: - MEDIUM - HIGH nullable: true - author_association: *228 + author_association: *231 lock_reason: type: string nullable: true @@ -104958,8 +105675,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -105144,8 +105861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *509 - - *510 + - *512 + - *513 - name: event_id in: path required: true @@ -105156,7 +105873,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *717 examples: default: value: @@ -105383,9 +106100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *509 - - *510 - - &716 + - *512 + - *513 + - &719 name: issue_number description: The number that identifies the issue. in: path @@ -105397,11 +106114,11 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: default: summary: Issue - value: *715 + value: *718 pinned_comment: summary: Issue with pinned comment value: @@ -105600,7 +106317,7 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *515 + '301': *518 '404': *6 '410': *32 '304': *34 @@ -105627,9 +106344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -105836,7 +106553,7 @@ paths: application/json: schema: allOf: - - *231 + - *234 - type: object properties: suggestions: @@ -105981,11 +106698,11 @@ paths: - already_applied - issue_already_closed examples: - default: *715 + default: *718 '422': *15 - '503': *201 + '503': *204 '403': *29 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -106005,9 +106722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -106055,9 +106772,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106073,9 +106790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: content: application/json: @@ -106100,9 +106817,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106124,9 +106841,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: assignee in: path required: true @@ -106166,10 +106883,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *509 - - *510 - - *716 - - *238 + - *512 + - *513 + - *719 + - *241 - *17 - *19 responses: @@ -106179,9 +106896,9 @@ paths: application/json: schema: type: array - items: *705 + items: *708 examples: - default: *717 + default: *720 headers: Link: *44 '404': *6 @@ -106214,9 +106931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -106238,9 +106955,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -106275,9 +106992,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -106287,12 +107004,12 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *718 + default: *721 headers: Link: *44 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -106322,9 +107039,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -106346,15 +107063,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *515 + '301': *518 '403': *29 '410': *32 '422': *15 @@ -106387,9 +107104,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -106401,10 +107118,10 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 - '301': *515 + default: *718 + '301': *518 '400': *14 '401': *25 '403': *29 @@ -106435,9 +107152,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -106447,12 +107164,12 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *718 + default: *721 headers: Link: *44 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -106471,9 +107188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -106487,7 +107204,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &725 + - &728 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -106518,8 +107235,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 label: type: object properties: @@ -106540,7 +107257,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - label - id @@ -106552,7 +107269,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &726 + - &729 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -106583,8 +107300,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 label: type: object properties: @@ -106605,7 +107322,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - label - id @@ -106651,7 +107368,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - id - node_id @@ -106694,8 +107411,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 assigner: *4 required: @@ -106710,7 +107427,7 @@ paths: - performed_via_github_app - assignee - assigner - - &727 + - &730 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -106741,8 +107458,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 milestone: type: object properties: @@ -106761,7 +107478,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &728 + - &731 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -106792,8 +107509,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 milestone: type: object properties: @@ -106812,7 +107529,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &729 + - &732 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -106843,8 +107560,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 rename: type: object properties: @@ -106866,7 +107583,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &730 + - &733 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -106897,10 +107614,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 review_requester: *4 - requested_team: *325 + requested_team: *328 requested_reviewer: *4 required: - review_requester @@ -106913,7 +107630,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &731 + - &734 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -106944,10 +107661,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 review_requester: *4 - requested_team: *325 + requested_team: *328 requested_reviewer: *4 required: - review_requester @@ -106960,7 +107677,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &732 + - &735 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -106991,8 +107708,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 dismissed_review: type: object properties: @@ -107020,7 +107737,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &733 + - &736 title: Locked Issue Event description: Locked Issue Event type: object @@ -107051,8 +107768,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 lock_reason: type: string example: '"off-topic"' @@ -107068,7 +107785,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &734 + - &737 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -107099,8 +107816,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -107134,7 +107851,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &735 + - &738 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -107165,8 +107882,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -107200,7 +107917,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &736 + - &739 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -107231,8 +107948,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -107266,7 +107983,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &737 + - &740 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -107322,7 +108039,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &742 + - &745 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -107353,9 +108070,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - issue_type: *711 + properties: *229 + required: *230 + issue_type: *714 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -107366,7 +108083,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - issue_type - id @@ -107378,7 +108095,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &743 + - &746 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -107409,9 +108126,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - prev_issue_type: *711 + properties: *229 + required: *230 + prev_issue_type: *714 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -107422,7 +108139,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - prev_issue_type - id @@ -107434,7 +108151,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &744 + - &747 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -107465,10 +108182,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - issue_type: *711 - prev_issue_type: *711 + properties: *229 + required: *230 + issue_type: *714 + prev_issue_type: *714 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -107479,7 +108196,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - issue_type - prev_issue_type @@ -107492,7 +108209,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &745 + - &748 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -107523,8 +108240,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107532,8 +108249,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - sub_issue - id @@ -107545,7 +108262,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &746 + - &749 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -107576,8 +108293,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107585,8 +108302,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - sub_issue - id @@ -107598,7 +108315,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &747 + - &750 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -107629,8 +108346,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107638,8 +108355,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - parent_issue - id @@ -107651,7 +108368,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &748 + - &751 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -107682,8 +108399,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107691,8 +108408,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - parent_issue - id @@ -107704,7 +108421,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &749 + - &752 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -107735,8 +108452,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107744,8 +108461,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - blocked_by - id @@ -107757,7 +108474,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &750 + - &753 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -107788,8 +108505,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107797,8 +108514,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - blocked_by - id @@ -107810,7 +108527,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &751 + - &754 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -107841,8 +108558,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107850,8 +108567,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - blocking - id @@ -107863,7 +108580,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &752 + - &755 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -107894,8 +108611,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107903,8 +108620,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - blocking - id @@ -107968,9 +108685,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -107980,9 +108697,9 @@ paths: application/json: schema: type: array - items: *720 + items: *723 examples: - default: &721 + default: &724 value: - issue_field_id: 1 issue_field_name: DRI @@ -108022,7 +108739,7 @@ paths: color: green headers: Link: *44 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -108053,9 +108770,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -108125,14 +108842,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *720 + items: *723 examples: - default: *721 + default: *724 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -108163,9 +108880,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -108230,14 +108947,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *720 + items: *723 examples: - default: *721 + default: *724 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -108263,17 +108980,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: - - *509 - - *510 - - *716 - - *402 + - *512 + - *513 + - *719 + - *405 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -108291,9 +109008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -108303,9 +109020,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: &722 + default: &725 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -108345,7 +109062,7 @@ paths: site_admin: false headers: Link: *44 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -108363,9 +109080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -108443,10 +109160,10 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *722 - '301': *515 + default: *725 + '301': *518 '404': *6 '410': *32 '422': *15 @@ -108465,9 +109182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -108527,10 +109244,10 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *722 - '301': *515 + default: *725 + '301': *518 '404': *6 '410': *32 '422': *15 @@ -108549,13 +109266,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 responses: '204': description: Response - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -108576,9 +109293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: name in: path required: true @@ -108591,7 +109308,7 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: default: value: @@ -108604,7 +109321,7 @@ paths: default: true archived_at: archived_by: - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -108626,9 +109343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -108674,9 +109391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 responses: '204': description: Response @@ -108706,18 +109423,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 responses: '200': description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 - '301': *515 + default: *718 + '301': *518 '404': *6 '410': *32 x-github: @@ -108736,9 +109453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - 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. @@ -108764,9 +109481,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *707 + default: *710 headers: Link: *44 '404': *6 @@ -108788,9 +109505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -108822,16 +109539,16 @@ paths: description: Response content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '201': description: Response content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -108853,10 +109570,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *509 - - *510 - - *716 - - *708 + - *512 + - *513 + - *719 + - *711 responses: '204': description: Response @@ -108885,9 +109602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -108909,9 +109626,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -108945,9 +109662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -108957,9 +109674,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *718 + default: *721 headers: Link: *44 '404': *6 @@ -108991,9 +109708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -109020,9 +109737,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -109049,9 +109766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -109082,13 +109799,13 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 '403': *29 '404': *6 '422': *7 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -109113,9 +109830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: state in: query required: false @@ -109152,7 +109869,7 @@ paths: application/json: schema: type: array - items: &723 + items: &726 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -109304,9 +110021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: suggestion_id in: path required: true @@ -109318,9 +110035,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: &724 + default: &727 value: id: 12 issue_id: 4567 @@ -109358,9 +110075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: suggestion_id in: path required: true @@ -109372,9 +110089,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: *724 + default: *727 '403': *29 '404': *6 '422': *15 @@ -109394,9 +110111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 - name: exclude @@ -109417,9 +110134,6 @@ paths: description: Timeline Event type: object anyOf: - - *725 - - *726 - - *727 - *728 - *729 - *730 @@ -109430,6 +110144,9 @@ paths: - *735 - *736 - *737 + - *738 + - *739 + - *740 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -109472,7 +110189,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *231 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -109482,23 +110199,23 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *229 + required: *230 + reactions: *232 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *738 - required: *739 + properties: *741 + required: *742 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *740 - required: *741 + properties: *743 + required: *744 nullable: true required: - event @@ -109530,7 +110247,7 @@ paths: properties: type: type: string - issue: *231 + issue: *234 required: - event - created_at @@ -109730,7 +110447,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *231 required: - event - id @@ -109753,7 +110470,7 @@ paths: type: string comments: type: array - items: &775 + items: &778 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -109848,7 +110565,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *231 _links: type: object properties: @@ -109932,7 +110649,7 @@ paths: enum: - line - file - reactions: *229 + reactions: *232 body_html: type: string example: '"

comment body

"' @@ -109968,7 +110685,7 @@ paths: type: string comments: type: array - items: *627 + items: *630 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -109999,8 +110716,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 intent: title: Issue Event Intent @@ -110012,7 +110729,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - id - node_id @@ -110054,8 +110771,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 required: - id @@ -110098,8 +110815,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 state_reason: type: string nullable: true @@ -110113,7 +110830,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - id - node_id @@ -110124,9 +110841,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *742 - - *743 - - *744 - *745 - *746 - *747 @@ -110135,6 +110849,9 @@ paths: - *750 - *751 - *752 + - *753 + - *754 + - *755 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -110165,8 +110882,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -110207,8 +110924,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -110392,8 +111109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -110403,7 +111120,7 @@ paths: application/json: schema: type: array - items: &753 + items: &756 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -110469,8 +111186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -110506,9 +111223,9 @@ paths: description: Response content: application/json: - schema: *753 + schema: *756 examples: - default: &754 + default: &757 value: id: 1 key: ssh-rsa AAA... @@ -110542,9 +111259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *509 - - *510 - - &755 + - *512 + - *513 + - &758 name: key_id description: The unique identifier of the key. in: path @@ -110556,9 +111273,9 @@ paths: description: Response content: application/json: - schema: *753 + schema: *756 examples: - default: *754 + default: *757 '404': *6 x-github: githubCloudOnly: false @@ -110576,9 +111293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *509 - - *510 - - *755 + - *512 + - *513 + - *758 responses: '204': description: Response @@ -110598,8 +111315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -110609,9 +111326,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *722 + default: *725 headers: Link: *44 '404': *6 @@ -110632,8 +111349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -110669,9 +111386,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: &756 + default: &759 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -110705,8 +111422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *509 - - *510 + - *512 + - *513 - name: name in: path required: true @@ -110717,9 +111434,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *756 + default: *759 '404': *6 x-github: githubCloudOnly: false @@ -110736,8 +111453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *509 - - *510 + - *512 + - *513 - name: name in: path required: true @@ -110781,7 +111498,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: default: value: @@ -110809,8 +111526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *509 - - *510 + - *512 + - *513 - name: name in: path required: true @@ -110836,8 +111553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -110873,8 +111590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '202': *36 '403': @@ -110902,8 +111619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -110929,9 +111646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *509 - - *510 - - *600 + - *512 + - *513 + - *603 responses: '200': description: Response @@ -110993,8 +111710,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true required: - _links @@ -111076,8 +111793,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -111142,8 +111859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -111177,9 +111894,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *630 + schema: *633 examples: - default: *757 + default: *760 '204': description: Response when already merged '404': @@ -111204,8 +111921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *509 - - *510 + - *512 + - *513 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -111246,12 +111963,12 @@ paths: application/json: schema: type: array - items: &758 + items: &761 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *441 + required: *442 examples: default: value: @@ -111307,8 +112024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -111348,9 +112065,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: &759 + default: &762 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -111409,9 +112126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *509 - - *510 - - &760 + - *512 + - *513 + - &763 name: milestone_number description: The number that identifies the milestone. in: path @@ -111423,9 +112140,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *759 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -111442,9 +112159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *509 - - *510 - - *760 + - *512 + - *513 + - *763 requestBody: required: false content: @@ -111482,9 +112199,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *759 + default: *762 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111500,9 +112217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *509 - - *510 - - *760 + - *512 + - *513 + - *763 responses: '204': description: Response @@ -111523,9 +112240,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: - - *509 - - *510 - - *760 + - *512 + - *513 + - *763 - *17 - *19 responses: @@ -111535,9 +112252,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *722 + default: *725 headers: Link: *44 x-github: @@ -111556,12 +112273,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: - - *509 - - *510 - - *761 - - *762 - - *238 - - *763 + - *512 + - *513 + - *764 + - *765 + - *241 + - *766 - *17 - *19 responses: @@ -111571,9 +112288,9 @@ paths: application/json: schema: type: array - items: *258 + items: *261 examples: - default: *764 + default: *767 headers: Link: *44 x-github: @@ -111597,8 +112314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -111656,14 +112373,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &765 + schema: &768 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -111788,7 +112505,7 @@ paths: - custom_404 - public examples: - default: &766 + default: &769 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -111829,8 +112546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -111884,9 +112601,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *768 examples: - default: *766 + default: *769 '422': *15 '409': *118 x-github: @@ -111909,8 +112626,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -112017,8 +112734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -112044,8 +112761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -112055,7 +112772,7 @@ paths: application/json: schema: type: array - items: &767 + items: &770 title: Page Build description: Page Build type: object @@ -112149,8 +112866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *509 - - *510 + - *512 + - *513 responses: '201': description: Response @@ -112195,16 +112912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *767 + schema: *770 examples: - default: &768 + default: &771 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -112252,8 +112969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *509 - - *510 + - *512 + - *513 - name: build_id in: path required: true @@ -112264,9 +112981,9 @@ paths: description: Response content: application/json: - schema: *767 + schema: *770 examples: - default: *768 + default: *771 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112286,8 +113003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -112392,9 +113109,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: - - *509 - - *510 - - &769 + - *512 + - *513 + - &772 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -112452,9 +113169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *509 - - *510 - - *769 + - *512 + - *513 + - *772 responses: '204': *125 '404': *6 @@ -112481,8 +113198,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -112713,7 +113430,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -112740,8 +113457,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Private vulnerability reporting status @@ -112778,8 +113495,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: - - *509 - - *510 + - *512 + - *513 responses: '204': *125 '422': *14 @@ -112800,8 +113517,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: - - *509 - - *510 + - *512 + - *513 responses: '204': *125 '422': *14 @@ -112823,8 +113540,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -112832,9 +113549,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *770 + default: *773 '403': *29 '404': *6 x-github: @@ -112856,8 +113573,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -112869,11 +113586,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *161 + items: *164 required: - properties examples: - default: *771 + default: *774 responses: '204': description: No Content when custom property values are successfully created @@ -112911,8 +113628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -112972,9 +113689,9 @@ paths: application/json: schema: type: array - items: *593 + items: *596 examples: - default: *772 + default: *775 headers: Link: *44 '304': *34 @@ -113006,8 +113723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -113072,7 +113789,7 @@ paths: description: Response content: application/json: - schema: &777 + schema: &780 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -113191,8 +113908,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *441 + required: *442 nullable: true active_lock_reason: type: string @@ -113235,7 +113952,7 @@ paths: items: *4 requested_teams: type: array - items: *493 + items: *496 head: type: object properties: @@ -113273,14 +113990,14 @@ paths: _links: type: object properties: - comments: *440 - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + comments: *443 + commits: *443 + statuses: *443 + html: *443 + issue: *443 + review_comments: *443 + review_comment: *443 + self: *443 required: - comments - commits @@ -113290,9 +114007,9 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: *773 - stack: *774 + author_association: *231 + auto_merge: *776 + stack: *777 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -113384,7 +114101,7 @@ paths: - merged_by - review_comments examples: - default: &778 + default: &781 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -113911,8 +114628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - name: sort in: query required: false @@ -113931,7 +114648,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -113941,9 +114658,9 @@ paths: application/json: schema: type: array - items: *775 + items: *778 examples: - default: &780 + default: &783 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -114020,17 +114737,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '200': description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: &776 + default: &779 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -114105,9 +114822,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -114129,9 +114846,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: *776 + default: *779 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114147,9 +114864,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '204': description: Response @@ -114170,9 +114887,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 - 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. @@ -114198,9 +114915,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *707 + default: *710 headers: Link: *44 '404': *6 @@ -114221,9 +114938,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -114255,16 +114972,16 @@ paths: description: Reaction exists content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '201': description: Reaction created content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -114286,10 +115003,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *509 - - *510 - - *247 - - *708 + - *512 + - *513 + - *250 + - *711 responses: '204': description: Response @@ -114332,9 +115049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *509 - - *510 - - &779 + - *512 + - *513 + - &782 name: pull_number description: The number that identifies the pull request. in: path @@ -114347,9 +115064,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *777 + schema: *780 examples: - default: *778 + default: *781 '304': *34 '404': *6 '406': @@ -114358,7 +115075,7 @@ paths: application/json: schema: *3 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114384,9 +115101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -114428,9 +115145,9 @@ paths: description: Response content: application/json: - schema: *777 + schema: *780 examples: - default: *778 + default: *781 '422': *15 '403': *29 x-github: @@ -114452,9 +115169,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: true content: @@ -114514,21 +115231,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114554,10 +115271,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: - - *509 - - *510 - - *779 - - *255 + - *512 + - *513 + - *782 + - *258 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -114567,7 +115284,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -114577,9 +115294,9 @@ paths: application/json: schema: type: array - items: *775 + items: *778 examples: - default: *780 + default: *783 headers: Link: *44 x-github: @@ -114612,9 +115329,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: true content: @@ -114719,7 +115436,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: example-for-a-multi-line-comment: value: @@ -114807,10 +115524,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: - - *509 - - *510 - - *779 - - *247 + - *512 + - *513 + - *782 + - *250 requestBody: required: true content: @@ -114832,7 +115549,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: default: value: @@ -114918,9 +115635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 - *17 - *19 responses: @@ -114930,9 +115647,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: *781 + default: *784 headers: Link: *44 x-github: @@ -114962,9 +115679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 - *17 - *19 responses: @@ -114974,7 +115691,7 @@ paths: application/json: schema: type: array - items: *642 + items: *645 examples: default: value: @@ -114993,7 +115710,7 @@ paths: Link: *44 '422': *15 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115012,9 +115729,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 responses: '204': description: Response if pull request has been merged @@ -115037,9 +115754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -115161,9 +115878,9 @@ paths: category: pulls subcategory: pulls parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -115215,7 +115932,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &782 + schema: &785 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -115300,7 +116017,7 @@ paths: merge queue content: application/json: - schema: *782 + schema: *785 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -115320,7 +116037,7 @@ paths: this pull request content: application/json: - schema: *782 + schema: *785 examples: response-if-a-merge-request-already-exists: value: @@ -115336,7 +116053,7 @@ paths: it is closed content: application/json: - schema: *782 + schema: *785 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -115368,9 +116085,9 @@ paths: category: pulls subcategory: pulls parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -115383,7 +116100,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *782 + schema: *785 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -115431,9 +116148,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 responses: '200': description: Response @@ -115449,7 +116166,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 required: - users - teams @@ -115508,9 +116225,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -115547,7 +116264,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -116083,9 +116800,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: true content: @@ -116119,7 +116836,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -116624,9 +117341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 - *17 - *19 responses: @@ -116636,7 +117353,7 @@ paths: application/json: schema: type: array - items: &783 + items: &786 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -116705,7 +117422,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *231 required: - id - node_id @@ -116787,9 +117504,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -116875,9 +117592,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: - default: &785 + default: &788 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -116940,10 +117657,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: - - *509 - - *510 - - *779 - - &784 + - *512 + - *513 + - *782 + - &787 name: review_id description: The unique identifier of the review. in: path @@ -116955,9 +117672,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: - default: &786 + default: &789 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -117016,10 +117733,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 requestBody: required: true content: @@ -117042,7 +117759,7 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: default: value: @@ -117104,18 +117821,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 responses: '200': description: Response content: application/json: - schema: *783 + schema: *786 examples: - default: *785 + default: *788 '422': *7 '404': *6 x-github: @@ -117142,10 +117859,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 - *17 - *19 responses: @@ -117224,13 +117941,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *231 _links: type: object properties: - self: *440 - html: *440 - pull_request: *440 + self: *443 + html: *443 + pull_request: *443 required: - self - html @@ -117239,7 +117956,7 @@ paths: type: string body_html: type: string - reactions: *229 + reactions: *232 side: description: The side of the first line of the range for a multi-line comment. @@ -117380,10 +118097,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 requestBody: required: true content: @@ -117411,7 +118128,7 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: default: value: @@ -117474,10 +118191,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 requestBody: required: true content: @@ -117512,9 +118229,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: - default: *786 + default: *789 '404': *6 '422': *7 '403': *29 @@ -117536,9 +118253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -117601,8 +118318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *509 - - *510 + - *512 + - *513 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -117615,9 +118332,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *790 examples: - default: &788 + default: &791 value: type: file encoding: base64 @@ -117659,8 +118376,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: - - *509 - - *510 + - *512 + - *513 - name: dir description: The alternate path to look for a README file in: path @@ -117680,9 +118397,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *790 examples: - default: *788 + default: *791 '404': *6 '422': *15 x-github: @@ -117704,8 +118421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -117715,7 +118432,7 @@ paths: application/json: schema: type: array - items: *789 + items: *792 examples: default: value: @@ -117814,8 +118531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -117891,9 +118608,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *792 examples: - default: &793 + default: &796 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -117998,9 +118715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *509 - - *510 - - &791 + - *512 + - *513 + - &794 name: asset_id description: The unique identifier of the asset. in: path @@ -118012,9 +118729,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *793 examples: - default: &792 + default: &795 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 @@ -118049,7 +118766,7 @@ paths: type: User site_admin: false '404': *6 - '302': *646 + '302': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118065,9 +118782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *509 - - *510 - - *791 + - *512 + - *513 + - *794 requestBody: required: false content: @@ -118095,9 +118812,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *793 examples: - default: *792 + default: *795 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118113,9 +118830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *509 - - *510 - - *791 + - *512 + - *513 + - *794 responses: '204': description: Response @@ -118140,8 +118857,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -118226,16 +118943,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *789 + schema: *792 examples: - default: *793 + default: *796 '404': *6 x-github: githubCloudOnly: false @@ -118253,8 +118970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *509 - - *510 + - *512 + - *513 - name: tag description: tag parameter in: path @@ -118267,9 +118984,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *792 examples: - default: *793 + default: *796 '404': *6 x-github: githubCloudOnly: false @@ -118291,9 +119008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *509 - - *510 - - &794 + - *512 + - *513 + - &797 name: release_id description: The unique identifier of the release. in: path @@ -118307,9 +119024,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: *789 + schema: *792 examples: - default: *793 + default: *796 '401': description: Unauthorized x-github: @@ -118333,9 +119050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 requestBody: required: false content: @@ -118399,9 +119116,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *792 examples: - default: *793 + default: *796 '404': description: Not Found if the discussion category name is invalid content: @@ -118422,9 +119139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 responses: '204': description: Response @@ -118445,9 +119162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 - *17 - *19 responses: @@ -118457,7 +119174,7 @@ paths: application/json: schema: type: array - items: *790 + items: *793 examples: default: value: @@ -118539,9 +119256,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: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 - name: name in: query required: true @@ -118567,7 +119284,7 @@ paths: description: Response for successful upload content: application/json: - schema: *790 + schema: *793 examples: response-for-successful-upload: value: @@ -118622,9 +119339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 - 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. @@ -118648,9 +119365,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *707 + default: *710 headers: Link: *44 '404': *6 @@ -118671,9 +119388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 requestBody: required: true content: @@ -118703,16 +119420,16 @@ paths: description: Reaction exists content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '201': description: Reaction created content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -118734,10 +119451,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *509 - - *510 - - *794 - - *708 + - *512 + - *513 + - *797 + - *711 responses: '204': description: Response @@ -118761,9 +119478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 - *17 - *19 responses: @@ -118779,8 +119496,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *175 - - &795 + - *178 + - &798 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -118799,72 +119516,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *176 - - *795 - - allOf: - - *177 - - *795 - - allOf: - - *178 - - *795 - - allOf: - - *796 - - *795 - allOf: - *179 - - *795 + - *798 - allOf: - *180 - - *795 + - *798 - allOf: - *181 - - *795 + - *798 + - allOf: + - *799 + - *798 - allOf: - *182 - - *795 + - *798 - allOf: - *183 - - *795 + - *798 - allOf: - *184 - - *795 + - *798 - allOf: - *185 - - *795 + - *798 - allOf: - *186 - - *795 + - *798 - allOf: - *187 - - *795 + - *798 - allOf: - *188 - - *795 + - *798 - allOf: - *189 - - *795 + - *798 - allOf: - *190 - - *795 + - *798 - allOf: - *191 - - *795 - - allOf: - - *797 - - *795 + - *798 - allOf: - *192 - - *795 + - *798 - allOf: - *193 - - *795 + - *798 - allOf: - *194 - - *795 + - *798 + - allOf: + - *800 + - *798 - allOf: - *195 - - *795 + - *798 + - allOf: + - *196 + - *798 + - allOf: + - *197 + - *798 + - allOf: + - *198 + - *798 examples: default: value: @@ -118903,8 +119620,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 - name: includes_parents @@ -118915,7 +119632,7 @@ paths: schema: type: boolean default: true - - *798 + - *801 responses: '200': description: Response @@ -118923,7 +119640,7 @@ paths: application/json: schema: type: array - items: *196 + items: *199 examples: default: value: @@ -118970,8 +119687,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 requestBody: description: Request body required: true @@ -118991,16 +119708,16 @@ paths: - tag - push default: branch - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *167 + items: *177 + conditions: *170 rules: type: array description: An array of rules within the ruleset. - items: *799 + items: *802 required: - name - enforcement @@ -119031,9 +119748,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: &809 + default: &812 value: id: 42 name: super cool ruleset @@ -119081,13 +119798,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *509 - - *510 - - *800 - - *104 - - *801 - - *802 + - *512 + - *513 - *803 + - *104 + - *804 + - *805 + - *806 - *17 - *19 responses: @@ -119095,9 +119812,9 @@ paths: description: Response content: application/json: - schema: *804 + schema: *807 examples: - default: *805 + default: *808 '404': *6 '500': *37 x-github: @@ -119118,17 +119835,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *509 - - *510 - - *806 + - *512 + - *513 + - *809 responses: '200': description: Response content: application/json: - schema: *807 + schema: *810 examples: - default: *808 + default: *811 '404': *6 '500': *37 x-github: @@ -119156,8 +119873,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 - name: ruleset_id description: The ID of the ruleset. in: path @@ -119177,9 +119894,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *809 + default: *812 '404': *6 '500': *37 put: @@ -119197,8 +119914,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 - name: ruleset_id description: The ID of the ruleset. in: path @@ -119223,16 +119940,16 @@ paths: - branch - tag - push - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *167 + items: *177 + conditions: *170 rules: description: An array of rules within the ruleset. type: array - items: *799 + items: *802 examples: default: value: @@ -119260,9 +119977,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *809 + default: *812 '404': *6 '422': *15 '500': *37 @@ -119281,8 +119998,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 - name: ruleset_id description: The ID of the ruleset. in: path @@ -119305,8 +120022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 - name: ruleset_id @@ -119322,9 +120039,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *458 + default: *461 '404': *6 '500': *37 x-github: @@ -119343,8 +120060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *509 - - *510 + - *512 + - *513 - name: ruleset_id description: The ID of the ruleset. in: path @@ -119362,7 +120079,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *462 examples: default: value: @@ -119417,28 +120134,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: - - *509 - - *510 - - *460 - - *461 - - *462 + - *512 + - *513 - *463 - *464 - *465 - *466 - *467 - - *109 - - *19 - - *17 - - *810 - - *811 - *468 - *469 - *470 + - *109 + - *19 + - *17 + - *813 + - *814 - *471 - *472 - *473 - *474 + - *475 + - *476 + - *477 responses: '200': description: Response @@ -119449,8 +120166,8 @@ paths: items: type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -119458,15 +120175,15 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *812 - resolution: *813 + state: *815 + resolution: *816 resolved_at: type: string format: date-time @@ -119572,7 +120289,7 @@ paths: pull request. ' - oneOf: *814 + oneOf: *817 nullable: true has_more_locations: type: boolean @@ -119714,7 +120431,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119736,20 +120453,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *509 - - *510 - - *594 - - *471 + - *512 + - *513 + - *597 + - *474 responses: '200': description: Response content: application/json: - schema: &815 + schema: &818 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -119757,14 +120474,14 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *812 - resolution: *813 + state: *815 + resolution: *816 resolved_at: type: string format: date-time @@ -119870,7 +120587,7 @@ paths: pull request. ' - oneOf: *814 + oneOf: *817 nullable: true has_more_locations: type: boolean @@ -119898,7 +120615,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &1006 + metadata: &1009 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -119948,7 +120665,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119971,9 +120688,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 requestBody: required: true content: @@ -119981,8 +120698,8 @@ paths: schema: type: object properties: - state: *812 - resolution: *813 + state: *815 + resolution: *816 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -120026,7 +120743,7 @@ paths: description: Response content: application/json: - schema: *815 + schema: *818 examples: default: value: @@ -120106,7 +120823,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': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -120128,9 +120845,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 - *19 - *17 responses: @@ -120141,7 +120858,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &1008 + items: &1011 type: object properties: type: @@ -120167,9 +120884,6 @@ paths: example: commit details: oneOf: - - *816 - - *817 - - *818 - *819 - *820 - *821 @@ -120180,6 +120894,9 @@ paths: - *826 - *827 - *828 + - *829 + - *830 + - *831 examples: default: value: @@ -120243,7 +120960,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120270,11 +120987,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - - *510 - - *477 - - *478 - - *479 + - *512 + - *513 + - *480 + - *481 + - *482 - *109 - *107 - *108 @@ -120285,9 +121002,9 @@ paths: application/json: schema: type: array - items: *202 + items: *205 examples: - default: *480 + default: *483 headers: Link: *44 '403': *29 @@ -120312,8 +121029,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -120326,9 +121043,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *481 + items: *484 examples: - default: *482 + default: *485 responses: '201': description: All patterns created successfully. @@ -120340,9 +121057,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: *483 + default: *486 '400': *14 '403': *29 '404': *6 @@ -120366,7 +121083,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *484 + items: *487 delete: summary: Bulk delete repository custom patterns description: |- @@ -120387,8 +121104,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -120402,7 +121119,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *485 + items: *488 post_delete_action: type: string description: |- @@ -120415,14 +121132,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *486 + default: *489 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -120444,8 +121161,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - - *510 + - *512 + - *513 - name: pattern_id in: path required: true @@ -120456,21 +121173,21 @@ paths: required: true content: application/json: - schema: *487 + schema: *490 examples: - default: *488 + default: *491 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: *489 + default: *492 '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -120488,8 +121205,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -120497,14 +121214,14 @@ paths: schema: type: object properties: - reason: &830 + reason: &833 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *829 + placeholder_id: *832 required: - reason - placeholder_id @@ -120521,7 +121238,7 @@ paths: schema: type: object properties: - reason: *830 + reason: *833 expire_at: type: string format: date-time @@ -120544,7 +121261,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -120567,13 +121284,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: - - *509 - - *510 + - *512 + - *513 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *201 + '503': *204 '200': description: Response content: @@ -120583,7 +121300,7 @@ paths: properties: incremental_scans: type: array - items: &831 + items: &834 description: Information on a single scan performed by secret scanning on the repository type: object @@ -120614,15 +121331,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *831 + items: *834 backfill_scans: type: array - items: *831 + items: *834 custom_pattern_backfill_scans: type: array items: allOf: - - *831 + - *834 - type: object properties: pattern_name: @@ -120635,7 +121352,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *831 + items: *834 examples: default: value: @@ -120700,8 +121417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *509 - - *510 + - *512 + - *513 - *109 - name: sort description: The property to sort the results by. @@ -120745,9 +121462,9 @@ paths: application/json: schema: type: array - items: *832 + items: *835 examples: - default: *833 + default: *836 '400': *14 '404': *6 x-github: @@ -120770,8 +121487,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -120844,7 +121561,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *495 required: - login - type @@ -120931,9 +121648,9 @@ paths: description: Response content: application/json: - schema: *832 + schema: *835 examples: - default: &836 + default: &839 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -121151,7 +121868,7 @@ paths: description: Validation failed. content: application/json: - schema: &834 + schema: &837 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -121221,8 +121938,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -121326,7 +122043,7 @@ paths: description: Response content: application/json: - schema: *832 + schema: *835 examples: default: value: @@ -121452,7 +122169,7 @@ paths: description: Validation failed. content: application/json: - schema: *834 + schema: *837 examples: missing_section: value: @@ -121499,17 +122216,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: - - *509 - - *510 - - *835 + - *512 + - *513 + - *838 responses: '200': description: Response content: application/json: - schema: *832 + schema: *835 examples: - default: *836 + default: *839 '403': *29 '404': *6 x-github: @@ -121533,9 +122250,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: - - *509 - - *510 - - *835 + - *512 + - *513 + - *838 requestBody: required: true content: @@ -121608,7 +122325,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *495 required: - login - type @@ -121694,17 +122411,17 @@ paths: description: Response content: application/json: - schema: *832 + schema: *835 examples: - default: *836 - add_credit: *836 + default: *839 + add_credit: *839 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *267 + schema: *270 examples: invalid_state_transition: value: @@ -121735,9 +122452,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: - - *509 - - *510 - - *835 + - *512 + - *513 + - *838 responses: '202': *36 '400': *14 @@ -121764,17 +122481,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: - - *509 - - *510 - - *835 + - *512 + - *513 + - *838 responses: '202': description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 + default: *519 '400': *14 '422': *15 '403': *29 @@ -121795,8 +122512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *509 - - *510 + - *512 + - *513 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -121928,8 +122645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -121996,11 +122713,11 @@ paths: format: date-time pull_requests: type: array - items: &837 + items: &840 title: Pull Request Stack Pull Request type: object allOf: - - *236 + - *239 - type: object required: - node_id @@ -122222,8 +122939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *509 - - *510 + - *512 + - *513 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -122272,7 +122989,7 @@ paths: format: date-time pull_requests: type: array - items: *837 + items: *840 examples: default: value: @@ -122392,8 +123109,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: - - *509 - - *510 + - *512 + - *513 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -122465,7 +123182,7 @@ paths: format: date-time pull_requests: type: array - items: *837 + items: *840 examples: default: value: @@ -122669,8 +123386,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: - - *509 - - *510 + - *512 + - *513 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -122719,7 +123436,7 @@ paths: format: date-time pull_requests: type: array - items: *837 + items: *840 examples: default: value: @@ -122795,7 +123512,7 @@ paths: pull request in it is locked and cannot be removed. content: application/json: - schema: *267 + schema: *270 examples: cannot_be_removed: summary: Every pull request in the stack is locked and can't be @@ -122825,8 +123542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -122923,8 +123640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -122965,8 +123682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *509 - - *510 + - *512 + - *513 - 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)." @@ -123060,8 +123777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -123070,7 +123787,7 @@ paths: application/json: schema: type: array - items: &838 + items: &841 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -123103,8 +123820,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -123180,8 +123897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -123277,8 +123994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -123432,8 +124149,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -123443,7 +124160,7 @@ paths: application/json: schema: type: array - items: *838 + items: *841 examples: default: value: @@ -123476,8 +124193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *509 - - *510 + - *512 + - *513 - name: sha in: path required: true @@ -123531,7 +124248,7 @@ paths: description: Response content: application/json: - schema: *839 + schema: *842 examples: default: value: @@ -123585,8 +124302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -123598,7 +124315,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -123618,14 +124335,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &840 + schema: &843 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -123693,8 +124410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -123720,7 +124437,7 @@ paths: description: Response content: application/json: - schema: *840 + schema: *843 examples: default: value: @@ -123747,8 +124464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -123768,8 +124485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -123848,8 +124565,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *509 - - *510 + - *512 + - *513 - name: ref in: path required: true @@ -123885,8 +124602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -123896,9 +124613,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 headers: Link: *44 '404': *6 @@ -123918,8 +124635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *509 - - *510 + - *512 + - *513 - *19 - *17 responses: @@ -123927,7 +124644,7 @@ paths: description: Response content: application/json: - schema: &841 + schema: &844 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -123939,7 +124656,7 @@ paths: required: - names examples: - default: &842 + default: &845 value: names: - octocat @@ -123962,8 +124679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -123994,9 +124711,9 @@ paths: description: Response content: application/json: - schema: *841 + schema: *844 examples: - default: *842 + default: *845 '404': *6 '422': *7 x-github: @@ -124017,9 +124734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *509 - - *510 - - &843 + - *512 + - *513 + - &846 name: per description: The time frame to display results for. in: query @@ -124048,7 +124765,7 @@ paths: example: 128 clones: type: array - items: &844 + items: &847 title: Traffic type: object properties: @@ -124135,8 +124852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -124226,8 +124943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -124287,9 +125004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *509 - - *510 - - *843 + - *512 + - *513 + - *846 responses: '200': description: Response @@ -124308,7 +125025,7 @@ paths: example: 3782 views: type: array - items: *844 + items: *847 required: - uniques - count @@ -124385,8 +125102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -124422,7 +125139,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -124660,8 +125377,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -124684,8 +125401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -124707,8 +125424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -124734,8 +125451,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *509 - - *510 + - *512 + - *513 - name: ref in: path required: true @@ -124827,9 +125544,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -124870,7 +125587,7 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: default: value: @@ -124980,7 +125697,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &852 + - &855 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -124989,7 +125706,7 @@ paths: schema: type: string example: members - - &857 + - &860 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -125000,7 +125717,7 @@ paths: default: 1 format: int32 example: 1 - - &858 + - &861 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -125042,7 +125759,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &847 + items: &850 allOf: - type: object required: @@ -125117,7 +125834,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: &859 + meta: &862 type: object description: The metadata associated with the creation/updates to the user. @@ -125177,30 +125894,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &848 + '400': &851 description: Bad request content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '401': *846 - '403': &849 + schema: *848 + '401': *849 + '403': &852 description: Permission denied - '429': &850 + '429': &853 description: Too many requests content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '500': &851 + schema: *848 + '500': &854 description: Internal server error content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 + schema: *848 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125224,7 +125941,7 @@ paths: required: true content: application/json: - schema: &855 + schema: &858 type: object required: - schemas @@ -125284,9 +126001,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *847 + schema: *850 examples: - group: &853 + group: &856 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -125305,13 +126022,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': *848 - '401': *846 - '403': *849 - '409': &856 + '400': *851 + '401': *849 + '403': *852 + '409': &859 description: Duplicate record detected - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125328,7 +126045,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: - - &854 + - &857 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -125336,22 +126053,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *852 + - *855 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *847 + schema: *850 examples: - default: *853 - '400': *848 - '401': *846 - '403': *849 + default: *856 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125370,13 +126087,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: - - *854 + - *857 - *38 requestBody: required: true content: application/json: - schema: *855 + schema: *858 examples: group: summary: Group @@ -125402,17 +126119,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *847 + schema: *850 examples: - group: *853 - groupWithMembers: *853 - '400': *848 - '401': *846 - '403': *849 + group: *856 + groupWithMembers: *856 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '409': *856 - '429': *850 - '500': *851 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125436,13 +126153,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: - - *854 + - *857 - *38 requestBody: required: true content: application/json: - schema: &866 + schema: &869 type: object required: - Operations @@ -125502,17 +126219,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *847 + schema: *850 examples: - updateGroup: *853 - addMembers: *853 - '400': *848 - '401': *846 - '403': *849 + updateGroup: *856 + addMembers: *856 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '409': *856 - '429': *850 - '500': *851 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125528,17 +126245,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: - - *854 + - *857 - *38 responses: '204': description: Group was deleted, no content - '400': *848 - '401': *846 - '403': *849 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125572,8 +126289,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *857 - - *858 + - *860 + - *861 - *38 responses: '200': @@ -125606,7 +126323,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &861 + items: &864 allOf: - type: object required: @@ -125685,7 +126402,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &860 + roles: &863 type: array description: The roles assigned to the user. items: @@ -125741,7 +126458,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *859 + meta: *862 startIndex: type: integer description: A starting index for the returned page @@ -125778,11 +126495,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *848 - '401': *846 - '403': *849 - '429': *850 - '500': *851 + '400': *851 + '401': *849 + '403': *852 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125806,7 +126523,7 @@ paths: required: true content: application/json: - schema: &864 + schema: &867 type: object required: - schemas @@ -125888,9 +126605,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *860 + roles: *863 examples: - user: &865 + user: &868 summary: User value: schemas: @@ -125937,9 +126654,9 @@ paths: description: User has been created content: application/scim+json: - schema: *861 + schema: *864 examples: - user: &862 + user: &865 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -125965,13 +126682,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: *862 - '400': *848 - '401': *846 - '403': *849 - '409': *856 - '429': *850 - '500': *851 + enterpriseOwner: *865 + '400': *851 + '401': *849 + '403': *852 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125988,7 +126705,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: - - &863 + - &866 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -126001,15 +126718,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *861 + schema: *864 examples: - default: *862 - '400': *848 - '401': *846 - '403': *849 + default: *865 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126060,30 +126777,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: - - *863 + - *866 - *38 requestBody: required: true content: application/json: - schema: *864 + schema: *867 examples: - user: *865 + user: *868 responses: '200': description: User was updated content: application/scim+json: - schema: *861 + schema: *864 examples: - user: *862 - '400': *848 - '401': *846 - '403': *849 + user: *865 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '409': *856 - '429': *850 - '500': *851 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126124,13 +126841,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: - - *863 + - *866 - *38 requestBody: required: true content: application/json: - schema: *866 + schema: *869 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -126170,18 +126887,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *861 - examples: - userMultiValuedProperties: *862 - userSingleValuedProperties: *862 - disableUser: *862 - '400': *848 - '401': *846 - '403': *849 + schema: *864 + examples: + userMultiValuedProperties: *865 + userSingleValuedProperties: *865 + disableUser: *865 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '409': *856 - '429': *850 - '500': *851 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126201,17 +126918,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: - - *863 + - *866 - *38 responses: '204': description: User was deleted, no content - '400': *848 - '401': *846 - '403': *849 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126298,7 +127015,7 @@ paths: example: 1 Resources: type: array - items: &867 + items: &870 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -126535,22 +127252,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': *34 - '404': &868 + '404': &871 description: Resource not found content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '403': &869 + schema: *848 + '403': &872 description: Forbidden content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '400': *848 - '429': *850 + schema: *848 + '400': *851 + '429': *853 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -126576,9 +127293,9 @@ paths: description: Response content: application/scim+json: - schema: *867 + schema: *870 examples: - default: &870 + default: &873 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -126602,17 +127319,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': *34 - '404': *868 - '403': *869 - '500': *851 + '404': *871 + '403': *872 + '500': *854 '409': description: Conflict content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '400': *848 + schema: *848 + '400': *851 requestBody: required: true content: @@ -126710,17 +127427,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *86 - - *863 + - *866 responses: '200': description: Response content: application/scim+json: - schema: *867 + schema: *870 examples: - default: *870 - '404': *868 - '403': *869 + default: *873 + '404': *871 + '403': *872 '304': *34 x-github: githubCloudOnly: true @@ -126744,18 +127461,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *86 - - *863 + - *866 responses: '200': description: Response content: application/scim+json: - schema: *867 + schema: *870 examples: - default: *870 + default: *873 '304': *34 - '404': *868 - '403': *869 + '404': *871 + '403': *872 requestBody: required: true content: @@ -126868,19 +127585,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *86 - - *863 + - *866 responses: '200': description: Response content: application/scim+json: - schema: *867 + schema: *870 examples: - default: *870 + default: *873 '304': *34 - '404': *868 - '403': *869 - '400': *848 + '404': *871 + '403': *872 + '400': *851 '429': description: Response content: @@ -126971,12 +127688,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *86 - - *863 + - *866 responses: '204': description: Response - '404': *868 - '403': *869 + '404': *871 + '403': *872 '304': *34 x-github: githubCloudOnly: true @@ -127091,7 +127808,7 @@ paths: html_url: type: string format: uri - repository: *292 + repository: *295 score: type: number file_size: @@ -127109,7 +127826,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &871 + text_matches: &874 title: Search Result Text Matches type: array items: @@ -127223,7 +127940,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *34 - '503': *201 + '503': *204 '422': *15 '403': *29 x-github: @@ -127272,7 +127989,7 @@ paths: enum: - author-date - committer-date - - &872 + - &875 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 @@ -127343,7 +128060,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *562 nullable: true comment_count: type: integer @@ -127363,7 +128080,7 @@ paths: url: type: string format: uri - verification: *690 + verification: *693 required: - author - committer @@ -127382,7 +128099,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *562 nullable: true parents: type: array @@ -127395,12 +128112,12 @@ paths: type: string sha: type: string - repository: *292 + repository: *295 score: type: number node_id: type: string - text_matches: *871 + text_matches: *874 required: - sha - node_id @@ -127593,7 +128310,7 @@ paths: - interactions - created - updated - - *872 + - *875 - *17 - *19 - name: advanced_search @@ -127719,11 +128436,11 @@ paths: nullable: true allOf: - *4 - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: type: string state_reason: @@ -127740,8 +128457,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *441 + required: *442 nullable: true comments: type: integer @@ -127755,7 +128472,7 @@ paths: type: string format: date-time nullable: true - text_matches: *871 + text_matches: *874 pull_request: type: object properties: @@ -127788,7 +128505,7 @@ paths: type: string score: type: number - author_association: *228 + author_association: *231 draft: type: boolean repository: *77 @@ -127799,7 +128516,7 @@ paths: timeline_url: type: string format: uri - type: *403 + type: *406 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -127809,17 +128526,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - reactions: *229 + reactions: *232 required: - assignee - closed_at @@ -127983,7 +128700,7 @@ paths: - quoted_text items: - "..." - '503': *201 + '503': *204 '422': *15 '304': *34 '403': *29 @@ -128037,7 +128754,7 @@ paths: enum: - created - updated - - *872 + - *875 - *17 - *19 responses: @@ -128093,7 +128810,7 @@ paths: - *4 score: type: number - text_matches: *871 + text_matches: *874 required: - id - node_id @@ -128203,7 +128920,7 @@ paths: - forks - help-wanted-issues - updated - - *872 + - *875 - *17 - *19 responses: @@ -128431,8 +129148,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true permissions: type: object @@ -128451,7 +129168,7 @@ paths: - admin - pull - push - text_matches: *871 + text_matches: *874 temp_clone_token: type: string allow_merge_commit: @@ -128653,7 +129370,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *201 + '503': *204 '422': *15 '304': *34 x-github: @@ -128752,7 +129469,7 @@ paths: type: string format: uri nullable: true - text_matches: *871 + text_matches: *874 related: type: array nullable: true @@ -128945,7 +129662,7 @@ paths: - followers - repositories - joined - - *872 + - *875 - *17 - *19 responses: @@ -129049,7 +129766,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *871 + text_matches: *874 blog: type: string nullable: true @@ -129108,7 +129825,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *34 - '503': *201 + '503': *204 '422': *15 x-github: githubCloudOnly: false @@ -129128,7 +129845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &875 + - &878 name: team_id description: The unique identifier of the team. in: path @@ -129140,9 +129857,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -129169,7 +129886,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *875 + - *878 requestBody: required: true content: @@ -129237,16 +129954,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '201': description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '404': *6 '422': *15 '403': *29 @@ -129274,7 +129991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *875 + - *878 responses: '204': description: Response @@ -129303,7 +130020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *875 + - *878 - *17 - *19 responses: @@ -129313,9 +130030,9 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: - default: *398 + default: *401 headers: Link: *44 x-github: @@ -129343,7 +130060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *875 + - *878 - name: role description: Filters members returned by their role in the team. in: query @@ -129364,9 +130081,9 @@ paths: application/json: schema: type: array - items: *876 + items: *879 examples: - default: *877 + default: *880 headers: Link: *44 '404': *6 @@ -129394,7 +130111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *875 + - *878 - *131 responses: '204': @@ -129431,7 +130148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *875 + - *878 - *131 responses: '204': @@ -129471,7 +130188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *875 + - *878 - *131 responses: '204': @@ -129508,16 +130225,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: - - *875 + - *878 - *131 responses: '200': description: Response content: application/json: - schema: *508 + schema: *511 examples: - response-if-user-is-a-team-maintainer: *878 + response-if-user-is-a-team-maintainer: *881 '404': *6 x-github: githubCloudOnly: false @@ -129550,7 +130267,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: - - *875 + - *878 - *131 requestBody: required: false @@ -129576,9 +130293,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - response-if-users-membership-with-team-is-now-pending: *879 + response-if-users-membership-with-team-is-now-pending: *882 '403': description: Forbidden if team synchronization is set up '422': @@ -129612,7 +130329,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: - - *875 + - *878 - *131 responses: '204': @@ -129640,7 +130357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *875 + - *878 - *17 - *19 responses: @@ -129650,9 +130367,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 '404': *6 @@ -129682,15 +130399,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: - - *875 - - *509 - - *510 + - *878 + - *512 + - *513 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *880 + schema: *883 examples: alternative-response-with-extra-repository-information: value: @@ -129841,9 +130558,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: - - *875 - - *509 - - *510 + - *878 + - *512 + - *513 requestBody: required: false content: @@ -129893,9 +130610,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: - - *875 - - *509 - - *510 + - *878 + - *512 + - *513 responses: '204': description: Response @@ -129924,15 +130641,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: - - *875 + - *878 responses: '200': description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: *512 + default: *515 '403': *29 '404': *6 x-github: @@ -129959,7 +130676,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: - - *875 + - *878 requestBody: required: true content: @@ -130016,7 +130733,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *514 examples: default: value: @@ -130047,7 +130764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *875 + - *878 - *17 - *19 responses: @@ -130057,9 +130774,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - response-if-child-teams-exist: *881 + response-if-child-teams-exist: *884 headers: Link: *44 '404': *6 @@ -130094,7 +130811,7 @@ paths: application/json: schema: oneOf: - - &883 + - &886 title: Private User description: Private User type: object @@ -130297,7 +131014,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *882 + - *885 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -130450,7 +131167,7 @@ paths: description: Response content: application/json: - schema: *883 + schema: *886 examples: default: value: @@ -130529,7 +131246,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '304': *34 '404': *6 '403': *29 @@ -130653,9 +131370,9 @@ paths: type: integer codespaces: type: array - items: *408 + items: *411 examples: - default: *409 + default: *412 '304': *34 '500': *37 '401': *25 @@ -130794,21 +131511,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130848,7 +131565,7 @@ paths: type: integer secrets: type: array - items: &884 + items: &887 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -130888,7 +131605,7 @@ paths: - visibility - selected_repositories_url examples: - default: *620 + default: *623 headers: Link: *44 x-github: @@ -130958,13 +131675,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: - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *884 + schema: *887 examples: default: value: @@ -130994,7 +131711,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: - - *302 + - *305 requestBody: required: true content: @@ -131039,7 +131756,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -131067,7 +131784,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: - - *302 + - *305 responses: '204': description: Response @@ -131092,7 +131809,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: - - *302 + - *305 responses: '200': description: Response @@ -131108,9 +131825,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *346 + default: *349 '401': *25 '403': *29 '404': *6 @@ -131135,7 +131852,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: - - *302 + - *305 requestBody: required: true content: @@ -131189,7 +131906,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: - - *302 + - *305 - name: repository_id in: path required: true @@ -131222,7 +131939,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: - - *302 + - *305 - name: repository_id in: path required: true @@ -131254,15 +131971,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: - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '304': *34 '500': *37 '401': *25 @@ -131288,7 +132005,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: - - *410 + - *413 requestBody: required: false content: @@ -131318,9 +132035,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '401': *25 '403': *29 '404': *6 @@ -131342,7 +132059,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: - - *410 + - *413 responses: '202': *36 '304': *34 @@ -131371,13 +132088,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: - - *410 + - *413 responses: '202': description: Response content: application/json: - schema: &885 + schema: &888 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -131418,7 +132135,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &886 + default: &889 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -131450,7 +132167,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *410 + - *413 - name: export_id in: path required: true @@ -131463,9 +132180,9 @@ paths: description: Response content: application/json: - schema: *885 + schema: *888 examples: - default: *886 + default: *889 '404': *6 x-github: githubCloudOnly: false @@ -131486,7 +132203,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *410 + - *413 responses: '200': description: Response @@ -131502,9 +132219,9 @@ paths: type: integer machines: type: array - items: *887 + items: *890 examples: - default: *888 + default: *891 '304': *34 '500': *37 '401': *25 @@ -131533,7 +132250,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: - - *410 + - *413 requestBody: required: true content: @@ -131583,13 +132300,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *514 + repository: *517 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *618 - required: *619 + properties: *621 + required: *622 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -132363,15 +133080,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: - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '304': *34 '500': *37 '400': *14 @@ -132403,15 +133120,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: - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '500': *37 '401': *25 '403': *29 @@ -132441,9 +133158,9 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: &900 + default: &903 value: - id: 197 name: hello_docker @@ -132544,7 +133261,7 @@ paths: application/json: schema: type: array - items: &889 + items: &892 title: Email description: Email type: object @@ -132609,9 +133326,9 @@ paths: application/json: schema: type: array - items: *889 + items: *892 examples: - default: &902 + default: &905 value: - email: octocat@github.com verified: true @@ -132686,7 +133403,7 @@ paths: application/json: schema: type: array - items: *889 + items: *892 examples: default: value: @@ -132796,7 +133513,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '304': *34 @@ -132829,7 +133546,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '304': *34 @@ -132942,7 +133659,7 @@ paths: application/json: schema: type: array - items: &890 + items: &893 title: GPG Key description: A unique encryption key type: object @@ -133073,7 +133790,7 @@ paths: - subkeys - revoked examples: - default: &919 + default: &922 value: - id: 3 name: Octocat's GPG Key @@ -133158,9 +133875,9 @@ paths: description: Response content: application/json: - schema: *890 + schema: *893 examples: - default: &891 + default: &894 value: id: 3 name: Octocat's GPG Key @@ -133217,7 +133934,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: - - &892 + - &895 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -133229,9 +133946,9 @@ paths: description: Response content: application/json: - schema: *890 + schema: *893 examples: - default: *891 + default: *894 '404': *6 '304': *34 '403': *29 @@ -133254,7 +133971,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: - - *892 + - *895 responses: '204': description: Response @@ -133456,7 +134173,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *287 + default: *290 headers: Link: *44 '404': *6 @@ -133482,7 +134199,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *286 + - *289 responses: '204': description: Response @@ -133508,7 +134225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *286 + - *289 responses: '204': description: Response @@ -133542,12 +134259,12 @@ paths: application/json: schema: anyOf: - - *395 + - *398 - type: object properties: {} additionalProperties: false examples: - default: *396 + default: *399 '204': description: Response when there are no restrictions x-github: @@ -133571,7 +134288,7 @@ paths: required: true content: application/json: - schema: *700 + schema: *703 examples: default: value: @@ -133582,7 +134299,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: default: value: @@ -133663,7 +134380,7 @@ paths: - closed - all default: open - - *406 + - *409 - name: sort description: What to sort results by. in: query @@ -133676,7 +134393,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -133686,9 +134403,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *407 + default: *410 headers: Link: *44 '404': *6 @@ -133721,7 +134438,7 @@ paths: application/json: schema: type: array - items: &893 + items: &896 title: Key description: Key type: object @@ -133822,9 +134539,9 @@ paths: description: Response content: application/json: - schema: *893 + schema: *896 examples: - default: &894 + default: &897 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -133857,15 +134574,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: - - *755 + - *758 responses: '200': description: Response content: application/json: - schema: *893 + schema: *896 examples: - default: *894 + default: *897 '404': *6 '304': *34 '403': *29 @@ -133888,7 +134605,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: - - *755 + - *758 responses: '204': description: Response @@ -133921,7 +134638,7 @@ paths: application/json: schema: type: array - items: &895 + items: &898 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -133978,7 +134695,7 @@ paths: - id - type - login - plan: *249 + plan: *252 required: - billing_cycle - next_billing_date @@ -133989,7 +134706,7 @@ paths: - account - plan examples: - default: &896 + default: &899 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -134051,9 +134768,9 @@ paths: application/json: schema: type: array - items: *895 + items: *898 examples: - default: *896 + default: *899 headers: Link: *44 '304': *34 @@ -134093,7 +134810,7 @@ paths: application/json: schema: type: array - items: *411 + items: *414 examples: default: value: @@ -134207,7 +134924,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *414 examples: default: value: @@ -134294,9 +135011,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *411 + schema: *414 examples: - default: &897 + default: &900 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -134343,9 +135060,9 @@ paths: processed asynchronously. content: application/json: - schema: *411 + schema: *414 examples: - default: *897 + default: *900 '403': *29 '404': *6 '422': *15 @@ -134374,7 +135091,7 @@ paths: application/json: schema: type: array - items: *413 + items: *416 examples: default: value: @@ -134627,7 +135344,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -134807,7 +135524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *414 + - *417 - name: exclude in: query required: false @@ -134820,7 +135537,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -135014,7 +135731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *414 + - *417 responses: '302': description: Response @@ -135040,7 +135757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *414 + - *417 responses: '204': description: Response @@ -135069,8 +135786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *414 - - *898 + - *417 + - *901 responses: '204': description: Response @@ -135094,7 +135811,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *414 + - *417 - *17 - *19 responses: @@ -135104,9 +135821,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 '404': *6 @@ -135143,7 +135860,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: *44 '304': *34 @@ -135185,7 +135902,7 @@ paths: - docker - nuget - container - - *899 + - *902 - *19 - *17 responses: @@ -135195,10 +135912,10 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: *900 - '400': *901 + default: *903 + '400': *904 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -135218,16 +135935,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: - - *421 - - *422 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *419 + schema: *422 examples: - default: &920 + default: &923 value: id: 40201 name: octo-name @@ -135340,8 +136057,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: - - *421 - - *422 + - *424 + - *425 responses: '204': description: Response @@ -135371,8 +136088,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: - - *421 - - *422 + - *424 + - *425 - name: token description: package token schema: @@ -135404,8 +136121,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: - - *421 - - *422 + - *424 + - *425 - *19 - *17 - name: state @@ -135425,7 +136142,7 @@ paths: application/json: schema: type: array - items: *423 + items: *426 examples: default: value: @@ -135474,15 +136191,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: - - *421 - - *422 - *424 + - *425 + - *427 responses: '200': description: Response content: application/json: - schema: *423 + schema: *426 examples: default: value: @@ -135518,9 +136235,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: - - *421 - - *422 - *424 + - *425 + - *427 responses: '204': description: Response @@ -135550,9 +136267,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: - - *421 - - *422 - *424 + - *425 + - *427 responses: '204': description: Response @@ -135589,9 +136306,9 @@ paths: application/json: schema: type: array - items: *889 + items: *892 examples: - default: *902 + default: *905 headers: Link: *44 '304': *34 @@ -135704,7 +136421,7 @@ paths: type: array items: *77 examples: - default: &909 + default: &912 summary: Default response value: - id: 1296269 @@ -136008,9 +136725,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -136048,9 +136765,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: *903 + default: *906 headers: Link: *44 '304': *34 @@ -136073,7 +136790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *399 + - *402 responses: '204': description: Response @@ -136096,7 +136813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *399 + - *402 responses: '204': description: Response @@ -136129,7 +136846,7 @@ paths: application/json: schema: type: array - items: &904 + items: &907 title: Social account description: Social media account type: object @@ -136144,7 +136861,7 @@ paths: - provider - url examples: - default: &905 + default: &908 value: - provider: twitter url: https://twitter.com/github @@ -136206,9 +136923,9 @@ paths: application/json: schema: type: array - items: *904 + items: *907 examples: - default: *905 + default: *908 '422': *15 '304': *34 '404': *6 @@ -136295,7 +137012,7 @@ paths: application/json: schema: type: array - items: &906 + items: &909 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -136315,7 +137032,7 @@ paths: - title - created_at examples: - default: &934 + default: &937 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -136379,9 +137096,9 @@ paths: description: Response content: application/json: - schema: *906 + schema: *909 examples: - default: &907 + default: &910 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -136411,7 +137128,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: - - &908 + - &911 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -136423,9 +137140,9 @@ paths: description: Response content: application/json: - schema: *906 + schema: *909 examples: - default: *907 + default: *910 '404': *6 '304': *34 '403': *29 @@ -136448,7 +137165,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: - - *908 + - *911 responses: '204': description: Response @@ -136477,7 +137194,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: - - &935 + - &938 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 @@ -136502,11 +137219,11 @@ paths: type: array items: *77 examples: - default-response: *909 + default-response: *912 application/vnd.github.v3.star+json: schema: type: array - items: &936 + items: &939 title: Starred Repository description: Starred Repository type: object @@ -136662,8 +137379,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response if this repository is starred by you @@ -136691,8 +137408,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -136716,8 +137433,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -136750,9 +137467,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 '304': *34 @@ -136789,7 +137506,7 @@ paths: application/json: schema: type: array - items: *501 + items: *504 examples: default: value: @@ -136867,7 +137584,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *251 + - *254 responses: '200': description: Response @@ -136875,10 +137592,10 @@ paths: application/json: schema: oneOf: - - *883 - - *882 + - *886 + - *885 examples: - default-response: &913 + default-response: &916 summary: Default response value: login: octocat @@ -136913,7 +137630,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &914 + response-with-git-hub-plan-information: &917 summary: Response with GitHub plan information value: login: octocat @@ -136970,14 +137687,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: - - &911 + - &914 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *437 + - *440 requestBody: required: true description: Details of the draft item to create in the project. @@ -137011,9 +137728,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: - draft_issue: *444 + draft_issue: *447 '304': *34 '403': *29 '401': *25 @@ -137036,7 +137753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *910 + - *913 - *17 responses: '200': @@ -137047,7 +137764,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: example: ; rel="next" @@ -137071,8 +137788,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: - - *911 - - *437 + - *914 + - *440 requestBody: required: true content: @@ -137184,17 +137901,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *912 + schema: *915 examples: table_view: summary: Response for creating a table view - value: *448 + value: *451 board_view: summary: Response for creating a board view with filter - value: *448 + value: *451 roadmap_view: summary: Response for creating a roadmap view - value: *448 + value: *451 '304': *34 '403': *29 '401': *25 @@ -137240,11 +137957,11 @@ paths: application/json: schema: oneOf: - - *883 - - *882 + - *886 + - *885 examples: - default-response: *913 - response-with-git-hub-plan-information: *914 + default-response: *916 + response-with-git-hub-plan-information: *917 '404': *6 x-github: githubCloudOnly: false @@ -137294,8 +138011,8 @@ paths: required: - subject_digests examples: - default: *915 - withPredicateType: *916 + default: *918 + withPredicateType: *919 responses: '200': description: Response @@ -137348,7 +138065,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *917 + default: *920 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -137553,12 +138270,12 @@ paths: initiator: type: string examples: - default: *555 + default: *558 '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -137620,7 +138337,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *342 + items: *345 examples: default: summary: Example response for listing user copilot spaces @@ -137832,9 +138549,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: &918 + default: &921 summary: Example response for a user copilot space value: id: 42 @@ -137933,9 +138650,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *918 + default: *921 '403': *29 '404': *6 x-github: @@ -138056,9 +138773,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *918 + default: *921 '403': *29 '404': *6 '422': *15 @@ -138135,7 +138852,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *344 + items: *347 examples: default: value: @@ -138278,7 +138995,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: default: value: @@ -138389,7 +139106,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: default: value: @@ -138519,7 +139236,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *345 + items: *348 examples: default: value: @@ -138611,7 +139328,7 @@ paths: description: Resource created content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -138627,7 +139344,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -138680,7 +139397,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -138747,7 +139464,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -138824,9 +139541,9 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: *900 + default: *903 '403': *29 '401': *25 x-github: @@ -138859,7 +139576,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -138932,7 +139649,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -139019,7 +139736,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -139092,7 +139809,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -139126,7 +139843,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -139173,7 +139890,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *131 - - *238 + - *241 - *17 - *19 responses: @@ -139183,9 +139900,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '422': *15 @@ -139216,9 +139933,9 @@ paths: application/json: schema: type: array - items: *890 + items: *893 examples: - default: *919 + default: *922 headers: Link: *44 x-github: @@ -139322,7 +140039,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -139407,7 +140124,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: *44 x-github: @@ -139446,7 +140163,7 @@ paths: - docker - nuget - container - - *899 + - *902 - *131 - *19 - *17 @@ -139457,12 +140174,12 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: *900 + default: *903 '403': *29 '401': *25 - '400': *901 + '400': *904 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -139482,17 +140199,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *421 - - *422 + - *424 + - *425 - *131 responses: '200': description: Response content: application/json: - schema: *419 + schema: *422 examples: - default: *920 + default: *923 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -139513,8 +140230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *421 - - *422 + - *424 + - *425 - *131 responses: '204': @@ -139547,8 +140264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *421 - - *422 + - *424 + - *425 - *131 - name: token description: package token @@ -139581,8 +140298,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: - - *421 - - *422 + - *424 + - *425 - *131 responses: '200': @@ -139591,7 +140308,7 @@ paths: application/json: schema: type: array - items: *423 + items: *426 examples: default: value: @@ -139649,16 +140366,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: - - *421 - - *422 - *424 + - *425 + - *427 - *131 responses: '200': description: Response content: application/json: - schema: *423 + schema: *426 examples: default: value: @@ -139693,10 +140410,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *421 - - *422 - - *131 - *424 + - *425 + - *131 + - *427 responses: '204': description: Response @@ -139728,10 +140445,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *421 - - *422 - - *131 - *424 + - *425 + - *131 + - *427 responses: '204': description: Response @@ -139772,9 +140489,9 @@ paths: application/json: schema: type: array - items: *435 + items: *438 examples: - default: *436 + default: *439 headers: Link: *44 '304': *34 @@ -139796,16 +140513,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *437 + - *440 - *131 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: *436 + default: *439 headers: Link: *44 '304': *34 @@ -139827,7 +140544,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *437 + - *440 - *131 - *17 - *107 @@ -139839,9 +140556,9 @@ paths: application/json: schema: type: array - items: *441 + items: *444 examples: - default: *921 + default: *924 headers: Link: *44 '304': *34 @@ -139863,7 +140580,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *131 - - *437 + - *440 requestBody: required: true content: @@ -139901,7 +140618,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *922 + items: *925 required: - name - data_type @@ -139917,7 +140634,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *923 + iteration_configuration: *926 required: - name - data_type @@ -139939,20 +140656,20 @@ paths: value: name: Due date data_type: date - single_select_field: *924 - iteration_field: *925 + single_select_field: *927 + iteration_field: *928 responses: '201': description: Response content: application/json: - schema: *441 + schema: *444 examples: - text_field: *926 - number_field: *927 - date_field: *928 - single_select_field: *929 - iteration_field: *930 + text_field: *929 + number_field: *930 + date_field: *931 + single_select_field: *932 + iteration_field: *933 '304': *34 '403': *29 '401': *25 @@ -139973,17 +140690,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *437 - - *931 + - *440 + - *934 - *131 responses: '200': description: Response content: application/json: - schema: *441 + schema: *444 examples: - default: *932 + default: *935 headers: Link: *44 '304': *34 @@ -140006,7 +140723,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: - - *437 + - *440 - *131 - *107 - *108 @@ -140039,9 +140756,9 @@ paths: application/json: schema: type: array - items: *445 + items: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -140063,7 +140780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *131 - - *437 + - *440 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -140133,22 +140850,22 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *447 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *447 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *447 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 + value: *447 '304': *34 '403': *29 '401': *25 @@ -140168,9 +140885,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: - - *437 + - *440 - *131 - - *447 + - *450 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -140190,9 +140907,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -140213,9 +140930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *437 + - *440 - *131 - - *447 + - *450 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -140285,13 +141002,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *449 + number_field: *449 + date_field: *449 + single_select_field: *449 + iteration_field: *449 '401': *25 '403': *29 '404': *6 @@ -140311,9 +141028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *437 + - *440 - *131 - - *447 + - *450 responses: '204': description: Response @@ -140335,9 +141052,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: - - *437 + - *440 - *131 - - *933 + - *936 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -140363,9 +141080,9 @@ paths: application/json: schema: type: array - items: *445 + items: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -140403,7 +141120,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -140478,7 +141195,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -140584,9 +141301,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 x-github: @@ -140616,9 +141333,9 @@ paths: application/json: schema: type: array - items: *904 + items: *907 examples: - default: *905 + default: *908 headers: Link: *44 x-github: @@ -140648,9 +141365,9 @@ paths: application/json: schema: type: array - items: *906 + items: *909 examples: - default: *934 + default: *937 headers: Link: *44 x-github: @@ -140677,7 +141394,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *131 - - *935 + - *938 - *109 - *17 - *19 @@ -140689,11 +141406,11 @@ paths: schema: anyOf: - type: array - items: *936 + items: *939 - type: array items: *77 examples: - default-response: *909 + default-response: *912 headers: Link: *44 x-github: @@ -140722,9 +141439,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *425 + default: *428 headers: Link: *44 x-github: @@ -140852,7 +141569,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &937 + enterprise: &940 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -140910,7 +141627,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &938 + installation: &941 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -140929,7 +141646,7 @@ x-webhooks: required: - id - node_id - organization: &939 + organization: &942 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -140989,13 +141706,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &940 + repository: &943 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &979 + properties: &982 id: description: Unique identifier of the repository example: 42 @@ -141015,8 +141732,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true organization: title: Simple User @@ -141690,7 +142407,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &980 + required: &983 - archive_url - assignees_url - blobs_url @@ -141841,10 +142558,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -141920,11 +142637,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - rule: &941 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + rule: &944 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) @@ -142147,11 +142864,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - rule: *941 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + rule: *944 sender: *4 required: - action @@ -142334,11 +143051,11 @@ x-webhooks: - everyone required: - from - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - rule: *941 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + rule: *944 sender: *4 required: - action @@ -142411,7 +143128,7 @@ x-webhooks: required: true content: application/json: - schema: &963 + schema: &966 title: Exemption request cancellation event type: object properties: @@ -142419,11 +143136,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: &942 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: &945 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -142727,7 +143444,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &943 + items: &946 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -142837,7 +143554,7 @@ x-webhooks: required: true content: application/json: - schema: &964 + schema: &967 title: Exemption request completed event type: object properties: @@ -142845,11 +143562,11 @@ x-webhooks: type: string enum: - completed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: *942 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: *945 sender: *4 required: - action @@ -142921,7 +143638,7 @@ x-webhooks: required: true content: application/json: - schema: &961 + schema: &964 title: Exemption request created event type: object properties: @@ -142929,11 +143646,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: *942 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: *945 sender: *4 required: - action @@ -143005,7 +143722,7 @@ x-webhooks: required: true content: application/json: - schema: &965 + schema: &968 title: Exemption response dismissed event type: object properties: @@ -143013,12 +143730,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: *942 - exemption_response: *943 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: *945 + exemption_response: *946 sender: *4 required: - action @@ -143092,7 +143809,7 @@ x-webhooks: required: true content: application/json: - schema: &962 + schema: &965 title: Exemption response submitted event type: object properties: @@ -143100,12 +143817,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: *942 - exemption_response: *943 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: *945 + exemption_response: *946 sender: *4 required: - action @@ -143189,7 +143906,7 @@ x-webhooks: type: string enum: - completed - check_run: &945 + check_run: &948 title: CheckRun description: A check performed on the code of a given code change type: object @@ -143242,8 +143959,8 @@ x-webhooks: type: string pull_requests: type: array - items: *236 - repository: *292 + items: *239 + repository: *295 status: example: completed type: string @@ -143280,7 +143997,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *944 + deployment: *947 details_url: example: https://example.com type: string @@ -143330,7 +144047,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *236 + items: *239 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -143365,10 +144082,10 @@ x-webhooks: - output - app - pull_requests - installation: *938 - enterprise: *937 - organization: *939 - repository: *940 + installation: *941 + enterprise: *940 + organization: *942 + repository: *943 sender: *4 required: - check_run @@ -143759,11 +144476,11 @@ x-webhooks: type: string enum: - created - check_run: *945 - installation: *938 - enterprise: *937 - organization: *939 - repository: *940 + check_run: *948 + installation: *941 + enterprise: *940 + organization: *942 + repository: *943 sender: *4 required: - check_run @@ -144157,11 +144874,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *945 - installation: *938 - enterprise: *937 - organization: *939 - repository: *940 + check_run: *948 + installation: *941 + enterprise: *940 + organization: *942 + repository: *943 requested_action: description: The action requested by the user. type: object @@ -144564,11 +145281,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *945 - installation: *938 - enterprise: *937 - organization: *939 - repository: *940 + check_run: *948 + installation: *941 + enterprise: *940 + organization: *942 + repository: *943 sender: *4 required: - check_run @@ -145538,10 +146255,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -146240,10 +146957,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -146936,10 +147653,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -147105,7 +147822,7 @@ x-webhooks: required: - login - id - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -147251,20 +147968,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &946 + commit_oid: &949 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: *937 - installation: *938 - organization: *939 - ref: &947 + enterprise: *940 + installation: *941 + organization: *942 + ref: &950 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: *940 + repository: *943 sender: *4 required: - action @@ -147429,7 +148146,7 @@ x-webhooks: required: - login - id - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -147660,12 +148377,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *946 - enterprise: *937 - installation: *938 - organization: *939 - ref: *947 - repository: *940 + commit_oid: *949 + enterprise: *940 + installation: *941 + organization: *942 + ref: *950 + repository: *943 sender: *4 required: - action @@ -147760,7 +148477,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -147931,12 +148648,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *946 - enterprise: *937 - installation: *938 - organization: *939 - ref: *947 - repository: *940 + commit_oid: *949 + enterprise: *940 + installation: *941 + organization: *942 + ref: *950 + repository: *943 sender: *4 required: - action @@ -148102,7 +148819,7 @@ x-webhooks: required: - login - id - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -148269,12 +148986,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *946 - enterprise: *937 - installation: *938 - organization: *939 - ref: *947 - repository: *940 + commit_oid: *949 + enterprise: *940 + installation: *941 + organization: *942 + ref: *950 + repository: *943 sender: *4 required: - action @@ -148373,7 +149090,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -148548,16 +149265,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *940 + repository: *943 sender: *4 required: - action @@ -148654,7 +149371,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -148794,12 +149511,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *946 - enterprise: *937 - installation: *938 - organization: *939 - ref: *947 - repository: *940 + commit_oid: *949 + enterprise: *940 + installation: *941 + organization: *942 + ref: *950 + repository: *943 sender: *4 required: - action @@ -148965,7 +149682,7 @@ x-webhooks: required: - login - id - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -149111,10 +149828,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -149369,10 +150086,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -149452,18 +150169,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *939 - pusher_type: &948 + organization: *942 + pusher_type: &951 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &949 + ref: &952 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -149473,7 +150190,7 @@ x-webhooks: enum: - tag - branch - repository: *940 + repository: *943 sender: *4 required: - ref @@ -149555,10 +150272,10 @@ x-webhooks: type: string enum: - created - definition: *162 - enterprise: *937 - installation: *938 - organization: *939 + definition: *165 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -149643,9 +150360,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -149722,10 +150439,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *162 - enterprise: *937 - installation: *938 - organization: *939 + definition: *165 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -149802,10 +150519,10 @@ x-webhooks: type: string enum: - updated - definition: *162 - enterprise: *937 - installation: *938 - organization: *939 + definition: *165 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -149882,19 +150599,19 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - repository: *940 - organization: *939 + enterprise: *940 + installation: *941 + repository: *943 + organization: *942 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *161 + items: *164 old_property_values: type: array description: The old custom property values for the repository. - items: *161 + items: *164 required: - action - repository @@ -149970,18 +150687,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 - pusher_type: *948 - ref: *949 + enterprise: *940 + installation: *941 + organization: *942 + pusher_type: *951 + ref: *952 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *940 + repository: *943 sender: *4 required: - ref @@ -150061,11 +150778,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150145,11 +150862,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150230,11 +150947,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150315,11 +151032,11 @@ x-webhooks: type: string enum: - created - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150398,11 +151115,11 @@ x-webhooks: type: string enum: - dismissed - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150481,11 +151198,11 @@ x-webhooks: type: string enum: - fixed - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150565,11 +151282,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150648,11 +151365,11 @@ x-webhooks: type: string enum: - reopened - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150729,9 +151446,9 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - key: &950 + enterprise: *940 + installation: *941 + key: &953 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -150767,8 +151484,8 @@ x-webhooks: - verified - created_at - read_only - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -150845,11 +151562,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - key: *950 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + key: *953 + organization: *942 + repository: *943 sender: *4 required: - action @@ -151405,12 +152122,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: &956 + workflow: &959 title: Workflow type: object nullable: true @@ -152151,15 +152868,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *951 - required: *952 + properties: *954 + required: *955 nullable: true pull_requests: type: array - items: *777 - repository: *940 - organization: *939 - installation: *938 + items: *780 + repository: *943 + organization: *942 + installation: *941 sender: *4 responses: '200': @@ -152230,7 +152947,7 @@ x-webhooks: type: string enum: - approved - approver: &953 + approver: &956 type: object properties: avatar_url: @@ -152273,11 +152990,11 @@ x-webhooks: type: string comment: type: string - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - reviewers: &954 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + reviewers: &957 type: array items: type: object @@ -152356,7 +153073,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &955 + workflow_job_run: &958 type: object properties: conclusion: @@ -153087,18 +153804,18 @@ x-webhooks: type: string enum: - rejected - approver: *953 + approver: *956 comment: type: string - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - reviewers: *954 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + reviewers: *957 sender: *4 since: type: string - workflow_job_run: *955 + workflow_job_run: *958 workflow_job_runs: type: array items: @@ -153802,13 +154519,13 @@ x-webhooks: type: string enum: - requested - enterprise: *937 + enterprise: *940 environment: type: string - installation: *938 - organization: *939 - repository: *940 - requestor: &966 + installation: *941 + organization: *942 + repository: *943 + requestor: &969 title: User type: object nullable: true @@ -155697,12 +156414,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: *956 + workflow: *959 workflow_run: title: Deployment Workflow Run type: object @@ -156382,7 +157099,7 @@ x-webhooks: type: string enum: - answered - answer: &959 + answer: &962 type: object properties: author_association: @@ -156539,11 +157256,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156670,11 +157387,11 @@ x-webhooks: - from required: - category - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156757,11 +157474,11 @@ x-webhooks: type: string enum: - closed - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156843,7 +157560,7 @@ x-webhooks: type: string enum: - created - comment: &958 + comment: &961 type: object properties: author_association: @@ -157000,11 +157717,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157087,12 +157804,12 @@ x-webhooks: type: string enum: - deleted - comment: *958 - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + comment: *961 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157187,12 +157904,12 @@ x-webhooks: - from required: - body - comment: *958 - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + comment: *961 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157276,11 +157993,11 @@ x-webhooks: type: string enum: - created - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157362,11 +158079,11 @@ x-webhooks: type: string enum: - deleted - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157466,11 +158183,11 @@ x-webhooks: type: string required: - from - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157552,10 +158269,10 @@ x-webhooks: type: string enum: - labeled - discussion: *957 - enterprise: *937 - installation: *938 - label: &960 + discussion: *960 + enterprise: *940 + installation: *941 + label: &963 title: Label type: object properties: @@ -157601,8 +158318,8 @@ x-webhooks: - description - archived_at - archived_by - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157685,11 +158402,11 @@ x-webhooks: type: string enum: - locked - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157771,11 +158488,11 @@ x-webhooks: type: string enum: - pinned - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157857,11 +158574,11 @@ x-webhooks: type: string enum: - reopened - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157946,16 +158663,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *957 - new_repository: *940 + new_discussion: *960 + new_repository: *943 required: - new_discussion - new_repository - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -158038,10 +158755,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *957 - old_answer: *959 - organization: *939 - repository: *940 + discussion: *960 + old_answer: *962 + organization: *942 + repository: *943 sender: *4 required: - action @@ -158123,12 +158840,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *957 - enterprise: *937 - installation: *938 - label: *960 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -158211,11 +158928,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -158297,11 +159014,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -158370,7 +159087,7 @@ x-webhooks: required: true content: application/json: - schema: *961 + schema: *964 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158433,7 +159150,7 @@ x-webhooks: required: true content: application/json: - schema: *962 + schema: *965 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158496,7 +159213,7 @@ x-webhooks: required: true content: application/json: - schema: *963 + schema: *966 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158559,7 +159276,7 @@ x-webhooks: required: true content: application/json: - schema: *961 + schema: *964 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158622,7 +159339,7 @@ x-webhooks: required: true content: application/json: - schema: *962 + schema: *965 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158688,7 +159405,7 @@ x-webhooks: required: true content: application/json: - schema: *963 + schema: *966 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158754,7 +159471,7 @@ x-webhooks: required: true content: application/json: - schema: *964 + schema: *967 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158820,7 +159537,7 @@ x-webhooks: required: true content: application/json: - schema: *961 + schema: *964 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158886,7 +159603,7 @@ x-webhooks: required: true content: application/json: - schema: *965 + schema: *968 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158952,7 +159669,7 @@ x-webhooks: required: true content: application/json: - schema: *962 + schema: *965 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159017,7 +159734,7 @@ x-webhooks: required: true content: application/json: - schema: *963 + schema: *966 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159082,7 +159799,7 @@ x-webhooks: required: true content: application/json: - schema: *964 + schema: *967 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159147,7 +159864,7 @@ x-webhooks: required: true content: application/json: - schema: *961 + schema: *964 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159212,7 +159929,7 @@ x-webhooks: required: true content: application/json: - schema: *965 + schema: *968 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159278,7 +159995,7 @@ x-webhooks: required: true content: application/json: - schema: *962 + schema: *965 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159345,7 +160062,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *937 + enterprise: *940 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -160005,9 +160722,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *938 - organization: *939 - repository: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - forkee @@ -160153,9 +160870,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pages: description: The pages that were updated. type: array @@ -160192,7 +160909,7 @@ x-webhooks: - action - sha - html_url - repository: *940 + repository: *943 sender: *4 required: - pages @@ -160268,10 +160985,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: &967 + organization: *942 + repositories: &970 description: An array of repository objects that the installation can access. type: array @@ -160297,8 +161014,8 @@ x-webhooks: - name - full_name - private - repository: *940 - requester: *966 + repository: *943 + requester: *969 sender: *4 required: - action @@ -160373,11 +161090,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: *967 - repository: *940 + organization: *942 + repositories: *970 + repository: *943 requester: nullable: true sender: *4 @@ -160453,11 +161170,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: *967 - repository: *940 + organization: *942 + repositories: *970 + repository: *943 requester: nullable: true sender: *4 @@ -160533,10 +161250,10 @@ x-webhooks: type: string enum: - added - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories_added: &968 + organization: *942 + repositories_added: &971 description: An array of repository objects, which were added to the installation. type: array @@ -160583,15 +161300,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *940 - repository_selection: &969 + repository: *943 + repository_selection: &972 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *966 + requester: *969 sender: *4 required: - action @@ -160670,10 +161387,10 @@ x-webhooks: type: string enum: - removed - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories_added: *968 + organization: *942 + repositories_added: *971 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -160701,9 +161418,9 @@ x-webhooks: - name - full_name - private - repository: *940 - repository_selection: *969 - requester: *966 + repository: *943 + repository_selection: *972 + requester: *969 sender: *4 required: - action @@ -160782,11 +161499,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: *967 - repository: *940 + organization: *942 + repositories: *970 + repository: *943 requester: nullable: true sender: *4 @@ -160965,10 +161682,10 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 target_type: type: string @@ -161047,11 +161764,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: *967 - repository: *940 + organization: *942 + repositories: *970 + repository: *943 requester: nullable: true sender: *4 @@ -161175,8 +161892,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 reactions: title: Reactions type: object @@ -161225,15 +161942,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *738 - required: *739 + properties: *741 + required: *742 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *740 - required: *741 + properties: *743 + required: *744 nullable: true user: title: User @@ -161318,8 +162035,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -162108,8 +162825,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162125,7 +162842,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -162458,8 +163175,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -162539,7 +163256,7 @@ x-webhooks: type: string enum: - deleted - comment: &970 + comment: &973 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -162696,15 +163413,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *738 - required: *739 + properties: *741 + required: *742 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *740 - required: *741 + properties: *743 + required: *744 nullable: true required: - url @@ -162719,8 +163436,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -163505,8 +164222,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163522,7 +164239,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -163857,8 +164574,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -163938,7 +164655,7 @@ x-webhooks: type: string enum: - edited - changes: &999 + changes: &1002 description: The changes to the comment. type: object properties: @@ -163950,9 +164667,9 @@ x-webhooks: type: string required: - from - comment: *970 - enterprise: *937 - installation: *938 + comment: *973 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -164740,8 +165457,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164757,7 +165474,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -165090,8 +165807,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -165172,9 +165889,9 @@ x-webhooks: type: string enum: - pinned - comment: *970 - enterprise: *937 - installation: *938 + comment: *973 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -165964,8 +166681,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165981,7 +166698,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -166316,8 +167033,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -166397,9 +167114,9 @@ x-webhooks: type: string enum: - unpinned - comment: *970 - enterprise: *937 - installation: *938 + comment: *973 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167189,8 +167906,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167206,7 +167923,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -167541,8 +168258,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167625,15 +168342,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *234 blocking_issue_repo: *77 - installation: *938 - organization: *939 - repository: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167716,15 +168433,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *234 blocking_issue_repo: *77 - installation: *938 - organization: *939 - repository: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167806,15 +168523,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocked_issue_repo: *77 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *938 - organization: *939 - repository: *940 + blocking_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167897,15 +168614,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocked_issue_repo: *77 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *938 - organization: *939 - repository: *940 + blocking_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167985,10 +168702,10 @@ x-webhooks: type: string enum: - assigned - assignee: *966 - enterprise: *937 - installation: *938 - issue: &971 + assignee: *969 + enterprise: *940 + installation: *941 + issue: &974 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -168777,14 +169494,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168800,7 +169517,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -168901,8 +169618,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -168982,8 +169699,8 @@ x-webhooks: type: string enum: - closed - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -169777,14 +170494,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169800,7 +170517,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -170036,8 +170753,8 @@ x-webhooks: required: - state - closed_at - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -170116,8 +170833,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170902,14 +171619,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170925,7 +171642,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -171025,8 +171742,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -171105,8 +171822,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171913,14 +172630,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171936,7 +172653,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -172015,7 +172732,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &972 + milestone: &975 title: Milestone description: A collection of related issues and pull requests. type: object @@ -172153,8 +172870,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -172253,8 +172970,8 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173043,14 +173760,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173063,7 +173780,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *406 title: description: Title of the issue type: string @@ -173167,9 +173884,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *960 - organization: *939 - repository: *940 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -173249,9 +173966,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *937 - installation: *938 - issue: *971 + enterprise: *940 + installation: *941 + issue: *974 issue_field: type: object description: The issue field whose value was set or updated on the @@ -173405,8 +174122,8 @@ x-webhooks: - id required: - from - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -173486,9 +174203,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *937 - installation: *938 - issue: *971 + enterprise: *940 + installation: *941 + issue: *974 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -173569,8 +174286,8 @@ x-webhooks: nullable: true required: - id - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -173650,8 +174367,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174453,14 +175170,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174473,7 +175190,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *406 title: description: Title of the issue type: string @@ -174577,9 +175294,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *960 - organization: *939 - repository: *940 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -174659,8 +175376,8 @@ x-webhooks: type: string enum: - locked - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175472,14 +176189,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175492,7 +176209,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *406 title: description: Title of the issue type: string @@ -175573,8 +176290,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -175653,8 +176370,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176460,14 +177177,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176483,7 +177200,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -176561,9 +177278,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *972 - organization: *939 - repository: *940 + milestone: *975 + organization: *942 + repository: *943 sender: *4 required: - action @@ -177426,11 +178143,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177458,8 +178175,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true user: title: User @@ -177531,7 +178248,7 @@ x-webhooks: required: - login - id - type: *403 + type: *406 required: - id - number @@ -178011,8 +178728,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178796,11 +179513,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178816,7 +179533,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -178829,8 +179546,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true user: title: User @@ -178924,8 +179641,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -179005,9 +179722,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *937 - installation: *938 - issue: &973 + enterprise: *940 + installation: *941 + issue: &976 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -179790,14 +180507,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179813,7 +180530,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -179913,8 +180630,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -179993,8 +180710,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -180804,14 +181521,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180905,9 +181622,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *403 - organization: *939 - repository: *940 + type: *406 + organization: *942 + repository: *943 sender: *4 required: - action @@ -181773,14 +182490,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -181796,7 +182513,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -182375,11 +183092,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *937 - installation: *938 - issue: *973 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *976 + organization: *942 + repository: *943 sender: *4 required: - action @@ -182459,12 +183176,12 @@ x-webhooks: type: string enum: - typed - enterprise: *937 - installation: *938 - issue: *971 - type: *403 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *974 + type: *406 + organization: *942 + repository: *943 sender: *4 required: - action @@ -182545,7 +183262,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &1002 + assignee: &1005 title: User type: object nullable: true @@ -182615,11 +183332,11 @@ x-webhooks: required: - login - id - enterprise: *937 - installation: *938 - issue: *971 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *974 + organization: *942 + repository: *943 sender: *4 required: - action @@ -182698,12 +183415,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *937 - installation: *938 - issue: *971 - label: *960 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *974 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -182783,8 +183500,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -183594,14 +184311,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -183617,7 +184334,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -183695,8 +184412,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183776,11 +184493,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *937 - installation: *938 - issue: *973 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *976 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183859,12 +184576,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *937 - installation: *938 - issue: *971 - type: *403 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *974 + type: *406 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183944,12 +184661,12 @@ x-webhooks: type: string enum: - archived - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 label: title: Archived label allOf: - - *960 + - *963 - type: object properties: archived_at: @@ -183963,8 +184680,8 @@ x-webhooks: required: - archived_at - archived_by - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -184043,11 +184760,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - label: *960 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -184125,11 +184842,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - label: *960 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -184239,11 +184956,11 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - label: *960 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -184322,12 +185039,12 @@ x-webhooks: type: string enum: - unarchived - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 label: title: Unarchived label allOf: - - *960 + - *963 - type: object properties: archived_at: @@ -184345,8 +185062,8 @@ x-webhooks: required: - archived_at - archived_by - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -184428,9 +185145,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *937 - installation: *938 - marketplace_purchase: &974 + enterprise: *940 + installation: *941 + marketplace_purchase: &977 title: Marketplace Purchase type: object required: @@ -184513,8 +185230,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *939 - previous_marketplace_purchase: &975 + organization: *942 + previous_marketplace_purchase: &978 title: Marketplace Purchase type: object properties: @@ -184594,7 +185311,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *940 + repository: *943 sender: *4 required: - action @@ -184674,10 +185391,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *937 - installation: *938 - marketplace_purchase: *974 - organization: *939 + enterprise: *940 + installation: *941 + marketplace_purchase: *977 + organization: *942 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -184760,7 +185477,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *940 + repository: *943 sender: *4 required: - action @@ -184842,10 +185559,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *937 - installation: *938 - marketplace_purchase: *974 - organization: *939 + enterprise: *940 + installation: *941 + marketplace_purchase: *977 + organization: *942 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -184927,7 +185644,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *940 + repository: *943 sender: *4 required: - action @@ -185008,8 +185725,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 marketplace_purchase: title: Marketplace Purchase type: object @@ -185091,9 +185808,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *939 - previous_marketplace_purchase: *975 - repository: *940 + organization: *942 + previous_marketplace_purchase: *978 + repository: *943 sender: *4 required: - action @@ -185173,12 +185890,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *937 - installation: *938 - marketplace_purchase: *974 - organization: *939 - previous_marketplace_purchase: *975 - repository: *940 + enterprise: *940 + installation: *941 + marketplace_purchase: *977 + organization: *942 + previous_marketplace_purchase: *978 + repository: *943 sender: *4 required: - action @@ -185280,11 +185997,11 @@ x-webhooks: type: string required: - to - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 sender: *4 required: - action @@ -185384,11 +186101,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 sender: *4 required: - action @@ -185467,11 +186184,11 @@ x-webhooks: type: string enum: - removed - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 sender: *4 required: - action @@ -185549,11 +186266,11 @@ x-webhooks: type: string enum: - added - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 scope: description: The scope of the membership. Currently, can only be `team`. @@ -185629,7 +186346,7 @@ x-webhooks: required: - login - id - team: &976 + team: &979 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -185852,11 +186569,11 @@ x-webhooks: type: string enum: - removed - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 scope: description: The scope of the membership. Currently, can only be `team`. @@ -185933,7 +186650,7 @@ x-webhooks: required: - login - id - team: *976 + team: *979 required: - action - scope @@ -186015,8 +186732,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *938 - merge_group: &978 + installation: *941 + merge_group: &981 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -186035,15 +186752,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *977 + head_commit: *980 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186129,10 +186846,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *938 - merge_group: *978 - organization: *939 - repository: *940 + installation: *941 + merge_group: *981 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186205,7 +186922,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 + enterprise: *940 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -186314,16 +187031,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *938 - organization: *939 + installation: *941 + organization: *942 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *979 - required: *980 + properties: *982 + required: *983 nullable: true sender: *4 required: @@ -186404,11 +187121,11 @@ x-webhooks: type: string enum: - closed - enterprise: *937 - installation: *938 - milestone: *972 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *975 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186487,9 +187204,9 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - milestone: &981 + enterprise: *940 + installation: *941 + milestone: &984 title: Milestone description: A collection of related issues and pull requests. type: object @@ -186626,8 +187343,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186706,11 +187423,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - milestone: *972 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *975 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186820,11 +187537,11 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - milestone: *972 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *975 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186904,11 +187621,11 @@ x-webhooks: type: string enum: - opened - enterprise: *937 - installation: *938 - milestone: *981 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *984 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186987,11 +187704,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *966 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + blocked_user: *969 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -187070,11 +187787,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *966 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + blocked_user: *969 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -187149,8 +187866,8 @@ x-webhooks: type: string enum: - created - definition: *157 - enterprise: *937 + definition: *160 + enterprise: *940 sender: *4 required: - action @@ -187230,8 +187947,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 sender: *4 required: - action @@ -187303,9 +188020,9 @@ x-webhooks: type: string enum: - updated - definition: *157 - enterprise: *937 - installation: *938 + definition: *160 + enterprise: *940 + installation: *941 sender: *4 required: - action @@ -187377,18 +188094,18 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 new_property_values: type: array description: The new custom property values. - items: *161 + items: *164 old_property_values: type: array description: The old custom property values. - items: *161 + items: *164 required: - action - organization @@ -187467,9 +188184,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - membership: &982 + enterprise: *940 + installation: *941 + membership: &985 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -187576,8 +188293,8 @@ x-webhooks: - role - organization_url - user - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -187655,11 +188372,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *937 - installation: *938 - membership: *982 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + membership: *985 + organization: *942 + repository: *943 sender: *4 required: - action @@ -187738,8 +188455,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -187855,10 +188572,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 - user: *966 + user: *969 required: - action - invitation @@ -187936,11 +188653,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *937 - installation: *938 - membership: *982 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + membership: *985 + organization: *942 + repository: *943 sender: *4 required: - action @@ -188027,11 +188744,11 @@ x-webhooks: properties: from: type: string - enterprise: *937 - installation: *938 - membership: *982 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + membership: *985 + organization: *942 + repository: *943 sender: *4 required: - action @@ -188109,9 +188826,9 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 package: description: Information about the package. type: object @@ -188610,7 +189327,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &983 + items: &986 title: Ruby Gems metadata type: object properties: @@ -188705,7 +189422,7 @@ x-webhooks: - owner - package_version - registry - repository: *940 + repository: *943 sender: *4 required: - action @@ -188782,9 +189499,9 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 package: description: Information about the package. type: object @@ -189137,7 +189854,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *983 + items: *986 source_url: type: string format: uri @@ -189207,7 +189924,7 @@ x-webhooks: - owner - package_version - registry - repository: *940 + repository: *943 sender: *4 required: - action @@ -189383,12 +190100,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *937 + enterprise: *940 id: type: integer - installation: *938 - organization: *939 - repository: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - id @@ -189465,7 +190182,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &984 + personal_access_token_request: &987 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -189611,10 +190328,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *937 - organization: *939 + enterprise: *940 + organization: *942 sender: *4 - installation: *938 + installation: *941 required: - action - personal_access_token_request @@ -189691,11 +190408,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *984 - enterprise: *937 - organization: *939 + personal_access_token_request: *987 + enterprise: *940 + organization: *942 sender: *4 - installation: *938 + installation: *941 required: - action - personal_access_token_request @@ -189771,11 +190488,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *984 - enterprise: *937 - organization: *939 + personal_access_token_request: *987 + enterprise: *940 + organization: *942 sender: *4 - installation: *938 + installation: *941 required: - action - personal_access_token_request @@ -189850,11 +190567,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *984 - organization: *939 - enterprise: *937 + personal_access_token_request: *987 + organization: *942 + enterprise: *940 sender: *4 - installation: *938 + installation: *941 required: - action - personal_access_token_request @@ -189959,7 +190676,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *985 + last_response: *988 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -189991,8 +190708,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 zen: description: Random string of GitHub zen. @@ -190237,10 +190954,10 @@ x-webhooks: - from required: - note - enterprise: *937 - installation: *938 - organization: *939 - project_card: &986 + enterprise: *940 + installation: *941 + organization: *942 + project_card: &989 title: Project Card type: object properties: @@ -190359,7 +191076,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *940 + repository: *943 sender: *4 required: - action @@ -190440,11 +191157,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - project_card: *986 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project_card: *989 + repository: *943 sender: *4 required: - action @@ -190524,9 +191241,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 project_card: title: Project Card type: object @@ -190654,8 +191371,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *979 - required: *980 + properties: *982 + required: *983 nullable: true sender: *4 required: @@ -190749,11 +191466,11 @@ x-webhooks: - from required: - note - enterprise: *937 - installation: *938 - organization: *939 - project_card: *986 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project_card: *989 + repository: *943 sender: *4 required: - action @@ -190847,9 +191564,9 @@ x-webhooks: - from required: - column_id - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 project_card: allOf: - title: Project Card @@ -191039,7 +191756,7 @@ x-webhooks: type: string required: - after_id - repository: *940 + repository: *943 sender: *4 required: - action @@ -191119,10 +191836,10 @@ x-webhooks: type: string enum: - closed - enterprise: *937 - installation: *938 - organization: *939 - project: &988 + enterprise: *940 + installation: *941 + organization: *942 + project: &991 title: Project type: object properties: @@ -191246,7 +191963,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *940 + repository: *943 sender: *4 required: - action @@ -191326,10 +192043,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - project_column: &987 + enterprise: *940 + installation: *941 + organization: *942 + project_column: &990 title: Project Column type: object properties: @@ -191368,7 +192085,7 @@ x-webhooks: - name - created_at - updated_at - repository: *940 + repository: *943 sender: *4 required: - action @@ -191447,18 +192164,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - project_column: *987 + enterprise: *940 + installation: *941 + organization: *942 + project_column: *990 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *979 - required: *980 + properties: *982 + required: *983 nullable: true sender: *4 required: @@ -191548,11 +192265,11 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 - project_column: *987 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project_column: *990 + repository: *943 sender: *4 required: - action @@ -191632,11 +192349,11 @@ x-webhooks: type: string enum: - moved - enterprise: *937 - installation: *938 - organization: *939 - project_column: *987 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project_column: *990 + repository: *943 sender: *4 required: - action @@ -191716,11 +192433,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - project: *988 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project: *991 + repository: *943 sender: *4 required: - action @@ -191800,18 +192517,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - project: *988 + enterprise: *940 + installation: *941 + organization: *942 + project: *991 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *979 - required: *980 + properties: *982 + required: *983 nullable: true sender: *4 required: @@ -191913,11 +192630,11 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 - project: *988 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project: *991 + repository: *943 sender: *4 required: - action @@ -191996,11 +192713,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *937 - installation: *938 - organization: *939 - project: *988 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project: *991 + repository: *943 sender: *4 required: - action @@ -192081,9 +192798,9 @@ x-webhooks: type: string enum: - closed - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -192164,9 +192881,9 @@ x-webhooks: type: string enum: - created - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -192247,9 +192964,9 @@ x-webhooks: type: string enum: - deleted - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -192366,9 +193083,9 @@ x-webhooks: type: string to: type: string - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -192451,7 +193168,7 @@ x-webhooks: type: string enum: - archived - changes: &992 + changes: &995 type: object properties: archived_at: @@ -192465,9 +193182,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *938 - organization: *939 - projects_v2_item: &989 + installation: *941 + organization: *942 + projects_v2_item: &992 title: Projects v2 Item description: An item belonging to a project type: object @@ -192485,7 +193202,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *442 + content_type: *445 creator: *4 created_at: type: string @@ -192602,9 +193319,9 @@ x-webhooks: nullable: true to: type: string - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192686,9 +193403,9 @@ x-webhooks: type: string enum: - created - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192769,9 +193486,9 @@ x-webhooks: type: string enum: - deleted - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192877,7 +193594,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &990 + - &993 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -192899,7 +193616,7 @@ x-webhooks: required: - id - name - - &991 + - &994 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -192933,8 +193650,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *990 - - *991 + - *993 + - *994 required: - field_value - type: object @@ -192950,9 +193667,9 @@ x-webhooks: nullable: true required: - body - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -193047,9 +193764,9 @@ x-webhooks: to: type: string nullable: true - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -193132,10 +193849,10 @@ x-webhooks: type: string enum: - restored - changes: *992 - installation: *938 - organization: *939 - projects_v2_item: *989 + changes: *995 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -193217,9 +193934,9 @@ x-webhooks: type: string enum: - reopened - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -193300,14 +194017,14 @@ x-webhooks: type: string enum: - created - installation: *938 - organization: *939 - projects_v2_status_update: &995 + installation: *941 + organization: *942 + projects_v2_status_update: &998 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *993 - required: *994 + properties: *996 + required: *997 sender: *4 required: - action @@ -193388,9 +194105,9 @@ x-webhooks: type: string enum: - deleted - installation: *938 - organization: *939 - projects_v2_status_update: *995 + installation: *941 + organization: *942 + projects_v2_status_update: *998 sender: *4 required: - action @@ -193526,9 +194243,9 @@ x-webhooks: type: string format: date nullable: true - installation: *938 - organization: *939 - projects_v2_status_update: *995 + installation: *941 + organization: *942 + projects_v2_status_update: *998 sender: *4 required: - action @@ -193599,10 +194316,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - repository @@ -193679,13 +194396,13 @@ x-webhooks: type: string enum: - assigned - assignee: *966 - enterprise: *937 - installation: *938 - number: &996 + assignee: *969 + enterprise: *940 + installation: *941 + number: &999 description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -195864,7 +196581,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -195991,7 +196708,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -196073,10 +196790,10 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -198248,7 +198965,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -198377,7 +199094,7 @@ x-webhooks: - draft reason: type: string - repository: *940 + repository: *943 sender: *4 required: - action @@ -198459,10 +199176,10 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -200634,7 +201351,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -200763,7 +201480,7 @@ x-webhooks: - draft reason: type: string - repository: *940 + repository: *943 sender: *4 required: - action @@ -200845,13 +201562,13 @@ x-webhooks: type: string enum: - closed - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: &997 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: &1000 allOf: - - *777 + - *780 - type: object properties: allow_auto_merge: @@ -200913,7 +201630,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *940 + repository: *943 sender: *4 required: - action @@ -200994,12 +201711,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -201079,12 +201796,12 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *937 - installation: *938 - milestone: *758 - number: *996 - organization: *939 - pull_request: &998 + enterprise: *940 + installation: *941 + milestone: *761 + number: *999 + organization: *942 + pull_request: &1001 title: Pull Request type: object properties: @@ -203243,7 +203960,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -203370,7 +204087,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -203450,10 +204167,10 @@ x-webhooks: type: string enum: - dequeued - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -205616,7 +206333,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -205758,7 +206475,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *940 + repository: *943 sender: *4 required: - action @@ -205882,12 +206599,12 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -205968,10 +206685,10 @@ x-webhooks: type: string enum: - enqueued - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -208134,7 +208851,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -208261,7 +208978,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -208341,11 +209058,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *937 - installation: *938 - label: *960 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + label: *963 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -210537,7 +211254,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -210664,7 +211381,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -210745,10 +211462,10 @@ x-webhooks: type: string enum: - locked - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -212924,7 +213641,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -213051,7 +213768,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -213131,13 +213848,13 @@ x-webhooks: type: string enum: - milestoned - enterprise: *937 - installation: *938 - milestone: *758 - number: *996 - organization: *939 - pull_request: *998 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *761 + number: *999 + organization: *942 + pull_request: *1001 + repository: *943 sender: *4 required: - action @@ -213217,12 +213934,12 @@ x-webhooks: type: string enum: - opened - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -213303,12 +214020,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -213388,12 +214105,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -213759,9 +214476,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: type: object properties: @@ -215832,7 +216549,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -215954,7 +216671,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *940 + repository: *943 sender: *4 required: - action @@ -216034,7 +216751,7 @@ x-webhooks: type: string enum: - deleted - comment: &1000 + comment: &1003 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. @@ -216319,9 +217036,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: type: object properties: @@ -218380,7 +219097,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -218502,7 +219219,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *940 + repository: *943 sender: *4 required: - action @@ -218582,11 +219299,11 @@ x-webhooks: type: string enum: - edited - changes: *999 - comment: *1000 - enterprise: *937 - installation: *938 - organization: *939 + changes: *1002 + comment: *1003 + enterprise: *940 + installation: *941 + organization: *942 pull_request: type: object properties: @@ -220648,7 +221365,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -220770,7 +221487,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *940 + repository: *943 sender: *4 required: - action @@ -220851,9 +221568,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -222925,7 +223642,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -223049,7 +223766,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 + repository: *943 review: description: The review that was affected. type: object @@ -223296,9 +224013,9 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -225352,8 +226069,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 - review: &1001 + repository: *943 + review: &1004 description: The review that was affected. type: object properties: @@ -225586,12 +226303,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 number: description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -227770,7 +228487,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. @@ -227897,7 +228614,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 requested_reviewer: title: User type: object @@ -227981,12 +228698,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 number: description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -230172,7 +230889,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. @@ -230299,7 +231016,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 requested_team: title: Team description: Groups of organization members that gives permissions @@ -230491,12 +231208,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 number: description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -232676,7 +233393,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. @@ -232804,7 +233521,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 requested_reviewer: title: User type: object @@ -232889,12 +233606,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 number: description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -235065,7 +235782,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. @@ -235193,7 +235910,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 requested_team: title: Team description: Groups of organization members that gives permissions @@ -235374,9 +236091,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -237450,7 +238167,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -237574,8 +238291,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 - review: *1001 + repository: *943 + review: *1004 sender: *4 required: - action @@ -237655,9 +238372,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -239626,7 +240343,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -239750,7 +240467,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 + repository: *943 sender: *4 thread: type: object @@ -240137,9 +240854,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -242095,7 +242812,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -242218,7 +242935,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 + repository: *943 sender: *4 thread: type: object @@ -242602,11 +243319,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *937 - installation: *938 - stack: *774 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + stack: *777 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -244784,7 +245501,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -244911,7 +245628,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -244997,10 +245714,10 @@ x-webhooks: type: string before: type: string - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -247167,7 +247884,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -247294,7 +248011,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -247376,11 +248093,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *1002 - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + assignee: *1005 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -249559,7 +250276,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -249686,7 +250403,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -249766,11 +250483,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *937 - installation: *938 - label: *960 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + label: *963 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -251939,7 +252656,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -252066,7 +252783,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -252147,10 +252864,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -254312,7 +255029,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -254438,7 +255155,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -254638,7 +255355,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *937 + enterprise: *940 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -254730,8 +255447,8 @@ x-webhooks: - url - author - committer - installation: *938 - organization: *939 + installation: *941 + organization: *942 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -255317,9 +256034,9 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 registry_package: type: object properties: @@ -255765,7 +256482,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *983 + items: *986 summary: type: string tag_name: @@ -255819,7 +256536,7 @@ x-webhooks: - owner - package_version - registry - repository: *940 + repository: *943 sender: *4 required: - action @@ -255897,9 +256614,9 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 registry_package: type: object properties: @@ -256207,7 +256924,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *983 + items: *986 summary: type: string tag_name: @@ -256256,7 +256973,7 @@ x-webhooks: - owner - package_version - registry - repository: *940 + repository: *943 sender: *4 required: - action @@ -256333,10 +257050,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - release: &1003 + enterprise: *940 + installation: *941 + organization: *942 + release: &1006 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -256654,7 +257371,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *940 + repository: *943 sender: *4 required: - action @@ -256731,11 +257448,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - release: *1003 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + release: *1006 + repository: *943 sender: *4 required: - action @@ -256852,11 +257569,11 @@ x-webhooks: type: boolean required: - to - enterprise: *937 - installation: *938 - organization: *939 - release: *1003 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + release: *1006 + repository: *943 sender: *4 required: - action @@ -256934,9 +257651,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -257258,7 +257975,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *940 + repository: *943 sender: *4 required: - action @@ -257334,10 +258051,10 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 - release: &1004 + enterprise: *940 + installation: *941 + organization: *942 + release: &1007 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -257656,7 +258373,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *940 + repository: *943 sender: *4 required: - action @@ -257732,11 +258449,11 @@ x-webhooks: type: string enum: - released - enterprise: *937 - installation: *938 - organization: *939 - release: *1003 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + release: *1006 + repository: *943 sender: *4 required: - action @@ -257812,11 +258529,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *937 - installation: *938 - organization: *939 - release: *1004 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + release: *1007 + repository: *943 sender: *4 required: - action @@ -257892,11 +258609,11 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_advisory: *832 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_advisory: *835 sender: *4 required: - action @@ -257972,11 +258689,11 @@ x-webhooks: type: string enum: - reported - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_advisory: *832 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_advisory: *835 sender: *4 required: - action @@ -258052,10 +258769,10 @@ x-webhooks: type: string enum: - archived - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258132,10 +258849,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258213,10 +258930,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258300,10 +259017,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258415,10 +259132,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258490,10 +259207,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 status: type: string @@ -258574,10 +259291,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258654,10 +259371,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258751,10 +259468,10 @@ x-webhooks: - name required: - repository - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258834,11 +259551,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_ruleset: *196 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_ruleset: *199 sender: *4 required: - action @@ -258916,11 +259633,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_ruleset: *196 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_ruleset: *199 sender: *4 required: - action @@ -258998,11 +259715,11 @@ x-webhooks: type: string enum: - edited - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_ruleset: *196 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_ruleset: *199 changes: type: object properties: @@ -259021,16 +259738,16 @@ x-webhooks: properties: added: type: array - items: *167 + items: *170 deleted: type: array - items: *167 + items: *170 updated: type: array items: type: object properties: - condition: *167 + condition: *170 changes: type: object properties: @@ -259063,16 +259780,16 @@ x-webhooks: properties: added: type: array - items: *799 + items: *802 deleted: type: array - items: *799 + items: *802 updated: type: array items: type: object properties: - rule: *799 + rule: *802 changes: type: object properties: @@ -259306,10 +260023,10 @@ x-webhooks: - from required: - owner - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259387,10 +260104,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259468,7 +260185,7 @@ x-webhooks: type: string enum: - create - alert: &1005 + alert: &1008 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -259590,10 +260307,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259799,10 +260516,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259880,11 +260597,11 @@ x-webhooks: type: string enum: - reopen - alert: *1005 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1008 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260083,10 +260800,10 @@ x-webhooks: enum: - fixed - open - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260164,11 +260881,11 @@ x-webhooks: type: string enum: - assigned - alert: &1007 + alert: &1010 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -260176,8 +260893,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri @@ -260314,12 +261031,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *1006 + metadata: *1009 assignee: *4 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260397,11 +261114,11 @@ x-webhooks: type: string enum: - created - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260482,11 +261199,11 @@ x-webhooks: type: string enum: - created - alert: *1007 - installation: *938 - location: *1008 - organization: *939 - repository: *940 + alert: *1010 + installation: *941 + location: *1011 + organization: *942 + repository: *943 sender: *4 required: - location @@ -260724,11 +261441,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260805,11 +261522,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260886,11 +261603,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260968,11 +261685,11 @@ x-webhooks: type: string enum: - reopened - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -261050,11 +261767,11 @@ x-webhooks: type: string enum: - resolved - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -261132,12 +261849,12 @@ x-webhooks: type: string enum: - unassigned - alert: *1007 + alert: *1010 assignee: *4 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -261215,11 +261932,11 @@ x-webhooks: type: string enum: - validated - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -261345,10 +262062,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *940 - enterprise: *937 - installation: *938 - organization: *939 + repository: *943 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -261426,11 +262143,11 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - security_advisory: &1009 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + security_advisory: &1012 description: The details of the security advisory, including summary, description, and severity. type: object @@ -261446,7 +262163,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *134 + cvss_severities: *137 cwes: type: array items: @@ -261613,11 +262330,11 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - security_advisory: *1009 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + security_advisory: *1012 sender: *4 required: - action @@ -261690,10 +262407,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -261710,7 +262427,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *134 + cvss_severities: *137 cwes: type: array items: @@ -261877,11 +262594,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *452 - enterprise: *937 - installation: *938 - organization: *939 - repository: *514 + security_and_analysis: *455 + enterprise: *940 + installation: *941 + organization: *942 + repository: *517 sender: *4 required: - changes @@ -261959,12 +262676,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: &1010 + sponsorship: &1013 type: object properties: created_at: @@ -262265,12 +262982,12 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - sponsorship @@ -262358,12 +263075,12 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - changes @@ -262440,17 +263157,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &1011 + effective_date: &1014 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: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - sponsorship @@ -262524,7 +263241,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &1012 + changes: &1015 type: object properties: tier: @@ -262568,13 +263285,13 @@ x-webhooks: - from required: - tier - effective_date: *1011 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + effective_date: *1014 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - changes @@ -262651,13 +263368,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *1012 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + changes: *1015 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - changes @@ -262731,10 +263448,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -262817,10 +263534,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -263240,15 +263957,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *937 + enterprise: *940 id: description: The unique identifier of the status. type: integer - installation: *938 + installation: *941 name: type: string - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 sha: description: The Commit SHA. @@ -263357,15 +264074,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *234 parent_issue_repo: *77 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *938 - organization: *939 - repository: *940 + sub_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -263448,15 +264165,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *234 parent_issue_repo: *77 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *938 - organization: *939 - repository: *940 + sub_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -263539,15 +264256,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *234 sub_issue_repo: *77 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *938 - organization: *939 - repository: *940 + parent_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -263630,15 +264347,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *234 sub_issue_repo: *77 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *938 - organization: *939 - repository: *940 + parent_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -263714,12 +264431,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - team: &1013 + team: &1016 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -263942,9 +264659,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -264402,7 +265119,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - team @@ -264478,9 +265195,9 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -264938,7 +265655,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - team @@ -265015,9 +265732,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -265475,7 +266192,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - team @@ -265619,9 +266336,9 @@ x-webhooks: - from required: - permissions - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -266079,7 +266796,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - changes @@ -266157,9 +266874,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -266617,7 +267334,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - team @@ -266693,10 +267410,10 @@ x-webhooks: type: string enum: - started - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -266769,16 +267486,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *937 + enterprise: *940 inputs: type: object nullable: true additionalProperties: true - installation: *938 - organization: *939 + installation: *941 + organization: *942 ref: type: string - repository: *940 + repository: *943 sender: *4 workflow: type: string @@ -266860,10 +267577,10 @@ x-webhooks: type: string enum: - completed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 workflow_job: allOf: @@ -267100,7 +267817,7 @@ x-webhooks: type: string required: - conclusion - deployment: *659 + deployment: *662 required: - action - repository @@ -267179,10 +267896,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 workflow_job: allOf: @@ -267442,7 +268159,7 @@ x-webhooks: required: - status - steps - deployment: *659 + deployment: *662 required: - action - repository @@ -267521,10 +268238,10 @@ x-webhooks: type: string enum: - queued - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 workflow_job: type: object @@ -267659,7 +268376,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *659 + deployment: *662 required: - action - repository @@ -267738,10 +268455,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 workflow_job: type: object @@ -267877,7 +268594,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *659 + deployment: *662 required: - action - repository @@ -267957,12 +268674,12 @@ x-webhooks: type: string enum: - completed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: *956 + workflow: *959 workflow_run: title: Workflow Run type: object @@ -268961,12 +269678,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: *956 + workflow: *959 workflow_run: title: Workflow Run type: object @@ -269950,12 +270667,12 @@ x-webhooks: type: string enum: - requested - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: *956 + workflow: *959 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index 9a3f42fb4..3760a5372 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -49307,6 +49307,1173 @@ } } }, + "/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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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": 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", + "description": "When the export was requested.", + "nullable": true + } + } + }, + "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", + "description": "When the export was requested.", + "nullable": true + } + } + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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": 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/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 438ff061f..e7a047ff3 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -666,7 +666,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &134 + cvss_severities: &137 type: object nullable: true properties: @@ -706,7 +706,7 @@ paths: required: - vector_string - score - epss: &135 + epss: &138 type: object nullable: true readOnly: true @@ -844,7 +844,7 @@ paths: - subscriptions_url - type - url - type: &492 + type: &495 type: string description: The type of credit the user is receiving. enum: @@ -976,7 +976,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &268 + schema: &271 title: Validation Error Simple description: Validation Error Simple type: object @@ -1009,7 +1009,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: - - &835 + - &838 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3791,7 +3791,7 @@ paths: GitHub. type: object nullable: true - properties: &226 + properties: &229 id: description: Unique identifier of the GitHub app example: 37 @@ -3813,7 +3813,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &145 + properties: &148 description: description: A short description of the enterprise. type: string @@ -3855,7 +3855,7 @@ paths: avatar_url: type: string format: uri - required: &146 + required: &149 - id - node_id - name @@ -3924,7 +3924,7 @@ paths: about itself. example: 5 type: integer - required: &227 + required: &230 - id - node_id - owner @@ -4229,7 +4229,7 @@ paths: schema: type: integer default: 30 - - &376 + - &379 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 @@ -4238,7 +4238,7 @@ paths: required: false schema: type: string - - &377 + - &380 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4258,7 +4258,7 @@ paths: application/json: schema: type: array - items: &378 + items: &381 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4338,7 +4338,7 @@ paths: - installation_id - repository_id examples: - default: &379 + default: &382 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4370,7 +4370,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &845 + schema: &848 title: Scim Error description: Scim Error type: object @@ -4397,7 +4397,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &267 + schema: &270 title: Validation Error description: Validation Error type: object @@ -4466,7 +4466,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &383 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4580,7 +4580,7 @@ paths: - request - response examples: - default: &381 + default: &384 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4781,7 +4781,7 @@ paths: parameters: - *17 - *19 - - &238 + - &241 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) @@ -5592,7 +5592,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &450 + properties: &453 id: description: Unique identifier of the repository example: 42 @@ -5612,7 +5612,7 @@ paths: title: License Simple description: License Simple type: object - properties: &234 + properties: &237 key: type: string example: mit @@ -5634,7 +5634,7 @@ paths: html_url: type: string format: uri - required: &235 + required: &238 - key - name - url @@ -6028,7 +6028,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &451 + required: &454 - archive_url - assignees_url - blobs_url @@ -9745,7 +9745,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 type: object properties: total_active_caches_count: @@ -9760,7 +9760,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &270 + default: &273 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -9953,7 +9953,7 @@ paths: - public_ip_enabled - platform examples: - default: &271 + default: &274 value: total_count: 2 runners: @@ -10248,7 +10248,7 @@ paths: application/json: schema: *46 examples: - default: &272 + default: &275 value: id: 1 platform: linux-x64 @@ -10388,7 +10388,7 @@ paths: application/json: schema: *49 examples: - default: &273 + default: &276 value: version: 1.0.0 size_gb: 75 @@ -10552,7 +10552,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &277 type: object properties: public_ips: @@ -10577,7 +10577,7 @@ paths: required: - public_ips examples: - default: &275 + default: &278 value: public_ips: current_usage: 17 @@ -10617,7 +10617,7 @@ paths: type: array items: *53 examples: - default: &276 + default: &279 value: id: 4-core cpu_cores: 4 @@ -10932,7 +10932,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &280 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11043,7 +11043,7 @@ paths: - all - local_only - selected - selected_actions_url: &279 + selected_actions_url: &282 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` @@ -11123,7 +11123,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &281 + schema: &284 type: object properties: days: @@ -11141,7 +11141,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &846 + '401': &849 description: Authorization failure '404': *6 x-github: @@ -11169,7 +11169,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &285 type: object properties: days: @@ -11218,7 +11218,7 @@ paths: required: - approval_policy examples: - default: &283 + default: &286 value: approval_policy: first_time_contributors '404': *6 @@ -11276,7 +11276,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &287 type: object required: - run_workflows_from_fork_pull_requests @@ -11330,7 +11330,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &288 type: object required: - run_workflows_from_fork_pull_requests @@ -11753,7 +11753,7 @@ paths: description: Success response content: application/json: - schema: &288 + schema: &291 type: object properties: default_workflow_permissions: &66 @@ -11801,7 +11801,7 @@ paths: required: true content: application/json: - schema: &289 + schema: &292 type: object properties: default_workflow_permissions: *66 @@ -12707,7 +12707,7 @@ paths: application/json: schema: type: array - items: &293 + items: &296 title: Runner Application description: Runner Application type: object @@ -12732,7 +12732,7 @@ paths: - download_url - filename examples: - default: &294 + default: &297 value: - os: osx architecture: x64 @@ -12816,7 +12816,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &295 + '201': &298 description: Response content: application/json: @@ -12931,7 +12931,7 @@ paths: - token - expires_at examples: - default: &296 + default: &299 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -12971,7 +12971,7 @@ paths: application/json: schema: *78 examples: - default: &297 + default: &300 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13003,7 +13003,7 @@ paths: application/json: schema: *75 examples: - default: &298 + default: &301 value: id: 23 name: MBP @@ -13220,7 +13220,7 @@ paths: - *38 - *74 responses: - '200': &299 + '200': &302 description: Response content: application/json: @@ -13276,7 +13276,7 @@ paths: parameters: - *38 - *74 - - &300 + - &303 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13367,7 +13367,7 @@ paths: required: true content: application/json: - schema: &314 + schema: &317 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14008,7 +14008,7 @@ paths: required: false schema: type: string - - &317 + - &320 name: include description: |- The event types to include: @@ -14064,7 +14064,7 @@ paths: application/json: schema: type: array - items: &318 + items: &321 type: object properties: "@timestamp": @@ -14186,7 +14186,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &319 + default: &322 value: - "@timestamp": 1606929874512 action: team.add_member @@ -14852,7 +14852,7 @@ paths: application/json: schema: type: array - items: &320 + items: &323 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15013,7 +15013,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &321 + default: &324 value: - id: 21 number: 42 @@ -15118,7 +15118,7 @@ paths: application/json: schema: type: array - items: &323 + items: &326 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15243,7 +15243,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &324 + default: &327 value: - id: 21 number: 42 @@ -15328,7 +15328,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &331 + - &334 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`, @@ -15338,7 +15338,7 @@ paths: schema: &110 type: string description: The name of the tool used to generate the code scanning analysis. - - &332 + - &335 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 @@ -15361,7 +15361,7 @@ paths: be returned. in: query required: false - schema: &333 + schema: &336 type: string description: State of a code scanning alert. enum: @@ -15394,36 +15394,36 @@ paths: application/json: schema: type: array - items: &334 + items: &337 type: object properties: - number: &132 + number: &135 type: integer description: The security alert number. readOnly: true - created_at: &139 + created_at: &142 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: &140 + updated_at: &143 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: &137 + url: &140 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &138 + html_url: &141 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &586 + instances_url: &589 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15437,7 +15437,7 @@ paths: - open - dismissed - fixed - fixed_at: &142 + fixed_at: &145 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15451,14 +15451,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &141 + dismissed_at: &144 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &587 + dismissed_reason: &590 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15468,13 +15468,13 @@ paths: - won't fix - used in tests - mitigated - dismissed_comment: &588 + dismissed_comment: &591 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &589 + rule: &592 type: object properties: id: @@ -15527,7 +15527,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &590 + tool: &593 type: object properties: name: *110 @@ -15537,26 +15537,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *111 - most_recent_instance: &591 + most_recent_instance: &594 type: object properties: - ref: &584 + ref: &587 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &602 + analysis_key: &605 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: &603 + environment: &606 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: &604 + category: &607 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15576,7 +15576,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: &605 + location: &608 type: object description: Describe a region within a file for the alert. properties: @@ -15597,7 +15597,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: &606 + items: &609 type: string description: A classification of the file. For example to identify it as generated. @@ -15611,7 +15611,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &143 + properties: &146 id: type: integer format: int64 @@ -15838,7 +15838,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &144 + required: &147 - archive_url - assignees_url - blobs_url @@ -15910,7 +15910,7 @@ paths: - most_recent_instance - repository examples: - default: &335 + default: &338 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -16141,7 +16141,7 @@ paths: headers: Link: *44 '404': *6 - '503': &201 + '503': &204 description: Service unavailable content: application/json: @@ -16793,7 +16793,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &340 type: array description: A list of default code security configurations items: @@ -16809,7 +16809,7 @@ paths: default configuration: *113 examples: - default: &338 + default: &341 value: - default_for_new_repos: public configuration: @@ -17267,7 +17267,7 @@ paths: default: value: default_for_new_repos: all - configuration: &336 + configuration: &339 value: id: 1325 target_type: organization @@ -17357,7 +17357,7 @@ paths: application/json: schema: type: array - items: &339 + items: &342 type: object description: Repositories associated with a code security configuration and attachment status @@ -17381,7 +17381,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &340 + repository: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -17846,7 +17846,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &151 + items: &154 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -17870,7 +17870,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &325 + - &328 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -17956,7 +17956,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &416 + properties: &419 id: description: Unique identifier of the team type: integer @@ -18028,7 +18028,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &417 + required: &420 - id - node_id - url @@ -18054,7 +18054,7 @@ paths: - slug - parent - type - - &150 + - &153 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18172,7 +18172,7 @@ paths: - created_at additionalProperties: false examples: - default: &152 + default: &155 value: total_seats: 2 seats: @@ -18709,7 +18709,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &347 + '413': &350 description: Payload Too Large content: application/json: @@ -20188,6 +20188,723 @@ 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: + - *38 + - *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: &134 + 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 + nullable: true + 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 + nullable: true + description: Base64-encoded SHA-256 hash of the token, matching + `hashed_token` in audit events. Null when not reported. + fingerprint: + type: string + nullable: true + 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 + nullable: true + owner: + type: object + nullable: true + properties: + id: + type: integer + login: + type: string + name: + type: string + nullable: true + owner_type: + type: string + nullable: true + enum: + - user + - oauth_application + - github_app + description: The type of credential owner. + application: + type: object + nullable: true + properties: + id: + type: integer + name: + type: string + nullable: true + 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 + nullable: true + created_at: + type: string + format: date-time + nullable: true + last_used_at: + type: string + format: date-time + nullable: true + expires_at: + type: string + format: date-time + nullable: true + next_expires_at: + type: string + format: date-time + nullable: true + credential_instance_count: + type: integer + nullable: true + 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 + nullable: true + 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 + nullable: true + description: Whether the credential exceeds a configured lifetime + limit or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: string + nullable: true + 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 + nullable: true + items: + type: string + description: OAuth scopes recorded for the token. Null when + not reported for the credential type. + permissions: + type: object + nullable: true + 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 + nullable: true + 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: *44 + 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: + - *38 + 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: &132 + 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 + description: When the export was requested. + nullable: true + examples: + default: &133 + 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: + - *38 + - 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: *132 + examples: + default: *133 + '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: + - *38 + - 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: *134 + 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 @@ -20207,7 +20924,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &352 + - &355 name: classification in: query description: |- @@ -20216,7 +20933,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &353 + - &356 name: state in: query description: |- @@ -20225,7 +20942,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &354 + - &357 name: severity in: query description: |- @@ -20234,7 +20951,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &355 + - &358 name: ecosystem in: query description: |- @@ -20243,14 +20960,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &356 + - &359 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 - - &357 + - &360 name: epss_percentage in: query description: |- @@ -20262,7 +20979,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 - - &648 + - &651 name: has in: query description: |- @@ -20276,7 +20993,7 @@ paths: type: string enum: - patch - - &358 + - &361 name: assignee in: query description: |- @@ -20285,7 +21002,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &359 + - &362 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20295,7 +21012,7 @@ paths: enum: - development - runtime - - &360 + - &363 name: relationship in: query description: |- @@ -20305,7 +21022,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 - - &361 + - &364 name: sort in: query description: |- @@ -20331,11 +21048,11 @@ paths: application/json: schema: type: array - items: &362 + items: &365 type: object description: A Dependabot alert. properties: - number: *132 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -20350,7 +21067,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &133 + package: &136 type: object description: Details for the vulnerable package. readOnly: true @@ -20395,7 +21112,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &649 + security_advisory: &652 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20425,13 +21142,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &136 + items: &139 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *133 + package: *136 severity: type: string description: The severity of the vulnerability. @@ -20483,8 +21200,8 @@ paths: enum: - general - malware - cvss_severities: *134 - epss: *135 + cvss_severities: *137 + epss: *138 cwes: type: array description: Details for the advisory pertaining to Common @@ -20582,12 +21299,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *136 - url: *137 - html_url: *138 - created_at: *139 - updated_at: *140 - dismissed_at: *141 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -20611,15 +21328,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *142 - auto_dismissed_at: &650 + fixed_at: *145 + auto_dismissed_at: &653 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &651 + dismissal_request: &654 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -20681,7 +21398,7 @@ paths: - repository additionalProperties: false examples: - default: &363 + default: &366 value: - number: 2 state: dismissed @@ -21068,7 +21785,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &367 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21089,12 +21806,12 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *143 - required: *144 + properties: *146 + required: *147 nullable: true additionalProperties: false examples: - default: &365 + default: &368 value: default_level: public accessible_repositories: @@ -21316,7 +22033,7 @@ paths: - *102 - *103 - *104 - - &367 + - &370 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21342,7 +22059,7 @@ paths: application/json: schema: type: array - items: &369 + items: &372 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21463,7 +22180,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &370 + default: &373 value: - id: 21 number: 42 @@ -21564,7 +22281,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &149 + items: &152 title: Enterprise Role description: Enterprise custom roles type: object @@ -21598,8 +22315,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *145 - required: *146 + properties: *148 + required: *149 nullable: true created_at: description: The date and time the role was created. @@ -21692,7 +22409,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *38 - - &147 + - &150 name: team_slug description: The slug of the enterprise team name. in: path @@ -21735,8 +22452,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *38 - - *147 - - &148 + - *150 + - &151 name: role_id description: The unique identifier of the role. in: path @@ -21778,8 +22495,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *38 - - *147 - - *148 + - *150 + - *151 responses: '204': description: Response @@ -21848,7 +22565,7 @@ paths: parameters: - *38 - *131 - - *148 + - *151 responses: '204': description: Response @@ -21882,7 +22599,7 @@ paths: parameters: - *38 - *131 - - *148 + - *151 responses: '204': description: Response @@ -21916,13 +22633,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *38 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *149 + schema: *152 examples: default: value: @@ -21976,7 +22693,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: - *38 - - *148 + - *151 - *17 - *19 responses: @@ -21986,9 +22703,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: &153 + default: &156 value: - id: 1 name: Justice League @@ -22027,7 +22744,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: - *38 - - *148 + - *151 - *17 - *19 responses: @@ -22059,7 +22776,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *150 + items: *153 examples: default: value: @@ -22542,7 +23259,7 @@ paths: application/json: schema: *22 examples: - default: &393 + default: &396 value: id: 1 account: @@ -22699,9 +23416,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 '500': *37 '401': *25 '403': *29 @@ -22739,9 +23456,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *153 + default: *156 headers: Link: *44 '401': *25 @@ -22783,7 +23500,7 @@ paths: type: integer network_configurations: type: array - items: &154 + items: &157 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -22835,7 +23552,7 @@ paths: - name - created_on examples: - default: &497 + default: &500 value: total_count: 2 network_configurations: @@ -22927,9 +23644,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: &155 + default: &158 value: id: 123456789ABCDEF name: My network configuration @@ -22956,7 +23673,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: - *38 - - &156 + - &159 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -22968,9 +23685,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 headers: Link: *44 x-github: @@ -22990,7 +23707,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: - *38 - - *156 + - *159 requestBody: required: true content: @@ -23043,9 +23760,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23063,7 +23780,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: - *38 - - *156 + - *159 responses: '204': description: Response @@ -23086,7 +23803,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: - *38 - - &498 + - &501 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23098,7 +23815,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &502 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23132,7 +23849,7 @@ paths: - subnet_id - region examples: - default: &500 + default: &503 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23171,7 +23888,7 @@ paths: application/json: schema: type: array - items: &157 + items: &160 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23239,7 +23956,7 @@ paths: - property_name - value_type examples: - default: &158 + default: &161 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23299,7 +24016,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *157 + items: *160 minItems: 1 maxItems: 100 required: @@ -23332,9 +24049,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *158 + default: *161 '403': *29 '404': *6 '422': *7 @@ -23361,7 +24078,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: - *38 - - &159 + - &162 name: custom_property_name description: The custom property name in: path @@ -23373,9 +24090,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: &160 + default: &163 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23412,7 +24129,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: - *38 - - *159 + - *162 requestBody: required: true content: @@ -23481,9 +24198,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *160 + default: *163 '403': *29 '404': *6 '422': *7 @@ -23509,7 +24226,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: - *38 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -23560,7 +24277,7 @@ paths: example: Hello-World properties: type: array - items: &161 + items: &164 title: Custom Property Value description: Custom property name and associated value type: object @@ -23644,7 +24361,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *161 + items: *164 required: - organization_logins - properties @@ -23694,7 +24411,7 @@ paths: application/json: schema: type: array - items: &162 + items: &165 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23762,7 +24479,7 @@ paths: - property_name - value_type examples: - default: &163 + default: &166 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23820,7 +24537,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *162 + items: *165 minItems: 1 maxItems: 100 required: @@ -23850,9 +24567,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -23876,15 +24593,15 @@ paths: parameters: - *38 - *86 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: &164 + default: &167 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23917,15 +24634,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *38 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -23947,12 +24664,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: - *38 - - *159 + - *162 requestBody: required: true content: application/json: - schema: &449 + schema: &452 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24019,9 +24736,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -24043,7 +24760,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *38 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -24085,7 +24802,7 @@ paths: - push - repository default: branch - enforcement: &173 + enforcement: &176 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24098,7 +24815,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &174 + items: &177 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24141,7 +24858,7 @@ paths: - pull_request - exempt default: always - conditions: &198 + conditions: &201 title: Enterprise ruleset conditions type: object description: |- @@ -24154,7 +24871,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &165 + - &168 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24180,7 +24897,7 @@ paths: type: string required: - organization_name - - &168 + - &171 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24209,7 +24926,7 @@ paths: is prevented. required: - repository_name - - &167 + - &170 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24237,8 +24954,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *165 - - &170 + - *168 + - &173 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24251,7 +24968,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &166 + items: &169 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24282,16 +24999,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *166 + items: *169 required: - repository_property - - *167 + - *170 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &169 + - &172 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24308,22 +25025,22 @@ paths: type: integer required: - organization_id - - *168 - - *167 + - *171 + - *170 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *169 + - *172 + - *173 - *170 - - *167 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &172 + - &175 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24336,7 +25053,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &171 + items: &174 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24360,28 +25077,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *171 + items: *174 required: - organization_property - - *168 - - *167 + - *171 + - *170 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *172 + - *175 + - *173 - *170 - - *167 rules: type: array description: An array of rules within the ruleset. - items: &199 + items: &202 title: Repository Rule type: object description: A repository rule. oneOf: - - &175 + - &178 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24393,7 +25110,7 @@ paths: type: string enum: - creation - - &176 + - &179 title: update description: Only allow users with bypass permission to update matching refs. @@ -24414,7 +25131,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &177 + - &180 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24426,7 +25143,7 @@ paths: type: string enum: - deletion - - &178 + - &181 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24438,7 +25155,7 @@ paths: type: string enum: - required_linear_history - - &179 + - &182 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24462,7 +25179,7 @@ paths: type: string required: - required_deployment_environments - - &180 + - &183 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24474,7 +25191,7 @@ paths: type: string enum: - required_signatures - - &181 + - &184 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. @@ -24614,7 +25331,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &182 + - &185 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24661,7 +25378,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &183 + - &186 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24673,7 +25390,7 @@ paths: type: string enum: - non_fast_forward - - &184 + - &187 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24710,7 +25427,7 @@ paths: required: - operator - pattern - - &185 + - &188 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24747,7 +25464,7 @@ paths: required: - operator - pattern - - &186 + - &189 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24784,7 +25501,7 @@ paths: required: - operator - pattern - - &187 + - &190 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24821,7 +25538,7 @@ paths: required: - operator - pattern - - &188 + - &191 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -24858,7 +25575,7 @@ paths: required: - operator - pattern - - &192 + - &195 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -24882,7 +25599,7 @@ paths: type: string required: - restricted_file_paths - - &193 + - &196 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -24906,7 +25623,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &194 + - &197 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -24929,7 +25646,7 @@ paths: type: string required: - restricted_file_extensions - - &195 + - &198 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -24953,7 +25670,7 @@ paths: maximum: 100 required: - max_file_size - - &189 + - &192 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25002,7 +25719,7 @@ paths: - repository_id required: - workflows - - &190 + - &193 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25062,7 +25779,7 @@ paths: - tool required: - code_scanning_tools - - &191 + - &194 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25112,7 +25829,7 @@ paths: description: Response content: application/json: - schema: &196 + schema: &199 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25147,11 +25864,11 @@ paths: source: type: string description: The name of the source - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 + items: *177 current_user_can_bypass: type: string description: |- @@ -25183,8 +25900,8 @@ paths: conditions: nullable: true anyOf: - - *167 - - &455 + - *170 + - &458 title: Organization ruleset conditions type: object description: |- @@ -25198,14 +25915,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *167 - - *168 + - *170 + - *171 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *167 + - *170 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25227,20 +25944,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *167 - *170 + - *173 rules: type: array - items: &799 + items: &802 title: Repository Rule type: object description: A repository rule. oneOf: - - *175 - - *176 - - *177 - *178 - - &796 + - *179 + - *180 + - *181 + - &799 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25318,9 +26035,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *179 - - *180 - - *181 - *182 - *183 - *184 @@ -25331,7 +26045,10 @@ paths: - *189 - *190 - *191 - - &797 + - *192 + - *193 + - *194 + - &800 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -25343,10 +26060,10 @@ paths: type: string enum: - license_compliance_scanning - - *192 - - *193 - - *194 - *195 + - *196 + - *197 + - *198 created_at: type: string format: date-time @@ -25354,7 +26071,7 @@ paths: type: string format: date-time examples: - default: &197 + default: &200 value: id: 21 name: super cool ruleset @@ -25413,9 +26130,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *197 + default: *200 '404': *6 '500': *37 x-github: @@ -25459,16 +26176,16 @@ paths: - tag - push - repository - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *198 + items: *177 + conditions: *201 rules: description: An array of rules within the ruleset. type: array - items: *199 + items: *202 examples: default: value: @@ -25492,9 +26209,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *197 + default: *200 '404': *6 '500': *37 x-github: @@ -25556,7 +26273,7 @@ paths: application/json: schema: type: array - items: &200 + items: &203 title: Ruleset version type: object description: The historical version of a ruleset @@ -25580,7 +26297,7 @@ paths: type: string format: date-time examples: - default: &458 + default: &461 value: - version_id: 3 actor: @@ -25633,9 +26350,9 @@ paths: description: Response content: application/json: - schema: &459 + schema: &462 allOf: - - *200 + - *203 - type: object required: - state @@ -25688,7 +26405,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &460 + - &463 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25699,7 +26416,7 @@ paths: enum: - open - resolved - - &461 + - &464 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25709,7 +26426,7 @@ paths: required: false schema: type: string - - &462 + - &465 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25720,7 +26437,7 @@ paths: required: false schema: type: string - - &463 + - &466 name: exclude_providers in: query description: |- @@ -25731,7 +26448,7 @@ paths: required: false schema: type: string - - &464 + - &467 name: providers in: query description: |- @@ -25742,7 +26459,7 @@ paths: required: false schema: type: string - - &465 + - &468 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25751,7 +26468,7 @@ paths: required: false schema: type: string - - &466 + - &469 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25770,7 +26487,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &467 + - &470 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. @@ -25786,7 +26503,7 @@ paths: - *17 - *107 - *108 - - &468 + - &471 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25795,7 +26512,7 @@ paths: required: false schema: type: string - - &469 + - &472 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25804,7 +26521,7 @@ paths: schema: type: boolean default: false - - &470 + - &473 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25813,7 +26530,7 @@ paths: schema: type: boolean default: false - - &471 + - &474 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25822,7 +26539,7 @@ paths: schema: type: boolean default: false - - &472 + - &475 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25833,7 +26550,7 @@ paths: required: false schema: type: boolean - - &473 + - &476 name: included_metadata in: query description: |- @@ -25844,7 +26561,7 @@ paths: required: false schema: type: string - - &474 + - &477 name: owner_email_hash in: query description: |- @@ -25863,11 +26580,11 @@ paths: application/json: schema: type: array - items: &475 + items: &478 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -25875,21 +26592,21 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &812 + state: &815 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: &813 + resolution: &816 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -26006,8 +26723,8 @@ paths: pull request. ' - oneOf: &814 - - &816 + oneOf: &817 + - &819 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26065,7 +26782,7 @@ paths: - blob_url - commit_sha - commit_url - - &817 + - &820 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. @@ -26120,7 +26837,7 @@ paths: - page_url - commit_sha - commit_url - - &818 + - &821 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26140,7 +26857,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &819 + - &822 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26160,7 +26877,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &820 + - &823 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26180,7 +26897,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &821 + - &824 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26194,7 +26911,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &822 + - &825 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26208,7 +26925,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &823 + - &826 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26222,7 +26939,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &824 + - &827 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. @@ -26242,7 +26959,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &825 + - &828 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. @@ -26262,7 +26979,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &826 + - &829 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. @@ -26282,7 +26999,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &827 + - &830 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. @@ -26302,7 +27019,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &828 + - &831 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -26350,7 +27067,7 @@ paths: required: *21 nullable: true examples: - default: &476 + default: &479 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26528,7 +27245,7 @@ paths: headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26554,7 +27271,7 @@ paths: subcategory: custom-patterns parameters: - *38 - - &477 + - &480 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -26565,7 +27282,7 @@ paths: enum: - published - unpublished - - &478 + - &481 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -26576,7 +27293,7 @@ paths: enum: - enabled - disabled - - &479 + - &482 name: sort description: The property to sort the results by. in: query @@ -26598,7 +27315,7 @@ paths: application/json: schema: type: array - items: &202 + items: &205 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -26646,7 +27363,7 @@ paths: nullable: true items: type: string - custom_pattern_version: &203 + custom_pattern_version: &206 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -26670,7 +27387,7 @@ paths: - state - push_protection_enabled examples: - default: &480 + default: &483 value: - id: 1 name: Example Custom Pattern @@ -26733,7 +27450,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &481 + items: &484 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -26770,7 +27487,7 @@ paths: items: type: string examples: - default: &482 + default: &485 value: patterns: - name: Example Custom Pattern @@ -26794,9 +27511,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: &483 + default: &486 value: created_patterns: - id: 1 @@ -26848,7 +27565,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &484 + items: &487 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -26902,7 +27619,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &485 + items: &488 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -26912,7 +27629,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *203 + custom_pattern_version: *206 post_delete_action: type: string description: |- @@ -26925,7 +27642,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &486 + default: &489 value: patterns: - pattern_id: 2 @@ -26936,7 +27653,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': &204 + '412': &207 description: Precondition Failed content: application/json: @@ -26971,7 +27688,7 @@ paths: required: true content: application/json: - schema: &487 + schema: &490 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`, @@ -27010,9 +27727,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *203 + custom_pattern_version: *206 examples: - default: &488 + default: &491 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27027,9 +27744,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: &489 + default: &492 value: id: 1 name: Example Custom Pattern @@ -27049,7 +27766,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/enterprises/{enterprise}/secret-scanning/pattern-configurations": get: @@ -27076,17 +27793,17 @@ paths: description: Response content: application/json: - schema: &490 + schema: &493 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: *203 + pattern_config_version: *206 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &205 + items: &208 type: object properties: token_type: @@ -27152,9 +27869,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *205 + items: *208 examples: - default: &491 + default: &494 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27209,7 +27926,7 @@ paths: schema: type: object properties: - pattern_config_version: *203 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -27235,7 +27952,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *203 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27290,7 +28007,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *38 - - &494 + - &497 name: advanced_security_product in: query description: | @@ -27310,7 +28027,7 @@ paths: description: Success content: application/json: - schema: &495 + schema: &498 type: object properties: total_advanced_security_committers: @@ -27365,7 +28082,7 @@ paths: required: - repositories examples: - default: &496 + default: &499 value: total_advanced_security_committers: 2 total_count: 2 @@ -27407,7 +28124,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *38 - - &209 + - &212 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, @@ -27416,7 +28133,7 @@ paths: required: false schema: type: integer - - &210 + - &213 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 @@ -27425,7 +28142,7 @@ paths: required: false schema: type: integer - - &211 + - &214 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 @@ -27434,7 +28151,7 @@ paths: required: false schema: type: integer - - &212 + - &215 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -27442,21 +28159,21 @@ paths: required: false schema: type: string - - &213 + - &216 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &214 + - &217 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &218 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -27595,7 +28312,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28156,7 +28873,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *38 - - &206 + - &209 name: budget_id description: The ID corresponding to the budget. in: path @@ -28265,7 +28982,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28581,7 +29298,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *38 - - *206 + - *209 responses: '200': description: Response when deleting a budget @@ -28608,7 +29325,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28632,7 +29349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *38 - - *206 + - *209 - name: page description: The page number of results to fetch. in: query @@ -28728,7 +29445,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28869,7 +29586,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29054,7 +29771,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *38 - - &208 + - &211 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -29136,7 +29853,7 @@ paths: - name - resources examples: - default: &207 + default: &210 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -29154,7 +29871,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29292,15 +30009,15 @@ paths: - name - resources examples: - update-cost-center: *207 - update-cost-center-with-cap: *207 + update-cost-center: *210 + update-cost-center-with-cap: *210 '400': *14 '403': *29 '404': *6 '409': *118 '422': *15 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29322,7 +30039,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *38 - - *208 + - *211 responses: '200': description: Response when deleting a cost center @@ -29361,7 +30078,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29382,7 +30099,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *38 - - *208 + - *211 requestBody: required: true content: @@ -29462,7 +30179,7 @@ paths: '403': *29 '409': *118 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29482,7 +30199,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *38 - - *208 + - *211 requestBody: required: true content: @@ -29534,7 +30251,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29555,13 +30272,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *38 - - *209 - - *210 - - *211 - *212 - *213 - *214 - *215 + - *216 + - *217 + - *218 - 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. @@ -29694,7 +30411,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29728,7 +30445,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &216 + items: &219 type: object properties: id: @@ -29819,7 +30536,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29883,9 +30600,9 @@ paths: description: Report export request accepted content: application/json: - schema: *216 + schema: *219 examples: - usage-report-export: &217 + usage-report-export: &220 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -29901,7 +30618,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29936,14 +30653,14 @@ paths: description: Usage report export details content: application/json: - schema: *216 + schema: *219 examples: - usage-report-export: *217 + usage-report-export: *220 '401': *25 '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29964,7 +30681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *38 - - *209 + - *212 - 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 @@ -29973,7 +30690,7 @@ paths: required: false schema: type: integer - - *211 + - *214 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -30056,7 +30773,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30077,17 +30794,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *38 - - *209 - - *210 - - *211 - *212 + - *213 + - *214 + - *215 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *215 + - *218 - name: sku description: The SKU to query for usage. in: query @@ -30220,7 +30937,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30247,9 +30964,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *153 + default: *156 headers: Link: *44 '403': *29 @@ -30336,9 +31053,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: &223 + default: &226 value: id: 1 name: Justice League @@ -30367,7 +31084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *38 - - &218 + - &221 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -30386,7 +31103,7 @@ paths: type: array items: *4 examples: - default: &219 + default: &222 value: - login: octocat id: 1 @@ -30425,7 +31142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30456,7 +31173,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30474,7 +31191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30505,7 +31222,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30523,7 +31240,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *38 - - *218 + - *221 - *131 responses: '200': @@ -30532,7 +31249,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &220 + exampleKey1: &223 value: login: octocat id: 1 @@ -30568,7 +31285,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *38 - - *218 + - *221 - *131 responses: '201': @@ -30577,7 +31294,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *220 + exampleKey1: *223 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30595,7 +31312,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *38 - - *218 + - *221 - *131 responses: '204': @@ -30618,7 +31335,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *38 - - *218 + - *221 - *17 - *19 responses: @@ -30630,7 +31347,7 @@ paths: type: array items: *72 examples: - default: &221 + default: &224 value: login: github id: 1 @@ -30661,7 +31378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30691,7 +31408,7 @@ paths: type: array items: *72 examples: - default: &262 + default: &265 value: - login: github id: 1 @@ -30722,7 +31439,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30763,7 +31480,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '200': @@ -30772,7 +31489,7 @@ paths: application/json: schema: *72 examples: - default: *221 + default: *224 '404': description: The team is not assigned to the organization x-github: @@ -30791,7 +31508,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '201': @@ -30800,7 +31517,7 @@ paths: application/json: schema: *72 examples: - default: *221 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30817,7 +31534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '204': @@ -30842,7 +31559,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *38 - - &222 + - &225 name: team_slug description: The slug of the team name. in: path @@ -30957,7 +31674,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *38 - - *222 + - *225 requestBody: required: true content: @@ -31022,9 +31739,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *223 + default: *226 headers: Link: *44 '403': *29 @@ -31047,7 +31764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *38 - - *222 + - *225 responses: '204': description: Response @@ -31099,7 +31816,7 @@ paths: type: integer visual_studio_subscriptions: type: array - items: &224 + items: &227 title: Visual Studio Subscription Assignment description: Visual Studio Subscription Assignment type: object @@ -31185,7 +31902,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -31228,7 +31945,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -31332,7 +32049,7 @@ paths: application/json: schema: type: array - items: &257 + items: &260 title: Event description: Event type: object @@ -31342,7 +32059,7 @@ paths: type: type: string nullable: true - actor: &225 + actor: &228 title: Actor description: Actor type: object @@ -31382,7 +32099,7 @@ paths: - id - name - url - org: *225 + org: *228 payload: oneOf: - title: CreateEvent @@ -31428,7 +32145,7 @@ paths: properties: action: type: string - discussion: &957 + discussion: &960 title: Discussion description: A Discussion in a repository. type: object @@ -31715,7 +32432,7 @@ paths: - id labels: type: array - items: &230 + items: &233 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -31806,12 +32523,12 @@ paths: properties: action: type: string - issue: &231 + issue: &234 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &709 + properties: &712 id: type: integer format: int64 @@ -31923,7 +32640,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &438 + properties: &441 url: type: string format: uri @@ -31993,7 +32710,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &439 + required: &442 - closed_issues - creator - description @@ -32072,7 +32789,7 @@ paths: timeline_url: type: string format: uri - type: &403 + type: &406 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -32135,9 +32852,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - author_association: &228 + properties: *229 + required: *230 + author_association: &231 title: author_association type: string example: OWNER @@ -32152,7 +32869,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &229 + reactions: &232 title: Reaction Rollup type: object properties: @@ -32188,7 +32905,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &873 + sub_issues_summary: &876 title: Sub-issues Summary type: object properties: @@ -32213,7 +32930,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &232 + properties: &235 id: description: Unique identifier of the issue comment example: 42 @@ -32256,7 +32973,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *231 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -32267,15 +32984,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *229 + required: *230 + reactions: *232 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &738 + properties: &741 pinned_at: type: string format: date-time @@ -32287,7 +33004,7 @@ paths: properties: *20 required: *21 nullable: true - required: &739 + required: &742 - pinned_at - pinned_by nullable: true @@ -32296,16 +33013,16 @@ paths: description: Details about why an issue comment was minimized. type: object - properties: &740 + properties: &743 reason: description: The reason the comment was minimized. type: string nullable: true example: low-quality - required: &741 + required: &744 - reason nullable: true - required: &233 + required: &236 - id - node_id - html_url @@ -32315,7 +33032,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &874 + issue_dependencies_summary: &877 title: Issue Dependencies Summary type: object properties: @@ -32334,7 +33051,7 @@ paths: - total_blocking issue_field_values: type: array - items: &720 + items: &723 title: Issue Field Value description: A value assigned to an issue field type: object @@ -32426,7 +33143,7 @@ paths: - node_id - data_type - value - required: &710 + required: &713 - closed_at - comments - comments_url @@ -32450,10 +33167,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *233 labels: type: array - items: *230 + items: *233 required: - action - issue @@ -32462,14 +33179,14 @@ paths: properties: action: type: string - issue: *231 - comment: &705 + issue: *234 + comment: &708 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 required: - action - issue @@ -32642,8 +33359,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true allow_forking: type: boolean @@ -32732,7 +33449,7 @@ paths: type: string number: type: integer - pull_request: &236 + pull_request: &239 title: Pull Request Minimal type: object properties: @@ -32803,10 +33520,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *233 labels: type: array - items: *230 + items: *233 required: - action - number @@ -32816,7 +33533,7 @@ paths: properties: action: type: string - pull_request: *236 + pull_request: *239 comment: type: object properties: @@ -33067,7 +33784,7 @@ paths: - pull_request updated_at: type: string - pull_request: *236 + pull_request: *239 required: - action - review @@ -33116,7 +33833,7 @@ paths: updated_at: type: string format: date-time - reactions: *229 + reactions: *232 required: - action - comment @@ -33127,7 +33844,7 @@ paths: type: string release: allOf: - - &789 + - &792 title: Release description: A release. type: object @@ -33198,7 +33915,7 @@ paths: author: *4 assets: type: array - items: &790 + items: &793 title: Release Asset description: Data related to a release. type: object @@ -33273,7 +33990,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *229 + reactions: *232 required: - assets_url - upload_url @@ -33365,7 +34082,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *34 '403': *29 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33446,7 +34163,7 @@ paths: _links: type: object properties: - timeline: &237 + timeline: &240 title: Link With Type description: Hypermedia Link with Type type: object @@ -33458,17 +34175,17 @@ paths: required: - href - type - user: *237 - security_advisories: *237 - current_user: *237 - current_user_public: *237 - current_user_actor: *237 - current_user_organization: *237 + user: *240 + security_advisories: *240 + current_user: *240 + current_user_public: *240 + current_user_actor: *240 + current_user_organization: *240 current_user_organizations: type: array - items: *237 - repository_discussions: *237 - repository_discussions_category: *237 + items: *240 + repository_discussions: *240 + repository_discussions_category: *240 required: - timeline - user @@ -33530,7 +34247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *238 + - *241 - *17 - *19 responses: @@ -33540,7 +34257,7 @@ paths: application/json: schema: type: array - items: &239 + items: &242 title: Base Gist description: Base Gist type: object @@ -33625,7 +34342,7 @@ paths: - created_at - updated_at examples: - default: &240 + default: &243 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33746,7 +34463,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &244 title: Gist Simple description: Gist Simple type: object @@ -33914,7 +34631,7 @@ paths: truncated: type: boolean examples: - default: &242 + default: &245 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -34018,7 +34735,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *238 + - *241 - *17 - *19 responses: @@ -34028,9 +34745,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '422': *15 @@ -34052,7 +34769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *238 + - *241 - *17 - *19 responses: @@ -34062,9 +34779,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '401': *25 @@ -34091,7 +34808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &243 + - &246 name: gist_id description: The unique identifier of the gist. in: path @@ -34103,10 +34820,10 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 - '403': &246 + default: *245 + '403': &249 description: Forbidden Gist content: application/json: @@ -34153,7 +34870,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *243 + - *246 requestBody: required: true content: @@ -34213,9 +34930,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - updateGist: *242 + updateGist: *245 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -34373,7 +35090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -34401,7 +35118,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *243 + - *246 - *17 - *19 responses: @@ -34411,7 +35128,7 @@ paths: application/json: schema: type: array - items: &244 + items: &247 title: Gist Comment description: A comment made to a gist. type: object @@ -34446,7 +35163,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *228 + author_association: *231 required: - url - id @@ -34510,7 +35227,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *243 + - *246 requestBody: required: true content: @@ -34535,9 +35252,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: &245 + default: &248 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -34594,8 +35311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *243 - - &247 + - *246 + - &250 name: comment_id description: The unique identifier of the comment. in: path @@ -34608,12 +35325,12 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: *245 + default: *248 '304': *34 '404': *6 - '403': *246 + '403': *249 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34634,8 +35351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *243 - - *247 + - *246 + - *250 requestBody: required: true content: @@ -34660,9 +35377,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: *245 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -34679,8 +35396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *243 - - *247 + - *246 + - *250 responses: '204': description: Response @@ -34703,7 +35420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *243 + - *246 - *17 - *19 responses: @@ -34804,7 +35521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *243 + - *246 - *17 - *19 responses: @@ -34814,7 +35531,7 @@ paths: application/json: schema: type: array - items: *241 + items: *244 examples: default: value: @@ -34879,13 +35596,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *243 + - *246 responses: '201': description: Response content: application/json: - schema: *239 + schema: *242 examples: default: value: @@ -34955,7 +35672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *243 + - *246 responses: '204': description: Response if gist is starred @@ -34985,7 +35702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -35007,7 +35724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -35035,7 +35752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *243 + - *246 - name: sha in: path required: true @@ -35046,9 +35763,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '422': *15 '404': *6 '403': *29 @@ -35428,7 +36145,7 @@ paths: - closed - all default: open - - &406 + - &409 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -35447,7 +36164,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - name: collab in: query required: false @@ -35477,9 +36194,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: &407 + default: &410 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35763,8 +36480,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 examples: default: value: @@ -36049,7 +36766,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &248 + X-CommonMarker-Version: &251 example: 0.17.4 schema: type: string @@ -36104,7 +36821,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *248 + X-CommonMarker-Version: *251 content: text/html: schema: @@ -36133,7 +36850,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: - - &251 + - &254 name: account_id description: account_id parameter in: path @@ -36145,7 +36862,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &253 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -36175,7 +36892,7 @@ paths: nullable: true id: type: integer - plan: &249 + plan: &252 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -36264,7 +36981,7 @@ paths: nullable: true updated_at: type: string - plan: *249 + plan: *252 required: - url - id @@ -36272,7 +36989,7 @@ paths: - login - marketplace_purchase examples: - default: &252 + default: &255 value: url: https://api.github.com/orgs/github type: Organization @@ -36357,9 +37074,9 @@ paths: application/json: schema: type: array - items: *249 + items: *252 examples: - default: &253 + default: &256 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -36399,14 +37116,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &254 + - &257 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &255 + - &258 name: sort description: The property to sort the results by. in: query @@ -36436,9 +37153,9 @@ paths: application/json: schema: type: array - items: *250 + items: *253 examples: - default: &256 + default: &259 value: - url: https://api.github.com/orgs/github type: Organization @@ -36512,15 +37229,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: - - *251 + - *254 responses: '200': description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *252 + default: *255 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -36552,9 +37269,9 @@ paths: application/json: schema: type: array - items: *249 + items: *252 examples: - default: *253 + default: *256 headers: Link: *44 '401': *25 @@ -36577,8 +37294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *254 - - *255 + - *257 + - *258 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36598,9 +37315,9 @@ paths: application/json: schema: type: array - items: *250 + items: *253 examples: - default: *256 + default: *259 headers: Link: *44 '401': *25 @@ -36878,14 +37595,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: - - &509 + - &512 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &510 + - &513 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -36902,7 +37619,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -36947,7 +37664,7 @@ paths: '404': *6 '403': *29 '304': *34 - '301': &515 + '301': &518 description: Moved permanently content: application/json: @@ -36969,7 +37686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &761 + - &764 name: all description: If `true`, show notifications marked as read. in: query @@ -36977,7 +37694,7 @@ paths: schema: type: boolean default: false - - &762 + - &765 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -36986,8 +37703,8 @@ paths: schema: type: boolean default: false - - *238 - - &763 + - *241 + - &766 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: @@ -37012,18 +37729,18 @@ paths: application/json: schema: type: array - items: &258 + items: &261 title: Thread description: Thread type: object properties: id: type: string - repository: &292 + repository: &295 title: Minimal Repository description: Minimal Repository type: object - properties: &371 + properties: &374 id: type: integer format: int64 @@ -37307,7 +38024,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &452 + security_and_analysis: &455 nullable: true type: object properties: @@ -37435,7 +38152,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &372 + required: &375 - archive_url - assignees_url - blobs_url @@ -37523,7 +38240,7 @@ paths: - url - subscription_url examples: - default: &764 + default: &767 value: - id: '1' repository: @@ -37689,7 +38406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &259 + - &262 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 @@ -37703,7 +38420,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *261 examples: default: value: @@ -37806,7 +38523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *259 + - *262 responses: '205': description: Reset Content @@ -37829,7 +38546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *259 + - *262 responses: '204': description: No content @@ -37852,13 +38569,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: - - *259 + - *262 responses: '200': description: Response content: application/json: - schema: &260 + schema: &263 title: Thread Subscription description: Thread Subscription type: object @@ -37895,7 +38612,7 @@ paths: - url - subscribed examples: - default: &261 + default: &264 value: subscribed: true ignored: false @@ -37926,7 +38643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *259 + - *262 requestBody: required: false content: @@ -37947,9 +38664,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *263 examples: - default: *261 + default: *264 '304': *34 '403': *29 '401': *25 @@ -37972,7 +38689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *259 + - *262 responses: '204': description: Response @@ -38069,7 +38786,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: example: ; rel="next" @@ -38141,7 +38858,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &266 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -38179,7 +38896,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *266 examples: selected_actions: *41 responses: @@ -38214,7 +38931,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &267 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -38252,7 +38969,7 @@ paths: required: true content: application/json: - schema: *264 + schema: *267 examples: selected_actions: *43 responses: @@ -38293,9 +39010,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: &770 + default: &773 value: - property_name: environment value: production @@ -38341,11 +39058,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *161 + items: *164 required: - properties examples: - default: &771 + default: &774 value: properties: - property_name: environment @@ -38392,7 +39109,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &268 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38724,7 +39441,7 @@ paths: - updated_at - archived_at examples: - default-response: &266 + default-response: &269 value: login: github id: 1 @@ -39044,17 +39761,17 @@ paths: description: Response content: application/json: - schema: *265 + schema: *268 examples: - default: *266 + default: *269 '422': description: Validation failed content: application/json: schema: oneOf: - - *267 - - *268 + - *270 + - *271 '409': *118 x-github: githubCloudOnly: false @@ -39110,9 +39827,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 headers: Link: *44 x-github: @@ -39153,7 +39870,7 @@ paths: type: integer repository_cache_usages: type: array - items: &522 + items: &525 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -39228,7 +39945,7 @@ paths: type: array items: *45 examples: - default: *271 + default: *274 headers: Link: *44 x-github: @@ -39394,7 +40111,7 @@ paths: application/json: schema: *46 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39486,7 +40203,7 @@ paths: application/json: schema: *49 examples: - default: *273 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39605,9 +40322,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *275 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39643,7 +40360,7 @@ paths: type: array items: *53 examples: - default: *276 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39886,7 +40603,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *280 examples: default: *57 responses: @@ -39979,7 +40696,7 @@ paths: required: - include_claim_keys examples: - default: &278 + default: &281 value: include_claim_keys: - repo @@ -40024,13 +40741,13 @@ paths: format. type: boolean examples: - default: *278 + default: *281 responses: '201': description: Empty response content: application/json: - schema: &303 + schema: &306 title: Empty Object description: An object without any properties. type: object @@ -40069,7 +40786,7 @@ paths: schema: type: object properties: - enabled_repositories: &280 + enabled_repositories: &283 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -40083,7 +40800,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *59 - selected_actions_url: *279 + selected_actions_url: *282 sha_pinning_required: *60 required: - enabled_repositories @@ -40125,7 +40842,7 @@ paths: schema: type: object properties: - enabled_repositories: *280 + enabled_repositories: *283 allowed_actions: *59 sha_pinning_required: *60 required: @@ -40161,7 +40878,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: response: summary: Example response @@ -40192,7 +40909,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: application/json: value: @@ -40230,7 +40947,7 @@ paths: application/json: schema: *61 examples: - default: *283 + default: *286 '404': *6 x-github: enabledForGitHubApps: true @@ -40287,7 +41004,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *287 examples: default: *62 '403': *29 @@ -40312,7 +41029,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *288 examples: default: *62 responses: @@ -40364,7 +41081,7 @@ paths: type: array items: *77 examples: - default: &287 + default: &290 value: total_count: 1 repositories: @@ -40549,7 +41266,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *86 - - &286 + - &289 name: repository_id description: The unique identifier of the repository. in: path @@ -40578,7 +41295,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -40774,7 +41491,7 @@ paths: type: array items: *77 examples: - default: *287 + default: *290 '403': *29 '404': *6 x-github: @@ -40843,7 +41560,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: - *86 - - *286 + - *289 responses: '204': description: No content @@ -40870,7 +41587,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: - *86 - - *286 + - *289 responses: '204': description: No content @@ -40904,7 +41621,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: *68 x-github: @@ -40938,7 +41655,7 @@ paths: required: false content: application/json: - schema: *289 + schema: *292 examples: default: *68 x-github: @@ -40985,7 +41702,7 @@ paths: type: number runner_groups: type: array - items: &290 + items: &293 type: object properties: id: @@ -41173,9 +41890,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: - default: &291 + default: &294 value: id: 2 name: octo-runner-group @@ -41217,7 +41934,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -41308,9 +42025,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: - default: *291 + default: *294 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41374,7 +42091,7 @@ paths: type: array items: *45 examples: - default: *271 + default: *274 headers: Link: *44 x-github: @@ -41415,9 +42132,9 @@ paths: type: number repositories: type: array - items: *292 + items: *295 examples: - default: &346 + default: &349 value: total_count: 1 repositories: @@ -41716,7 +42433,7 @@ paths: parameters: - *86 - *71 - - *286 + - *289 responses: '204': description: Response @@ -41740,7 +42457,7 @@ paths: parameters: - *86 - *71 - - *286 + - *289 responses: '204': description: Response @@ -42021,9 +42738,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42088,7 +42805,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *298 '404': *6 '422': *7 '409': *118 @@ -42127,7 +42844,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42163,7 +42880,7 @@ paths: application/json: schema: *78 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42194,7 +42911,7 @@ paths: application/json: schema: *75 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42369,7 +43086,7 @@ paths: - *86 - *74 responses: - '200': *299 + '200': *302 '404': *6 x-github: githubCloudOnly: false @@ -42398,7 +43115,7 @@ paths: parameters: - *86 - *74 - - *300 + - *303 responses: '200': *80 '404': *6 @@ -42443,7 +43160,7 @@ paths: type: integer secrets: type: array - items: &301 + items: &304 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -42475,7 +43192,7 @@ paths: - updated_at - visibility examples: - default: &307 + default: &310 value: total_count: 3 secrets: @@ -42522,7 +43239,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &311 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42551,7 +43268,7 @@ paths: - key_id - key examples: - default: &309 + default: &312 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42577,7 +43294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *86 - - &302 + - &305 name: secret_name description: The name of the secret. in: path @@ -42589,9 +43306,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: &310 + default: &313 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42620,7 +43337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -42677,7 +43394,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -42704,7 +43421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -42731,7 +43448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -42749,9 +43466,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: &306 + default: &309 value: total_count: 1 repositories: @@ -42844,7 +43561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -42897,7 +43614,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -42931,7 +43648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -42964,7 +43681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *86 - - &311 + - &314 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)." @@ -42988,7 +43705,7 @@ paths: type: integer variables: type: array - items: &304 + items: &307 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -43031,7 +43748,7 @@ paths: - updated_at - visibility examples: - default: &312 + default: &315 value: total_count: 3 variables: @@ -43121,7 +43838,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -43147,7 +43864,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *86 - - &305 + - &308 name: name description: The name of the variable. in: path @@ -43159,9 +43876,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *307 examples: - default: &313 + default: &316 value: name: USERNAME value: octocat @@ -43190,7 +43907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -43253,7 +43970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '204': description: Response @@ -43280,7 +43997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 - *19 - *17 responses: @@ -43298,9 +44015,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43327,7 +44044,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -43377,7 +44094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -43412,7 +44129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -43464,9 +44181,9 @@ paths: type: integer secrets: type: array - items: *301 + items: *304 examples: - default: *307 + default: *310 headers: Link: *44 x-github: @@ -43497,9 +44214,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43522,15 +44239,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: *310 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43553,7 +44270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -43610,7 +44327,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -43637,7 +44354,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -43664,7 +44381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -43682,9 +44399,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43708,7 +44425,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -43761,7 +44478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -43795,7 +44512,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -43829,7 +44546,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *86 - - *311 + - *314 - *19 responses: '200': @@ -43846,9 +44563,9 @@ paths: type: integer variables: type: array - items: *304 + items: *307 examples: - default: *312 + default: *315 headers: Link: *44 x-github: @@ -43919,7 +44636,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -43945,15 +44662,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '200': description: Response content: application/json: - schema: *304 + schema: *307 examples: - default: *313 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43975,7 +44692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -44038,7 +44755,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '204': description: Response @@ -44065,7 +44782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 - *19 - *17 responses: @@ -44083,9 +44800,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44112,7 +44829,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -44162,7 +44879,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -44197,7 +44914,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -44255,7 +44972,7 @@ paths: required: true content: application/json: - schema: *314 + schema: *317 examples: default: *84 parameters: @@ -44439,7 +45156,7 @@ paths: type: integer deployment_records: type: array - items: &315 + items: &318 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44485,7 +45202,7 @@ paths: required: - total_count examples: - default: &316 + default: &319 value: total_count: 1 deployment_records: @@ -44673,11 +45390,11 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 required: - total_count examples: - default: *316 + default: *319 '207': description: | This response format is only returned when `partial_success` is set to true in the request body. @@ -44694,7 +45411,7 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 errors: type: array description: A list of errors for deployments that could not be @@ -45274,9 +45991,9 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 examples: - default: *316 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45405,12 +46122,12 @@ paths: required: - subject_digests examples: - default: &915 + default: &918 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &916 + withPredicateType: &919 value: subject_digests: - sha256:abc123 @@ -45454,7 +46171,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &917 + default: &920 value: attestations_subject_digests: - sha256:abc: @@ -45787,7 +46504,7 @@ paths: initiator: type: string examples: - default: &555 + default: &558 value: attestations: - repository_id: 1 @@ -45831,7 +46548,7 @@ paths: required: false schema: type: string - - *317 + - *320 - *128 - *129 - *130 @@ -45843,9 +46560,9 @@ paths: application/json: schema: type: array - items: *318 + items: *321 examples: - default: *319 + default: *322 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45874,7 +46591,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45968,7 +46685,7 @@ paths: subcategory: bypass-requests parameters: - *86 - - &322 + - &325 name: repository_name description: The name of the repository to filter on. in: query @@ -45987,9 +46704,9 @@ paths: application/json: schema: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 '404': *6 '500': *37 "/orgs/{org}/bypass-requests/secret-scanning": @@ -46013,7 +46730,7 @@ paths: subcategory: delegated-bypass parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 @@ -46027,9 +46744,9 @@ paths: application/json: schema: type: array - items: *323 + items: *326 examples: - default: *324 + default: *327 '404': *6 '500': *37 "/orgs/{org}/campaigns": @@ -46056,7 +46773,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &326 + schema: &329 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -46082,7 +46799,7 @@ paths: application/json: schema: type: array - items: &327 + items: &330 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -46113,7 +46830,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *325 + items: *328 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -46131,7 +46848,7 @@ paths: type: string format: date-time nullable: true - state: *326 + state: *329 contact_link: description: The contact link of the campaign. type: string @@ -46228,7 +46945,7 @@ paths: headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46351,9 +47068,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: &328 + default: &331 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -46402,7 +47119,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46436,16 +47153,16 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: *328 + default: *331 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46515,7 +47232,7 @@ paths: type: string format: uri nullable: true - state: *326 + state: *329 examples: default: value: @@ -46525,9 +47242,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: *328 + default: *331 '400': description: Bad Request content: @@ -46539,7 +47256,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46571,7 +47288,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46604,7 +47321,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &332 title: Code scanning AI Scan organization settings description: The AI Scan organization setting type: object @@ -46623,7 +47340,7 @@ paths: required: - pr_scan examples: - default: &330 + default: &333 value: pr_scan: enabled '403': *29 @@ -46682,9 +47399,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 '403': *29 '404': *6 '422': *15 @@ -46710,8 +47427,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *86 - - *331 - - *332 + - *334 + - *335 - *107 - *108 - *19 @@ -46722,7 +47439,7 @@ paths: be returned. in: query required: false - schema: *333 + schema: *336 - name: sort description: The property by which to sort the results. in: query @@ -46738,7 +47455,7 @@ paths: be returned. in: query required: false - schema: &585 + schema: &588 type: string description: Severity of a code scanning alert. enum: @@ -46764,13 +47481,13 @@ paths: application/json: schema: type: array - items: *334 + items: *337 examples: - default: *335 + default: *338 headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47141,7 +47858,7 @@ paths: application/json: schema: *113 examples: - default: *336 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47169,9 +47886,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *340 examples: - default: *338 + default: *341 '304': *34 '403': *29 '404': *6 @@ -47260,7 +47977,7 @@ paths: application/json: schema: *113 examples: - default: *336 + default: *339 '304': *34 '403': *29 '404': *6 @@ -47705,7 +48422,7 @@ paths: default: value: default_for_new_repos: all - configuration: *336 + configuration: *339 '403': *29 '404': *6 x-github: @@ -47758,13 +48475,13 @@ paths: application/json: schema: type: array - items: *339 + items: *342 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *340 + repository: *343 '403': *29 '404': *6 x-github: @@ -47804,7 +48521,7 @@ paths: type: integer codespaces: type: array - items: &408 + items: &411 type: object title: Codespace description: A codespace. @@ -47829,12 +48546,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *292 + repository: *295 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &618 + properties: &621 name: type: string description: The name of the machine. @@ -47876,7 +48593,7 @@ paths: - ready - in_progress nullable: true - required: &619 + required: &622 - name - display_name - operating_system @@ -48081,7 +48798,7 @@ paths: - pulls_url - recent_folders examples: - default: &409 + default: &412 value: total_count: 3 codespaces: @@ -48705,7 +49422,7 @@ paths: type: integer secrets: type: array - items: &341 + items: &344 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -48744,7 +49461,7 @@ paths: - updated_at - visibility examples: - default: &620 + default: &623 value: total_count: 2 secrets: @@ -48782,7 +49499,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &624 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -48811,7 +49528,7 @@ paths: - key_id - key examples: - default: &622 + default: &625 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -48835,15 +49552,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *341 + schema: *344 examples: - default: &624 + default: &627 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48871,7 +49588,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -48926,7 +49643,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -48953,7 +49670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -48979,7 +49696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -48997,9 +49714,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -49022,7 +49739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -49073,7 +49790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -49107,7 +49824,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -49177,7 +49894,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &342 + items: &345 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -49558,9 +50275,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: &343 + default: &346 summary: Example response for an organization copilot space value: id: 84 @@ -49665,9 +50382,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '403': *29 '404': *6 x-github: @@ -49793,9 +50510,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '403': *29 '404': *6 '422': *15 @@ -49878,7 +50595,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &344 + items: &347 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -50101,7 +50818,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: user: value: @@ -50231,7 +50948,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: user: value: @@ -50382,7 +51099,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &345 + items: &348 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -50525,7 +51242,7 @@ paths: description: Resource created content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -50541,7 +51258,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -50596,7 +51313,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -50665,7 +51382,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -50907,9 +51624,9 @@ paths: currently being billed. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 headers: Link: *44 '500': *37 @@ -51393,12 +52110,12 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 required: - total_count - repositories examples: - default: *346 + default: *349 '500': *37 '401': *25 '403': *29 @@ -51484,7 +52201,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: - *86 - - *286 + - *289 responses: '204': description: No Content @@ -51518,7 +52235,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: - *86 - - *286 + - *289 responses: '204': description: No Content @@ -51666,7 +52383,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *347 + '413': *350 '422': *7 x-github: githubCloudOnly: @@ -52452,7 +53169,7 @@ paths: type: integer custom_roles: type: array - items: &348 + items: &351 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -52590,7 +53307,7 @@ paths: required: true content: application/json: - schema: &350 + schema: &353 type: object properties: name: @@ -52631,9 +53348,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: &349 + default: &352 value: id: 8030 name: Security Engineer @@ -52681,15 +53398,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '404': *6 x-github: githubCloudOnly: true @@ -52712,12 +53429,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: application/json: - schema: &351 + schema: &354 type: object properties: name: @@ -52755,9 +53472,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -52782,7 +53499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -52815,7 +53532,7 @@ paths: required: true content: application/json: - schema: *350 + schema: *353 examples: default: value: @@ -52829,9 +53546,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -52862,15 +53579,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '404': *6 x-github: githubCloudOnly: true @@ -52899,12 +53616,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: application/json: - schema: *351 + schema: *354 examples: default: value: @@ -52919,9 +53636,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -52952,7 +53669,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -52981,12 +53698,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *86 - - *352 - - *353 - - *354 - *355 - *356 - *357 + - *358 + - *359 + - *360 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -53016,7 +53733,7 @@ paths: enum: - patch - deployment - - *358 + - *361 - name: runtime_risk in: query description: |- @@ -53025,9 +53742,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *359 - - *360 - - *361 + - *362 + - *363 + - *364 - *109 - *107 - *108 @@ -53039,9 +53756,9 @@ paths: application/json: schema: type: array - items: *362 + items: *365 examples: - default: *363 + default: *366 '304': *34 '400': *14 '403': *29 @@ -53090,9 +53807,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *367 examples: - default: *365 + default: *368 '403': *29 '404': *6 x-github: @@ -53255,7 +53972,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &369 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -53332,7 +54049,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &657 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -53349,7 +54066,7 @@ paths: - key_id - key examples: - default: &655 + default: &658 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -53373,13 +54090,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: default: value: @@ -53408,7 +54125,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -53463,7 +54180,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -53488,7 +54205,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -53513,7 +54230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -53531,9 +54248,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53555,7 +54272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -53606,7 +54323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -53638,7 +54355,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -53675,7 +54392,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - &664 + - &667 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -53683,7 +54400,7 @@ paths: required: false schema: type: string - - &665 + - &668 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -53691,7 +54408,7 @@ paths: required: false schema: type: string - - &666 + - &669 name: time_period description: |- The time period to filter by. @@ -53707,7 +54424,7 @@ paths: - week - month default: month - - &667 + - &670 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -53722,7 +54439,7 @@ paths: - denied - all default: all - - *322 + - *325 - *17 - *19 responses: @@ -53732,7 +54449,7 @@ paths: application/json: schema: type: array - items: &668 + items: &671 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -53838,7 +54555,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &368 + items: &371 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -53888,7 +54605,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &669 + default: &672 value: - id: 21 number: 42 @@ -53976,11 +54693,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -53990,7 +54707,7 @@ paths: application/json: schema: type: array - items: &670 + items: &673 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -54096,7 +54813,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *368 + items: *371 url: type: string format: uri @@ -54107,7 +54824,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &671 + default: &674 value: - id: 21 number: 42 @@ -54195,11 +54912,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -54209,9 +54926,9 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: - default: *370 + default: *373 '404': *6 '403': *29 '500': *37 @@ -54237,7 +54954,7 @@ paths: application/json: schema: type: array - items: &419 + items: &422 title: Package description: A software package type: object @@ -54287,8 +55004,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *371 - required: *372 + properties: *374 + required: *375 nullable: true created_at: type: string @@ -54307,7 +55024,7 @@ paths: - created_at - updated_at examples: - default: &420 + default: &423 value: - id: 197 name: hello_docker @@ -54395,7 +55112,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: 200-response: value: @@ -54494,7 +55211,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &509 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -54575,7 +55292,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &507 + default: &510 value: group_id: '123' group_name: Octocat admins @@ -54630,7 +55347,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &506 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -54667,7 +55384,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &504 + default: &507 value: groups: - group_id: '123' @@ -54712,7 +55429,7 @@ paths: application/json: schema: type: array - items: &397 + items: &400 title: Organization Invitation description: Organization Invitation type: object @@ -54759,7 +55476,7 @@ paths: - invitation_teams_url - node_id examples: - default: &398 + default: &401 value: - id: 1 login: monalisa @@ -54826,7 +55543,7 @@ paths: application/json: schema: type: array - items: &453 + items: &456 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -54840,7 +55557,7 @@ paths: - name - description examples: - default: &454 + default: &457 value: - name: add_assignee description: Assign or remove a user @@ -54881,7 +55598,7 @@ paths: application/json: schema: type: array - items: &373 + items: &376 title: Org Hook description: Org Hook type: object @@ -55050,9 +55767,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: - default: &374 + default: &377 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -55097,7 +55814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *86 - - &375 + - &378 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. @@ -55110,9 +55827,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: - default: *374 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -55134,7 +55851,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *86 - - *375 + - *378 requestBody: required: false content: @@ -55179,7 +55896,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: default: value: @@ -55219,7 +55936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *86 - - *375 + - *378 responses: '204': description: Response @@ -55245,7 +55962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *86 - - *375 + - *378 responses: '200': description: Response @@ -55274,7 +55991,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *86 - - *375 + - *378 requestBody: required: false content: @@ -55323,10 +56040,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *86 - - *375 + - *378 - *17 - - *376 - - *377 + - *379 + - *380 responses: '200': description: Response @@ -55334,9 +56051,9 @@ paths: application/json: schema: type: array - items: *378 + items: *381 examples: - default: *379 + default: *382 '400': *14 '422': *15 x-github: @@ -55360,16 +56077,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *86 - - *375 + - *378 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *383 examples: - default: *381 + default: *384 '400': *14 '422': *15 x-github: @@ -55393,7 +56110,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *86 - - *375 + - *378 - *16 responses: '202': *36 @@ -55420,7 +56137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *86 - - *375 + - *378 responses: '204': description: Response @@ -55445,7 +56162,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *86 - - &386 + - &389 name: actor_type in: path description: The type of the actor @@ -55458,14 +56175,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &387 + - &390 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &382 + - &385 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`.' @@ -55473,7 +56190,7 @@ paths: required: true schema: type: string - - &383 + - &386 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) @@ -55569,12 +56286,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *86 - - *382 - - *383 + - *385 + - *386 - *19 - *17 - *109 - - &392 + - &395 name: sort description: The property to sort the results by. in: query @@ -55654,14 +56371,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *86 - - *382 - - *383 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: &384 + schema: &387 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -55677,7 +56394,7 @@ paths: type: integer format: int64 examples: - default: &385 + default: &388 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -55700,23 +56417,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *86 - - &388 + - &391 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *382 - - *383 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *384 + schema: *387 examples: - default: *385 + default: *388 x-github: enabledForGitHubApps: true category: orgs @@ -55736,18 +56453,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *86 - - *382 - - *383 + - *385 - *386 - - *387 + - *389 + - *390 responses: '200': description: Response content: application/json: - schema: *384 + schema: *387 examples: - default: *385 + default: *388 x-github: enabledForGitHubApps: true category: orgs @@ -55767,9 +56484,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *86 - - *382 - - *383 - - &389 + - *385 + - *386 + - &392 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -55782,7 +56499,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &393 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -55798,7 +56515,7 @@ paths: type: integer format: int64 examples: - default: &391 + default: &394 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -55837,18 +56554,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *86 - - *388 - - *382 - - *383 - - *389 + - *391 + - *385 + - *386 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: *391 + default: *394 x-github: enabledForGitHubApps: true category: orgs @@ -55868,19 +56585,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *86 - - *386 - - *387 - - *382 - - *383 - *389 + - *390 + - *385 + - *386 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: *391 + default: *394 x-github: enabledForGitHubApps: true category: orgs @@ -55900,13 +56617,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *86 - - *388 - - *382 - - *383 + - *391 + - *385 + - *386 - *19 - *17 - *109 - - *392 + - *395 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -55987,7 +56704,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56107,12 +56824,12 @@ paths: application/json: schema: anyOf: - - &395 + - &398 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &394 + limit: &397 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -56137,7 +56854,7 @@ paths: properties: {} additionalProperties: false examples: - default: &396 + default: &399 value: limit: collaborators_only origin: organization @@ -56166,13 +56883,13 @@ paths: required: true content: application/json: - schema: &700 + schema: &703 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *394 + limit: *397 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -56196,9 +56913,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *396 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -56410,9 +57127,9 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: - default: *398 + default: *401 headers: Link: *44 '404': *6 @@ -56490,7 +57207,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: default: value: @@ -56547,7 +57264,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *86 - - &399 + - &402 name: invitation_id description: The unique identifier of the invitation. in: path @@ -56581,7 +57298,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *86 - - *399 + - *402 - *17 - *19 responses: @@ -56591,9 +57308,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: &418 + default: &421 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -56636,7 +57353,7 @@ paths: application/json: schema: type: array - items: &400 + items: &403 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -56889,9 +57606,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: &401 + default: &404 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -56947,7 +57664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *86 - - &402 + - &405 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -57055,9 +57772,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 '404': *6 '422': *7 x-github: @@ -57082,7 +57799,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *86 - - *402 + - *405 responses: '204': *125 '404': *6 @@ -57112,9 +57829,9 @@ paths: application/json: schema: type: array - items: *403 + items: *406 examples: - default: &704 + default: &707 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -57197,9 +57914,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: &404 + default: &407 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -57232,7 +57949,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *86 - - &405 + - &408 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -57285,9 +58002,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: *404 + default: *407 '404': *6 '422': *7 x-github: @@ -57312,7 +58029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *86 - - *405 + - *408 responses: '204': description: Response @@ -57375,7 +58092,7 @@ paths: - closed - all default: open - - *406 + - *409 - name: type description: Can be the name of an issue type. in: query @@ -57394,7 +58111,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -57404,9 +58121,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *407 + default: *410 headers: Link: *44 '404': *6 @@ -57466,7 +58183,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '422': *15 @@ -57566,9 +58283,9 @@ paths: type: integer codespaces: type: array - items: *408 + items: *411 examples: - default: *409 + default: *412 '304': *34 '500': *37 '401': *25 @@ -57595,7 +58312,7 @@ paths: parameters: - *86 - *131 - - &410 + - &413 name: codespace_name in: path required: true @@ -57630,15 +58347,15 @@ paths: parameters: - *86 - *131 - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: &617 + default: &620 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -57818,7 +58535,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *151 + schema: *154 examples: default: value: @@ -57894,7 +58611,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &414 title: Org Membership description: Org Membership type: object @@ -57961,7 +58678,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &412 + response-if-user-has-an-active-admin-membership-with-organization: &415 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -58062,9 +58779,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *414 examples: - response-if-user-already-had-membership-with-organization: *412 + response-if-user-already-had-membership-with-organization: *415 '422': *15 '403': *29 '451': *15 @@ -58136,7 +58853,7 @@ paths: application/json: schema: type: array - items: &413 + items: &416 title: Migration description: A migration. type: object @@ -58465,7 +59182,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -58644,7 +59361,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *86 - - &414 + - &417 name: migration_id description: The unique identifier of the migration. in: path @@ -58671,7 +59388,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -58841,7 +59558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *86 - - *414 + - *417 responses: '302': description: Response @@ -58863,7 +59580,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *86 - - *414 + - *417 responses: '204': description: Response @@ -58887,8 +59604,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *86 - - *414 - - &897 + - *417 + - &900 name: repo_name description: repo_name parameter in: path @@ -58916,7 +59633,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *86 - - *414 + - *417 - *17 - *19 responses: @@ -59026,7 +59743,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &415 + items: &418 title: Organization Role description: Organization roles type: object @@ -59233,7 +59950,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: default: value: @@ -59285,7 +60002,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -59311,8 +60028,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *86 - - *222 - - *148 + - *225 + - *151 responses: '204': description: Response @@ -59342,8 +60059,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *86 - - *222 - - *148 + - *225 + - *151 responses: '204': description: Response @@ -59396,7 +60113,7 @@ paths: parameters: - *86 - *131 - - *148 + - *151 responses: '204': description: Response @@ -59428,7 +60145,7 @@ paths: parameters: - *86 - *131 - - *148 + - *151 responses: '204': description: Response @@ -59457,13 +60174,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *415 + schema: *418 examples: default: value: @@ -59521,7 +60238,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: @@ -59560,7 +60277,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: default: value: @@ -59614,7 +60331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -59640,7 +60357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *86 - - *148 + - *151 - *17 - *19 responses: @@ -59718,8 +60435,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *419 + required: *420 nullable: true type: description: The ownership type of the team @@ -59751,7 +60468,7 @@ paths: - type - parent examples: - default: *418 + default: *421 headers: Link: *44 '404': @@ -59781,7 +60498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *86 - - *148 + - *151 - *17 - *19 responses: @@ -59809,13 +60526,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &493 + items: &496 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *419 + required: *420 name: nullable: true type: string @@ -59910,7 +60627,7 @@ paths: - type - url examples: - default: *219 + default: *222 headers: Link: *44 '404': @@ -59961,7 +60678,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -60103,7 +60820,7 @@ paths: - nuget - container - *86 - - &898 + - &901 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -60139,12 +60856,12 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: *420 + default: *423 '403': *29 '401': *25 - '400': &900 + '400': &903 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -60166,7 +60883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &421 + - &424 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 @@ -60184,7 +60901,7 @@ paths: - docker - nuget - container - - &422 + - &425 name: package_name description: The name of the package. in: path @@ -60197,7 +60914,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *422 examples: default: value: @@ -60249,8 +60966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *421 - - *422 + - *424 + - *425 - *86 responses: '204': @@ -60283,8 +61000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *421 - - *422 + - *424 + - *425 - *86 - name: token description: package token @@ -60317,8 +61034,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: - - *421 - - *422 + - *424 + - *425 - *86 - *19 - *17 @@ -60339,7 +61056,7 @@ paths: application/json: schema: type: array - items: &423 + items: &426 title: Package Version description: A version of a software package type: object @@ -60464,10 +61181,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: - - *421 - - *422 + - *424 + - *425 - *86 - - &424 + - &427 name: package_version_id description: Unique identifier of the package version. in: path @@ -60479,7 +61196,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *426 examples: default: value: @@ -60515,10 +61232,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *421 - - *422 - - *86 - *424 + - *425 + - *86 + - *427 responses: '204': description: Response @@ -60550,10 +61267,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *421 - - *422 - - *86 - *424 + - *425 + - *86 + - *427 responses: '204': description: Response @@ -60583,7 +61300,7 @@ paths: - *86 - *17 - *19 - - &425 + - &428 name: sort description: The property by which to sort the results. in: query @@ -60594,7 +61311,7 @@ paths: - created_at default: created_at - *109 - - &426 + - &429 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -60605,7 +61322,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &427 + - &430 name: repository description: The name of the repository to use to filter the results. in: query @@ -60613,7 +61330,7 @@ paths: schema: type: string example: Hello-World - - &428 + - &431 name: permission description: The permission to use to filter the results. in: query @@ -60621,7 +61338,7 @@ paths: schema: type: string example: issues_read - - &429 + - &432 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) @@ -60631,7 +61348,7 @@ paths: schema: type: string format: date-time - - &430 + - &433 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) @@ -60641,7 +61358,7 @@ paths: schema: type: string format: date-time - - &431 + - &434 name: token_id description: The ID of the token in: query @@ -60952,9 +61669,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: &432 + default: &435 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -61091,14 +61808,14 @@ paths: - *86 - *17 - *19 - - *425 - - *109 - - *426 - - *427 - *428 + - *109 - *429 - *430 - *431 + - *432 + - *433 + - *434 responses: '500': *37 '422': *15 @@ -61378,9 +62095,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *432 + default: *435 headers: Link: *44 x-github: @@ -61422,7 +62139,7 @@ paths: type: integer configurations: type: array - items: &433 + items: &436 title: Organization private registry description: Private registry configuration for an organization type: object @@ -61933,7 +62650,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &434 + org-private-registry-with-selected-visibility: &437 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -62023,15 +62740,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *433 + schema: *436 examples: - default: *434 + default: *437 '404': *6 x-github: githubCloudOnly: false @@ -62054,7 +62771,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -62242,7 +62959,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -62282,7 +62999,7 @@ paths: application/json: schema: type: array - items: &435 + items: &438 title: Projects v2 Project description: A projects v2 project type: object @@ -62352,7 +63069,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &993 + properties: &996 id: type: number description: The unique identifier of the status update. @@ -62400,7 +63117,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &994 + required: &997 - id - node_id - created_at @@ -62425,7 +63142,7 @@ paths: - deleted_at - deleted_by examples: - default: &436 + default: &439 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -62528,7 +63245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &437 + - &440 name: project_number description: The project's number. in: path @@ -62541,9 +63258,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: *436 + default: *439 headers: Link: *44 '304': *34 @@ -62566,7 +63283,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *86 - - *437 + - *440 requestBody: required: true description: Details of the draft item to create in the project. @@ -62600,7 +63317,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &446 title: Projects v2 Item description: An item belonging to a project type: object @@ -62613,8 +63330,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *231 - - &593 + - *234 + - &596 title: Pull Request Simple description: Pull Request Simple type: object @@ -62728,8 +63445,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *441 + required: *442 nullable: true active_lock_reason: type: string @@ -62761,7 +63478,7 @@ paths: items: *4 requested_teams: type: array - items: *325 + items: *328 head: type: object properties: @@ -62811,7 +63528,7 @@ paths: _links: type: object properties: - comments: &440 + comments: &443 title: Link description: Hypermedia Link type: object @@ -62820,13 +63537,13 @@ paths: type: string required: - href - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + commits: *443 + statuses: *443 + html: *443 + issue: *443 + review_comments: *443 + review_comment: *443 + self: *443 required: - comments - commits @@ -62836,8 +63553,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: &773 + author_association: *231 + auto_merge: &776 title: Auto merge description: The status of auto merging a pull request. type: object @@ -62862,7 +63579,7 @@ paths: - commit_title - commit_message nullable: true - stack: &774 + stack: &777 title: Pull Request Stack description: The stack information associated with a pull request. @@ -62976,7 +63693,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &442 + content_type: &445 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -63016,7 +63733,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &444 + draft_issue: &447 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -63090,7 +63807,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *437 + - *440 - *86 - *17 - *107 @@ -63102,7 +63819,7 @@ paths: application/json: schema: type: array - items: &441 + items: &444 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -63252,7 +63969,7 @@ paths: - updated_at - project_url examples: - default: &921 + default: &924 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63382,7 +64099,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: - - *437 + - *440 - *86 requestBody: required: true @@ -63429,7 +64146,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &922 + items: &925 type: object properties: name: @@ -63466,7 +64183,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &923 + iteration_configuration: &926 type: object description: The configuration for iteration fields. required: @@ -63523,7 +64240,7 @@ paths: value: name: Due date data_type: date - single_select_field: &924 + single_select_field: &927 summary: Create a single select field value: name: Priority @@ -63550,7 +64267,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &925 + iteration_field: &928 summary: Create an iteration field value: name: Sprint @@ -63570,9 +64287,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *441 + schema: *444 examples: - text_field: &926 + text_field: &929 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -63581,7 +64298,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: &927 + number_field: &930 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -63590,7 +64307,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: &928 + date_field: &931 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -63599,7 +64316,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: &929 + single_select_field: &932 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63633,7 +64350,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &930 + iteration_field: &933 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -63678,8 +64395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *437 - - &931 + - *440 + - &934 name: field_id description: The unique identifier of the field. in: path @@ -63692,9 +64409,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: - default: &932 + default: &935 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63750,7 +64467,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: - - *437 + - *440 - *86 - 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) @@ -63783,7 +64500,7 @@ paths: application/json: schema: type: array - items: &445 + items: &448 title: Projects v2 Item description: An item belonging to a project type: object @@ -63799,7 +64516,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *442 + content_type: *445 content: type: object additionalProperties: true @@ -63842,7 +64559,7 @@ paths: - updated_at - archived_at examples: - default: &446 + default: &449 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -64540,7 +65257,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *86 - - *437 + - *440 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -64610,22 +65327,22 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *447 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *447 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *447 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 + value: *447 '304': *34 '403': *29 '401': *25 @@ -64645,9 +65362,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: - - *437 + - *440 - *86 - - &447 + - &450 name: item_id description: The unique identifier of the project item. in: path @@ -64673,9 +65390,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -64696,9 +65413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *437 + - *440 - *86 - - *447 + - *450 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -64768,13 +65485,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *449 + number_field: *449 + date_field: *449 + single_select_field: *449 + iteration_field: *449 '401': *25 '403': *29 '404': *6 @@ -64794,9 +65511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *437 + - *440 - *86 - - *447 + - *450 responses: '204': description: Response @@ -64820,7 +65537,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *86 - - *437 + - *440 requestBody: required: true content: @@ -64932,7 +65649,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &912 + schema: &915 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -65030,7 +65747,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &448 + value: &451 value: id: 1 number: 1 @@ -65076,10 +65793,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *448 + value: *451 roadmap_view: summary: Response for creating a roadmap view - value: *448 + value: *451 '304': *34 '403': *29 '401': *25 @@ -65107,9 +65824,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: - - *437 + - *440 - *86 - - &933 + - &936 name: view_number description: The number that identifies the project view. in: path @@ -65141,9 +65858,9 @@ paths: application/json: schema: type: array - items: *445 + items: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -65176,9 +65893,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -65216,7 +65933,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *162 + items: *165 minItems: 1 maxItems: 100 required: @@ -65246,9 +65963,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -65270,15 +65987,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -65302,12 +66019,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 requestBody: required: true content: application/json: - schema: *449 + schema: *452 examples: default: value: @@ -65323,9 +66040,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -65349,7 +66066,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -65410,7 +66127,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *161 + items: *164 description: List of custom property names and associated values required: - repository_id @@ -65479,7 +66196,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *161 + items: *164 required: - repository_names - properties @@ -65532,7 +66249,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -65670,9 +66387,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *432 + default: *435 headers: Link: *44 x-github: @@ -65875,7 +66592,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &517 title: Full Repository description: Full Repository type: object @@ -66160,8 +66877,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *450 - required: *451 + properties: *453 + required: *454 nullable: true temp_clone_token: type: string @@ -66245,8 +66962,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true organization: title: Simple User @@ -66273,7 +66990,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &638 + properties: &641 url: type: string format: uri @@ -66289,12 +67006,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &639 + required: &642 - url - key - name - html_url - security_and_analysis: *452 + security_and_analysis: *455 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -66378,7 +67095,7 @@ paths: - network_count - subscribers_count examples: - default: &516 + default: &519 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -66904,9 +67621,9 @@ paths: application/json: schema: type: array - items: *453 + items: *456 examples: - default: *454 + default: *457 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66931,7 +67648,7 @@ paths: - *86 - *17 - *19 - - &798 + - &801 name: targets description: | A comma-separated list of rule targets to filter by. @@ -66949,7 +67666,7 @@ paths: application/json: schema: type: array - items: *196 + items: *199 examples: default: value: @@ -67017,23 +67734,20 @@ paths: - push - repository default: branch - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *455 + items: *177 + conditions: *458 rules: type: array description: An array of rules within the ruleset. - items: &457 + items: &460 title: Repository Rule type: object description: A repository rule. oneOf: - - *175 - - *176 - - *177 - *178 - *179 - *180 @@ -67045,13 +67759,16 @@ paths: - *186 - *187 - *188 - - *192 - - *193 - - *194 - - *195 - *189 - *190 - *191 + - *195 + - *196 + - *197 + - *198 + - *192 + - *193 + - *194 required: - name - enforcement @@ -67089,9 +67806,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: &456 + default: &459 value: id: 21 name: super cool ruleset @@ -67147,7 +67864,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *86 - - &800 + - &803 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 @@ -67157,16 +67874,16 @@ paths: schema: type: string x-multi-segment: true - - *322 + - *325 - *104 - - &801 + - &804 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 - - &802 + - &805 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -67179,7 +67896,7 @@ paths: - bypass - all default: all - - &803 + - &806 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. @@ -67202,7 +67919,7 @@ paths: description: Response content: application/json: - schema: &804 + schema: &807 title: Rule Suites description: Response type: array @@ -67257,7 +67974,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &805 + default: &808 value: - id: 21 actor_id: 12 @@ -67301,7 +68018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *86 - - &806 + - &809 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -67317,7 +68034,7 @@ paths: description: Response content: application/json: - schema: &807 + schema: &810 title: Rule Suite description: Response type: object @@ -67416,7 +68133,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &808 + default: &811 value: id: 21 actor_id: 12 @@ -67489,9 +68206,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *456 + default: *459 '404': *6 '500': *37 put: @@ -67535,16 +68252,16 @@ paths: - tag - push - repository - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *455 + items: *177 + conditions: *458 rules: description: An array of rules within the ruleset. type: array - items: *457 + items: *460 examples: default: value: @@ -67579,9 +68296,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *456 + default: *459 '404': *6 '422': *15 '500': *37 @@ -67639,9 +68356,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *458 + default: *461 '404': *6 '500': *37 x-github: @@ -67678,7 +68395,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *462 examples: default: value: @@ -67741,18 +68458,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *86 - - *460 - - *461 - - *462 - *463 - *464 - *465 - *466 - *467 + - *468 + - *469 + - *470 - *109 - *19 - *17 - - &810 + - &813 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 @@ -67762,7 +68479,7 @@ paths: required: false schema: type: string - - &811 + - &814 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 @@ -67772,13 +68489,13 @@ paths: required: false schema: type: string - - *468 - - *469 - - *470 - *471 - *472 - *473 - *474 + - *475 + - *476 + - *477 responses: '200': description: Response @@ -67786,13 +68503,13 @@ paths: application/json: schema: type: array - items: *475 + items: *478 examples: - default: *476 + default: *479 headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67818,9 +68535,9 @@ paths: subcategory: custom-patterns parameters: - *86 - - *477 - - *478 - - *479 + - *480 + - *481 + - *482 - *109 - *107 - *108 @@ -67831,9 +68548,9 @@ paths: application/json: schema: type: array - items: *202 + items: *205 examples: - default: *480 + default: *483 headers: Link: *44 '403': *29 @@ -67869,9 +68586,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *481 + items: *484 examples: - default: *482 + default: *485 responses: '201': description: All patterns created successfully. @@ -67883,9 +68600,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: *483 + default: *486 '400': *14 '403': *29 '404': *6 @@ -67909,7 +68626,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *484 + items: *487 delete: summary: Bulk delete organization custom patterns description: |- @@ -67942,7 +68659,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *485 + items: *488 post_delete_action: type: string description: |- @@ -67955,14 +68672,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *486 + default: *489 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 "/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update an organization custom pattern @@ -67993,21 +68710,21 @@ paths: required: true content: application/json: - schema: *487 + schema: *490 examples: - default: *488 + default: *491 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: *489 + default: *492 '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -68034,9 +68751,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *493 examples: - default: *491 + default: *494 '403': *29 '404': *6 patch: @@ -68065,7 +68782,7 @@ paths: schema: type: object properties: - pattern_config_version: *203 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -68091,7 +68808,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *203 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -68189,7 +68906,7 @@ paths: application/json: schema: type: array - items: &832 + items: &835 description: A repository security advisory. type: object properties: @@ -68358,7 +69075,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *134 + cvss_severities: *137 cwes: type: array nullable: true @@ -68391,7 +69108,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *495 credits_detailed: type: array nullable: true @@ -68401,7 +69118,7 @@ paths: type: object properties: user: *4 - type: *492 + type: *495 state: type: string description: The state of the user's acceptance of the @@ -68425,7 +69142,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *325 + items: *328 private_fork: readOnly: true nullable: true @@ -68461,7 +69178,7 @@ paths: - private_fork additionalProperties: false examples: - default: &833 + default: &836 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -68848,7 +69565,7 @@ paths: application/json: schema: type: array - items: *493 + items: *496 examples: default: value: @@ -68889,7 +69606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -68915,7 +69632,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -68947,7 +69664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *86 - - *494 + - *497 - *17 - *19 responses: @@ -68955,9 +69672,9 @@ paths: description: Success content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -69101,9 +69818,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69172,7 +69889,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -69195,7 +69912,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -69236,9 +69953,9 @@ paths: type: integer network_configurations: type: array - items: *154 + items: *157 examples: - default: *497 + default: *500 headers: Link: *44 x-github: @@ -69315,9 +70032,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69338,15 +70055,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *86 - - *156 + - *159 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 headers: Link: *44 x-github: @@ -69368,7 +70085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *86 - - *156 + - *159 requestBody: required: true content: @@ -69421,9 +70138,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69443,7 +70160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *86 - - *156 + - *159 responses: '204': description: Response @@ -69467,15 +70184,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: - *86 - - *498 + - *501 responses: '200': description: Response content: application/json: - schema: *499 + schema: *502 examples: - default: *500 + default: *503 headers: Link: *44 x-github: @@ -69513,7 +70230,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &514 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -69559,7 +70276,7 @@ paths: type: string nullable: true examples: - default: &512 + default: &515 value: groups: - group_id: '123' @@ -69614,9 +70331,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 headers: Link: *44 '403': *29 @@ -69706,7 +70423,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &504 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -69769,8 +70486,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *419 + required: *420 nullable: true members_count: type: integer @@ -70037,7 +70754,7 @@ paths: - repos_count - organization examples: - default: &502 + default: &505 value: id: 1 node_id: MDQ6VGVhbTE= @@ -70108,15 +70825,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -70138,7 +70855,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *86 - - *222 + - *225 requestBody: required: false content: @@ -70205,16 +70922,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '201': description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '404': *6 '422': *15 '403': *29 @@ -70240,11 +70957,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response - '422': &505 + '422': &508 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -70267,16 +70984,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: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: *504 - '422': *505 + default: *507 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -70296,7 +71013,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: - *86 - - *222 + - *225 requestBody: required: true content: @@ -70319,10 +71036,10 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: *507 - '422': *505 + default: *510 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70342,11 +71059,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: - *86 - - *222 + - *225 responses: '204': description: Response - '422': *505 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70368,7 +71085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -70378,12 +71095,12 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: - default: *398 + default: *401 headers: Link: *44 - '422': *505 + '422': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70409,7 +71126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *86 - - *222 + - *225 - name: role description: Filters members returned by their role in the team. in: query @@ -70430,7 +71147,7 @@ paths: application/json: schema: type: array - items: &876 + items: &879 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 @@ -70549,7 +71266,7 @@ paths: - type - url examples: - default: &877 + default: &880 value: - login: octocat id: 1 @@ -70601,14 +71318,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 responses: '200': description: Response content: application/json: - schema: &508 + schema: &511 title: Team Membership description: Team Membership type: object @@ -70635,7 +71352,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &878 + response-if-user-is-a-team-maintainer: &881 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -70672,7 +71389,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 requestBody: required: false @@ -70698,9 +71415,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - response-if-users-membership-with-team-is-now-pending: &879 + response-if-users-membership-with-team-is-now-pending: &882 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -70736,7 +71453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 responses: '204': @@ -70766,7 +71483,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -70776,9 +71493,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *432 + default: *435 headers: Link: *44 x-github: @@ -70808,15 +71525,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *86 - - *222 - - *509 - - *510 + - *225 + - *512 + - *513 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &880 + schema: &883 title: Team Repository description: A team's access to a repository. type: object @@ -70839,8 +71556,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true forks: type: integer @@ -71379,9 +72096,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *86 - - *222 - - *509 - - *510 + - *225 + - *512 + - *513 requestBody: required: false content: @@ -71427,9 +72144,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *86 - - *222 - - *509 - - *510 + - *225 + - *512 + - *513 responses: '204': description: Response @@ -71456,16 +72173,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: *512 - '422': *505 + default: *515 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71488,7 +72205,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *86 - - *222 + - *225 requestBody: required: true content: @@ -71531,7 +72248,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *514 examples: default: value: @@ -71543,7 +72260,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *505 + '422': *508 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71565,7 +72282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -71575,9 +72292,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - response-if-child-teams-exist: &881 + response-if-child-teams-exist: &884 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -71730,7 +72447,7 @@ paths: resources: type: object properties: - core: &513 + core: &516 title: Rate Limit type: object properties: @@ -71747,17 +72464,17 @@ paths: - remaining - reset - used - graphql: *513 - search: *513 - code_search: *513 - source_import: *513 - integration_manifest: *513 - actions_runner_registration: *513 - scim: *513 - dependency_snapshots: *513 - dependency_sbom: *513 - code_scanning_autofix: *513 - copilot_usage_records: *513 + graphql: *516 + search: *516 + code_search: *516 + source_import: *516 + integration_manifest: *516 + actions_runner_registration: *516 + scim: *516 + dependency_snapshots: *516 + dependency_sbom: *516 + code_scanning_autofix: *516 + copilot_usage_records: *516 required: - core - search @@ -71854,14 +72571,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *514 + schema: *517 examples: default-response: summary: Default response @@ -72369,7 +73086,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *515 + '301': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72387,8 +73104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -72708,10 +73425,10 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 - '307': &517 + default: *519 + '307': &520 description: Temporary Redirect content: application/json: @@ -72740,8 +73457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -72763,7 +73480,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': *517 + '307': *520 '404': *6 '409': *118 x-github: @@ -72787,11 +73504,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 - - &533 + - &536 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -72814,7 +73531,7 @@ paths: type: integer artifacts: type: array - items: &518 + items: &521 title: Artifact description: An artifact type: object @@ -72892,7 +73609,7 @@ paths: - expires_at - updated_at examples: - default: &534 + default: &537 value: total_count: 2 artifacts: @@ -72953,9 +73670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *509 - - *510 - - &519 + - *512 + - *513 + - &522 name: artifact_id description: The unique identifier of the artifact. in: path @@ -72967,7 +73684,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *521 examples: default: value: @@ -73005,9 +73722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *509 - - *510 - - *519 + - *512 + - *513 + - *522 responses: '204': description: Response @@ -73031,9 +73748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *509 - - *510 - - *519 + - *512 + - *513 + - *522 - name: archive_format in: path required: true @@ -73043,7 +73760,7 @@ paths: '302': description: Response headers: - Location: &657 + Location: &660 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 @@ -73068,14 +73785,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &520 + schema: &523 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -73108,13 +73825,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *520 + schema: *523 examples: selected_actions: *41 responses: @@ -73143,14 +73860,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &521 + schema: &524 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -73183,13 +73900,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *521 + schema: *524 examples: selected_actions: *43 responses: @@ -73220,14 +73937,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: default: value: @@ -73253,11 +73970,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: - - *509 - - *510 + - *512 + - *513 - *17 - *19 - - &523 + - &526 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 @@ -73291,7 +74008,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &527 title: Repository actions caches description: Repository actions caches type: object @@ -73333,7 +74050,7 @@ paths: - total_count - actions_caches examples: - default: &525 + default: &528 value: total_count: 1 actions_caches: @@ -73365,23 +74082,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: - - *509 - - *510 + - *512 + - *513 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *523 + - *526 responses: '200': description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: *525 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73401,8 +74118,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: - - *509 - - *510 + - *512 + - *513 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -73431,8 +74148,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: - - *509 - - *510 + - *512 + - *513 - *17 - *108 responses: @@ -73514,8 +74231,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: - - *509 - - *510 + - *512 + - *513 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -73667,9 +74384,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: - - *509 - - *510 - - &526 + - *512 + - *513 + - &529 name: job_id description: The unique identifier of the job. in: path @@ -73682,7 +74399,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &540 title: Job description: Information of a job execution in a workflow run type: object @@ -73991,9 +74708,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: - - *509 - - *510 - - *526 + - *512 + - *513 + - *529 responses: '302': description: Response @@ -74021,9 +74738,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: - - *509 - - *510 - - *526 + - *512 + - *513 + - *529 requestBody: required: false content: @@ -74049,7 +74766,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -74073,8 +74790,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Status response @@ -74133,8 +74850,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -74173,7 +74890,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -74202,8 +74919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -74221,7 +74938,7 @@ paths: type: integer secrets: type: array - items: &539 + items: &542 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -74241,7 +74958,7 @@ paths: - created_at - updated_at examples: - default: &540 + default: &543 value: total_count: 2 secrets: @@ -74274,9 +74991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *509 - - *510 - - *311 + - *512 + - *513 + - *314 - *19 responses: '200': @@ -74293,7 +75010,7 @@ paths: type: integer variables: type: array - items: &541 + items: &544 title: Actions Variable type: object properties: @@ -74323,7 +75040,7 @@ paths: - created_at - updated_at examples: - default: &542 + default: &545 value: total_count: 2 variables: @@ -74356,8 +75073,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -74366,11 +75083,11 @@ paths: schema: type: object properties: - enabled: &527 + enabled: &530 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *59 - selected_actions_url: *279 + selected_actions_url: *282 sha_pinning_required: *60 required: - enabled @@ -74401,8 +75118,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -74413,7 +75130,7 @@ paths: schema: type: object properties: - enabled: *527 + enabled: *530 allowed_actions: *59 sha_pinning_required: *60 required: @@ -74446,14 +75163,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &528 + schema: &531 type: object properties: access_level: @@ -74471,7 +75188,7 @@ paths: required: - access_level examples: - default: &529 + default: &532 value: access_level: organization x-github: @@ -74496,15 +75213,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *528 + schema: *531 examples: - default: *529 + default: *532 responses: '204': description: Response @@ -74528,14 +75245,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -74559,8 +75276,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Empty response for successful settings update @@ -74570,7 +75287,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: summary: Set retention days @@ -74594,8 +75311,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -74603,7 +75320,7 @@ paths: application/json: schema: *61 examples: - default: *283 + default: *286 '404': *6 x-github: enabledForGitHubApps: true @@ -74622,8 +75339,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -74657,14 +75374,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *284 + schema: *287 examples: default: *62 '403': *29 @@ -74686,13 +75403,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *285 + schema: *288 examples: default: *62 responses: @@ -74718,8 +75435,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -74750,8 +75467,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -74783,14 +75500,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: *68 x-github: @@ -74813,8 +75530,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Success response @@ -74825,7 +75542,7 @@ paths: required: true content: application/json: - schema: *289 + schema: *292 examples: default: *68 x-github: @@ -74854,8 +75571,8 @@ paths: in: query schema: type: string - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -74900,8 +75617,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: - - *509 - - *510 + - *512 + - *513 - name: version description: The runner version to look up. in: path @@ -74963,8 +75680,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -74972,9 +75689,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74996,8 +75713,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -75040,7 +75757,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *298 '404': *6 '422': *7 '409': *118 @@ -75071,8 +75788,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: - - *509 - - *510 + - *512 + - *513 responses: '201': description: Response @@ -75080,7 +75797,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75108,8 +75825,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: - - *509 - - *510 + - *512 + - *513 responses: '201': description: Response @@ -75117,7 +75834,7 @@ paths: application/json: schema: *78 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75139,8 +75856,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: - - *509 - - *510 + - *512 + - *513 - *74 responses: '200': @@ -75149,7 +75866,7 @@ paths: application/json: schema: *75 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75170,8 +75887,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: - - *509 - - *510 + - *512 + - *513 - *74 responses: '204': @@ -75198,8 +75915,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: - - *509 - - *510 + - *512 + - *513 - *74 responses: '200': *80 @@ -75224,8 +75941,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: - - *509 - - *510 + - *512 + - *513 - *74 requestBody: required: true @@ -75274,8 +75991,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: - - *509 - - *510 + - *512 + - *513 - *74 requestBody: required: true @@ -75325,11 +76042,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: - - *509 - - *510 + - *512 + - *513 - *74 responses: - '200': *299 + '200': *302 '404': *6 x-github: githubCloudOnly: false @@ -75356,10 +76073,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: - - *509 - - *510 + - *512 + - *513 - *74 - - *300 + - *303 responses: '200': *80 '404': *6 @@ -75387,9 +76104,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: - - *509 - - *510 - - &545 + - *512 + - *513 + - &548 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. @@ -75397,7 +76114,7 @@ paths: required: false schema: type: string - - &546 + - &549 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -75405,7 +76122,7 @@ paths: required: false schema: type: string - - &547 + - &550 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -75414,7 +76131,7 @@ paths: required: false schema: type: string - - &548 + - &551 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 @@ -75441,7 +76158,7 @@ paths: - pending - *17 - *19 - - &549 + - &552 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)." @@ -75450,7 +76167,7 @@ paths: schema: type: string format: date-time - - &530 + - &533 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -75459,14 +76176,14 @@ paths: schema: type: boolean default: false - - &550 + - &553 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &551 + - &554 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -75489,7 +76206,7 @@ paths: type: integer workflow_runs: type: array - items: &531 + items: &534 title: Workflow Run description: An invocation of a workflow type: object @@ -75586,7 +76303,7 @@ paths: that triggered the run. type: array nullable: true - items: *236 + items: *239 created_at: type: string format: date-time @@ -75639,7 +76356,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &575 + properties: &578 id: type: string description: SHA for the commit @@ -75690,7 +76407,7 @@ paths: - name - email nullable: true - required: &576 + required: &579 - id - tree_id - message @@ -75698,8 +76415,8 @@ paths: - author - committer nullable: true - repository: *292 - head_repository: *292 + repository: *295 + head_repository: *295 head_repository_id: type: integer example: 5 @@ -75737,7 +76454,7 @@ paths: - workflow_url - pull_requests examples: - default: &552 + default: &555 value: total_count: 1 workflow_runs: @@ -75973,24 +76690,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *509 - - *510 - - &532 + - *512 + - *513 + - &535 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *530 + - *533 responses: '200': description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: &535 + default: &538 value: id: 30433642 name: Build @@ -76231,9 +76948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '204': description: Response @@ -76256,9 +76973,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '200': description: Response @@ -76377,15 +77094,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -76412,12 +77129,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 - *17 - *19 - - *533 + - *536 - *109 responses: '200': @@ -76434,9 +77151,9 @@ paths: type: integer artifacts: type: array - items: *518 + items: *521 examples: - default: *534 + default: *537 headers: Link: *44 x-github: @@ -76460,25 +77177,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *509 - - *510 - - *532 - - &536 + - *512 + - *513 + - *535 + - &539 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *530 + - *533 responses: '200': description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: *535 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76501,10 +77218,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: - - *509 - - *510 - - *532 - - *536 + - *512 + - *513 + - *535 + - *539 - *17 - *19 responses: @@ -76522,9 +77239,9 @@ paths: type: integer jobs: type: array - items: *537 + items: *540 examples: - default: &538 + default: &541 value: total_count: 1 jobs: @@ -76637,10 +77354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *509 - - *510 - - *532 - - *536 + - *512 + - *513 + - *535 + - *539 responses: '302': description: Response @@ -76668,15 +77385,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '202': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -76716,9 +77433,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 - *17 - *107 - *108 @@ -76889,9 +77606,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 requestBody: required: true content: @@ -76958,15 +77675,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '202': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -76993,9 +77710,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 - 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 @@ -77025,9 +77742,9 @@ paths: type: integer jobs: type: array - items: *537 + items: *540 examples: - default: *538 + default: *541 headers: Link: *44 x-github: @@ -77052,9 +77769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '302': description: Response @@ -77081,9 +77798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '204': description: Response @@ -77110,9 +77827,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '200': description: Response @@ -77172,7 +77889,7 @@ paths: items: type: object properties: - type: &672 + type: &675 type: string description: The type of reviewer. enum: @@ -77182,7 +77899,7 @@ paths: reviewer: anyOf: - *4 - - *325 + - *328 required: - environment - wait_timer @@ -77257,9 +77974,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 requestBody: required: true content: @@ -77306,12 +78023,12 @@ paths: application/json: schema: type: array - items: &659 + items: &662 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &951 + properties: &954 url: type: string format: uri @@ -77394,9 +78111,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - required: &952 + properties: *229 + required: *230 + required: &955 - id - node_id - sha @@ -77412,7 +78129,7 @@ paths: - created_at - updated_at examples: - default: &660 + default: &663 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -77468,9 +78185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 requestBody: required: false content: @@ -77491,7 +78208,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77514,9 +78231,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: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 requestBody: required: false content: @@ -77537,7 +78254,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77570,9 +78287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *509 - - *510 - - *532 + - *512 + - *513 + - *535 responses: '200': description: Response @@ -77709,8 +78426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -77728,9 +78445,9 @@ paths: type: integer secrets: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -77755,16 +78472,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77786,17 +78503,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '200': description: Response content: application/json: - schema: *539 + schema: *542 examples: - default: &553 + default: &556 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -77822,9 +78539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 requestBody: required: true content: @@ -77855,7 +78572,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77881,9 +78598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '204': description: Response @@ -77908,9 +78625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *509 - - *510 - - *311 + - *512 + - *513 + - *314 - *19 responses: '200': @@ -77927,9 +78644,9 @@ paths: type: integer variables: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -77952,8 +78669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -77980,7 +78697,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -78005,17 +78722,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: &554 + default: &557 value: name: USERNAME value: octocat @@ -78041,9 +78758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 requestBody: required: true content: @@ -78085,9 +78802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 responses: '204': description: Response @@ -78112,8 +78829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -78131,7 +78848,7 @@ paths: type: integer workflows: type: array - items: &543 + items: &546 title: Workflow description: A GitHub Actions workflow type: object @@ -78238,9 +78955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *509 - - *510 - - &544 + - *512 + - *513 + - &547 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -78255,7 +78972,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *546 examples: default: value: @@ -78288,9 +79005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *509 - - *510 - - *544 + - *512 + - *513 + - *547 responses: '204': description: Response @@ -78315,9 +79032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *509 - - *510 - - *544 + - *512 + - *513 + - *547 responses: '200': description: Response including the workflow run ID and URLs. @@ -78397,9 +79114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *509 - - *510 - - *544 + - *512 + - *513 + - *547 responses: '204': description: Response @@ -78426,19 +79143,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: - - *509 - - *510 - - *544 - - *545 - - *546 + - *512 + - *513 - *547 - *548 - - *17 - - *19 - *549 - - *530 - *550 - *551 + - *17 + - *19 + - *552 + - *533 + - *553 + - *554 responses: '200': description: Response @@ -78454,9 +79171,9 @@ paths: type: integer workflow_runs: type: array - items: *531 + items: *534 examples: - default: *552 + default: *555 headers: Link: *44 x-github: @@ -78489,9 +79206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *509 - - *510 - - *544 + - *512 + - *513 + - *547 responses: '200': description: Response @@ -78552,8 +79269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *509 - - *510 + - *512 + - *513 - *109 - *17 - *107 @@ -78722,8 +79439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -78741,9 +79458,9 @@ paths: type: integer secrets: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -78767,9 +79484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *509 - - *510 - - *311 + - *512 + - *513 + - *314 - *19 responses: '200': @@ -78786,9 +79503,9 @@ paths: type: integer variables: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -78813,8 +79530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -78832,9 +79549,9 @@ paths: type: integer secrets: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -78859,16 +79576,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78890,17 +79607,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '200': description: Response content: application/json: - schema: *539 + schema: *542 examples: - default: *553 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78922,9 +79639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 requestBody: required: true content: @@ -78955,7 +79672,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -78981,9 +79698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '204': description: Response @@ -79008,9 +79725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *509 - - *510 - - *311 + - *512 + - *513 + - *314 - *19 responses: '200': @@ -79027,9 +79744,9 @@ paths: type: integer variables: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -79052,8 +79769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -79080,7 +79797,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -79105,17 +79822,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: *554 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79136,9 +79853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 requestBody: required: true content: @@ -79180,9 +79897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *509 - - *510 - - *305 + - *512 + - *513 + - *308 responses: '204': description: Response @@ -79203,8 +79920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -79216,7 +79933,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '404': *6 @@ -79241,8 +79958,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: - - *509 - - *510 + - *512 + - *513 - name: assignee in: path required: true @@ -79278,8 +79995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -79389,8 +80106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *107 - *108 @@ -79431,7 +80148,7 @@ paths: initiator: type: string examples: - default: *555 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79451,8 +80168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -79460,7 +80177,7 @@ paths: application/json: schema: type: array - items: &556 + items: &559 title: Autolink reference description: An autolink reference. type: object @@ -79514,8 +80231,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -79554,9 +80271,9 @@ paths: description: response content: application/json: - schema: *556 + schema: *559 examples: - default: &557 + default: &560 value: id: 1 key_prefix: TICKET- @@ -79587,9 +80304,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: - - *509 - - *510 - - &558 + - *512 + - *513 + - &561 name: autolink_id description: The unique identifier of the autolink. in: path @@ -79601,9 +80318,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: - default: *557 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -79623,9 +80340,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: - - *509 - - *510 - - *558 + - *512 + - *513 + - *561 responses: '204': description: Response @@ -79649,8 +80366,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response if Dependabot is enabled @@ -79698,8 +80415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -79720,8 +80437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -79741,8 +80458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *509 - - *510 + - *512 + - *513 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -79780,7 +80497,7 @@ paths: - url protected: type: boolean - protection: &560 + protection: &563 title: Branch Protection description: Branch Protection type: object @@ -79822,7 +80539,7 @@ paths: required: - contexts - checks - enforce_admins: &563 + enforce_admins: &566 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -79837,7 +80554,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &565 + required_pull_request_reviews: &568 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -79858,7 +80575,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *325 + items: *328 apps: description: The list of apps with review dismissal access. @@ -79887,7 +80604,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *325 + items: *328 apps: description: The list of apps allowed to bypass pull request requirements. @@ -79913,7 +80630,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &562 + restrictions: &565 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -79976,7 +80693,7 @@ paths: type: string teams: type: array - items: *325 + items: *328 apps: type: array items: @@ -80190,9 +80907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *509 - - *510 - - &561 + - *512 + - *513 + - &564 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). @@ -80206,14 +80923,14 @@ paths: description: Response content: application/json: - schema: &571 + schema: &574 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &630 + commit: &633 title: Commit description: Commit type: object @@ -80247,7 +80964,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &559 + properties: &562 name: type: string example: '"Chris Wanstrath"' @@ -80263,7 +80980,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *562 nullable: true message: type: string @@ -80284,7 +81001,7 @@ paths: required: - sha - url - verification: &690 + verification: &693 title: Verification type: object properties: @@ -80318,12 +81035,12 @@ paths: nullable: true oneOf: - *4 - - *303 + - *306 committer: nullable: true oneOf: - *4 - - *303 + - *306 parents: type: array items: @@ -80354,7 +81071,7 @@ paths: type: integer files: type: array - items: &642 + items: &645 title: Diff Entry description: Diff Entry type: object @@ -80438,7 +81155,7 @@ paths: - self protected: type: boolean - protection: *560 + protection: *563 protection_url: type: string format: uri @@ -80545,7 +81262,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *515 + '301': *518 '404': *6 x-github: githubCloudOnly: false @@ -80567,15 +81284,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *560 + schema: *563 examples: default: value: @@ -80769,9 +81486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -81026,7 +81743,7 @@ paths: url: type: string format: uri - required_status_checks: &568 + required_status_checks: &571 title: Status Check Policy description: Status Check Policy type: object @@ -81102,7 +81819,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 apps: type: array items: *5 @@ -81120,7 +81837,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 apps: type: array items: *5 @@ -81178,7 +81895,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *562 + restrictions: *565 required_conversation_resolution: type: object properties: @@ -81290,9 +82007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -81317,17 +82034,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: &564 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -81349,17 +82066,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: *564 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81378,9 +82095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -81405,17 +82122,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: &566 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -81511,9 +82228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -81611,9 +82328,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: *566 + default: *569 '422': *15 x-github: githubCloudOnly: false @@ -81634,9 +82351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -81663,17 +82380,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: &567 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -81696,17 +82413,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: *567 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -81726,9 +82443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -81753,17 +82470,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *568 + schema: *571 examples: - default: &569 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -81789,9 +82506,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -81843,9 +82560,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *571 examples: - default: *569 + default: *572 '404': *6 '422': *15 x-github: @@ -81867,9 +82584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -81893,9 +82610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response @@ -81929,9 +82646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -81998,9 +82715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -82064,9 +82781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: content: application/json: @@ -82132,15 +82849,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response content: application/json: - schema: *562 + schema: *565 examples: default: value: @@ -82231,9 +82948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '204': description: Response @@ -82256,9 +82973,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: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response @@ -82268,7 +82985,7 @@ paths: type: array items: *5 examples: - default: &570 + default: &573 value: - id: 1 slug: octoapp @@ -82325,9 +83042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82361,7 +83078,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -82382,9 +83099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82418,7 +83135,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -82439,9 +83156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82475,7 +83192,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -82497,9 +83214,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: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response @@ -82507,9 +83224,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 '404': *6 x-github: githubCloudOnly: false @@ -82529,9 +83246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -82567,9 +83284,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 '422': *15 x-github: githubCloudOnly: false @@ -82590,9 +83307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: false content: @@ -82628,9 +83345,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 '422': *15 x-github: githubCloudOnly: false @@ -82651,9 +83368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: content: application/json: @@ -82688,9 +83405,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 '422': *15 x-github: githubCloudOnly: false @@ -82712,9 +83429,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: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 responses: '200': description: Response @@ -82724,7 +83441,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '404': *6 x-github: githubCloudOnly: false @@ -82748,9 +83465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82783,7 +83500,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -82808,9 +83525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82843,7 +83560,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -82868,9 +83585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82903,7 +83620,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -82930,9 +83647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 requestBody: required: true content: @@ -82954,7 +83671,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *574 examples: default: value: @@ -83068,8 +83785,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *509 - - *510 + - *512 + - *513 - *102 - *103 - *104 @@ -83083,9 +83800,9 @@ paths: application/json: schema: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 '404': *6 '500': *37 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -83105,8 +83822,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: bypass_request_number in: path required: true @@ -83120,7 +83837,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: default: value: @@ -83179,8 +83896,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - - *510 + - *512 + - *513 - *102 - *103 - *104 @@ -83194,9 +83911,9 @@ paths: application/json: schema: type: array - items: *323 + items: *326 examples: - default: *324 + default: *327 '404': *6 '403': *29 '500': *37 @@ -83220,8 +83937,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - - *510 + - *512 + - *513 - name: bypass_request_number in: path required: true @@ -83233,7 +83950,7 @@ paths: description: A single bypass request. content: application/json: - schema: *323 + schema: *326 examples: default: value: @@ -83291,8 +84008,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - - *510 + - *512 + - *513 - name: bypass_request_number in: path required: true @@ -83363,8 +84080,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - - *510 + - *512 + - *513 - name: bypass_response_id in: path required: true @@ -83397,8 +84114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -83677,7 +84394,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &575 title: CheckRun description: A check performed on the code of a given code change type: object @@ -83788,16 +84505,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *236 - deployment: &944 + items: *239 + deployment: &947 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -83864,8 +84581,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -84077,9 +84794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *509 - - *510 - - &573 + - *512 + - *513 + - &576 name: check_run_id description: The unique identifier of the check run. in: path @@ -84092,9 +84809,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: &574 + default: &577 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -84194,9 +84911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *509 - - *510 - - *573 + - *512 + - *513 + - *576 requestBody: required: true content: @@ -84436,9 +85153,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: *574 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84458,9 +85175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *509 - - *510 - - *573 + - *512 + - *513 + - *576 - *17 - *19 responses: @@ -84555,15 +85272,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *509 - - *510 - - *573 + - *512 + - *513 + - *576 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -84601,8 +85318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -84624,7 +85341,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &577 + schema: &580 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -84688,7 +85405,7 @@ paths: nullable: true pull_requests: type: array - items: *236 + items: *239 nullable: true app: title: GitHub app @@ -84699,9 +85416,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - repository: *292 + properties: *229 + required: *230 + repository: *295 created_at: type: string format: date-time @@ -84710,12 +85427,12 @@ paths: type: string format: date-time nullable: true - head_commit: &977 + head_commit: &980 title: Simple Commit description: A commit. type: object - properties: *575 - required: *576 + properties: *578 + required: *579 latest_check_runs_count: type: integer check_runs_url: @@ -84743,7 +85460,7 @@ paths: - check_runs_url - pull_requests examples: - default: &578 + default: &581 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -85034,9 +85751,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85055,8 +85772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -85117,7 +85834,7 @@ paths: required: - app_id - setting - repository: *292 + repository: *295 examples: default: value: @@ -85365,9 +86082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *509 - - *510 - - &579 + - *512 + - *513 + - &582 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -85379,9 +86096,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85404,17 +86121,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: - - *509 - - *510 - - *579 - - &635 + - *512 + - *513 + - *582 + - &638 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &636 + - &639 name: status description: Returns check runs with the specified `status`. in: query @@ -85453,9 +86170,9 @@ paths: type: integer check_runs: type: array - items: *572 + items: *575 examples: - default: &637 + default: &640 value: total_count: 1 check_runs: @@ -85557,15 +86274,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *509 - - *510 - - *579 + - *512 + - *513 + - *582 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -85588,8 +86305,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: - - *509 - - *510 + - *512 + - *513 - *17 - *109 - *107 @@ -85611,7 +86328,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 description: Code quality finding type: object properties: @@ -85741,14 +86458,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': &581 + '403': &584 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85768,8 +86485,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: - - *509 - - *510 + - *512 + - *513 - name: finding_number in: path description: The number that identifies a finding. @@ -85781,7 +86498,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -85810,9 +86527,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': *581 + '403': *584 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85832,8 +86549,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -85905,9 +86622,9 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *581 + '403': *584 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85926,8 +86643,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -85996,7 +86713,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -86039,7 +86756,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86062,14 +86779,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &582 + schema: &585 description: AI Scan enablement for a repository. type: object properties: @@ -86082,10 +86799,10 @@ paths: required: - pr_scan examples: - default: &583 + default: &586 value: pr_scan: enabled - '403': &592 + '403': &595 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -86113,8 +86830,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -86141,10 +86858,10 @@ paths: description: Response content: application/json: - schema: *582 + schema: *585 examples: - default: *583 - '403': &596 + default: *586 + '403': &599 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -86175,21 +86892,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: - - *509 - - *510 - - *331 - - *332 + - *512 + - *513 + - *334 + - *335 - *19 - *17 - - &600 + - &603 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: *584 - - &601 + schema: *587 + - &604 name: pr description: The number of the pull request for the results you want to list. in: query @@ -86214,13 +86931,13 @@ paths: be returned. in: query required: false - schema: *333 + schema: *336 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *585 + schema: *588 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -86239,14 +86956,14 @@ paths: items: type: object properties: - number: *132 - created_at: *139 - updated_at: *140 - url: *137 - html_url: *138 - instances_url: *586 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *589 state: *112 - fixed_at: *142 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -86254,12 +86971,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *141 - dismissed_reason: *587 - dismissed_comment: *588 - rule: *589 - tool: *590 - most_recent_instance: *591 + dismissed_at: *144 + dismissed_reason: *590 + dismissed_comment: *591 + rule: *592 + tool: *593 + most_recent_instance: *594 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -86385,9 +87102,9 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *34 - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86407,9 +87124,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: - - *509 - - *510 - - &594 + - *512 + - *513 + - &597 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -86417,23 +87134,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *132 + schema: *135 responses: '200': description: Response content: application/json: - schema: &595 + schema: &598 type: object properties: - number: *132 - created_at: *139 - updated_at: *140 - url: *137 - html_url: *138 - instances_url: *586 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *589 state: *112 - fixed_at: *142 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -86441,9 +87158,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *141 - dismissed_reason: *587 - dismissed_comment: *588 + dismissed_at: *144 + dismissed_reason: *590 + dismissed_comment: *591 rule: type: object properties: @@ -86497,8 +87214,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *590 - most_recent_instance: *591 + tool: *593 + most_recent_instance: *594 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -86512,7 +87229,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *593 + items: *596 required: - number - created_at @@ -86601,9 +87318,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *34 - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86621,9 +87338,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 requestBody: required: true content: @@ -86638,8 +87355,8 @@ paths: enum: - open - dismissed - dismissed_reason: *587 - dismissed_comment: *588 + dismissed_reason: *590 + dismissed_comment: *591 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -86667,7 +87384,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *598 examples: default: value: @@ -86743,9 +87460,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': *596 + '403': *599 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86765,15 +87482,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 responses: '200': description: Response content: application/json: - schema: &597 + schema: &600 type: object properties: status: @@ -86799,13 +87516,13 @@ paths: - description - started_at examples: - default: &598 + default: &601 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &599 + '400': &602 description: Bad Request content: application/json: @@ -86816,7 +87533,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': *592 + '403': *595 '404': *6 '500': *37 x-github: @@ -86841,29 +87558,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 responses: '200': description: OK content: application/json: - schema: *597 + schema: *600 examples: - default: *598 + default: *601 '202': description: Accepted content: application/json: - schema: *597 + schema: *600 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *599 + '400': *602 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -86895,9 +87612,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 requestBody: required: false content: @@ -86942,12 +87659,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *599 - '403': *596 + '400': *602 + '403': *599 '404': *6 '422': description: Unprocessable Entity - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86967,13 +87684,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 - *19 - *17 - - *600 - - *601 + - *603 + - *604 responses: '200': description: Response @@ -86984,10 +87701,10 @@ paths: items: type: object properties: - ref: *584 - analysis_key: *602 - environment: *603 - category: *604 + ref: *587 + analysis_key: *605 + environment: *606 + category: *607 state: type: string description: State of a code scanning alert instance. @@ -87002,7 +87719,7 @@ paths: properties: text: type: string - location: *605 + location: *608 html_url: type: string classifications: @@ -87010,7 +87727,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: *606 + items: *609 examples: default: value: @@ -87047,9 +87764,9 @@ paths: end_column: 50 classifications: - source - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87081,25 +87798,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: - - *509 - - *510 - - *331 - - *332 + - *512 + - *513 + - *334 + - *335 - *19 - *17 - - *601 + - *604 - 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: *584 + schema: *587 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &607 + schema: &610 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -87120,23 +87837,23 @@ paths: application/json: schema: type: array - items: &608 + items: &611 type: object properties: - ref: *584 - commit_sha: &616 + ref: *587 + commit_sha: &619 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: *602 + analysis_key: *605 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *604 + category: *607 error: type: string example: error reading field xyz @@ -87160,8 +87877,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *607 - tool: *590 + sarif_id: *610 + tool: *593 deletable: type: boolean warning: @@ -87222,9 +87939,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87258,8 +87975,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: - - *509 - - *510 + - *512 + - *513 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -87272,7 +87989,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: response: summary: application/json response @@ -87326,14 +88043,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *592 + '403': *595 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87413,8 +88130,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: - - *509 - - *510 + - *512 + - *513 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -87467,9 +88184,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': *596 + '403': *599 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87489,8 +88206,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -87498,7 +88215,7 @@ paths: application/json: schema: type: array - items: &609 + items: &612 title: CodeQL Database description: A CodeQL database. type: object @@ -87609,9 +88326,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': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87638,8 +88355,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: - - *509 - - *510 + - *512 + - *513 - name: language in: path description: The language of the CodeQL database. @@ -87651,7 +88368,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: default: value: @@ -87683,11 +88400,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': &646 + '302': &649 description: Found - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87707,8 +88424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *509 - - *510 + - *512 + - *513 - name: language in: path description: The language of the CodeQL database. @@ -87718,9 +88435,9 @@ paths: responses: '204': description: Response - '403': *596 + '403': *599 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87746,8 +88463,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -87756,7 +88473,7 @@ paths: type: object additionalProperties: false properties: - language: &610 + language: &613 type: string description: The language targeted by the CodeQL query enum: @@ -87836,7 +88553,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &614 + schema: &617 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -87846,7 +88563,7 @@ paths: description: The ID of the variant analysis. controller_repo: *119 actor: *4 - query_language: *610 + query_language: *613 query_pack_url: type: string description: The download url for the query pack. @@ -87893,7 +88610,7 @@ paths: items: type: object properties: - repository: &611 + repository: &614 title: Repository Identifier description: Repository Identifier type: object @@ -87929,7 +88646,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &615 + analysis_status: &618 type: string description: The new status of the CodeQL variant analysis repository task. @@ -87961,7 +88678,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &612 + access_mismatch_repos: &615 type: object properties: repository_count: @@ -87975,7 +88692,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: *611 + items: *614 required: - repository_count - repositories @@ -87997,8 +88714,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *612 - over_limit_repos: *612 + no_codeql_db_repos: *615 + over_limit_repos: *615 required: - access_mismatch_repos - not_found_repos @@ -88014,7 +88731,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &613 + value: &616 summary: Default response value: id: 1 @@ -88160,17 +88877,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *613 + value: *616 repository_lists: summary: Response for a successful variant analysis submission - value: *613 + value: *616 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88191,8 +88908,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: - - *509 - - *510 + - *512 + - *513 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -88204,11 +88921,11 @@ paths: description: Response content: application/json: - schema: *614 + schema: *617 examples: - default: *613 + default: *616 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88229,7 +88946,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: - - *509 + - *512 - name: repo in: path description: The name of the controller repository. @@ -88264,7 +88981,7 @@ paths: type: object properties: repository: *119 - analysis_status: *615 + analysis_status: *618 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -88368,7 +89085,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88389,8 +89106,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -88473,9 +89190,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *592 + '403': *595 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88494,8 +89211,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -88562,7 +89279,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -88587,7 +89304,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *596 + '403': *599 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -88601,7 +89318,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88658,8 +89375,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -88667,7 +89384,7 @@ paths: schema: type: object properties: - commit_sha: *616 + commit_sha: *619 ref: type: string description: |- @@ -88725,7 +89442,7 @@ paths: schema: type: object properties: - id: *607 + id: *610 url: type: string description: The REST API URL for checking the status of the upload. @@ -88739,11 +89456,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': *596 + '403': *599 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88762,8 +89479,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: - - *509 - - *510 + - *512 + - *513 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -88809,10 +89526,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': *592 + '403': *595 '404': description: Not Found if the sarif id does not match any upload - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88834,8 +89551,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -88916,8 +89633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *509 - - *510 + - *512 + - *513 - 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 @@ -89037,8 +89754,8 @@ paths: parameters: - *17 - *19 - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -89054,7 +89771,7 @@ paths: type: integer codespaces: type: array - items: *408 + items: *411 examples: default: value: @@ -89352,8 +90069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -89416,22 +90133,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89455,8 +90172,8 @@ paths: parameters: - *17 - *19 - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -89520,8 +90237,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: - - *509 - - *510 + - *512 + - *513 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -89556,14 +90273,14 @@ paths: type: integer machines: type: array - items: &886 + items: &889 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *618 - required: *619 + properties: *621 + required: *622 examples: - default: &887 + default: &890 value: total_count: 2 machines: @@ -89603,8 +90320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *509 - - *510 + - *512 + - *513 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -89688,8 +90405,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: - - *509 - - *510 + - *512 + - *513 - 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 @@ -89734,7 +90451,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89755,8 +90472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -89774,7 +90491,7 @@ paths: type: integer secrets: type: array - items: &623 + items: &626 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -89794,7 +90511,7 @@ paths: - created_at - updated_at examples: - default: *620 + default: *623 headers: Link: *44 x-github: @@ -89817,16 +90534,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *622 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89846,17 +90563,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '200': description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89876,9 +90593,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: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 requestBody: required: true content: @@ -89906,7 +90623,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -89930,9 +90647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '204': description: Response @@ -89960,8 +90677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *509 - - *510 + - *512 + - *513 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -90003,7 +90720,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &625 + properties: &628 login: type: string example: octocat @@ -90096,7 +90813,7 @@ paths: user_view_type: type: string example: public - required: &626 + required: &629 - avatar_url - events_url - followers_url @@ -90170,8 +90887,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: - - *509 - - *510 + - *512 + - *513 - *131 responses: '204': @@ -90218,8 +90935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *509 - - *510 + - *512 + - *513 - *131 requestBody: required: false @@ -90246,7 +90963,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &703 + schema: &706 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -90257,7 +90974,7 @@ paths: example: 42 type: integer format: int64 - repository: *292 + repository: *295 invitee: title: Simple User description: A GitHub user. @@ -90435,7 +91152,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *267 + schema: *270 '403': *29 x-github: triggersNotification: true @@ -90475,8 +91192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *509 - - *510 + - *512 + - *513 - *131 responses: '204': @@ -90508,8 +91225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *509 - - *510 + - *512 + - *513 - *131 responses: '200': @@ -90530,8 +91247,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *625 - required: *626 + properties: *628 + required: *629 nullable: true required: - permission @@ -90586,8 +91303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -90597,7 +91314,7 @@ paths: application/json: schema: type: array - items: &627 + items: &630 title: Commit Comment description: Commit Comment type: object @@ -90638,8 +91355,8 @@ paths: updated_at: type: string format: date-time - author_association: *228 - reactions: *229 + author_association: *231 + reactions: *232 required: - url - html_url @@ -90655,7 +91372,7 @@ paths: - created_at - updated_at examples: - default: &632 + default: &635 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -90714,17 +91431,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '200': description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: &633 + default: &636 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -90781,9 +91498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -90805,7 +91522,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: default: value: @@ -90856,9 +91573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '204': description: Response @@ -90879,9 +91596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 - 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. @@ -90907,7 +91624,7 @@ paths: application/json: schema: type: array - items: &628 + items: &631 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -90950,7 +91667,7 @@ paths: - content - created_at examples: - default: &707 + default: &710 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -90995,9 +91712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -91029,9 +91746,9 @@ paths: description: Reaction exists content: application/json: - schema: *628 + schema: *631 examples: - default: &629 + default: &632 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -91060,9 +91777,9 @@ paths: description: Reaction created content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -91084,10 +91801,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *509 - - *510 - - *247 - - &708 + - *512 + - *513 + - *250 + - &711 name: reaction_id description: The unique identifier of the reaction. in: path @@ -91142,8 +91859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *509 - - *510 + - *512 + - *513 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -91199,9 +91916,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: &781 + default: &784 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -91295,9 +92012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *509 - - *510 - - &631 + - *512 + - *513 + - &634 name: commit_sha description: The SHA of the commit. in: path @@ -91369,9 +92086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *509 - - *510 - - *631 + - *512 + - *513 + - *634 - *17 - *19 responses: @@ -91381,9 +92098,9 @@ paths: application/json: schema: type: array - items: *627 + items: *630 examples: - default: *632 + default: *635 headers: Link: *44 x-github: @@ -91413,9 +92130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *509 - - *510 - - *631 + - *512 + - *513 + - *634 requestBody: required: true content: @@ -91450,9 +92167,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *633 + default: *636 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -91480,9 +92197,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: - - *509 - - *510 - - *631 + - *512 + - *513 + - *634 - *17 - *19 responses: @@ -91492,9 +92209,9 @@ paths: application/json: schema: type: array - items: *593 + items: *596 examples: - default: &772 + default: &775 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -92031,11 +92748,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *509 - - *510 + - *512 + - *513 - *19 - *17 - - &634 + - &637 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)" @@ -92050,9 +92767,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: &757 + default: &760 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -92140,7 +92857,7 @@ paths: schema: type: string examples: - default: &643 + default: &646 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -92153,7 +92870,7 @@ paths: schema: type: string examples: - default: &644 + default: &647 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -92180,7 +92897,7 @@ paths: '422': *15 '404': *6 '500': *37 - '503': *201 + '503': *204 '409': *118 x-github: githubCloudOnly: false @@ -92206,11 +92923,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: - - *509 - - *510 - - *634 - - *635 - - *636 + - *512 + - *513 + - *637 + - *638 + - *639 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -92244,9 +92961,9 @@ paths: type: integer check_runs: type: array - items: *572 + items: *575 examples: - default: *637 + default: *640 headers: Link: *44 x-github: @@ -92271,9 +92988,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: - - *509 - - *510 - - *634 + - *512 + - *513 + - *637 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -92281,7 +92998,7 @@ paths: schema: type: integer example: 1 - - *635 + - *638 - *17 - *19 responses: @@ -92299,7 +93016,7 @@ paths: type: integer check_suites: type: array - items: *577 + items: *580 examples: default: value: @@ -92499,9 +93216,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: - - *509 - - *510 - - *634 + - *512 + - *513 + - *637 - *17 - *19 responses: @@ -92568,7 +93285,7 @@ paths: type: string total_count: type: integer - repository: *292 + repository: *295 commit_url: type: string format: uri @@ -92699,9 +93416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *509 - - *510 - - *634 + - *512 + - *513 + - *637 - *17 - *19 responses: @@ -92711,7 +93428,7 @@ paths: application/json: schema: type: array - items: &839 + items: &842 title: Status description: The status of a commit. type: object @@ -92792,7 +93509,7 @@ paths: site_admin: false headers: Link: *44 - '301': *515 + '301': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92820,8 +93537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -92850,20 +93567,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *638 - required: *639 + properties: *641 + required: *642 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &640 + properties: &643 url: type: string format: uri html_url: type: string format: uri - required: &641 + required: &644 - url - html_url nullable: true @@ -92871,32 +93588,32 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true contributing: title: Community Health File type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true readme: title: Community Health File type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true issue_template: title: Community Health File type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true pull_request_template: title: Community Health File type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true required: - code_of_conduct @@ -93023,8 +93740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *509 - - *510 + - *512 + - *513 - *19 - *17 - name: basehead @@ -93067,8 +93784,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *630 - merge_base_commit: *630 + base_commit: *633 + merge_base_commit: *633 status: type: string enum: @@ -93088,10 +93805,10 @@ paths: example: 6 commits: type: array - items: *630 + items: *633 files: type: array - items: *642 + items: *645 required: - url - html_url @@ -93337,15 +94054,15 @@ paths: schema: type: string examples: - default: *643 + default: *646 application/vnd.github.patch: schema: type: string examples: - default: *644 + default: *647 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93387,8 +94104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *509 - - *510 + - *512 + - *513 - name: path description: path parameter in: path @@ -93548,7 +94265,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &645 + response-if-content-is-a-file-github-object: &648 summary: Response if content is a file value: type: file @@ -93680,7 +94397,7 @@ paths: - size - type - url - - &787 + - &790 title: Content File description: Content File type: object @@ -93881,7 +94598,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *645 + response-if-content-is-a-file: *648 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -93950,7 +94667,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *646 + '302': *649 '304': *34 x-github: githubCloudOnly: false @@ -93973,8 +94690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *509 - - *510 + - *512 + - *513 - name: path description: path parameter in: path @@ -94067,7 +94784,7 @@ paths: description: Response content: application/json: - schema: &647 + schema: &650 title: File Commit description: File Commit type: object @@ -94219,7 +94936,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: example-for-creating-a-file: value: @@ -94273,7 +94990,7 @@ paths: schema: oneOf: - *3 - - &685 + - &688 description: Repository rule violation was detected type: object properties: @@ -94294,7 +95011,7 @@ paths: items: type: object properties: - placeholder_id: &829 + placeholder_id: &832 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -94326,8 +95043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *509 - - *510 + - *512 + - *513 - name: path description: path parameter in: path @@ -94388,7 +95105,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: default: value: @@ -94423,7 +95140,7 @@ paths: '422': *15 '404': *6 '409': *118 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94443,8 +95160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *509 - - *510 + - *512 + - *513 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -94573,8 +95290,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -94725,25 +95442,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *509 - - *510 - - *352 - - *353 - - *354 + - *512 + - *513 - *355 - *356 + - *357 + - *358 + - *359 - 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 - - *357 - - *648 - - *358 - - *359 - *360 + - *651 - *361 + - *362 + - *363 + - *364 - *109 - *107 - *108 @@ -94755,11 +95472,11 @@ paths: application/json: schema: type: array - items: &652 + items: &655 type: object description: A Dependabot alert. properties: - number: *132 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -94774,7 +95491,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *133 + package: *136 manifest_path: type: string description: The full path to the dependency manifest file, @@ -94802,13 +95519,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *649 - security_vulnerability: *136 - url: *137 - html_url: *138 - created_at: *139 - updated_at: *140 - dismissed_at: *141 + security_advisory: *652 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -94832,9 +95549,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *142 - auto_dismissed_at: *650 - dismissal_request: *651 + fixed_at: *145 + auto_dismissed_at: *653 + dismissal_request: *654 assignees: type: array description: The users assigned to this alert. @@ -95091,9 +95808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *509 - - *510 - - &653 + - *512 + - *513 + - &656 name: alert_number in: path description: |- @@ -95102,13 +95819,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *132 + schema: *135 responses: '200': description: Response content: application/json: - schema: *652 + schema: *655 examples: default: value: @@ -95242,9 +95959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *509 - - *510 - - *653 + - *512 + - *513 + - *656 requestBody: required: true content: @@ -95317,7 +96034,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *655 examples: default: value: @@ -95449,8 +96166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -95468,7 +96185,7 @@ paths: type: integer secrets: type: array - items: &656 + items: &659 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -95521,16 +96238,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95550,15 +96267,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '200': description: Response content: application/json: - schema: *656 + schema: *659 examples: default: value: @@ -95584,9 +96301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 requestBody: required: true content: @@ -95614,7 +96331,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -95638,9 +96355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *509 - - *510 - - *302 + - *512 + - *513 + - *305 responses: '204': description: Response @@ -95662,8 +96379,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: - - *509 - - *510 + - *512 + - *513 - 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 @@ -95809,7 +96526,7 @@ paths: schema: *3 '400': *14 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false category: dependency-graph @@ -95829,8 +96546,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -96071,8 +96788,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: - - *509 - - *510 + - *512 + - *513 - name: sbom_uuid in: path required: true @@ -96083,7 +96800,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *657 + Location: *660 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -96104,8 +96821,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: - - *509 - - *510 + - *512 + - *513 responses: '201': description: Response @@ -96143,8 +96860,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -96219,7 +96936,7 @@ paths: - version - url additionalProperties: false - metadata: &658 + metadata: &661 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -96252,7 +96969,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *658 + metadata: *661 resolved: type: object description: A collection of resolved package dependencies. @@ -96265,7 +96982,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *658 + metadata: *661 relationship: type: string description: A notation of whether a dependency is requested @@ -96394,8 +97111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *509 - - *510 + - *512 + - *513 - name: sha description: The SHA recorded at creation time. in: query @@ -96435,9 +97152,9 @@ paths: application/json: schema: type: array - items: *659 + items: *662 examples: - default: *660 + default: *663 headers: Link: *44 x-github: @@ -96503,8 +97220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -96585,7 +97302,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *662 examples: simple-example: summary: Simple example @@ -96658,9 +97375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *509 - - *510 - - &661 + - *512 + - *513 + - &664 name: deployment_id description: deployment_id parameter in: path @@ -96672,7 +97389,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *662 examples: default: value: @@ -96737,9 +97454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *509 - - *510 - - *661 + - *512 + - *513 + - *664 responses: '204': description: Response @@ -96761,9 +97478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *509 - - *510 - - *661 + - *512 + - *513 + - *664 - *17 - *19 responses: @@ -96773,7 +97490,7 @@ paths: application/json: schema: type: array - items: &662 + items: &665 title: Deployment Status description: The status of a deployment. type: object @@ -96864,8 +97581,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -96934,9 +97651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *509 - - *510 - - *661 + - *512 + - *513 + - *664 requestBody: required: true content: @@ -97011,9 +97728,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *665 examples: - default: &663 + default: &666 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -97069,9 +97786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *509 - - *510 - - *661 + - *512 + - *513 + - *664 - name: status_id in: path required: true @@ -97082,9 +97799,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *665 examples: - default: *663 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -97111,12 +97828,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 - - *664 - - *665 - - *666 + - *512 + - *513 - *667 + - *668 + - *669 + - *670 - *17 - *19 responses: @@ -97126,9 +97843,9 @@ paths: application/json: schema: type: array - items: *668 + items: *671 examples: - default: *669 + default: *672 '404': *6 '403': *29 '500': *37 @@ -97152,8 +97869,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97165,7 +97882,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *668 + schema: *671 examples: default: value: @@ -97221,8 +97938,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97281,12 +97998,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 - - *664 - - *665 - - *666 + - *512 + - *513 - *667 + - *668 + - *669 + - *670 - *17 - *19 responses: @@ -97296,9 +98013,9 @@ paths: application/json: schema: type: array - items: *670 + items: *673 examples: - default: *671 + default: *674 '404': *6 '403': *29 '500': *37 @@ -97322,8 +98039,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97335,7 +98052,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *670 + schema: *673 examples: default: value: @@ -97386,8 +98103,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97426,7 +98143,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *670 + schema: *673 examples: default: value: @@ -97477,8 +98194,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97549,8 +98266,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97583,12 +98300,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -97598,9 +98315,9 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: - default: *370 + default: *373 '404': *6 '403': *29 '500': *37 @@ -97625,8 +98342,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97638,7 +98355,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -97696,8 +98413,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: alert_number in: path required: true @@ -97766,8 +98483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -97824,8 +98541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -97842,7 +98559,7 @@ paths: type: integer environments: type: array - items: &673 + items: &676 title: Environment description: Details of a deployment environment type: object @@ -97894,7 +98611,7 @@ paths: type: type: string example: wait_timer - wait_timer: &675 + wait_timer: &678 type: integer example: 30 description: The amount of time to delay a job after @@ -97931,11 +98648,11 @@ paths: items: type: object properties: - type: *672 + type: *675 reviewer: anyOf: - *4 - - *325 + - *328 required: - id - node_id @@ -97955,7 +98672,7 @@ paths: - id - node_id - type - deployment_branch_policy: &676 + deployment_branch_policy: &679 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -98071,9 +98788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *509 - - *510 - - &674 + - *512 + - *513 + - &677 name: environment_name in: path required: true @@ -98086,9 +98803,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *676 examples: - default: &677 + default: &680 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -98172,9 +98889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 requestBody: required: false content: @@ -98183,7 +98900,7 @@ paths: type: object nullable: true properties: - wait_timer: *675 + wait_timer: *678 prevent_self_review: type: boolean example: false @@ -98200,13 +98917,13 @@ paths: items: type: object properties: - type: *672 + type: *675 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *676 + deployment_branch_policy: *679 additionalProperties: false examples: default: @@ -98226,9 +98943,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *676 examples: - default: *677 + default: *680 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -98252,9 +98969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 responses: '204': description: Default response @@ -98279,9 +98996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 - *17 - *19 responses: @@ -98299,7 +99016,7 @@ paths: example: 2 branch_policies: type: array - items: &678 + items: &681 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -98356,9 +99073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 requestBody: required: true content: @@ -98404,9 +99121,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *681 examples: - example-wildcard: &679 + example-wildcard: &682 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -98448,10 +99165,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *509 - - *510 - - *674 - - &680 + - *512 + - *513 + - *677 + - &683 name: branch_policy_id in: path required: true @@ -98463,9 +99180,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *681 examples: - default: *679 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98484,10 +99201,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *509 - - *510 - - *674 - - *680 + - *512 + - *513 + - *677 + - *683 requestBody: required: true content: @@ -98515,9 +99232,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *681 examples: - default: *679 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98536,10 +99253,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *509 - - *510 - - *674 - - *680 + - *512 + - *513 + - *677 + - *683 responses: '204': description: Response @@ -98564,9 +99281,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: - - *674 - - *510 - - *509 + - *677 + - *513 + - *512 responses: '200': description: List of deployment protection rules @@ -98582,7 +99299,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &681 + items: &684 title: Deployment protection rule description: Deployment protection rule type: object @@ -98601,7 +99318,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &682 + app: &685 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -98700,9 +99417,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: - - *674 - - *510 - - *509 + - *677 + - *513 + - *512 requestBody: content: application/json: @@ -98723,9 +99440,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *681 + schema: *684 examples: - default: &683 + default: &686 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -98760,9 +99477,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: - - *674 - - *510 - - *509 + - *677 + - *513 + - *512 - *19 - *17 responses: @@ -98781,7 +99498,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *682 + items: *685 examples: default: value: @@ -98816,10 +99533,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: - - *509 - - *510 - - *674 - - &684 + - *512 + - *513 + - *677 + - &687 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -98831,9 +99548,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: *683 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98854,10 +99571,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: - - *674 - - *510 - - *509 - - *684 + - *677 + - *513 + - *512 + - *687 responses: '204': description: Response @@ -98883,9 +99600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 - *17 - *19 responses: @@ -98903,9 +99620,9 @@ paths: type: integer secrets: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -98930,17 +99647,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98962,18 +99679,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *509 - - *510 - - *674 - - *302 + - *512 + - *513 + - *677 + - *305 responses: '200': description: Response content: application/json: - schema: *539 + schema: *542 examples: - default: *553 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98995,10 +99712,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *509 - - *510 - - *674 - - *302 + - *512 + - *513 + - *677 + - *305 requestBody: required: true content: @@ -99029,7 +99746,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -99055,10 +99772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *509 - - *510 - - *674 - - *302 + - *512 + - *513 + - *677 + - *305 responses: '204': description: Default response @@ -99083,10 +99800,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *509 - - *510 - - *674 - - *311 + - *512 + - *513 + - *677 + - *314 - *19 responses: '200': @@ -99103,9 +99820,9 @@ paths: type: integer variables: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -99128,9 +99845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *509 - - *510 - - *674 + - *512 + - *513 + - *677 requestBody: required: true content: @@ -99157,7 +99874,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -99182,18 +99899,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *509 - - *510 - - *674 - - *305 + - *512 + - *513 + - *677 + - *308 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: *554 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99214,10 +99931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *509 - - *510 - - *305 - - *674 + - *512 + - *513 + - *308 + - *677 requestBody: required: true content: @@ -99259,10 +99976,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *509 - - *510 - - *305 - - *674 + - *512 + - *513 + - *308 + - *677 responses: '204': description: Response @@ -99284,8 +100001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -99295,7 +100012,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: 200-response: value: @@ -99353,8 +100070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *509 - - *510 + - *512 + - *513 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -99376,7 +100093,7 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: default: value: @@ -99513,8 +100230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -99546,9 +100263,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 + default: *519 '400': *14 '422': *15 '403': *29 @@ -99569,8 +100286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -99629,8 +100346,8 @@ paths: application/json: schema: oneOf: - - *267 - - *685 + - *270 + - *688 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99655,8 +100372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *509 - - *510 + - *512 + - *513 - name: file_sha in: path required: true @@ -99755,8 +100472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -99865,7 +100582,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &689 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -100079,15 +100796,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *509 - - *510 - - *631 + - *512 + - *513 + - *634 responses: '200': description: Response content: application/json: - schema: *686 + schema: *689 examples: default: value: @@ -100143,9 +100860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *509 - - *510 - - &687 + - *512 + - *513 + - &690 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. @@ -100162,7 +100879,7 @@ paths: application/json: schema: type: array - items: &688 + items: &691 title: Git Reference description: Git references within a repository type: object @@ -100237,17 +100954,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *509 - - *510 - - *687 + - *512 + - *513 + - *690 responses: '200': description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: &689 + default: &692 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -100276,8 +100993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -100306,9 +101023,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: *689 + default: *692 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -100334,9 +101051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *509 - - *510 - - *687 + - *512 + - *513 + - *690 requestBody: required: true content: @@ -100365,9 +101082,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: *689 + default: *692 '422': *15 '409': *118 x-github: @@ -100385,9 +101102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *509 - - *510 - - *687 + - *512 + - *513 + - *690 responses: '204': description: Response @@ -100442,8 +101159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -100510,7 +101227,7 @@ paths: description: Response content: application/json: - schema: &691 + schema: &694 title: Git Tag description: Metadata for a Git tag type: object @@ -100561,7 +101278,7 @@ paths: - sha - type - url - verification: *690 + verification: *693 required: - sha - url @@ -100571,7 +101288,7 @@ paths: - tag - message examples: - default: &692 + default: &695 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -100644,8 +101361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *509 - - *510 + - *512 + - *513 - name: tag_sha in: path required: true @@ -100656,9 +101373,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *694 examples: - default: *692 + default: *695 '404': *6 '409': *118 x-github: @@ -100682,8 +101399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -100756,7 +101473,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &696 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -100852,8 +101569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *509 - - *510 + - *512 + - *513 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -100876,7 +101593,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *696 examples: default-response: summary: Default response @@ -100934,8 +101651,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -100978,8 +101695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -100989,7 +101706,7 @@ paths: application/json: schema: type: array - items: &694 + items: &697 title: Webhook description: Webhooks for repositories. type: object @@ -101043,7 +101760,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &985 + last_response: &988 title: Hook Response type: object properties: @@ -101117,8 +101834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -101170,9 +101887,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: - default: &695 + default: &698 value: type: Repository id: 12345678 @@ -101220,17 +101937,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '200': description: Response content: application/json: - schema: *694 + schema: *697 examples: - default: *695 + default: *698 '404': *6 x-github: githubCloudOnly: false @@ -101250,9 +101967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 requestBody: required: true content: @@ -101297,9 +102014,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: - default: *695 + default: *698 '422': *15 '404': *6 x-github: @@ -101320,9 +102037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '204': description: Response @@ -101346,9 +102063,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: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '200': description: Response @@ -101375,9 +102092,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: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 requestBody: required: false content: @@ -101421,12 +102138,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 - *17 - - *376 - - *377 + - *379 + - *380 responses: '200': description: Response @@ -101434,9 +102151,9 @@ paths: application/json: schema: type: array - items: *378 + items: *381 examples: - default: *379 + default: *382 '400': *14 '422': *15 x-github: @@ -101455,18 +102172,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: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *383 examples: - default: *381 + default: *384 '400': *14 '422': *15 x-github: @@ -101485,9 +102202,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: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 - *16 responses: '202': *36 @@ -101510,9 +102227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '204': description: Response @@ -101537,9 +102254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *509 - - *510 - - *375 + - *512 + - *513 + - *378 responses: '204': description: Response @@ -101562,8 +102279,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response if immutable releases are enabled @@ -101609,8 +102326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': *125 '409': *118 @@ -101630,8 +102347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': *125 '409': *118 @@ -101688,14 +102405,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &696 + schema: &699 title: Import description: A repository import from an external source. type: object @@ -101794,7 +102511,7 @@ paths: - html_url - authors_url examples: - default: &699 + default: &702 value: vcs: subversion use_lfs: true @@ -101810,7 +102527,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': &697 + '503': &700 description: Unavailable due to service under maintenance. content: application/json: @@ -101839,8 +102556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -101888,7 +102605,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: default: value: @@ -101913,7 +102630,7 @@ paths: type: string '422': *15 '404': *6 - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101941,8 +102658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -101991,7 +102708,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: example-1: summary: Example 1 @@ -102039,7 +102756,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': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102062,12 +102779,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102093,9 +102810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *509 - - *510 - - &910 + - *512 + - *513 + - &913 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -102109,7 +102826,7 @@ paths: application/json: schema: type: array - items: &698 + items: &701 title: Porter Author description: Porter Author type: object @@ -102163,7 +102880,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': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102188,8 +102905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *509 - - *510 + - *512 + - *513 - name: author_id in: path required: true @@ -102219,7 +102936,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: default: value: @@ -102232,7 +102949,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102256,8 +102973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -102298,7 +103015,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102326,8 +103043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -102354,11 +103071,11 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: *699 + default: *702 '422': *15 - '503': *697 + '503': *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102381,8 +103098,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -102390,8 +103107,8 @@ paths: application/json: schema: *22 examples: - default: *393 - '301': *515 + default: *396 + '301': *518 '404': *6 x-github: githubCloudOnly: false @@ -102411,8 +103128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -102420,12 +103137,12 @@ paths: application/json: schema: anyOf: - - *395 + - *398 - type: object properties: {} additionalProperties: false examples: - default: &701 + default: &704 value: limit: collaborators_only origin: repository @@ -102450,13 +103167,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *700 + schema: *703 examples: default: summary: Example request body @@ -102468,9 +103185,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *701 + default: *704 '409': description: Response x-github: @@ -102492,8 +103209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -102520,8 +103237,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -102575,13 +103292,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: &702 + schema: &705 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. @@ -102631,13 +103348,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: application/json: - schema: *702 + schema: *705 examples: default: summary: Example request body @@ -102670,8 +103387,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -102724,8 +103441,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -102801,8 +103518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -102812,9 +103529,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: &902 + default: &905 value: - id: 1 repository: @@ -102945,9 +103662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *509 - - *510 - - *399 + - *512 + - *513 + - *402 requestBody: required: false content: @@ -102976,7 +103693,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *706 examples: default: value: @@ -103107,9 +103824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *509 - - *510 - - *399 + - *512 + - *513 + - *402 responses: '204': description: Response @@ -103132,8 +103849,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -103141,9 +103858,9 @@ paths: application/json: schema: type: array - items: *403 + items: *406 examples: - default: *704 + default: *707 '404': *6 x-github: githubCloudOnly: false @@ -103172,8 +103889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *509 - - *510 + - *512 + - *513 - 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 @@ -103235,7 +103952,7 @@ paths: required: false schema: type: string - - *406 + - *409 - name: sort description: What to sort results by. in: query @@ -103248,7 +103965,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -103258,9 +103975,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: &718 + default: &721 value: - id: 1 node_id: MDU6SXNzdWUx @@ -103409,7 +104126,7 @@ paths: state_reason: completed headers: Link: *44 - '301': *515 + '301': *518 '422': *15 '404': *6 x-github: @@ -103438,8 +104155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -103545,9 +104262,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: &715 + default: &718 value: id: 1 node_id: MDU6SXNzdWUx @@ -103683,7 +104400,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *201 + '503': *204 '404': *6 '410': *32 x-github: @@ -103713,9 +104430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *509 - - *510 - - *255 + - *512 + - *513 + - *258 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -103725,7 +104442,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -103735,9 +104452,9 @@ paths: application/json: schema: type: array - items: *705 + items: *708 examples: - default: &717 + default: &720 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -103796,17 +104513,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '200': description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: &706 + default: &709 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -103862,9 +104579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -103886,9 +104603,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 '422': *15 x-github: githubCloudOnly: false @@ -103906,9 +104623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '204': description: Response @@ -103936,15 +104653,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '200': description: Response content: application/json: - schema: *705 + schema: *708 examples: default: value: @@ -104017,9 +104734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '204': description: Response @@ -104027,7 +104744,7 @@ paths: '403': *29 '404': *6 '410': *32 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104044,9 +104761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 - 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. @@ -104072,9 +104789,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *707 + default: *710 headers: Link: *44 '404': *6 @@ -104095,9 +104812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -104129,16 +104846,16 @@ paths: description: Reaction exists content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '201': description: Reaction created content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -104160,10 +104877,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *509 - - *510 - - *247 - - *708 + - *512 + - *513 + - *250 + - *711 responses: '204': description: Response @@ -104183,8 +104900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -104194,7 +104911,7 @@ paths: application/json: schema: type: array - items: &714 + items: &717 title: Issue Event description: Issue Event type: object @@ -104237,8 +104954,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *709 - required: *710 + properties: *712 + required: *713 nullable: true label: title: Issue Event Label @@ -104282,7 +104999,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *325 + requested_team: *328 dismissed_review: title: Issue Event Dismissed Review type: object @@ -104347,7 +105064,7 @@ paths: required: - from - to - issue_type: &711 + issue_type: &714 title: Issue Type description: The type of issue. type: object @@ -104375,14 +105092,14 @@ paths: required: - id - name - prev_issue_type: *711 + prev_issue_type: *714 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: &712 + properties: &715 number: type: integer description: The number of the referenced issue. @@ -104420,7 +105137,7 @@ paths: - id - node_id - name - required: &713 + required: &716 - number - title - state @@ -104432,24 +105149,24 @@ paths: event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 blocking: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -104460,7 +105177,7 @@ paths: is disabled or the event type does not support intent. type: object nullable: true - properties: &719 + properties: &722 rationale: type: string description: The reasoning the agent provided for the change. @@ -104474,7 +105191,7 @@ paths: - MEDIUM - HIGH nullable: true - author_association: *228 + author_association: *231 lock_reason: type: string nullable: true @@ -104487,8 +105204,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -104673,8 +105390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *509 - - *510 + - *512 + - *513 - name: event_id in: path required: true @@ -104685,7 +105402,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *717 examples: default: value: @@ -104912,9 +105629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *509 - - *510 - - &716 + - *512 + - *513 + - &719 name: issue_number description: The number that identifies the issue. in: path @@ -104926,11 +105643,11 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: default: summary: Issue - value: *715 + value: *718 pinned_comment: summary: Issue with pinned comment value: @@ -105110,7 +105827,7 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *515 + '301': *518 '404': *6 '410': *32 '304': *34 @@ -105137,9 +105854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -105341,7 +106058,7 @@ paths: application/json: schema: allOf: - - *231 + - *234 - type: object properties: suggestions: @@ -105486,11 +106203,11 @@ paths: - already_applied - issue_already_closed examples: - default: *715 + default: *718 '422': *15 - '503': *201 + '503': *204 '403': *29 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -105510,9 +106227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -105560,9 +106277,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105578,9 +106295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: content: application/json: @@ -105605,9 +106322,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105629,9 +106346,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: assignee in: path required: true @@ -105671,10 +106388,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *509 - - *510 - - *716 - - *238 + - *512 + - *513 + - *719 + - *241 - *17 - *19 responses: @@ -105684,9 +106401,9 @@ paths: application/json: schema: type: array - items: *705 + items: *708 examples: - default: *717 + default: *720 headers: Link: *44 '404': *6 @@ -105719,9 +106436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -105743,9 +106460,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -105780,9 +106497,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -105792,12 +106509,12 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *718 + default: *721 headers: Link: *44 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -105827,9 +106544,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -105851,15 +106568,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *515 + '301': *518 '403': *29 '410': *32 '422': *15 @@ -105892,9 +106609,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -105906,10 +106623,10 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 - '301': *515 + default: *718 + '301': *518 '400': *14 '401': *25 '403': *29 @@ -105940,9 +106657,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -105952,12 +106669,12 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *718 + default: *721 headers: Link: *44 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -105976,9 +106693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -105992,7 +106709,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &725 + - &728 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -106023,8 +106740,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 label: type: object properties: @@ -106045,7 +106762,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - label - id @@ -106057,7 +106774,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &726 + - &729 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -106088,8 +106805,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 label: type: object properties: @@ -106110,7 +106827,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - label - id @@ -106156,7 +106873,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - id - node_id @@ -106199,8 +106916,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 assigner: *4 required: @@ -106215,7 +106932,7 @@ paths: - performed_via_github_app - assignee - assigner - - &727 + - &730 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -106246,8 +106963,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 milestone: type: object properties: @@ -106266,7 +106983,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &728 + - &731 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -106297,8 +107014,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 milestone: type: object properties: @@ -106317,7 +107034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &729 + - &732 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -106348,8 +107065,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 rename: type: object properties: @@ -106371,7 +107088,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &730 + - &733 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -106402,10 +107119,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 review_requester: *4 - requested_team: *325 + requested_team: *328 requested_reviewer: *4 required: - review_requester @@ -106418,7 +107135,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &731 + - &734 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -106449,10 +107166,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 review_requester: *4 - requested_team: *325 + requested_team: *328 requested_reviewer: *4 required: - review_requester @@ -106465,7 +107182,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &732 + - &735 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -106496,8 +107213,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 dismissed_review: type: object properties: @@ -106525,7 +107242,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &733 + - &736 title: Locked Issue Event description: Locked Issue Event type: object @@ -106556,8 +107273,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 lock_reason: type: string example: '"off-topic"' @@ -106573,7 +107290,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &734 + - &737 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -106604,8 +107321,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -106639,7 +107356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &735 + - &738 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -106670,8 +107387,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -106705,7 +107422,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &736 + - &739 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -106736,8 +107453,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -106771,7 +107488,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &737 + - &740 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -106827,7 +107544,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &742 + - &745 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -106858,9 +107575,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - issue_type: *711 + properties: *229 + required: *230 + issue_type: *714 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -106871,7 +107588,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - issue_type - id @@ -106883,7 +107600,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &743 + - &746 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -106914,9 +107631,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - prev_issue_type: *711 + properties: *229 + required: *230 + prev_issue_type: *714 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -106927,7 +107644,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - prev_issue_type - id @@ -106939,7 +107656,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &744 + - &747 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -106970,10 +107687,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - issue_type: *711 - prev_issue_type: *711 + properties: *229 + required: *230 + issue_type: *714 + prev_issue_type: *714 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -106984,7 +107701,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - issue_type - prev_issue_type @@ -106997,7 +107714,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &745 + - &748 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -107028,8 +107745,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107037,8 +107754,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - sub_issue - id @@ -107050,7 +107767,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &746 + - &749 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -107081,8 +107798,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107090,8 +107807,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - sub_issue - id @@ -107103,7 +107820,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &747 + - &750 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -107134,8 +107851,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107143,8 +107860,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - parent_issue - id @@ -107156,7 +107873,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &748 + - &751 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -107187,8 +107904,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107196,8 +107913,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - parent_issue - id @@ -107209,7 +107926,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &749 + - &752 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -107240,8 +107957,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107249,8 +107966,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - blocked_by - id @@ -107262,7 +107979,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &750 + - &753 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -107293,8 +108010,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107302,8 +108019,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - blocked_by - id @@ -107315,7 +108032,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &751 + - &754 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -107346,8 +108063,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107355,8 +108072,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - blocking - id @@ -107368,7 +108085,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &752 + - &755 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -107399,8 +108116,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -107408,8 +108125,8 @@ paths: events). type: object nullable: true - properties: *712 - required: *713 + properties: *715 + required: *716 required: - blocking - id @@ -107473,9 +108190,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -107485,9 +108202,9 @@ paths: application/json: schema: type: array - items: *720 + items: *723 examples: - default: &721 + default: &724 value: - issue_field_id: 1 issue_field_name: DRI @@ -107527,7 +108244,7 @@ paths: color: green headers: Link: *44 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -107558,9 +108275,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -107630,14 +108347,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *720 + items: *723 examples: - default: *721 + default: *724 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -107668,9 +108385,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: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -107735,14 +108452,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *720 + items: *723 examples: - default: *721 + default: *724 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -107768,17 +108485,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: - - *509 - - *510 - - *716 - - *402 + - *512 + - *513 + - *719 + - *405 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -107796,9 +108513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -107808,9 +108525,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: &722 + default: &725 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -107850,7 +108567,7 @@ paths: site_admin: false headers: Link: *44 - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -107868,9 +108585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -107948,10 +108665,10 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *722 - '301': *515 + default: *725 + '301': *518 '404': *6 '410': *32 '422': *15 @@ -107970,9 +108687,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -108032,10 +108749,10 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *722 - '301': *515 + default: *725 + '301': *518 '404': *6 '410': *32 '422': *15 @@ -108054,13 +108771,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 responses: '204': description: Response - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -108081,9 +108798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: name in: path required: true @@ -108096,7 +108813,7 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: default: value: @@ -108109,7 +108826,7 @@ paths: default: true archived_at: archived_by: - '301': *515 + '301': *518 '404': *6 '410': *32 x-github: @@ -108131,9 +108848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: false content: @@ -108179,9 +108896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 responses: '204': description: Response @@ -108211,18 +108928,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 responses: '200': description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 - '301': *515 + default: *718 + '301': *518 '404': *6 '410': *32 x-github: @@ -108241,9 +108958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - 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. @@ -108269,9 +108986,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *707 + default: *710 headers: Link: *44 '404': *6 @@ -108293,9 +109010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -108327,16 +109044,16 @@ paths: description: Response content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '201': description: Response content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -108358,10 +109075,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *509 - - *510 - - *716 - - *708 + - *512 + - *513 + - *719 + - *711 responses: '204': description: Response @@ -108390,9 +109107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -108414,9 +109131,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -108450,9 +109167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 responses: @@ -108462,9 +109179,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *718 + default: *721 headers: Link: *44 '404': *6 @@ -108496,9 +109213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -108525,9 +109242,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -108554,9 +109271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 requestBody: required: true content: @@ -108587,13 +109304,13 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *715 + default: *718 '403': *29 '404': *6 '422': *7 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -108618,9 +109335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: state in: query required: false @@ -108657,7 +109374,7 @@ paths: application/json: schema: type: array - items: &723 + items: &726 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -108809,9 +109526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: suggestion_id in: path required: true @@ -108823,9 +109540,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: &724 + default: &727 value: id: 12 issue_id: 4567 @@ -108863,9 +109580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - name: suggestion_id in: path required: true @@ -108877,9 +109594,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *726 examples: - default: *724 + default: *727 '403': *29 '404': *6 '422': *15 @@ -108899,9 +109616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *509 - - *510 - - *716 + - *512 + - *513 + - *719 - *17 - *19 - name: exclude @@ -108922,9 +109639,6 @@ paths: description: Timeline Event type: object anyOf: - - *725 - - *726 - - *727 - *728 - *729 - *730 @@ -108935,6 +109649,9 @@ paths: - *735 - *736 - *737 + - *738 + - *739 + - *740 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -108977,7 +109694,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *231 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -108987,23 +109704,23 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *229 + required: *230 + reactions: *232 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *738 - required: *739 + properties: *741 + required: *742 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *740 - required: *741 + properties: *743 + required: *744 nullable: true required: - event @@ -109035,7 +109752,7 @@ paths: properties: type: type: string - issue: *231 + issue: *234 required: - event - created_at @@ -109235,7 +109952,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *231 required: - event - id @@ -109258,7 +109975,7 @@ paths: type: string comments: type: array - items: &775 + items: &778 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -109353,7 +110070,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *231 _links: type: object properties: @@ -109437,7 +110154,7 @@ paths: enum: - line - file - reactions: *229 + reactions: *232 body_html: type: string example: '"

comment body

"' @@ -109473,7 +110190,7 @@ paths: type: string comments: type: array - items: *627 + items: *630 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -109504,8 +110221,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 intent: title: Issue Event Intent @@ -109517,7 +110234,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - id - node_id @@ -109559,8 +110276,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 required: - id @@ -109603,8 +110320,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 state_reason: type: string nullable: true @@ -109618,7 +110335,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *719 + properties: *722 required: - id - node_id @@ -109629,9 +110346,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *742 - - *743 - - *744 - *745 - *746 - *747 @@ -109640,6 +110354,9 @@ paths: - *750 - *751 - *752 + - *753 + - *754 + - *755 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -109670,8 +110387,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -109712,8 +110429,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -109897,8 +110614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -109908,7 +110625,7 @@ paths: application/json: schema: type: array - items: &753 + items: &756 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -109974,8 +110691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -110011,9 +110728,9 @@ paths: description: Response content: application/json: - schema: *753 + schema: *756 examples: - default: &754 + default: &757 value: id: 1 key: ssh-rsa AAA... @@ -110047,9 +110764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *509 - - *510 - - &755 + - *512 + - *513 + - &758 name: key_id description: The unique identifier of the key. in: path @@ -110061,9 +110778,9 @@ paths: description: Response content: application/json: - schema: *753 + schema: *756 examples: - default: *754 + default: *757 '404': *6 x-github: githubCloudOnly: false @@ -110081,9 +110798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *509 - - *510 - - *755 + - *512 + - *513 + - *758 responses: '204': description: Response @@ -110103,8 +110820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -110114,9 +110831,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *722 + default: *725 headers: Link: *44 '404': *6 @@ -110137,8 +110854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -110174,9 +110891,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: &756 + default: &759 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -110210,8 +110927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *509 - - *510 + - *512 + - *513 - name: name in: path required: true @@ -110222,9 +110939,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *756 + default: *759 '404': *6 x-github: githubCloudOnly: false @@ -110241,8 +110958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *509 - - *510 + - *512 + - *513 - name: name in: path required: true @@ -110286,7 +111003,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: default: value: @@ -110314,8 +111031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *509 - - *510 + - *512 + - *513 - name: name in: path required: true @@ -110341,8 +111058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -110378,8 +111095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '202': *36 '403': @@ -110407,8 +111124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -110434,9 +111151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *509 - - *510 - - *600 + - *512 + - *513 + - *603 responses: '200': description: Response @@ -110498,8 +111215,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true required: - _links @@ -110581,8 +111298,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -110647,8 +111364,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -110682,9 +111399,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *630 + schema: *633 examples: - default: *757 + default: *760 '204': description: Response when already merged '404': @@ -110709,8 +111426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *509 - - *510 + - *512 + - *513 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -110751,12 +111468,12 @@ paths: application/json: schema: type: array - items: &758 + items: &761 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *441 + required: *442 examples: default: value: @@ -110812,8 +111529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -110853,9 +111570,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: &759 + default: &762 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -110914,9 +111631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *509 - - *510 - - &760 + - *512 + - *513 + - &763 name: milestone_number description: The number that identifies the milestone. in: path @@ -110928,9 +111645,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *759 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -110947,9 +111664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *509 - - *510 - - *760 + - *512 + - *513 + - *763 requestBody: required: false content: @@ -110987,9 +111704,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *761 examples: - default: *759 + default: *762 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111005,9 +111722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *509 - - *510 - - *760 + - *512 + - *513 + - *763 responses: '204': description: Response @@ -111028,9 +111745,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: - - *509 - - *510 - - *760 + - *512 + - *513 + - *763 - *17 - *19 responses: @@ -111040,9 +111757,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *722 + default: *725 headers: Link: *44 x-github: @@ -111061,12 +111778,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: - - *509 - - *510 - - *761 - - *762 - - *238 - - *763 + - *512 + - *513 + - *764 + - *765 + - *241 + - *766 - *17 - *19 responses: @@ -111076,9 +111793,9 @@ paths: application/json: schema: type: array - items: *258 + items: *261 examples: - default: *764 + default: *767 headers: Link: *44 x-github: @@ -111102,8 +111819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -111161,14 +111878,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: &765 + schema: &768 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -111293,7 +112010,7 @@ paths: - custom_404 - public examples: - default: &766 + default: &769 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -111334,8 +112051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -111389,9 +112106,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *768 examples: - default: *766 + default: *769 '422': *15 '409': *118 x-github: @@ -111414,8 +112131,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -111522,8 +112239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -111549,8 +112266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -111560,7 +112277,7 @@ paths: application/json: schema: type: array - items: &767 + items: &770 title: Page Build description: Page Build type: object @@ -111654,8 +112371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *509 - - *510 + - *512 + - *513 responses: '201': description: Response @@ -111700,16 +112417,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *767 + schema: *770 examples: - default: &768 + default: &771 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -111757,8 +112474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *509 - - *510 + - *512 + - *513 - name: build_id in: path required: true @@ -111769,9 +112486,9 @@ paths: description: Response content: application/json: - schema: *767 + schema: *770 examples: - default: *768 + default: *771 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111791,8 +112508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -111897,9 +112614,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: - - *509 - - *510 - - &769 + - *512 + - *513 + - &772 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -111957,9 +112674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *509 - - *510 - - *769 + - *512 + - *513 + - *772 responses: '204': *125 '404': *6 @@ -111986,8 +112703,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -112218,7 +112935,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -112245,8 +112962,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Private vulnerability reporting status @@ -112283,8 +113000,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: - - *509 - - *510 + - *512 + - *513 responses: '204': *125 '422': *14 @@ -112305,8 +113022,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: - - *509 - - *510 + - *512 + - *513 responses: '204': *125 '422': *14 @@ -112328,8 +113045,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -112337,9 +113054,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *770 + default: *773 '403': *29 '404': *6 x-github: @@ -112361,8 +113078,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -112374,11 +113091,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *161 + items: *164 required: - properties examples: - default: *771 + default: *774 responses: '204': description: No Content when custom property values are successfully created @@ -112416,8 +113133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *509 - - *510 + - *512 + - *513 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -112477,9 +113194,9 @@ paths: application/json: schema: type: array - items: *593 + items: *596 examples: - default: *772 + default: *775 headers: Link: *44 '304': *34 @@ -112511,8 +113228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -112577,7 +113294,7 @@ paths: description: Response content: application/json: - schema: &777 + schema: &780 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -112696,8 +113413,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *441 + required: *442 nullable: true active_lock_reason: type: string @@ -112729,7 +113446,7 @@ paths: items: *4 requested_teams: type: array - items: *493 + items: *496 head: type: object properties: @@ -112767,14 +113484,14 @@ paths: _links: type: object properties: - comments: *440 - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + comments: *443 + commits: *443 + statuses: *443 + html: *443 + issue: *443 + review_comments: *443 + review_comment: *443 + self: *443 required: - comments - commits @@ -112784,9 +113501,9 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: *773 - stack: *774 + author_association: *231 + auto_merge: *776 + stack: *777 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -112876,7 +113593,7 @@ paths: - merged_by - review_comments examples: - default: &778 + default: &781 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -113383,8 +114100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *509 - - *510 + - *512 + - *513 - name: sort in: query required: false @@ -113403,7 +114120,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -113413,9 +114130,9 @@ paths: application/json: schema: type: array - items: *775 + items: *778 examples: - default: &780 + default: &783 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -113492,17 +114209,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '200': description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: &776 + default: &779 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -113577,9 +114294,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -113601,9 +114318,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: *776 + default: *779 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113619,9 +114336,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 responses: '204': description: Response @@ -113642,9 +114359,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 - 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. @@ -113670,9 +114387,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *707 + default: *710 headers: Link: *44 '404': *6 @@ -113693,9 +114410,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: - - *509 - - *510 - - *247 + - *512 + - *513 + - *250 requestBody: required: true content: @@ -113727,16 +114444,16 @@ paths: description: Reaction exists content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '201': description: Reaction created content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -113758,10 +114475,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *509 - - *510 - - *247 - - *708 + - *512 + - *513 + - *250 + - *711 responses: '204': description: Response @@ -113804,9 +114521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *509 - - *510 - - &779 + - *512 + - *513 + - &782 name: pull_number description: The number that identifies the pull request. in: path @@ -113819,9 +114536,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *777 + schema: *780 examples: - default: *778 + default: *781 '304': *34 '404': *6 '406': @@ -113830,7 +114547,7 @@ paths: application/json: schema: *3 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113856,9 +114573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -113900,9 +114617,9 @@ paths: description: Response content: application/json: - schema: *777 + schema: *780 examples: - default: *778 + default: *781 '422': *15 '403': *29 x-github: @@ -113924,9 +114641,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: true content: @@ -113986,21 +114703,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114026,10 +114743,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: - - *509 - - *510 - - *779 - - *255 + - *512 + - *513 + - *782 + - *258 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -114039,7 +114756,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -114049,9 +114766,9 @@ paths: application/json: schema: type: array - items: *775 + items: *778 examples: - default: *780 + default: *783 headers: Link: *44 x-github: @@ -114084,9 +114801,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: true content: @@ -114191,7 +114908,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: example-for-a-multi-line-comment: value: @@ -114279,10 +114996,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: - - *509 - - *510 - - *779 - - *247 + - *512 + - *513 + - *782 + - *250 requestBody: required: true content: @@ -114304,7 +115021,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: default: value: @@ -114390,9 +115107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 - *17 - *19 responses: @@ -114402,9 +115119,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: *781 + default: *784 headers: Link: *44 x-github: @@ -114434,9 +115151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 - *17 - *19 responses: @@ -114446,7 +115163,7 @@ paths: application/json: schema: type: array - items: *642 + items: *645 examples: default: value: @@ -114465,7 +115182,7 @@ paths: Link: *44 '422': *15 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114484,9 +115201,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 responses: '204': description: Response if pull request has been merged @@ -114509,9 +115226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -114633,9 +115350,9 @@ paths: category: pulls subcategory: pulls parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -114687,7 +115404,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &782 + schema: &785 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -114772,7 +115489,7 @@ paths: merge queue content: application/json: - schema: *782 + schema: *785 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -114792,7 +115509,7 @@ paths: this pull request content: application/json: - schema: *782 + schema: *785 examples: response-if-a-merge-request-already-exists: value: @@ -114808,7 +115525,7 @@ paths: it is closed content: application/json: - schema: *782 + schema: *785 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -114840,9 +115557,9 @@ paths: category: pulls subcategory: pulls parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -114855,7 +115572,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *782 + schema: *785 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -114903,9 +115620,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 responses: '200': description: Response @@ -114921,7 +115638,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 required: - users - teams @@ -114980,9 +115697,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -115019,7 +115736,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -115555,9 +116272,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: true content: @@ -115591,7 +116308,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -116076,9 +116793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 - *17 - *19 responses: @@ -116088,7 +116805,7 @@ paths: application/json: schema: type: array - items: &783 + items: &786 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -116157,7 +116874,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *231 required: - id - node_id @@ -116239,9 +116956,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: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -116327,9 +117044,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: - default: &785 + default: &788 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -116392,10 +117109,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: - - *509 - - *510 - - *779 - - &784 + - *512 + - *513 + - *782 + - &787 name: review_id description: The unique identifier of the review. in: path @@ -116407,9 +117124,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: - default: &786 + default: &789 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -116468,10 +117185,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 requestBody: required: true content: @@ -116494,7 +117211,7 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: default: value: @@ -116556,18 +117273,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 responses: '200': description: Response content: application/json: - schema: *783 + schema: *786 examples: - default: *785 + default: *788 '422': *7 '404': *6 x-github: @@ -116594,10 +117311,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 - *17 - *19 responses: @@ -116676,13 +117393,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *231 _links: type: object properties: - self: *440 - html: *440 - pull_request: *440 + self: *443 + html: *443 + pull_request: *443 required: - self - html @@ -116691,7 +117408,7 @@ paths: type: string body_html: type: string - reactions: *229 + reactions: *232 side: description: The side of the first line of the range for a multi-line comment. @@ -116832,10 +117549,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 requestBody: required: true content: @@ -116863,7 +117580,7 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: default: value: @@ -116926,10 +117643,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: - - *509 - - *510 - - *779 - - *784 + - *512 + - *513 + - *782 + - *787 requestBody: required: true content: @@ -116964,9 +117681,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *786 examples: - default: *786 + default: *789 '404': *6 '422': *7 '403': *29 @@ -116988,9 +117705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *509 - - *510 - - *779 + - *512 + - *513 + - *782 requestBody: required: false content: @@ -117053,8 +117770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *509 - - *510 + - *512 + - *513 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -117067,9 +117784,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *790 examples: - default: &788 + default: &791 value: type: file encoding: base64 @@ -117111,8 +117828,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: - - *509 - - *510 + - *512 + - *513 - name: dir description: The alternate path to look for a README file in: path @@ -117132,9 +117849,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *790 examples: - default: *788 + default: *791 '404': *6 '422': *15 x-github: @@ -117156,8 +117873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -117167,7 +117884,7 @@ paths: application/json: schema: type: array - items: *789 + items: *792 examples: default: value: @@ -117266,8 +117983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -117343,9 +118060,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *792 examples: - default: &793 + default: &796 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -117450,9 +118167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *509 - - *510 - - &791 + - *512 + - *513 + - &794 name: asset_id description: The unique identifier of the asset. in: path @@ -117464,9 +118181,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *793 examples: - default: &792 + default: &795 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 @@ -117501,7 +118218,7 @@ paths: type: User site_admin: false '404': *6 - '302': *646 + '302': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117517,9 +118234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *509 - - *510 - - *791 + - *512 + - *513 + - *794 requestBody: required: false content: @@ -117547,9 +118264,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *793 examples: - default: *792 + default: *795 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117565,9 +118282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *509 - - *510 - - *791 + - *512 + - *513 + - *794 responses: '204': description: Response @@ -117592,8 +118309,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -117678,16 +118395,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response content: application/json: - schema: *789 + schema: *792 examples: - default: *793 + default: *796 '404': *6 x-github: githubCloudOnly: false @@ -117705,8 +118422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *509 - - *510 + - *512 + - *513 - name: tag description: tag parameter in: path @@ -117719,9 +118436,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *792 examples: - default: *793 + default: *796 '404': *6 x-github: githubCloudOnly: false @@ -117743,9 +118460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *509 - - *510 - - &794 + - *512 + - *513 + - &797 name: release_id description: The unique identifier of the release. in: path @@ -117759,9 +118476,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: *789 + schema: *792 examples: - default: *793 + default: *796 '401': description: Unauthorized x-github: @@ -117785,9 +118502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 requestBody: required: false content: @@ -117851,9 +118568,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *792 examples: - default: *793 + default: *796 '404': description: Not Found if the discussion category name is invalid content: @@ -117874,9 +118591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 responses: '204': description: Response @@ -117897,9 +118614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 - *17 - *19 responses: @@ -117909,7 +118626,7 @@ paths: application/json: schema: type: array - items: *790 + items: *793 examples: default: value: @@ -117991,9 +118708,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: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 - name: name in: query required: true @@ -118019,7 +118736,7 @@ paths: description: Response for successful upload content: application/json: - schema: *790 + schema: *793 examples: response-for-successful-upload: value: @@ -118074,9 +118791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 - 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. @@ -118100,9 +118817,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *707 + default: *710 headers: Link: *44 '404': *6 @@ -118123,9 +118840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *509 - - *510 - - *794 + - *512 + - *513 + - *797 requestBody: required: true content: @@ -118155,16 +118872,16 @@ paths: description: Reaction exists content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '201': description: Reaction created content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '422': *15 x-github: githubCloudOnly: false @@ -118186,10 +118903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *509 - - *510 - - *794 - - *708 + - *512 + - *513 + - *797 + - *711 responses: '204': description: Response @@ -118213,9 +118930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *509 - - *510 - - *561 + - *512 + - *513 + - *564 - *17 - *19 responses: @@ -118231,8 +118948,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *175 - - &795 + - *178 + - &798 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -118251,72 +118968,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *176 - - *795 - - allOf: - - *177 - - *795 - - allOf: - - *178 - - *795 - - allOf: - - *796 - - *795 - allOf: - *179 - - *795 + - *798 - allOf: - *180 - - *795 + - *798 - allOf: - *181 - - *795 + - *798 + - allOf: + - *799 + - *798 - allOf: - *182 - - *795 + - *798 - allOf: - *183 - - *795 + - *798 - allOf: - *184 - - *795 + - *798 - allOf: - *185 - - *795 + - *798 - allOf: - *186 - - *795 + - *798 - allOf: - *187 - - *795 + - *798 - allOf: - *188 - - *795 + - *798 - allOf: - *189 - - *795 + - *798 - allOf: - *190 - - *795 + - *798 - allOf: - *191 - - *795 - - allOf: - - *797 - - *795 + - *798 - allOf: - *192 - - *795 + - *798 - allOf: - *193 - - *795 + - *798 - allOf: - *194 - - *795 + - *798 + - allOf: + - *800 + - *798 - allOf: - *195 - - *795 + - *798 + - allOf: + - *196 + - *798 + - allOf: + - *197 + - *798 + - allOf: + - *198 + - *798 examples: default: value: @@ -118355,8 +119072,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 - name: includes_parents @@ -118367,7 +119084,7 @@ paths: schema: type: boolean default: true - - *798 + - *801 responses: '200': description: Response @@ -118375,7 +119092,7 @@ paths: application/json: schema: type: array - items: *196 + items: *199 examples: default: value: @@ -118422,8 +119139,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 requestBody: description: Request body required: true @@ -118443,16 +119160,16 @@ paths: - tag - push default: branch - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *167 + items: *177 + conditions: *170 rules: type: array description: An array of rules within the ruleset. - items: *799 + items: *802 required: - name - enforcement @@ -118483,9 +119200,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: &809 + default: &812 value: id: 42 name: super cool ruleset @@ -118533,13 +119250,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *509 - - *510 - - *800 - - *104 - - *801 - - *802 + - *512 + - *513 - *803 + - *104 + - *804 + - *805 + - *806 - *17 - *19 responses: @@ -118547,9 +119264,9 @@ paths: description: Response content: application/json: - schema: *804 + schema: *807 examples: - default: *805 + default: *808 '404': *6 '500': *37 x-github: @@ -118570,17 +119287,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *509 - - *510 - - *806 + - *512 + - *513 + - *809 responses: '200': description: Response content: application/json: - schema: *807 + schema: *810 examples: - default: *808 + default: *811 '404': *6 '500': *37 x-github: @@ -118608,8 +119325,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 - name: ruleset_id description: The ID of the ruleset. in: path @@ -118629,9 +119346,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *809 + default: *812 '404': *6 '500': *37 put: @@ -118649,8 +119366,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 - name: ruleset_id description: The ID of the ruleset. in: path @@ -118675,16 +119392,16 @@ paths: - branch - tag - push - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *167 + items: *177 + conditions: *170 rules: description: An array of rules within the ruleset. type: array - items: *799 + items: *802 examples: default: value: @@ -118712,9 +119429,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *809 + default: *812 '404': *6 '422': *15 '500': *37 @@ -118733,8 +119450,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - - *510 + - *512 + - *513 - name: ruleset_id description: The ID of the ruleset. in: path @@ -118757,8 +119474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 - name: ruleset_id @@ -118774,9 +119491,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *458 + default: *461 '404': *6 '500': *37 x-github: @@ -118795,8 +119512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *509 - - *510 + - *512 + - *513 - name: ruleset_id description: The ID of the ruleset. in: path @@ -118814,7 +119531,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *462 examples: default: value: @@ -118869,28 +119586,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: - - *509 - - *510 - - *460 - - *461 - - *462 + - *512 + - *513 - *463 - *464 - *465 - *466 - *467 - - *109 - - *19 - - *17 - - *810 - - *811 - *468 - *469 - *470 + - *109 + - *19 + - *17 + - *813 + - *814 - *471 - *472 - *473 - *474 + - *475 + - *476 + - *477 responses: '200': description: Response @@ -118901,8 +119618,8 @@ paths: items: type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -118910,15 +119627,15 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *812 - resolution: *813 + state: *815 + resolution: *816 resolved_at: type: string format: date-time @@ -119024,7 +119741,7 @@ paths: pull request. ' - oneOf: *814 + oneOf: *817 nullable: true has_more_locations: type: boolean @@ -119166,7 +119883,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119188,20 +119905,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *509 - - *510 - - *594 - - *471 + - *512 + - *513 + - *597 + - *474 responses: '200': description: Response content: application/json: - schema: &815 + schema: &818 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -119209,14 +119926,14 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *812 - resolution: *813 + state: *815 + resolution: *816 resolved_at: type: string format: date-time @@ -119322,7 +120039,7 @@ paths: pull request. ' - oneOf: *814 + oneOf: *817 nullable: true has_more_locations: type: boolean @@ -119350,7 +120067,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &1006 + metadata: &1009 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -119400,7 +120117,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119423,9 +120140,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 requestBody: required: true content: @@ -119433,8 +120150,8 @@ paths: schema: type: object properties: - state: *812 - resolution: *813 + state: *815 + resolution: *816 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -119478,7 +120195,7 @@ paths: description: Response content: application/json: - schema: *815 + schema: *818 examples: default: value: @@ -119558,7 +120275,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': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -119580,9 +120297,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: - - *509 - - *510 - - *594 + - *512 + - *513 + - *597 - *19 - *17 responses: @@ -119593,7 +120310,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &1008 + items: &1011 type: object properties: type: @@ -119619,9 +120336,6 @@ paths: example: commit details: oneOf: - - *816 - - *817 - - *818 - *819 - *820 - *821 @@ -119632,6 +120346,9 @@ paths: - *826 - *827 - *828 + - *829 + - *830 + - *831 examples: default: value: @@ -119695,7 +120412,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119722,11 +120439,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - - *510 - - *477 - - *478 - - *479 + - *512 + - *513 + - *480 + - *481 + - *482 - *109 - *107 - *108 @@ -119737,9 +120454,9 @@ paths: application/json: schema: type: array - items: *202 + items: *205 examples: - default: *480 + default: *483 headers: Link: *44 '403': *29 @@ -119764,8 +120481,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -119778,9 +120495,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *481 + items: *484 examples: - default: *482 + default: *485 responses: '201': description: All patterns created successfully. @@ -119792,9 +120509,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: *483 + default: *486 '400': *14 '403': *29 '404': *6 @@ -119818,7 +120535,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *484 + items: *487 delete: summary: Bulk delete repository custom patterns description: |- @@ -119839,8 +120556,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -119854,7 +120571,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *485 + items: *488 post_delete_action: type: string description: |- @@ -119867,14 +120584,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *486 + default: *489 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -119896,8 +120613,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - - *510 + - *512 + - *513 - name: pattern_id in: path required: true @@ -119908,21 +120625,21 @@ paths: required: true content: application/json: - schema: *487 + schema: *490 examples: - default: *488 + default: *491 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: *489 + default: *492 '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -119940,8 +120657,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -119949,14 +120666,14 @@ paths: schema: type: object properties: - reason: &830 + reason: &833 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *829 + placeholder_id: *832 required: - reason - placeholder_id @@ -119973,7 +120690,7 @@ paths: schema: type: object properties: - reason: *830 + reason: *833 expire_at: type: string format: date-time @@ -119996,7 +120713,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -120019,13 +120736,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: - - *509 - - *510 + - *512 + - *513 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *201 + '503': *204 '200': description: Response content: @@ -120035,7 +120752,7 @@ paths: properties: incremental_scans: type: array - items: &831 + items: &834 description: Information on a single scan performed by secret scanning on the repository type: object @@ -120066,15 +120783,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *831 + items: *834 backfill_scans: type: array - items: *831 + items: *834 custom_pattern_backfill_scans: type: array items: allOf: - - *831 + - *834 - type: object properties: pattern_name: @@ -120087,7 +120804,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *831 + items: *834 examples: default: value: @@ -120152,8 +120869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *509 - - *510 + - *512 + - *513 - *109 - name: sort description: The property to sort the results by. @@ -120197,9 +120914,9 @@ paths: application/json: schema: type: array - items: *832 + items: *835 examples: - default: *833 + default: *836 '400': *14 '404': *6 x-github: @@ -120222,8 +120939,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -120296,7 +121013,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *495 required: - login - type @@ -120383,9 +121100,9 @@ paths: description: Response content: application/json: - schema: *832 + schema: *835 examples: - default: &836 + default: &839 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -120600,7 +121317,7 @@ paths: description: Validation failed. content: application/json: - schema: &834 + schema: &837 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -120670,8 +121387,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: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -120775,7 +121492,7 @@ paths: description: Response content: application/json: - schema: *832 + schema: *835 examples: default: value: @@ -120900,7 +121617,7 @@ paths: description: Validation failed. content: application/json: - schema: *834 + schema: *837 examples: missing_section: value: @@ -120947,17 +121664,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: - - *509 - - *510 - - *835 + - *512 + - *513 + - *838 responses: '200': description: Response content: application/json: - schema: *832 + schema: *835 examples: - default: *836 + default: *839 '403': *29 '404': *6 x-github: @@ -120981,9 +121698,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: - - *509 - - *510 - - *835 + - *512 + - *513 + - *838 requestBody: required: true content: @@ -121056,7 +121773,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *495 required: - login - type @@ -121142,17 +121859,17 @@ paths: description: Response content: application/json: - schema: *832 + schema: *835 examples: - default: *836 - add_credit: *836 + default: *839 + add_credit: *839 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *267 + schema: *270 examples: invalid_state_transition: value: @@ -121183,9 +121900,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: - - *509 - - *510 - - *835 + - *512 + - *513 + - *838 responses: '202': *36 '400': *14 @@ -121212,17 +121929,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: - - *509 - - *510 - - *835 + - *512 + - *513 + - *838 responses: '202': description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 + default: *519 '400': *14 '422': *15 '403': *29 @@ -121243,8 +121960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *509 - - *510 + - *512 + - *513 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -121376,8 +122093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -121444,11 +122161,11 @@ paths: format: date-time pull_requests: type: array - items: &837 + items: &840 title: Pull Request Stack Pull Request type: object allOf: - - *236 + - *239 - type: object required: - node_id @@ -121670,8 +122387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *509 - - *510 + - *512 + - *513 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -121720,7 +122437,7 @@ paths: format: date-time pull_requests: type: array - items: *837 + items: *840 examples: default: value: @@ -121840,8 +122557,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: - - *509 - - *510 + - *512 + - *513 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -121913,7 +122630,7 @@ paths: format: date-time pull_requests: type: array - items: *837 + items: *840 examples: default: value: @@ -122117,8 +122834,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: - - *509 - - *510 + - *512 + - *513 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -122167,7 +122884,7 @@ paths: format: date-time pull_requests: type: array - items: *837 + items: *840 examples: default: value: @@ -122243,7 +122960,7 @@ paths: pull request in it is locked and cannot be removed. content: application/json: - schema: *267 + schema: *270 examples: cannot_be_removed: summary: Every pull request in the stack is locked and can't be @@ -122273,8 +122990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -122371,8 +123088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -122413,8 +123130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *509 - - *510 + - *512 + - *513 - 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)." @@ -122508,8 +123225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -122518,7 +123235,7 @@ paths: application/json: schema: type: array - items: &838 + items: &841 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -122551,8 +123268,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -122628,8 +123345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -122725,8 +123442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -122880,8 +123597,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: - - *509 - - *510 + - *512 + - *513 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -122891,7 +123608,7 @@ paths: application/json: schema: type: array - items: *838 + items: *841 examples: default: value: @@ -122924,8 +123641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *509 - - *510 + - *512 + - *513 - name: sha in: path required: true @@ -122979,7 +123696,7 @@ paths: description: Response content: application/json: - schema: *839 + schema: *842 examples: default: value: @@ -123033,8 +123750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -123046,7 +123763,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -123066,14 +123783,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &840 + schema: &843 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -123141,8 +123858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: false content: @@ -123168,7 +123885,7 @@ paths: description: Response content: application/json: - schema: *840 + schema: *843 examples: default: value: @@ -123195,8 +123912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -123216,8 +123933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -123296,8 +124013,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *509 - - *510 + - *512 + - *513 - name: ref in: path required: true @@ -123333,8 +124050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *509 - - *510 + - *512 + - *513 - *17 - *19 responses: @@ -123344,9 +124061,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *418 + default: *421 headers: Link: *44 '404': *6 @@ -123366,8 +124083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *509 - - *510 + - *512 + - *513 - *19 - *17 responses: @@ -123375,7 +124092,7 @@ paths: description: Response content: application/json: - schema: &841 + schema: &844 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -123387,7 +124104,7 @@ paths: required: - names examples: - default: &842 + default: &845 value: names: - octocat @@ -123410,8 +124127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -123442,9 +124159,9 @@ paths: description: Response content: application/json: - schema: *841 + schema: *844 examples: - default: *842 + default: *845 '404': *6 '422': *7 x-github: @@ -123465,9 +124182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *509 - - *510 - - &843 + - *512 + - *513 + - &846 name: per description: The time frame to display results for. in: query @@ -123496,7 +124213,7 @@ paths: example: 128 clones: type: array - items: &844 + items: &847 title: Traffic type: object properties: @@ -123583,8 +124300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -123674,8 +124391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *509 - - *510 + - *512 + - *513 responses: '200': description: Response @@ -123735,9 +124452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *509 - - *510 - - *843 + - *512 + - *513 + - *846 responses: '200': description: Response @@ -123756,7 +124473,7 @@ paths: example: 3782 views: type: array - items: *844 + items: *847 required: - uniques - count @@ -123833,8 +124550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *509 - - *510 + - *512 + - *513 requestBody: required: true content: @@ -123870,7 +124587,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -124107,8 +124824,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -124131,8 +124848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -124154,8 +124871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -124181,8 +124898,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *509 - - *510 + - *512 + - *513 - name: ref in: path required: true @@ -124274,9 +124991,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -124317,7 +125034,7 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: default: value: @@ -124427,7 +125144,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &852 + - &855 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -124436,7 +125153,7 @@ paths: schema: type: string example: members - - &857 + - &860 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -124447,7 +125164,7 @@ paths: default: 1 format: int32 example: 1 - - &858 + - &861 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -124489,7 +125206,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &847 + items: &850 allOf: - type: object required: @@ -124564,7 +125281,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: &859 + meta: &862 type: object description: The metadata associated with the creation/updates to the user. @@ -124624,30 +125341,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &848 + '400': &851 description: Bad request content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '401': *846 - '403': &849 + schema: *848 + '401': *849 + '403': &852 description: Permission denied - '429': &850 + '429': &853 description: Too many requests content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '500': &851 + schema: *848 + '500': &854 description: Internal server error content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 + schema: *848 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -124671,7 +125388,7 @@ paths: required: true content: application/json: - schema: &855 + schema: &858 type: object required: - schemas @@ -124731,9 +125448,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *847 + schema: *850 examples: - group: &853 + group: &856 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -124752,13 +125469,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': *848 - '401': *846 - '403': *849 - '409': &856 + '400': *851 + '401': *849 + '403': *852 + '409': &859 description: Duplicate record detected - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -124775,7 +125492,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: - - &854 + - &857 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -124783,22 +125500,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *852 + - *855 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *847 + schema: *850 examples: - default: *853 - '400': *848 - '401': *846 - '403': *849 + default: *856 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -124817,13 +125534,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: - - *854 + - *857 - *38 requestBody: required: true content: application/json: - schema: *855 + schema: *858 examples: group: summary: Group @@ -124849,17 +125566,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *847 + schema: *850 examples: - group: *853 - groupWithMembers: *853 - '400': *848 - '401': *846 - '403': *849 + group: *856 + groupWithMembers: *856 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '409': *856 - '429': *850 - '500': *851 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -124883,13 +125600,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: - - *854 + - *857 - *38 requestBody: required: true content: application/json: - schema: &866 + schema: &869 type: object required: - Operations @@ -124949,17 +125666,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *847 + schema: *850 examples: - updateGroup: *853 - addMembers: *853 - '400': *848 - '401': *846 - '403': *849 + updateGroup: *856 + addMembers: *856 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '409': *856 - '429': *850 - '500': *851 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -124975,17 +125692,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: - - *854 + - *857 - *38 responses: '204': description: Group was deleted, no content - '400': *848 - '401': *846 - '403': *849 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125019,8 +125736,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *857 - - *858 + - *860 + - *861 - *38 responses: '200': @@ -125053,7 +125770,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &861 + items: &864 allOf: - type: object required: @@ -125132,7 +125849,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &860 + roles: &863 type: array description: The roles assigned to the user. items: @@ -125188,7 +125905,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *859 + meta: *862 startIndex: type: integer description: A starting index for the returned page @@ -125225,11 +125942,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *848 - '401': *846 - '403': *849 - '429': *850 - '500': *851 + '400': *851 + '401': *849 + '403': *852 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125253,7 +125970,7 @@ paths: required: true content: application/json: - schema: &864 + schema: &867 type: object required: - schemas @@ -125335,9 +126052,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *860 + roles: *863 examples: - user: &865 + user: &868 summary: User value: schemas: @@ -125384,9 +126101,9 @@ paths: description: User has been created content: application/scim+json: - schema: *861 + schema: *864 examples: - user: &862 + user: &865 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -125412,13 +126129,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: *862 - '400': *848 - '401': *846 - '403': *849 - '409': *856 - '429': *850 - '500': *851 + enterpriseOwner: *865 + '400': *851 + '401': *849 + '403': *852 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125435,7 +126152,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: - - &863 + - &866 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -125448,15 +126165,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *861 + schema: *864 examples: - default: *862 - '400': *848 - '401': *846 - '403': *849 + default: *865 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125507,30 +126224,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: - - *863 + - *866 - *38 requestBody: required: true content: application/json: - schema: *864 + schema: *867 examples: - user: *865 + user: *868 responses: '200': description: User was updated content: application/scim+json: - schema: *861 + schema: *864 examples: - user: *862 - '400': *848 - '401': *846 - '403': *849 + user: *865 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '409': *856 - '429': *850 - '500': *851 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125571,13 +126288,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: - - *863 + - *866 - *38 requestBody: required: true content: application/json: - schema: *866 + schema: *869 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -125617,18 +126334,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *861 - examples: - userMultiValuedProperties: *862 - userSingleValuedProperties: *862 - disableUser: *862 - '400': *848 - '401': *846 - '403': *849 + schema: *864 + examples: + userMultiValuedProperties: *865 + userSingleValuedProperties: *865 + disableUser: *865 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '409': *856 - '429': *850 - '500': *851 + '409': *859 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125648,17 +126365,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: - - *863 + - *866 - *38 responses: '204': description: User was deleted, no content - '400': *848 - '401': *846 - '403': *849 + '400': *851 + '401': *849 + '403': *852 '404': *6 - '429': *850 - '500': *851 + '429': *853 + '500': *854 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -125745,7 +126462,7 @@ paths: example: 1 Resources: type: array - items: &867 + items: &870 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -125982,22 +126699,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': *34 - '404': &868 + '404': &871 description: Resource not found content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '403': &869 + schema: *848 + '403': &872 description: Forbidden content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '400': *848 - '429': *850 + schema: *848 + '400': *851 + '429': *853 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -126023,9 +126740,9 @@ paths: description: Response content: application/scim+json: - schema: *867 + schema: *870 examples: - default: &870 + default: &873 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -126049,17 +126766,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': *34 - '404': *868 - '403': *869 - '500': *851 + '404': *871 + '403': *872 + '500': *854 '409': description: Conflict content: application/json: - schema: *845 + schema: *848 application/scim+json: - schema: *845 - '400': *848 + schema: *848 + '400': *851 requestBody: required: true content: @@ -126157,17 +126874,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *86 - - *863 + - *866 responses: '200': description: Response content: application/scim+json: - schema: *867 + schema: *870 examples: - default: *870 - '404': *868 - '403': *869 + default: *873 + '404': *871 + '403': *872 '304': *34 x-github: githubCloudOnly: true @@ -126191,18 +126908,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *86 - - *863 + - *866 responses: '200': description: Response content: application/scim+json: - schema: *867 + schema: *870 examples: - default: *870 + default: *873 '304': *34 - '404': *868 - '403': *869 + '404': *871 + '403': *872 requestBody: required: true content: @@ -126315,19 +127032,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *86 - - *863 + - *866 responses: '200': description: Response content: application/scim+json: - schema: *867 + schema: *870 examples: - default: *870 + default: *873 '304': *34 - '404': *868 - '403': *869 - '400': *848 + '404': *871 + '403': *872 + '400': *851 '429': description: Response content: @@ -126418,12 +127135,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *86 - - *863 + - *866 responses: '204': description: Response - '404': *868 - '403': *869 + '404': *871 + '403': *872 '304': *34 x-github: githubCloudOnly: true @@ -126538,7 +127255,7 @@ paths: html_url: type: string format: uri - repository: *292 + repository: *295 score: type: number file_size: @@ -126556,7 +127273,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &871 + text_matches: &874 title: Search Result Text Matches type: array items: @@ -126670,7 +127387,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *34 - '503': *201 + '503': *204 '422': *15 '403': *29 x-github: @@ -126719,7 +127436,7 @@ paths: enum: - author-date - committer-date - - &872 + - &875 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 @@ -126790,7 +127507,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *562 nullable: true comment_count: type: integer @@ -126810,7 +127527,7 @@ paths: url: type: string format: uri - verification: *690 + verification: *693 required: - author - committer @@ -126829,7 +127546,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *562 nullable: true parents: type: array @@ -126842,12 +127559,12 @@ paths: type: string sha: type: string - repository: *292 + repository: *295 score: type: number node_id: type: string - text_matches: *871 + text_matches: *874 required: - sha - node_id @@ -127040,7 +127757,7 @@ paths: - interactions - created - updated - - *872 + - *875 - *17 - *19 - name: advanced_search @@ -127166,11 +127883,11 @@ paths: nullable: true allOf: - *4 - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: type: string state_reason: @@ -127180,8 +127897,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *441 + required: *442 nullable: true comments: type: integer @@ -127195,7 +127912,7 @@ paths: type: string format: date-time nullable: true - text_matches: *871 + text_matches: *874 pull_request: type: object properties: @@ -127228,7 +127945,7 @@ paths: type: string score: type: number - author_association: *228 + author_association: *231 draft: type: boolean repository: *77 @@ -127239,7 +127956,7 @@ paths: timeline_url: type: string format: uri - type: *403 + type: *406 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -127249,17 +127966,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - reactions: *229 + reactions: *232 required: - closed_at - comments @@ -127421,7 +128138,7 @@ paths: - quoted_text items: - "..." - '503': *201 + '503': *204 '422': *15 '304': *34 '403': *29 @@ -127475,7 +128192,7 @@ paths: enum: - created - updated - - *872 + - *875 - *17 - *19 responses: @@ -127531,7 +128248,7 @@ paths: - *4 score: type: number - text_matches: *871 + text_matches: *874 required: - id - node_id @@ -127641,7 +128358,7 @@ paths: - forks - help-wanted-issues - updated - - *872 + - *875 - *17 - *19 responses: @@ -127869,8 +128586,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true permissions: type: object @@ -127889,7 +128606,7 @@ paths: - admin - pull - push - text_matches: *871 + text_matches: *874 temp_clone_token: type: string allow_merge_commit: @@ -128091,7 +128808,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *201 + '503': *204 '422': *15 '304': *34 x-github: @@ -128190,7 +128907,7 @@ paths: type: string format: uri nullable: true - text_matches: *871 + text_matches: *874 related: type: array nullable: true @@ -128383,7 +129100,7 @@ paths: - followers - repositories - joined - - *872 + - *875 - *17 - *19 responses: @@ -128487,7 +129204,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *871 + text_matches: *874 blog: type: string nullable: true @@ -128546,7 +129263,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *34 - '503': *201 + '503': *204 '422': *15 x-github: githubCloudOnly: false @@ -128566,7 +129283,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &875 + - &878 name: team_id description: The unique identifier of the team. in: path @@ -128578,9 +129295,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -128607,7 +129324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *875 + - *878 requestBody: required: true content: @@ -128675,16 +129392,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '201': description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 '404': *6 '422': *15 '403': *29 @@ -128712,7 +129429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *875 + - *878 responses: '204': description: Response @@ -128741,7 +129458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *875 + - *878 - *17 - *19 responses: @@ -128751,9 +129468,9 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: - default: *398 + default: *401 headers: Link: *44 x-github: @@ -128781,7 +129498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *875 + - *878 - name: role description: Filters members returned by their role in the team. in: query @@ -128802,9 +129519,9 @@ paths: application/json: schema: type: array - items: *876 + items: *879 examples: - default: *877 + default: *880 headers: Link: *44 '404': *6 @@ -128832,7 +129549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *875 + - *878 - *131 responses: '204': @@ -128869,7 +129586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *875 + - *878 - *131 responses: '204': @@ -128909,7 +129626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *875 + - *878 - *131 responses: '204': @@ -128946,16 +129663,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: - - *875 + - *878 - *131 responses: '200': description: Response content: application/json: - schema: *508 + schema: *511 examples: - response-if-user-is-a-team-maintainer: *878 + response-if-user-is-a-team-maintainer: *881 '404': *6 x-github: githubCloudOnly: false @@ -128988,7 +129705,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: - - *875 + - *878 - *131 requestBody: required: false @@ -129014,9 +129731,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - response-if-users-membership-with-team-is-now-pending: *879 + response-if-users-membership-with-team-is-now-pending: *882 '403': description: Forbidden if team synchronization is set up '422': @@ -129050,7 +129767,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: - - *875 + - *878 - *131 responses: '204': @@ -129078,7 +129795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *875 + - *878 - *17 - *19 responses: @@ -129088,9 +129805,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *432 + default: *435 headers: Link: *44 '404': *6 @@ -129120,15 +129837,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: - - *875 - - *509 - - *510 + - *878 + - *512 + - *513 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *880 + schema: *883 examples: alternative-response-with-extra-repository-information: value: @@ -129278,9 +129995,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: - - *875 - - *509 - - *510 + - *878 + - *512 + - *513 requestBody: required: false content: @@ -129330,9 +130047,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: - - *875 - - *509 - - *510 + - *878 + - *512 + - *513 responses: '204': description: Response @@ -129361,15 +130078,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: - - *875 + - *878 responses: '200': description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: *512 + default: *515 '403': *29 '404': *6 x-github: @@ -129396,7 +130113,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: - - *875 + - *878 requestBody: required: true content: @@ -129453,7 +130170,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *514 examples: default: value: @@ -129484,7 +130201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *875 + - *878 - *17 - *19 responses: @@ -129494,9 +130211,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - response-if-child-teams-exist: *881 + response-if-child-teams-exist: *884 headers: Link: *44 '404': *6 @@ -129531,7 +130248,7 @@ paths: application/json: schema: oneOf: - - &882 + - &885 title: Private User description: Private User type: object @@ -129734,7 +130451,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &909 + - &912 title: Public User description: Public User type: object @@ -130046,7 +130763,7 @@ paths: description: Response content: application/json: - schema: *882 + schema: *885 examples: default: value: @@ -130125,7 +130842,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '304': *34 '404': *6 '403': *29 @@ -130249,9 +130966,9 @@ paths: type: integer codespaces: type: array - items: *408 + items: *411 examples: - default: *409 + default: *412 '304': *34 '500': *37 '401': *25 @@ -130390,21 +131107,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130444,7 +131161,7 @@ paths: type: integer secrets: type: array - items: &883 + items: &886 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -130484,7 +131201,7 @@ paths: - visibility - selected_repositories_url examples: - default: *620 + default: *623 headers: Link: *44 x-github: @@ -130554,13 +131271,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: - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *883 + schema: *886 examples: default: value: @@ -130590,7 +131307,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: - - *302 + - *305 requestBody: required: true content: @@ -130635,7 +131352,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -130663,7 +131380,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: - - *302 + - *305 responses: '204': description: Response @@ -130688,7 +131405,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: - - *302 + - *305 responses: '200': description: Response @@ -130704,9 +131421,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *346 + default: *349 '401': *25 '403': *29 '404': *6 @@ -130731,7 +131448,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: - - *302 + - *305 requestBody: required: true content: @@ -130785,7 +131502,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: - - *302 + - *305 - name: repository_id in: path required: true @@ -130818,7 +131535,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: - - *302 + - *305 - name: repository_id in: path required: true @@ -130850,15 +131567,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: - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '304': *34 '500': *37 '401': *25 @@ -130884,7 +131601,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: - - *410 + - *413 requestBody: required: false content: @@ -130914,9 +131631,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '401': *25 '403': *29 '404': *6 @@ -130938,7 +131655,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: - - *410 + - *413 responses: '202': *36 '304': *34 @@ -130967,13 +131684,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: - - *410 + - *413 responses: '202': description: Response content: application/json: - schema: &884 + schema: &887 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -131014,7 +131731,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &885 + default: &888 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -131046,7 +131763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *410 + - *413 - name: export_id in: path required: true @@ -131059,9 +131776,9 @@ paths: description: Response content: application/json: - schema: *884 + schema: *887 examples: - default: *885 + default: *888 '404': *6 x-github: githubCloudOnly: false @@ -131082,7 +131799,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *410 + - *413 responses: '200': description: Response @@ -131098,9 +131815,9 @@ paths: type: integer machines: type: array - items: *886 + items: *889 examples: - default: *887 + default: *890 '304': *34 '500': *37 '401': *25 @@ -131129,7 +131846,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: - - *410 + - *413 requestBody: required: true content: @@ -131179,13 +131896,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *514 + repository: *517 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *618 - required: *619 + properties: *621 + required: *622 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -131959,15 +132676,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: - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '304': *34 '500': *37 '400': *14 @@ -131999,15 +132716,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: - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *408 + schema: *411 examples: - default: *617 + default: *620 '500': *37 '401': *25 '403': *29 @@ -132037,9 +132754,9 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: &899 + default: &902 value: - id: 197 name: hello_docker @@ -132140,7 +132857,7 @@ paths: application/json: schema: type: array - items: &888 + items: &891 title: Email description: Email type: object @@ -132205,9 +132922,9 @@ paths: application/json: schema: type: array - items: *888 + items: *891 examples: - default: &901 + default: &904 value: - email: octocat@github.com verified: true @@ -132282,7 +132999,7 @@ paths: application/json: schema: type: array - items: *888 + items: *891 examples: default: value: @@ -132392,7 +133109,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '304': *34 @@ -132425,7 +133142,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '304': *34 @@ -132538,7 +133255,7 @@ paths: application/json: schema: type: array - items: &889 + items: &892 title: GPG Key description: A unique encryption key type: object @@ -132669,7 +133386,7 @@ paths: - subkeys - revoked examples: - default: &919 + default: &922 value: - id: 3 name: Octocat's GPG Key @@ -132754,9 +133471,9 @@ paths: description: Response content: application/json: - schema: *889 + schema: *892 examples: - default: &890 + default: &893 value: id: 3 name: Octocat's GPG Key @@ -132813,7 +133530,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: - - &891 + - &894 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -132825,9 +133542,9 @@ paths: description: Response content: application/json: - schema: *889 + schema: *892 examples: - default: *890 + default: *893 '404': *6 '304': *34 '403': *29 @@ -132850,7 +133567,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: - - *891 + - *894 responses: '204': description: Response @@ -133052,7 +133769,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *287 + default: *290 headers: Link: *44 '404': *6 @@ -133078,7 +133795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *286 + - *289 responses: '204': description: Response @@ -133104,7 +133821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *286 + - *289 responses: '204': description: Response @@ -133138,12 +133855,12 @@ paths: application/json: schema: anyOf: - - *395 + - *398 - type: object properties: {} additionalProperties: false examples: - default: *396 + default: *399 '204': description: Response when there are no restrictions x-github: @@ -133167,7 +133884,7 @@ paths: required: true content: application/json: - schema: *700 + schema: *703 examples: default: value: @@ -133178,7 +133895,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: default: value: @@ -133259,7 +133976,7 @@ paths: - closed - all default: open - - *406 + - *409 - name: sort description: What to sort results by. in: query @@ -133272,7 +133989,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -133282,9 +133999,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *407 + default: *410 headers: Link: *44 '404': *6 @@ -133317,7 +134034,7 @@ paths: application/json: schema: type: array - items: &892 + items: &895 title: Key description: Key type: object @@ -133418,9 +134135,9 @@ paths: description: Response content: application/json: - schema: *892 + schema: *895 examples: - default: &893 + default: &896 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -133453,15 +134170,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: - - *755 + - *758 responses: '200': description: Response content: application/json: - schema: *892 + schema: *895 examples: - default: *893 + default: *896 '404': *6 '304': *34 '403': *29 @@ -133484,7 +134201,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: - - *755 + - *758 responses: '204': description: Response @@ -133517,7 +134234,7 @@ paths: application/json: schema: type: array - items: &894 + items: &897 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -133574,7 +134291,7 @@ paths: - id - type - login - plan: *249 + plan: *252 required: - billing_cycle - next_billing_date @@ -133585,7 +134302,7 @@ paths: - account - plan examples: - default: &895 + default: &898 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -133647,9 +134364,9 @@ paths: application/json: schema: type: array - items: *894 + items: *897 examples: - default: *895 + default: *898 headers: Link: *44 '304': *34 @@ -133689,7 +134406,7 @@ paths: application/json: schema: type: array - items: *411 + items: *414 examples: default: value: @@ -133803,7 +134520,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *414 examples: default: value: @@ -133890,9 +134607,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *411 + schema: *414 examples: - default: &896 + default: &899 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -133939,9 +134656,9 @@ paths: processed asynchronously. content: application/json: - schema: *411 + schema: *414 examples: - default: *896 + default: *899 '403': *29 '404': *6 '422': *15 @@ -133970,7 +134687,7 @@ paths: application/json: schema: type: array - items: *413 + items: *416 examples: default: value: @@ -134223,7 +134940,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -134403,7 +135120,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *414 + - *417 - name: exclude in: query required: false @@ -134416,7 +135133,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -134610,7 +135327,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *414 + - *417 responses: '302': description: Response @@ -134636,7 +135353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *414 + - *417 responses: '204': description: Response @@ -134665,8 +135382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *414 - - *897 + - *417 + - *900 responses: '204': description: Response @@ -134690,7 +135407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *414 + - *417 - *17 - *19 responses: @@ -134737,7 +135454,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: *44 '304': *34 @@ -134779,7 +135496,7 @@ paths: - docker - nuget - container - - *898 + - *901 - *19 - *17 responses: @@ -134789,10 +135506,10 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: *899 - '400': *900 + default: *902 + '400': *903 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134812,16 +135529,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: - - *421 - - *422 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *419 + schema: *422 examples: - default: &920 + default: &923 value: id: 40201 name: octo-name @@ -134934,8 +135651,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: - - *421 - - *422 + - *424 + - *425 responses: '204': description: Response @@ -134965,8 +135682,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: - - *421 - - *422 + - *424 + - *425 - name: token description: package token schema: @@ -134998,8 +135715,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: - - *421 - - *422 + - *424 + - *425 - *19 - *17 - name: state @@ -135019,7 +135736,7 @@ paths: application/json: schema: type: array - items: *423 + items: *426 examples: default: value: @@ -135068,15 +135785,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: - - *421 - - *422 - *424 + - *425 + - *427 responses: '200': description: Response content: application/json: - schema: *423 + schema: *426 examples: default: value: @@ -135112,9 +135829,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: - - *421 - - *422 - *424 + - *425 + - *427 responses: '204': description: Response @@ -135144,9 +135861,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: - - *421 - - *422 - *424 + - *425 + - *427 responses: '204': description: Response @@ -135183,9 +135900,9 @@ paths: application/json: schema: type: array - items: *888 + items: *891 examples: - default: *901 + default: *904 headers: Link: *44 '304': *34 @@ -135298,7 +136015,7 @@ paths: type: array items: *77 examples: - default: &908 + default: &911 summary: Default response value: - id: 1296269 @@ -135602,9 +136319,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *516 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -135643,9 +136360,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: *902 + default: *905 headers: Link: *44 '304': *34 @@ -135668,7 +136385,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *399 + - *402 responses: '204': description: Response @@ -135692,7 +136409,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *399 + - *402 responses: '204': description: Response @@ -135725,7 +136442,7 @@ paths: application/json: schema: type: array - items: &903 + items: &906 title: Social account description: Social media account type: object @@ -135740,7 +136457,7 @@ paths: - provider - url examples: - default: &904 + default: &907 value: - provider: twitter url: https://twitter.com/github @@ -135802,9 +136519,9 @@ paths: application/json: schema: type: array - items: *903 + items: *906 examples: - default: *904 + default: *907 '422': *15 '304': *34 '404': *6 @@ -135891,7 +136608,7 @@ paths: application/json: schema: type: array - items: &905 + items: &908 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -135911,7 +136628,7 @@ paths: - title - created_at examples: - default: &934 + default: &937 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -135975,9 +136692,9 @@ paths: description: Response content: application/json: - schema: *905 + schema: *908 examples: - default: &906 + default: &909 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -136007,7 +136724,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: - - &907 + - &910 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -136019,9 +136736,9 @@ paths: description: Response content: application/json: - schema: *905 + schema: *908 examples: - default: *906 + default: *909 '404': *6 '304': *34 '403': *29 @@ -136044,7 +136761,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: - - *907 + - *910 responses: '204': description: Response @@ -136073,7 +136790,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: - - &935 + - &938 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 @@ -136098,11 +136815,11 @@ paths: type: array items: *77 examples: - default-response: *908 + default-response: *911 application/vnd.github.v3.star+json: schema: type: array - items: &936 + items: &939 title: Starred Repository description: Starred Repository type: object @@ -136258,8 +136975,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response if this repository is starred by you @@ -136287,8 +137004,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -136312,8 +137029,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: - - *509 - - *510 + - *512 + - *513 responses: '204': description: Response @@ -136346,9 +137063,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *432 + default: *435 headers: Link: *44 '304': *34 @@ -136385,7 +137102,7 @@ paths: application/json: schema: type: array - items: *501 + items: *504 examples: default: value: @@ -136463,7 +137180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *251 + - *254 responses: '200': description: Response @@ -136471,10 +137188,10 @@ paths: application/json: schema: oneOf: - - *882 - - *909 + - *885 + - *912 examples: - default-response: &913 + default-response: &916 summary: Default response value: login: octocat @@ -136509,7 +137226,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &914 + response-with-git-hub-plan-information: &917 summary: Response with GitHub plan information value: login: octocat @@ -136566,14 +137283,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: - - &911 + - &914 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *437 + - *440 requestBody: required: true description: Details of the draft item to create in the project. @@ -136607,9 +137324,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: - draft_issue: *444 + draft_issue: *447 '304': *34 '403': *29 '401': *25 @@ -136632,7 +137349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *910 + - *913 - *17 responses: '200': @@ -136643,7 +137360,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: example: ; rel="next" @@ -136667,8 +137384,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: - - *911 - - *437 + - *914 + - *440 requestBody: required: true content: @@ -136780,17 +137497,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *912 + schema: *915 examples: table_view: summary: Response for creating a table view - value: *448 + value: *451 board_view: summary: Response for creating a board view with filter - value: *448 + value: *451 roadmap_view: summary: Response for creating a roadmap view - value: *448 + value: *451 '304': *34 '403': *29 '401': *25 @@ -136836,11 +137553,11 @@ paths: application/json: schema: oneOf: - - *882 - - *909 + - *885 + - *912 examples: - default-response: *913 - response-with-git-hub-plan-information: *914 + default-response: *916 + response-with-git-hub-plan-information: *917 '404': *6 x-github: githubCloudOnly: false @@ -136890,8 +137607,8 @@ paths: required: - subject_digests examples: - default: *915 - withPredicateType: *916 + default: *918 + withPredicateType: *919 responses: '200': description: Response @@ -136930,7 +137647,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *917 + default: *920 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -137119,12 +137836,12 @@ paths: initiator: type: string examples: - default: *555 + default: *558 '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -137186,7 +137903,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *342 + items: *345 examples: default: summary: Example response for listing user copilot spaces @@ -137398,9 +138115,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: &918 + default: &921 summary: Example response for a user copilot space value: id: 42 @@ -137499,9 +138216,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *918 + default: *921 '403': *29 '404': *6 x-github: @@ -137622,9 +138339,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *918 + default: *921 '403': *29 '404': *6 '422': *15 @@ -137701,7 +138418,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *344 + items: *347 examples: default: value: @@ -137844,7 +138561,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: default: value: @@ -137955,7 +138672,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: default: value: @@ -138085,7 +138802,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *345 + items: *348 examples: default: value: @@ -138177,7 +138894,7 @@ paths: description: Resource created content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -138193,7 +138910,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -138246,7 +138963,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -138313,7 +139030,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -138390,9 +139107,9 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: *899 + default: *902 '403': *29 '401': *25 x-github: @@ -138425,7 +139142,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -138498,7 +139215,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -138585,7 +139302,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -138658,7 +139375,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -138692,7 +139409,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -138739,7 +139456,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *131 - - *238 + - *241 - *17 - *19 responses: @@ -138749,9 +139466,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '422': *15 @@ -138782,9 +139499,9 @@ paths: application/json: schema: type: array - items: *889 + items: *892 examples: - default: *919 + default: *922 headers: Link: *44 x-github: @@ -138888,7 +139605,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -138973,7 +139690,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: *44 x-github: @@ -139012,7 +139729,7 @@ paths: - docker - nuget - container - - *898 + - *901 - *131 - *19 - *17 @@ -139023,12 +139740,12 @@ paths: application/json: schema: type: array - items: *419 + items: *422 examples: - default: *899 + default: *902 '403': *29 '401': *25 - '400': *900 + '400': *903 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -139048,17 +139765,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *421 - - *422 + - *424 + - *425 - *131 responses: '200': description: Response content: application/json: - schema: *419 + schema: *422 examples: - default: *920 + default: *923 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -139079,8 +139796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *421 - - *422 + - *424 + - *425 - *131 responses: '204': @@ -139113,8 +139830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *421 - - *422 + - *424 + - *425 - *131 - name: token description: package token @@ -139147,8 +139864,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: - - *421 - - *422 + - *424 + - *425 - *131 responses: '200': @@ -139157,7 +139874,7 @@ paths: application/json: schema: type: array - items: *423 + items: *426 examples: default: value: @@ -139215,16 +139932,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: - - *421 - - *422 - *424 + - *425 + - *427 - *131 responses: '200': description: Response content: application/json: - schema: *423 + schema: *426 examples: default: value: @@ -139259,10 +139976,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *421 - - *422 - - *131 - *424 + - *425 + - *131 + - *427 responses: '204': description: Response @@ -139294,10 +140011,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *421 - - *422 - - *131 - *424 + - *425 + - *131 + - *427 responses: '204': description: Response @@ -139338,9 +140055,9 @@ paths: application/json: schema: type: array - items: *435 + items: *438 examples: - default: *436 + default: *439 headers: Link: *44 '304': *34 @@ -139362,16 +140079,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *437 + - *440 - *131 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: *436 + default: *439 headers: Link: *44 '304': *34 @@ -139393,7 +140110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *437 + - *440 - *131 - *17 - *107 @@ -139405,9 +140122,9 @@ paths: application/json: schema: type: array - items: *441 + items: *444 examples: - default: *921 + default: *924 headers: Link: *44 '304': *34 @@ -139429,7 +140146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *131 - - *437 + - *440 requestBody: required: true content: @@ -139467,7 +140184,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *922 + items: *925 required: - name - data_type @@ -139483,7 +140200,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *923 + iteration_configuration: *926 required: - name - data_type @@ -139505,20 +140222,20 @@ paths: value: name: Due date data_type: date - single_select_field: *924 - iteration_field: *925 + single_select_field: *927 + iteration_field: *928 responses: '201': description: Response content: application/json: - schema: *441 + schema: *444 examples: - text_field: *926 - number_field: *927 - date_field: *928 - single_select_field: *929 - iteration_field: *930 + text_field: *929 + number_field: *930 + date_field: *931 + single_select_field: *932 + iteration_field: *933 '304': *34 '403': *29 '401': *25 @@ -139539,17 +140256,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *437 - - *931 + - *440 + - *934 - *131 responses: '200': description: Response content: application/json: - schema: *441 + schema: *444 examples: - default: *932 + default: *935 headers: Link: *44 '304': *34 @@ -139572,7 +140289,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: - - *437 + - *440 - *131 - *107 - *108 @@ -139605,9 +140322,9 @@ paths: application/json: schema: type: array - items: *445 + items: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -139629,7 +140346,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *131 - - *437 + - *440 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -139699,22 +140416,22 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *447 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *447 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *447 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 + value: *447 '304': *34 '403': *29 '401': *25 @@ -139734,9 +140451,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: - - *437 + - *440 - *131 - - *447 + - *450 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -139756,9 +140473,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -139779,9 +140496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *437 + - *440 - *131 - - *447 + - *450 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -139851,13 +140568,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *449 + number_field: *449 + date_field: *449 + single_select_field: *449 + iteration_field: *449 '401': *25 '403': *29 '404': *6 @@ -139877,9 +140594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *437 + - *440 - *131 - - *447 + - *450 responses: '204': description: Response @@ -139901,9 +140618,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: - - *437 + - *440 - *131 - - *933 + - *936 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -139929,9 +140646,9 @@ paths: application/json: schema: type: array - items: *445 + items: *448 examples: - default: *446 + default: *449 headers: Link: *44 '304': *34 @@ -139969,7 +140686,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -140044,7 +140761,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -140150,9 +140867,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *432 + default: *435 headers: Link: *44 x-github: @@ -140182,9 +140899,9 @@ paths: application/json: schema: type: array - items: *903 + items: *906 examples: - default: *904 + default: *907 headers: Link: *44 x-github: @@ -140214,9 +140931,9 @@ paths: application/json: schema: type: array - items: *905 + items: *908 examples: - default: *934 + default: *937 headers: Link: *44 x-github: @@ -140243,7 +140960,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *131 - - *935 + - *938 - *109 - *17 - *19 @@ -140255,11 +140972,11 @@ paths: schema: anyOf: - type: array - items: *936 + items: *939 - type: array items: *77 examples: - default-response: *908 + default-response: *911 headers: Link: *44 x-github: @@ -140288,9 +141005,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *432 + default: *435 headers: Link: *44 x-github: @@ -140418,7 +141135,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &937 + enterprise: &940 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -140476,7 +141193,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &938 + installation: &941 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -140495,7 +141212,7 @@ x-webhooks: required: - id - node_id - organization: &939 + organization: &942 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -140555,13 +141272,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &940 + repository: &943 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &979 + properties: &982 id: description: Unique identifier of the repository example: 42 @@ -140581,8 +141298,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true organization: title: Simple User @@ -141245,7 +141962,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &980 + required: &983 - archive_url - assignees_url - blobs_url @@ -141396,10 +142113,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -141475,11 +142192,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - rule: &941 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + rule: &944 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) @@ -141702,11 +142419,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - rule: *941 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + rule: *944 sender: *4 required: - action @@ -141889,11 +142606,11 @@ x-webhooks: - everyone required: - from - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - rule: *941 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + rule: *944 sender: *4 required: - action @@ -141966,7 +142683,7 @@ x-webhooks: required: true content: application/json: - schema: &963 + schema: &966 title: Exemption request cancellation event type: object properties: @@ -141974,11 +142691,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: &942 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: &945 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -142282,7 +142999,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &943 + items: &946 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -142392,7 +143109,7 @@ x-webhooks: required: true content: application/json: - schema: &964 + schema: &967 title: Exemption request completed event type: object properties: @@ -142400,11 +143117,11 @@ x-webhooks: type: string enum: - completed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: *942 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: *945 sender: *4 required: - action @@ -142476,7 +143193,7 @@ x-webhooks: required: true content: application/json: - schema: &961 + schema: &964 title: Exemption request created event type: object properties: @@ -142484,11 +143201,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: *942 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: *945 sender: *4 required: - action @@ -142560,7 +143277,7 @@ x-webhooks: required: true content: application/json: - schema: &965 + schema: &968 title: Exemption response dismissed event type: object properties: @@ -142568,12 +143285,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: *942 - exemption_response: *943 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: *945 + exemption_response: *946 sender: *4 required: - action @@ -142647,7 +143364,7 @@ x-webhooks: required: true content: application/json: - schema: &962 + schema: &965 title: Exemption response submitted event type: object properties: @@ -142655,12 +143372,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - exemption_request: *942 - exemption_response: *943 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + exemption_request: *945 + exemption_response: *946 sender: *4 required: - action @@ -142744,7 +143461,7 @@ x-webhooks: type: string enum: - completed - check_run: &945 + check_run: &948 title: CheckRun description: A check performed on the code of a given code change type: object @@ -142797,8 +143514,8 @@ x-webhooks: type: string pull_requests: type: array - items: *236 - repository: *292 + items: *239 + repository: *295 status: example: completed type: string @@ -142835,7 +143552,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *944 + deployment: *947 details_url: example: https://example.com type: string @@ -142885,7 +143602,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *236 + items: *239 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -142920,10 +143637,10 @@ x-webhooks: - output - app - pull_requests - installation: *938 - enterprise: *937 - organization: *939 - repository: *940 + installation: *941 + enterprise: *940 + organization: *942 + repository: *943 sender: *4 required: - check_run @@ -143314,11 +144031,11 @@ x-webhooks: type: string enum: - created - check_run: *945 - installation: *938 - enterprise: *937 - organization: *939 - repository: *940 + check_run: *948 + installation: *941 + enterprise: *940 + organization: *942 + repository: *943 sender: *4 required: - check_run @@ -143712,11 +144429,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *945 - installation: *938 - enterprise: *937 - organization: *939 - repository: *940 + check_run: *948 + installation: *941 + enterprise: *940 + organization: *942 + repository: *943 requested_action: description: The action requested by the user. type: object @@ -144119,11 +144836,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *945 - installation: *938 - enterprise: *937 - organization: *939 - repository: *940 + check_run: *948 + installation: *941 + enterprise: *940 + organization: *942 + repository: *943 sender: *4 required: - check_run @@ -145093,10 +145810,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -145795,10 +146512,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -146491,10 +147208,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -146660,7 +147377,7 @@ x-webhooks: required: - login - id - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -146806,20 +147523,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &946 + commit_oid: &949 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: *937 - installation: *938 - organization: *939 - ref: &947 + enterprise: *940 + installation: *941 + organization: *942 + ref: &950 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: *940 + repository: *943 sender: *4 required: - action @@ -146984,7 +147701,7 @@ x-webhooks: required: - login - id - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -147215,12 +147932,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *946 - enterprise: *937 - installation: *938 - organization: *939 - ref: *947 - repository: *940 + commit_oid: *949 + enterprise: *940 + installation: *941 + organization: *942 + ref: *950 + repository: *943 sender: *4 required: - action @@ -147315,7 +148032,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -147486,12 +148203,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *946 - enterprise: *937 - installation: *938 - organization: *939 - ref: *947 - repository: *940 + commit_oid: *949 + enterprise: *940 + installation: *941 + organization: *942 + ref: *950 + repository: *943 sender: *4 required: - action @@ -147657,7 +148374,7 @@ x-webhooks: required: - login - id - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -147824,12 +148541,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *946 - enterprise: *937 - installation: *938 - organization: *939 - ref: *947 - repository: *940 + commit_oid: *949 + enterprise: *940 + installation: *941 + organization: *942 + ref: *950 + repository: *943 sender: *4 required: - action @@ -147928,7 +148645,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -148103,16 +148820,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *940 + repository: *943 sender: *4 required: - action @@ -148209,7 +148926,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -148349,12 +149066,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *946 - enterprise: *937 - installation: *938 - organization: *939 - ref: *947 - repository: *940 + commit_oid: *949 + enterprise: *940 + installation: *941 + organization: *942 + ref: *950 + repository: *943 sender: *4 required: - action @@ -148520,7 +149237,7 @@ x-webhooks: required: - login - id - dismissed_comment: *588 + dismissed_comment: *591 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -148666,10 +149383,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -148924,10 +149641,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -149007,18 +149724,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *939 - pusher_type: &948 + organization: *942 + pusher_type: &951 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &949 + ref: &952 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -149028,7 +149745,7 @@ x-webhooks: enum: - tag - branch - repository: *940 + repository: *943 sender: *4 required: - ref @@ -149110,10 +149827,10 @@ x-webhooks: type: string enum: - created - definition: *162 - enterprise: *937 - installation: *938 - organization: *939 + definition: *165 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -149198,9 +149915,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -149277,10 +149994,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *162 - enterprise: *937 - installation: *938 - organization: *939 + definition: *165 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -149357,10 +150074,10 @@ x-webhooks: type: string enum: - updated - definition: *162 - enterprise: *937 - installation: *938 - organization: *939 + definition: *165 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -149437,19 +150154,19 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - repository: *940 - organization: *939 + enterprise: *940 + installation: *941 + repository: *943 + organization: *942 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *161 + items: *164 old_property_values: type: array description: The old custom property values for the repository. - items: *161 + items: *164 required: - action - repository @@ -149525,18 +150242,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 - pusher_type: *948 - ref: *949 + enterprise: *940 + installation: *941 + organization: *942 + pusher_type: *951 + ref: *952 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *940 + repository: *943 sender: *4 required: - ref @@ -149616,11 +150333,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -149700,11 +150417,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -149785,11 +150502,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -149870,11 +150587,11 @@ x-webhooks: type: string enum: - created - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -149953,11 +150670,11 @@ x-webhooks: type: string enum: - dismissed - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150036,11 +150753,11 @@ x-webhooks: type: string enum: - fixed - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150120,11 +150837,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150203,11 +150920,11 @@ x-webhooks: type: string enum: - reopened - alert: *652 - installation: *938 - organization: *939 - enterprise: *937 - repository: *940 + alert: *655 + installation: *941 + organization: *942 + enterprise: *940 + repository: *943 sender: *4 required: - action @@ -150284,9 +151001,9 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - key: &950 + enterprise: *940 + installation: *941 + key: &953 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -150322,8 +151039,8 @@ x-webhooks: - verified - created_at - read_only - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -150400,11 +151117,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - key: *950 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + key: *953 + organization: *942 + repository: *943 sender: *4 required: - action @@ -150960,12 +151677,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: &956 + workflow: &959 title: Workflow type: object nullable: true @@ -151706,15 +152423,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *951 - required: *952 + properties: *954 + required: *955 nullable: true pull_requests: type: array - items: *777 - repository: *940 - organization: *939 - installation: *938 + items: *780 + repository: *943 + organization: *942 + installation: *941 sender: *4 responses: '200': @@ -151785,7 +152502,7 @@ x-webhooks: type: string enum: - approved - approver: &953 + approver: &956 type: object properties: avatar_url: @@ -151828,11 +152545,11 @@ x-webhooks: type: string comment: type: string - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - reviewers: &954 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + reviewers: &957 type: array items: type: object @@ -151911,7 +152628,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &955 + workflow_job_run: &958 type: object properties: conclusion: @@ -152642,18 +153359,18 @@ x-webhooks: type: string enum: - rejected - approver: *953 + approver: *956 comment: type: string - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - reviewers: *954 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + reviewers: *957 sender: *4 since: type: string - workflow_job_run: *955 + workflow_job_run: *958 workflow_job_runs: type: array items: @@ -153357,13 +154074,13 @@ x-webhooks: type: string enum: - requested - enterprise: *937 + enterprise: *940 environment: type: string - installation: *938 - organization: *939 - repository: *940 - requestor: &966 + installation: *941 + organization: *942 + repository: *943 + requestor: &969 title: User type: object nullable: true @@ -155252,12 +155969,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: *956 + workflow: *959 workflow_run: title: Deployment Workflow Run type: object @@ -155937,7 +156654,7 @@ x-webhooks: type: string enum: - answered - answer: &959 + answer: &962 type: object properties: author_association: @@ -156094,11 +156811,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156225,11 +156942,11 @@ x-webhooks: - from required: - category - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156312,11 +157029,11 @@ x-webhooks: type: string enum: - closed - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156398,7 +157115,7 @@ x-webhooks: type: string enum: - created - comment: &958 + comment: &961 type: object properties: author_association: @@ -156555,11 +157272,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156642,12 +157359,12 @@ x-webhooks: type: string enum: - deleted - comment: *958 - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + comment: *961 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156742,12 +157459,12 @@ x-webhooks: - from required: - body - comment: *958 - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + comment: *961 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156831,11 +157548,11 @@ x-webhooks: type: string enum: - created - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -156917,11 +157634,11 @@ x-webhooks: type: string enum: - deleted - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157021,11 +157738,11 @@ x-webhooks: type: string required: - from - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157107,10 +157824,10 @@ x-webhooks: type: string enum: - labeled - discussion: *957 - enterprise: *937 - installation: *938 - label: &960 + discussion: *960 + enterprise: *940 + installation: *941 + label: &963 title: Label type: object properties: @@ -157156,8 +157873,8 @@ x-webhooks: - description - archived_at - archived_by - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157240,11 +157957,11 @@ x-webhooks: type: string enum: - locked - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157326,11 +158043,11 @@ x-webhooks: type: string enum: - pinned - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157412,11 +158129,11 @@ x-webhooks: type: string enum: - reopened - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157501,16 +158218,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *957 - new_repository: *940 + new_discussion: *960 + new_repository: *943 required: - new_discussion - new_repository - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157593,10 +158310,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *957 - old_answer: *959 - organization: *939 - repository: *940 + discussion: *960 + old_answer: *962 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157678,12 +158395,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *957 - enterprise: *937 - installation: *938 - label: *960 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157766,11 +158483,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157852,11 +158569,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *957 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + discussion: *960 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -157925,7 +158642,7 @@ x-webhooks: required: true content: application/json: - schema: *961 + schema: *964 responses: '200': description: Return a 200 status to indicate that the data was received @@ -157988,7 +158705,7 @@ x-webhooks: required: true content: application/json: - schema: *962 + schema: *965 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158051,7 +158768,7 @@ x-webhooks: required: true content: application/json: - schema: *963 + schema: *966 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158114,7 +158831,7 @@ x-webhooks: required: true content: application/json: - schema: *961 + schema: *964 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158177,7 +158894,7 @@ x-webhooks: required: true content: application/json: - schema: *962 + schema: *965 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158243,7 +158960,7 @@ x-webhooks: required: true content: application/json: - schema: *963 + schema: *966 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158309,7 +159026,7 @@ x-webhooks: required: true content: application/json: - schema: *964 + schema: *967 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158375,7 +159092,7 @@ x-webhooks: required: true content: application/json: - schema: *961 + schema: *964 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158441,7 +159158,7 @@ x-webhooks: required: true content: application/json: - schema: *965 + schema: *968 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158507,7 +159224,7 @@ x-webhooks: required: true content: application/json: - schema: *962 + schema: *965 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158572,7 +159289,7 @@ x-webhooks: required: true content: application/json: - schema: *963 + schema: *966 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158637,7 +159354,7 @@ x-webhooks: required: true content: application/json: - schema: *964 + schema: *967 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158702,7 +159419,7 @@ x-webhooks: required: true content: application/json: - schema: *961 + schema: *964 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158767,7 +159484,7 @@ x-webhooks: required: true content: application/json: - schema: *965 + schema: *968 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158833,7 +159550,7 @@ x-webhooks: required: true content: application/json: - schema: *962 + schema: *965 responses: '200': description: Return a 200 status to indicate that the data was received @@ -158900,7 +159617,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *937 + enterprise: *940 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -159560,9 +160277,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *938 - organization: *939 - repository: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - forkee @@ -159708,9 +160425,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pages: description: The pages that were updated. type: array @@ -159747,7 +160464,7 @@ x-webhooks: - action - sha - html_url - repository: *940 + repository: *943 sender: *4 required: - pages @@ -159823,10 +160540,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: &967 + organization: *942 + repositories: &970 description: An array of repository objects that the installation can access. type: array @@ -159852,8 +160569,8 @@ x-webhooks: - name - full_name - private - repository: *940 - requester: *966 + repository: *943 + requester: *969 sender: *4 required: - action @@ -159928,11 +160645,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: *967 - repository: *940 + organization: *942 + repositories: *970 + repository: *943 requester: nullable: true sender: *4 @@ -160008,11 +160725,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: *967 - repository: *940 + organization: *942 + repositories: *970 + repository: *943 requester: nullable: true sender: *4 @@ -160088,10 +160805,10 @@ x-webhooks: type: string enum: - added - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories_added: &968 + organization: *942 + repositories_added: &971 description: An array of repository objects, which were added to the installation. type: array @@ -160138,15 +160855,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *940 - repository_selection: &969 + repository: *943 + repository_selection: &972 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *966 + requester: *969 sender: *4 required: - action @@ -160225,10 +160942,10 @@ x-webhooks: type: string enum: - removed - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories_added: *968 + organization: *942 + repositories_added: *971 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -160256,9 +160973,9 @@ x-webhooks: - name - full_name - private - repository: *940 - repository_selection: *969 - requester: *966 + repository: *943 + repository_selection: *972 + requester: *969 sender: *4 required: - action @@ -160337,11 +161054,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: *967 - repository: *940 + organization: *942 + repositories: *970 + repository: *943 requester: nullable: true sender: *4 @@ -160520,10 +161237,10 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 target_type: type: string @@ -160602,11 +161319,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *937 + enterprise: *940 installation: *22 - organization: *939 - repositories: *967 - repository: *940 + organization: *942 + repositories: *970 + repository: *943 requester: nullable: true sender: *4 @@ -160730,8 +161447,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 reactions: title: Reactions type: object @@ -160780,15 +161497,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *738 - required: *739 + properties: *741 + required: *742 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *740 - required: *741 + properties: *743 + required: *744 nullable: true user: title: User @@ -160873,8 +161590,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -161663,8 +162380,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161680,7 +162397,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -162013,8 +162730,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -162094,7 +162811,7 @@ x-webhooks: type: string enum: - deleted - comment: &970 + comment: &973 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -162251,15 +162968,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *738 - required: *739 + properties: *741 + required: *742 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *740 - required: *741 + properties: *743 + required: *744 nullable: true required: - url @@ -162274,8 +162991,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -163060,8 +163777,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163077,7 +163794,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -163412,8 +164129,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -163493,7 +164210,7 @@ x-webhooks: type: string enum: - edited - changes: &999 + changes: &1002 description: The changes to the comment. type: object properties: @@ -163505,9 +164222,9 @@ x-webhooks: type: string required: - from - comment: *970 - enterprise: *937 - installation: *938 + comment: *973 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -164295,8 +165012,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164312,7 +165029,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -164645,8 +165362,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -164727,9 +165444,9 @@ x-webhooks: type: string enum: - pinned - comment: *970 - enterprise: *937 - installation: *938 + comment: *973 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -165519,8 +166236,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165536,7 +166253,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -165871,8 +166588,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -165952,9 +166669,9 @@ x-webhooks: type: string enum: - unpinned - comment: *970 - enterprise: *937 - installation: *938 + comment: *973 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -166744,8 +167461,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166761,7 +167478,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -167096,8 +167813,8 @@ x-webhooks: - state - locked - assignee - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167180,15 +167897,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *234 blocking_issue_repo: *77 - installation: *938 - organization: *939 - repository: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167271,15 +167988,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *234 blocking_issue_repo: *77 - installation: *938 - organization: *939 - repository: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167361,15 +168078,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocked_issue_repo: *77 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *938 - organization: *939 - repository: *940 + blocking_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167452,15 +168169,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocked_issue_repo: *77 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *938 - organization: *939 - repository: *940 + blocking_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -167540,10 +168257,10 @@ x-webhooks: type: string enum: - assigned - assignee: *966 - enterprise: *937 - installation: *938 - issue: &971 + assignee: *969 + enterprise: *940 + installation: *941 + issue: &974 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -168332,14 +169049,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168355,7 +169072,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -168456,8 +169173,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -168537,8 +169254,8 @@ x-webhooks: type: string enum: - closed - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -169332,14 +170049,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169355,7 +170072,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -169591,8 +170308,8 @@ x-webhooks: required: - state - closed_at - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -169671,8 +170388,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170457,14 +171174,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170480,7 +171197,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -170580,8 +171297,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -170660,8 +171377,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171468,14 +172185,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171491,7 +172208,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -171570,7 +172287,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &972 + milestone: &975 title: Milestone description: A collection of related issues and pull requests. type: object @@ -171708,8 +172425,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -171808,8 +172525,8 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172598,14 +173315,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172618,7 +173335,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *406 title: description: Title of the issue type: string @@ -172722,9 +173439,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *960 - organization: *939 - repository: *940 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -172804,9 +173521,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *937 - installation: *938 - issue: *971 + enterprise: *940 + installation: *941 + issue: *974 issue_field: type: object description: The issue field whose value was set or updated on the @@ -172960,8 +173677,8 @@ x-webhooks: - id required: - from - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -173041,9 +173758,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *937 - installation: *938 - issue: *971 + enterprise: *940 + installation: *941 + issue: *974 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -173124,8 +173841,8 @@ x-webhooks: nullable: true required: - id - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -173205,8 +173922,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174008,14 +174725,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174028,7 +174745,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *406 title: description: Title of the issue type: string @@ -174132,9 +174849,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *960 - organization: *939 - repository: *940 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -174214,8 +174931,8 @@ x-webhooks: type: string enum: - locked - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175027,14 +175744,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175047,7 +175764,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *406 title: description: Title of the issue type: string @@ -175128,8 +175845,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -175208,8 +175925,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176015,14 +176732,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176038,7 +176755,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -176116,9 +176833,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *972 - organization: *939 - repository: *940 + milestone: *975 + organization: *942 + repository: *943 sender: *4 required: - action @@ -176981,11 +177698,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177013,8 +177730,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true user: title: User @@ -177086,7 +177803,7 @@ x-webhooks: required: - login - id - type: *403 + type: *406 required: - id - number @@ -177566,8 +178283,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178351,11 +179068,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178371,7 +179088,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -178384,8 +179101,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true user: title: User @@ -178479,8 +179196,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -178560,9 +179277,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *937 - installation: *938 - issue: &973 + enterprise: *940 + installation: *941 + issue: &976 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -179345,14 +180062,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179368,7 +180085,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -179468,8 +180185,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -179548,8 +180265,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -180359,14 +181076,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180460,9 +181177,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *403 - organization: *939 - repository: *940 + type: *406 + organization: *942 + repository: *943 sender: *4 required: - action @@ -181328,14 +182045,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -181351,7 +182068,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -181930,11 +182647,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *937 - installation: *938 - issue: *973 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *976 + organization: *942 + repository: *943 sender: *4 required: - action @@ -182014,12 +182731,12 @@ x-webhooks: type: string enum: - typed - enterprise: *937 - installation: *938 - issue: *971 - type: *403 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *974 + type: *406 + organization: *942 + repository: *943 sender: *4 required: - action @@ -182100,7 +182817,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &1002 + assignee: &1005 title: User type: object nullable: true @@ -182170,11 +182887,11 @@ x-webhooks: required: - login - id - enterprise: *937 - installation: *938 - issue: *971 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *974 + organization: *942 + repository: *943 sender: *4 required: - action @@ -182253,12 +182970,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *937 - installation: *938 - issue: *971 - label: *960 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *974 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -182338,8 +183055,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -183149,14 +183866,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *873 - issue_dependencies_summary: *874 + sub_issues_summary: *876 + issue_dependencies_summary: *877 issue_field_values: type: array - items: *720 + items: *723 state: description: State of the issue; either 'open' or 'closed' type: string @@ -183172,7 +183889,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *406 updated_at: type: string format: date-time @@ -183250,8 +183967,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183331,11 +184048,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *937 - installation: *938 - issue: *973 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *976 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183414,12 +184131,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *937 - installation: *938 - issue: *971 - type: *403 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + issue: *974 + type: *406 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183499,12 +184216,12 @@ x-webhooks: type: string enum: - archived - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 label: title: Archived label allOf: - - *960 + - *963 - type: object properties: archived_at: @@ -183518,8 +184235,8 @@ x-webhooks: required: - archived_at - archived_by - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183598,11 +184315,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - label: *960 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183680,11 +184397,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - label: *960 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183794,11 +184511,11 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - label: *960 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + label: *963 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183877,12 +184594,12 @@ x-webhooks: type: string enum: - unarchived - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 label: title: Unarchived label allOf: - - *960 + - *963 - type: object properties: archived_at: @@ -183900,8 +184617,8 @@ x-webhooks: required: - archived_at - archived_by - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -183983,9 +184700,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *937 - installation: *938 - marketplace_purchase: &974 + enterprise: *940 + installation: *941 + marketplace_purchase: &977 title: Marketplace Purchase type: object required: @@ -184068,8 +184785,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *939 - previous_marketplace_purchase: &975 + organization: *942 + previous_marketplace_purchase: &978 title: Marketplace Purchase type: object properties: @@ -184149,7 +184866,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *940 + repository: *943 sender: *4 required: - action @@ -184229,10 +184946,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *937 - installation: *938 - marketplace_purchase: *974 - organization: *939 + enterprise: *940 + installation: *941 + marketplace_purchase: *977 + organization: *942 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -184315,7 +185032,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *940 + repository: *943 sender: *4 required: - action @@ -184397,10 +185114,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *937 - installation: *938 - marketplace_purchase: *974 - organization: *939 + enterprise: *940 + installation: *941 + marketplace_purchase: *977 + organization: *942 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -184482,7 +185199,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *940 + repository: *943 sender: *4 required: - action @@ -184563,8 +185280,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 marketplace_purchase: title: Marketplace Purchase type: object @@ -184646,9 +185363,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *939 - previous_marketplace_purchase: *975 - repository: *940 + organization: *942 + previous_marketplace_purchase: *978 + repository: *943 sender: *4 required: - action @@ -184728,12 +185445,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *937 - installation: *938 - marketplace_purchase: *974 - organization: *939 - previous_marketplace_purchase: *975 - repository: *940 + enterprise: *940 + installation: *941 + marketplace_purchase: *977 + organization: *942 + previous_marketplace_purchase: *978 + repository: *943 sender: *4 required: - action @@ -184835,11 +185552,11 @@ x-webhooks: type: string required: - to - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 sender: *4 required: - action @@ -184939,11 +185656,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 sender: *4 required: - action @@ -185022,11 +185739,11 @@ x-webhooks: type: string enum: - removed - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 sender: *4 required: - action @@ -185104,11 +185821,11 @@ x-webhooks: type: string enum: - added - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 scope: description: The scope of the membership. Currently, can only be `team`. @@ -185184,7 +185901,7 @@ x-webhooks: required: - login - id - team: &976 + team: &979 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -185407,11 +186124,11 @@ x-webhooks: type: string enum: - removed - enterprise: *937 - installation: *938 - member: *966 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + member: *969 + organization: *942 + repository: *943 scope: description: The scope of the membership. Currently, can only be `team`. @@ -185488,7 +186205,7 @@ x-webhooks: required: - login - id - team: *976 + team: *979 required: - action - scope @@ -185570,8 +186287,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *938 - merge_group: &978 + installation: *941 + merge_group: &981 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -185590,15 +186307,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *977 + head_commit: *980 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -185684,10 +186401,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *938 - merge_group: *978 - organization: *939 - repository: *940 + installation: *941 + merge_group: *981 + organization: *942 + repository: *943 sender: *4 required: - action @@ -185760,7 +186477,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 + enterprise: *940 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -185869,16 +186586,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *938 - organization: *939 + installation: *941 + organization: *942 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *979 - required: *980 + properties: *982 + required: *983 nullable: true sender: *4 required: @@ -185959,11 +186676,11 @@ x-webhooks: type: string enum: - closed - enterprise: *937 - installation: *938 - milestone: *972 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *975 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186042,9 +186759,9 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - milestone: &981 + enterprise: *940 + installation: *941 + milestone: &984 title: Milestone description: A collection of related issues and pull requests. type: object @@ -186181,8 +186898,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186261,11 +186978,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - milestone: *972 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *975 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186375,11 +187092,11 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - milestone: *972 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *975 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186459,11 +187176,11 @@ x-webhooks: type: string enum: - opened - enterprise: *937 - installation: *938 - milestone: *981 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *984 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186542,11 +187259,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *966 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + blocked_user: *969 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186625,11 +187342,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *966 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + blocked_user: *969 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -186704,8 +187421,8 @@ x-webhooks: type: string enum: - created - definition: *157 - enterprise: *937 + definition: *160 + enterprise: *940 sender: *4 required: - action @@ -186785,8 +187502,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 sender: *4 required: - action @@ -186858,9 +187575,9 @@ x-webhooks: type: string enum: - updated - definition: *157 - enterprise: *937 - installation: *938 + definition: *160 + enterprise: *940 + installation: *941 sender: *4 required: - action @@ -186932,18 +187649,18 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 new_property_values: type: array description: The new custom property values. - items: *161 + items: *164 old_property_values: type: array description: The old custom property values. - items: *161 + items: *164 required: - action - organization @@ -187022,9 +187739,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - membership: &982 + enterprise: *940 + installation: *941 + membership: &985 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -187131,8 +187848,8 @@ x-webhooks: - role - organization_url - user - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 required: - action @@ -187210,11 +187927,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *937 - installation: *938 - membership: *982 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + membership: *985 + organization: *942 + repository: *943 sender: *4 required: - action @@ -187293,8 +188010,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -187410,10 +188127,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 - user: *966 + user: *969 required: - action - invitation @@ -187491,11 +188208,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *937 - installation: *938 - membership: *982 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + membership: *985 + organization: *942 + repository: *943 sender: *4 required: - action @@ -187582,11 +188299,11 @@ x-webhooks: properties: from: type: string - enterprise: *937 - installation: *938 - membership: *982 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + membership: *985 + organization: *942 + repository: *943 sender: *4 required: - action @@ -187664,9 +188381,9 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 package: description: Information about the package. type: object @@ -188165,7 +188882,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &983 + items: &986 title: Ruby Gems metadata type: object properties: @@ -188260,7 +188977,7 @@ x-webhooks: - owner - package_version - registry - repository: *940 + repository: *943 sender: *4 required: - action @@ -188337,9 +189054,9 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 package: description: Information about the package. type: object @@ -188692,7 +189409,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *983 + items: *986 source_url: type: string format: uri @@ -188762,7 +189479,7 @@ x-webhooks: - owner - package_version - registry - repository: *940 + repository: *943 sender: *4 required: - action @@ -188938,12 +189655,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *937 + enterprise: *940 id: type: integer - installation: *938 - organization: *939 - repository: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - id @@ -189020,7 +189737,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &984 + personal_access_token_request: &987 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -189166,10 +189883,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *937 - organization: *939 + enterprise: *940 + organization: *942 sender: *4 - installation: *938 + installation: *941 required: - action - personal_access_token_request @@ -189246,11 +189963,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *984 - enterprise: *937 - organization: *939 + personal_access_token_request: *987 + enterprise: *940 + organization: *942 sender: *4 - installation: *938 + installation: *941 required: - action - personal_access_token_request @@ -189326,11 +190043,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *984 - enterprise: *937 - organization: *939 + personal_access_token_request: *987 + enterprise: *940 + organization: *942 sender: *4 - installation: *938 + installation: *941 required: - action - personal_access_token_request @@ -189405,11 +190122,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *984 - organization: *939 - enterprise: *937 + personal_access_token_request: *987 + organization: *942 + enterprise: *940 sender: *4 - installation: *938 + installation: *941 required: - action - personal_access_token_request @@ -189514,7 +190231,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *985 + last_response: *988 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -189546,8 +190263,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 zen: description: Random string of GitHub zen. @@ -189792,10 +190509,10 @@ x-webhooks: - from required: - note - enterprise: *937 - installation: *938 - organization: *939 - project_card: &986 + enterprise: *940 + installation: *941 + organization: *942 + project_card: &989 title: Project Card type: object properties: @@ -189914,7 +190631,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *940 + repository: *943 sender: *4 required: - action @@ -189995,11 +190712,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - project_card: *986 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project_card: *989 + repository: *943 sender: *4 required: - action @@ -190079,9 +190796,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 project_card: title: Project Card type: object @@ -190209,8 +190926,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *979 - required: *980 + properties: *982 + required: *983 nullable: true sender: *4 required: @@ -190304,11 +191021,11 @@ x-webhooks: - from required: - note - enterprise: *937 - installation: *938 - organization: *939 - project_card: *986 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project_card: *989 + repository: *943 sender: *4 required: - action @@ -190402,9 +191119,9 @@ x-webhooks: - from required: - column_id - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 project_card: allOf: - title: Project Card @@ -190594,7 +191311,7 @@ x-webhooks: type: string required: - after_id - repository: *940 + repository: *943 sender: *4 required: - action @@ -190674,10 +191391,10 @@ x-webhooks: type: string enum: - closed - enterprise: *937 - installation: *938 - organization: *939 - project: &988 + enterprise: *940 + installation: *941 + organization: *942 + project: &991 title: Project type: object properties: @@ -190801,7 +191518,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *940 + repository: *943 sender: *4 required: - action @@ -190881,10 +191598,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - project_column: &987 + enterprise: *940 + installation: *941 + organization: *942 + project_column: &990 title: Project Column type: object properties: @@ -190923,7 +191640,7 @@ x-webhooks: - name - created_at - updated_at - repository: *940 + repository: *943 sender: *4 required: - action @@ -191002,18 +191719,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - project_column: *987 + enterprise: *940 + installation: *941 + organization: *942 + project_column: *990 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *979 - required: *980 + properties: *982 + required: *983 nullable: true sender: *4 required: @@ -191103,11 +191820,11 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 - project_column: *987 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project_column: *990 + repository: *943 sender: *4 required: - action @@ -191187,11 +191904,11 @@ x-webhooks: type: string enum: - moved - enterprise: *937 - installation: *938 - organization: *939 - project_column: *987 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project_column: *990 + repository: *943 sender: *4 required: - action @@ -191271,11 +191988,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - project: *988 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project: *991 + repository: *943 sender: *4 required: - action @@ -191355,18 +192072,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - project: *988 + enterprise: *940 + installation: *941 + organization: *942 + project: *991 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *979 - required: *980 + properties: *982 + required: *983 nullable: true sender: *4 required: @@ -191468,11 +192185,11 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 - project: *988 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project: *991 + repository: *943 sender: *4 required: - action @@ -191551,11 +192268,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *937 - installation: *938 - organization: *939 - project: *988 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + project: *991 + repository: *943 sender: *4 required: - action @@ -191636,9 +192353,9 @@ x-webhooks: type: string enum: - closed - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -191719,9 +192436,9 @@ x-webhooks: type: string enum: - created - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -191802,9 +192519,9 @@ x-webhooks: type: string enum: - deleted - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -191921,9 +192638,9 @@ x-webhooks: type: string to: type: string - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -192006,7 +192723,7 @@ x-webhooks: type: string enum: - archived - changes: &992 + changes: &995 type: object properties: archived_at: @@ -192020,9 +192737,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *938 - organization: *939 - projects_v2_item: &989 + installation: *941 + organization: *942 + projects_v2_item: &992 title: Projects v2 Item description: An item belonging to a project type: object @@ -192040,7 +192757,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *442 + content_type: *445 creator: *4 created_at: type: string @@ -192157,9 +192874,9 @@ x-webhooks: nullable: true to: type: string - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192241,9 +192958,9 @@ x-webhooks: type: string enum: - created - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192324,9 +193041,9 @@ x-webhooks: type: string enum: - deleted - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192432,7 +193149,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &990 + - &993 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -192454,7 +193171,7 @@ x-webhooks: required: - id - name - - &991 + - &994 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -192488,8 +193205,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *990 - - *991 + - *993 + - *994 required: - field_value - type: object @@ -192505,9 +193222,9 @@ x-webhooks: nullable: true required: - body - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192602,9 +193319,9 @@ x-webhooks: to: type: string nullable: true - installation: *938 - organization: *939 - projects_v2_item: *989 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192687,10 +193404,10 @@ x-webhooks: type: string enum: - restored - changes: *992 - installation: *938 - organization: *939 - projects_v2_item: *989 + changes: *995 + installation: *941 + organization: *942 + projects_v2_item: *992 sender: *4 required: - action @@ -192772,9 +193489,9 @@ x-webhooks: type: string enum: - reopened - installation: *938 - organization: *939 - projects_v2: *435 + installation: *941 + organization: *942 + projects_v2: *438 sender: *4 required: - action @@ -192855,14 +193572,14 @@ x-webhooks: type: string enum: - created - installation: *938 - organization: *939 - projects_v2_status_update: &995 + installation: *941 + organization: *942 + projects_v2_status_update: &998 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *993 - required: *994 + properties: *996 + required: *997 sender: *4 required: - action @@ -192943,9 +193660,9 @@ x-webhooks: type: string enum: - deleted - installation: *938 - organization: *939 - projects_v2_status_update: *995 + installation: *941 + organization: *942 + projects_v2_status_update: *998 sender: *4 required: - action @@ -193081,9 +193798,9 @@ x-webhooks: type: string format: date nullable: true - installation: *938 - organization: *939 - projects_v2_status_update: *995 + installation: *941 + organization: *942 + projects_v2_status_update: *998 sender: *4 required: - action @@ -193154,10 +193871,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - repository @@ -193234,13 +193951,13 @@ x-webhooks: type: string enum: - assigned - assignee: *966 - enterprise: *937 - installation: *938 - number: &996 + assignee: *969 + enterprise: *940 + installation: *941 + number: &999 description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -195402,7 +196119,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -195528,7 +196245,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -195610,10 +196327,10 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -197768,7 +198485,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -197896,7 +198613,7 @@ x-webhooks: - draft reason: type: string - repository: *940 + repository: *943 sender: *4 required: - action @@ -197978,10 +198695,10 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -200136,7 +200853,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -200264,7 +200981,7 @@ x-webhooks: - draft reason: type: string - repository: *940 + repository: *943 sender: *4 required: - action @@ -200346,13 +201063,13 @@ x-webhooks: type: string enum: - closed - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: &997 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: &1000 allOf: - - *777 + - *780 - type: object properties: allow_auto_merge: @@ -200414,7 +201131,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *940 + repository: *943 sender: *4 required: - action @@ -200495,12 +201212,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -200580,12 +201297,12 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *937 - installation: *938 - milestone: *758 - number: *996 - organization: *939 - pull_request: &998 + enterprise: *940 + installation: *941 + milestone: *761 + number: *999 + organization: *942 + pull_request: &1001 title: Pull Request type: object properties: @@ -202741,7 +203458,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -202867,7 +203584,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -202947,10 +203664,10 @@ x-webhooks: type: string enum: - dequeued - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -205110,7 +205827,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -205251,7 +205968,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *940 + repository: *943 sender: *4 required: - action @@ -205375,12 +206092,12 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -205461,10 +206178,10 @@ x-webhooks: type: string enum: - enqueued - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -207624,7 +208341,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -207750,7 +208467,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -207830,11 +208547,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *937 - installation: *938 - label: *960 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + label: *963 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -210009,7 +210726,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -210135,7 +210852,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -210216,10 +210933,10 @@ x-webhooks: type: string enum: - locked - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -212378,7 +213095,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -212504,7 +213221,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -212584,13 +213301,13 @@ x-webhooks: type: string enum: - milestoned - enterprise: *937 - installation: *938 - milestone: *758 - number: *996 - organization: *939 - pull_request: *998 - repository: *940 + enterprise: *940 + installation: *941 + milestone: *761 + number: *999 + organization: *942 + pull_request: *1001 + repository: *943 sender: *4 required: - action @@ -212670,12 +213387,12 @@ x-webhooks: type: string enum: - opened - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -212756,12 +213473,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -212841,12 +213558,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *937 - installation: *938 - number: *996 - organization: *939 - pull_request: *997 - repository: *940 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 + pull_request: *1000 + repository: *943 sender: *4 required: - action @@ -213212,9 +213929,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: type: object properties: @@ -215268,7 +215985,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -215389,7 +216106,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *940 + repository: *943 sender: *4 required: - action @@ -215469,7 +216186,7 @@ x-webhooks: type: string enum: - deleted - comment: &1000 + comment: &1003 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. @@ -215754,9 +216471,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: type: object properties: @@ -217798,7 +218515,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -217919,7 +218636,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *940 + repository: *943 sender: *4 required: - action @@ -217999,11 +218716,11 @@ x-webhooks: type: string enum: - edited - changes: *999 - comment: *1000 - enterprise: *937 - installation: *938 - organization: *939 + changes: *1002 + comment: *1003 + enterprise: *940 + installation: *941 + organization: *942 pull_request: type: object properties: @@ -220048,7 +220765,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -220169,7 +220886,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *940 + repository: *943 sender: *4 required: - action @@ -220250,9 +220967,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -222307,7 +223024,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -222430,7 +223147,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 + repository: *943 review: description: The review that was affected. type: object @@ -222677,9 +223394,9 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -224729,8 +225446,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 - review: &1001 + repository: *943 + review: &1004 description: The review that was affected. type: object properties: @@ -224963,12 +225680,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 number: description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -227130,7 +227847,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. @@ -227256,7 +227973,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 requested_reviewer: title: User type: object @@ -227340,12 +228057,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 number: description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -229514,7 +230231,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. @@ -229640,7 +230357,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 requested_team: title: Team description: Groups of organization members that gives permissions @@ -229832,12 +230549,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 number: description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -232000,7 +232717,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. @@ -232127,7 +232844,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 requested_reviewer: title: User type: object @@ -232212,12 +232929,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *937 - installation: *938 + enterprise: *940 + installation: *941 number: description: The pull request number. type: integer - organization: *939 + organization: *942 pull_request: title: Pull Request type: object @@ -234371,7 +235088,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. @@ -234498,7 +235215,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 requested_team: title: Team description: Groups of organization members that gives permissions @@ -234679,9 +235396,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -236738,7 +237455,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -236861,8 +237578,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 - review: *1001 + repository: *943 + review: *1004 sender: *4 required: - action @@ -236942,9 +237659,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -238910,7 +239627,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -239033,7 +239750,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 + repository: *943 sender: *4 thread: type: object @@ -239420,9 +240137,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 pull_request: title: Simple Pull Request type: object @@ -241375,7 +242092,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: type: string enum: @@ -241497,7 +242214,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *940 + repository: *943 sender: *4 thread: type: object @@ -241881,11 +242598,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *937 - installation: *938 - stack: *774 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + stack: *777 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -244046,7 +244763,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -244172,7 +244889,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -244258,10 +244975,10 @@ x-webhooks: type: string before: type: string - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -246411,7 +247128,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -246537,7 +247254,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -246619,11 +247336,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *1002 - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + assignee: *1005 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -248785,7 +249502,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -248911,7 +249628,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -248991,11 +249708,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *937 - installation: *938 - label: *960 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + label: *963 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -251147,7 +251864,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -251273,7 +251990,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -251354,10 +252071,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *937 - installation: *938 - number: *996 - organization: *939 + enterprise: *940 + installation: *941 + number: *999 + organization: *942 pull_request: title: Pull Request type: object @@ -253502,7 +254219,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *774 + stack: *777 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -253627,7 +254344,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *940 + repository: *943 sender: *4 required: - action @@ -253827,7 +254544,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *937 + enterprise: *940 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -253919,8 +254636,8 @@ x-webhooks: - url - author - committer - installation: *938 - organization: *939 + installation: *941 + organization: *942 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -254506,9 +255223,9 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 registry_package: type: object properties: @@ -254954,7 +255671,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *983 + items: *986 summary: type: string tag_name: @@ -255008,7 +255725,7 @@ x-webhooks: - owner - package_version - registry - repository: *940 + repository: *943 sender: *4 required: - action @@ -255086,9 +255803,9 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 registry_package: type: object properties: @@ -255396,7 +256113,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *983 + items: *986 summary: type: string tag_name: @@ -255445,7 +256162,7 @@ x-webhooks: - owner - package_version - registry - repository: *940 + repository: *943 sender: *4 required: - action @@ -255522,10 +256239,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - release: &1003 + enterprise: *940 + installation: *941 + organization: *942 + release: &1006 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -255843,7 +256560,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *940 + repository: *943 sender: *4 required: - action @@ -255920,11 +256637,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - release: *1003 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + release: *1006 + repository: *943 sender: *4 required: - action @@ -256041,11 +256758,11 @@ x-webhooks: type: boolean required: - to - enterprise: *937 - installation: *938 - organization: *939 - release: *1003 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + release: *1006 + repository: *943 sender: *4 required: - action @@ -256123,9 +256840,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -256447,7 +257164,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *940 + repository: *943 sender: *4 required: - action @@ -256523,10 +257240,10 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 - release: &1004 + enterprise: *940 + installation: *941 + organization: *942 + release: &1007 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -256845,7 +257562,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *940 + repository: *943 sender: *4 required: - action @@ -256921,11 +257638,11 @@ x-webhooks: type: string enum: - released - enterprise: *937 - installation: *938 - organization: *939 - release: *1003 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + release: *1006 + repository: *943 sender: *4 required: - action @@ -257001,11 +257718,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *937 - installation: *938 - organization: *939 - release: *1004 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + release: *1007 + repository: *943 sender: *4 required: - action @@ -257081,11 +257798,11 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_advisory: *832 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_advisory: *835 sender: *4 required: - action @@ -257161,11 +257878,11 @@ x-webhooks: type: string enum: - reported - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_advisory: *832 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_advisory: *835 sender: *4 required: - action @@ -257241,10 +257958,10 @@ x-webhooks: type: string enum: - archived - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -257321,10 +258038,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -257402,10 +258119,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -257489,10 +258206,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -257604,10 +258321,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -257679,10 +258396,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 status: type: string @@ -257763,10 +258480,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -257843,10 +258560,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -257940,10 +258657,10 @@ x-webhooks: - name required: - repository - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258023,11 +258740,11 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_ruleset: *196 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_ruleset: *199 sender: *4 required: - action @@ -258105,11 +258822,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_ruleset: *196 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_ruleset: *199 sender: *4 required: - action @@ -258187,11 +258904,11 @@ x-webhooks: type: string enum: - edited - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - repository_ruleset: *196 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + repository_ruleset: *199 changes: type: object properties: @@ -258210,16 +258927,16 @@ x-webhooks: properties: added: type: array - items: *167 + items: *170 deleted: type: array - items: *167 + items: *170 updated: type: array items: type: object properties: - condition: *167 + condition: *170 changes: type: object properties: @@ -258252,16 +258969,16 @@ x-webhooks: properties: added: type: array - items: *799 + items: *802 deleted: type: array - items: *799 + items: *802 updated: type: array items: type: object properties: - rule: *799 + rule: *802 changes: type: object properties: @@ -258495,10 +259212,10 @@ x-webhooks: - from required: - owner - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258576,10 +259293,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258657,7 +259374,7 @@ x-webhooks: type: string enum: - create - alert: &1005 + alert: &1008 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -258779,10 +259496,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -258988,10 +259705,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259069,11 +259786,11 @@ x-webhooks: type: string enum: - reopen - alert: *1005 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1008 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259272,10 +259989,10 @@ x-webhooks: enum: - fixed - open - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259353,11 +260070,11 @@ x-webhooks: type: string enum: - assigned - alert: &1007 + alert: &1010 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -259365,8 +260082,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri @@ -259503,12 +260220,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *1006 + metadata: *1009 assignee: *4 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259586,11 +260303,11 @@ x-webhooks: type: string enum: - created - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259671,11 +260388,11 @@ x-webhooks: type: string enum: - created - alert: *1007 - installation: *938 - location: *1008 - organization: *939 - repository: *940 + alert: *1010 + installation: *941 + location: *1011 + organization: *942 + repository: *943 sender: *4 required: - location @@ -259913,11 +260630,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -259994,11 +260711,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260075,11 +260792,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260157,11 +260874,11 @@ x-webhooks: type: string enum: - reopened - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260239,11 +260956,11 @@ x-webhooks: type: string enum: - resolved - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260321,12 +261038,12 @@ x-webhooks: type: string enum: - unassigned - alert: *1007 + alert: *1010 assignee: *4 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260404,11 +261121,11 @@ x-webhooks: type: string enum: - validated - alert: *1007 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + alert: *1010 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -260534,10 +261251,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *940 - enterprise: *937 - installation: *938 - organization: *939 + repository: *943 + enterprise: *940 + installation: *941 + organization: *942 sender: *4 required: - action @@ -260615,16 +261332,16 @@ x-webhooks: type: string enum: - published - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - security_advisory: &1009 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + security_advisory: &1012 description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *134 + cvss_severities: *137 cwes: type: array items: @@ -260790,11 +261507,11 @@ x-webhooks: type: string enum: - updated - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 - security_advisory: *1009 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 + security_advisory: *1012 sender: *4 required: - action @@ -260867,16 +261584,16 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 security_advisory: description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *134 + cvss_severities: *137 cwes: type: array items: @@ -261042,11 +261759,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *452 - enterprise: *937 - installation: *938 - organization: *939 - repository: *514 + security_and_analysis: *455 + enterprise: *940 + installation: *941 + organization: *942 + repository: *517 sender: *4 required: - changes @@ -261124,12 +261841,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: &1010 + sponsorship: &1013 type: object properties: created_at: @@ -261430,12 +262147,12 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - sponsorship @@ -261523,12 +262240,12 @@ x-webhooks: type: string required: - from - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - changes @@ -261605,17 +262322,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &1011 + effective_date: &1014 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: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - sponsorship @@ -261689,7 +262406,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &1012 + changes: &1015 type: object properties: tier: @@ -261733,13 +262450,13 @@ x-webhooks: - from required: - tier - effective_date: *1011 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + effective_date: *1014 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - changes @@ -261816,13 +262533,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *1012 - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + changes: *1015 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - sponsorship: *1010 + sponsorship: *1013 required: - action - changes @@ -261896,10 +262613,10 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -261982,10 +262699,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -262405,15 +263122,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *937 + enterprise: *940 id: description: The unique identifier of the status. type: integer - installation: *938 + installation: *941 name: type: string - organization: *939 - repository: *940 + organization: *942 + repository: *943 sender: *4 sha: description: The Commit SHA. @@ -262522,15 +263239,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *234 parent_issue_repo: *77 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *938 - organization: *939 - repository: *940 + sub_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -262613,15 +263330,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *234 parent_issue_repo: *77 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *938 - organization: *939 - repository: *940 + sub_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -262704,15 +263421,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *234 sub_issue_repo: *77 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *938 - organization: *939 - repository: *940 + parent_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -262795,15 +263512,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *234 sub_issue_repo: *77 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *938 - organization: *939 - repository: *940 + parent_issue: *234 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -262879,12 +263596,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - team: &1013 + team: &1016 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -263107,9 +263824,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -263567,7 +264284,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - team @@ -263643,9 +264360,9 @@ x-webhooks: type: string enum: - created - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -264103,7 +264820,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - team @@ -264180,9 +264897,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -264640,7 +265357,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - team @@ -264784,9 +265501,9 @@ x-webhooks: - from required: - permissions - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -265244,7 +265961,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - changes @@ -265322,9 +266039,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *937 - installation: *938 - organization: *939 + enterprise: *940 + installation: *941 + organization: *942 repository: title: Repository description: A git repository @@ -265782,7 +266499,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1013 + team: *1016 required: - action - team @@ -265858,10 +266575,10 @@ x-webhooks: type: string enum: - started - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 required: - action @@ -265934,16 +266651,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *937 + enterprise: *940 inputs: type: object nullable: true additionalProperties: true - installation: *938 - organization: *939 + installation: *941 + organization: *942 ref: type: string - repository: *940 + repository: *943 sender: *4 workflow: type: string @@ -266025,10 +266742,10 @@ x-webhooks: type: string enum: - completed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 workflow_job: allOf: @@ -266265,7 +266982,7 @@ x-webhooks: type: string required: - conclusion - deployment: *659 + deployment: *662 required: - action - repository @@ -266344,10 +267061,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 workflow_job: allOf: @@ -266607,7 +267324,7 @@ x-webhooks: required: - status - steps - deployment: *659 + deployment: *662 required: - action - repository @@ -266686,10 +267403,10 @@ x-webhooks: type: string enum: - queued - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 workflow_job: type: object @@ -266824,7 +267541,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *659 + deployment: *662 required: - action - repository @@ -266903,10 +267620,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 workflow_job: type: object @@ -267042,7 +267759,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *659 + deployment: *662 required: - action - repository @@ -267122,12 +267839,12 @@ x-webhooks: type: string enum: - completed - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: *956 + workflow: *959 workflow_run: title: Workflow Run type: object @@ -268126,12 +268843,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: *956 + workflow: *959 workflow_run: title: Workflow Run type: object @@ -269115,12 +269832,12 @@ x-webhooks: type: string enum: - requested - enterprise: *937 - installation: *938 - organization: *939 - repository: *940 + enterprise: *940 + installation: *941 + organization: *942 + repository: *943 sender: *4 - workflow: *956 + workflow: *959 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index e8a95e4f2..268276d12 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -49869,6 +49869,1173 @@ } } }, + "/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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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": 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", + "description": "When the export was requested.", + "nullable": true + } + } + }, + "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", + "description": "When the export was requested.", + "nullable": true + } + } + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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": 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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 632e6dfda..71a9d8a3d 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -718,7 +718,7 @@ paths: required: - vector_string - score - cvss_severities: &134 + cvss_severities: &137 type: object nullable: true properties: @@ -758,7 +758,7 @@ paths: required: - vector_string - score - epss: &135 + epss: &138 type: object nullable: true readOnly: true @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &494 + type: &497 type: string description: The type of credit the user is receiving. enum: @@ -1056,7 +1056,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &268 + schema: &271 title: Validation Error Simple description: Validation Error Simple type: object @@ -1089,7 +1089,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: - - &838 + - &841 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3880,7 +3880,7 @@ paths: GitHub. type: object nullable: true - properties: &226 + properties: &229 id: description: Unique identifier of the GitHub app example: 37 @@ -3902,7 +3902,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &145 + properties: &148 description: description: A short description of the enterprise. type: string @@ -3944,7 +3944,7 @@ paths: avatar_url: type: string format: uri - required: &146 + required: &149 - id - node_id - name @@ -4013,7 +4013,7 @@ paths: about itself. example: 5 type: integer - required: &227 + required: &230 - id - node_id - owner @@ -4318,7 +4318,7 @@ paths: schema: type: integer default: 30 - - &377 + - &380 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 @@ -4327,7 +4327,7 @@ paths: required: false schema: type: string - - &378 + - &381 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4347,7 +4347,7 @@ paths: application/json: schema: type: array - items: &379 + items: &382 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4427,7 +4427,7 @@ paths: - installation_id - repository_id examples: - default: &380 + default: &383 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4459,7 +4459,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &848 + schema: &851 title: Scim Error description: Scim Error type: object @@ -4486,7 +4486,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &267 + schema: &270 title: Validation Error description: Validation Error type: object @@ -4555,7 +4555,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &384 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4669,7 +4669,7 @@ paths: - request - response examples: - default: &382 + default: &385 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4870,7 +4870,7 @@ paths: parameters: - *17 - *19 - - &238 + - &241 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) @@ -5689,7 +5689,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &451 + properties: &454 id: description: Unique identifier of the repository example: 42 @@ -5709,7 +5709,7 @@ paths: title: License Simple description: License Simple type: object - properties: &234 + properties: &237 key: type: string example: mit @@ -5731,7 +5731,7 @@ paths: html_url: type: string format: uri - required: &235 + required: &238 - key - name - url @@ -6140,7 +6140,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &452 + required: &455 - archive_url - assignees_url - blobs_url @@ -6214,7 +6214,7 @@ paths: - watchers_count - created_at - updated_at - x-github-breaking-changes: &453 + x-github-breaking-changes: &456 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -9947,7 +9947,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 type: object properties: total_active_caches_count: @@ -9962,7 +9962,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &270 + default: &273 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10155,7 +10155,7 @@ paths: - public_ip_enabled - platform examples: - default: &271 + default: &274 value: total_count: 2 runners: @@ -10450,7 +10450,7 @@ paths: application/json: schema: *46 examples: - default: &272 + default: &275 value: id: 1 platform: linux-x64 @@ -10590,7 +10590,7 @@ paths: application/json: schema: *49 examples: - default: &273 + default: &276 value: version: 1.0.0 size_gb: 75 @@ -10754,7 +10754,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &277 type: object properties: public_ips: @@ -10779,7 +10779,7 @@ paths: required: - public_ips examples: - default: &275 + default: &278 value: public_ips: current_usage: 17 @@ -10819,7 +10819,7 @@ paths: type: array items: *53 examples: - default: &276 + default: &279 value: id: 4-core cpu_cores: 4 @@ -11134,7 +11134,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &280 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11245,7 +11245,7 @@ paths: - all - local_only - selected - selected_actions_url: &279 + selected_actions_url: &282 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` @@ -11325,7 +11325,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &281 + schema: &284 type: object properties: days: @@ -11343,7 +11343,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &849 + '401': &852 description: Authorization failure '404': *6 x-github: @@ -11371,7 +11371,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &285 type: object properties: days: @@ -11420,7 +11420,7 @@ paths: required: - approval_policy examples: - default: &283 + default: &286 value: approval_policy: first_time_contributors '404': *6 @@ -11478,7 +11478,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &287 type: object required: - run_workflows_from_fork_pull_requests @@ -11532,7 +11532,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &288 type: object required: - run_workflows_from_fork_pull_requests @@ -11955,7 +11955,7 @@ paths: description: Success response content: application/json: - schema: &288 + schema: &291 type: object properties: default_workflow_permissions: &66 @@ -12003,7 +12003,7 @@ paths: required: true content: application/json: - schema: &289 + schema: &292 type: object properties: default_workflow_permissions: *66 @@ -12909,7 +12909,7 @@ paths: application/json: schema: type: array - items: &293 + items: &296 title: Runner Application description: Runner Application type: object @@ -12934,7 +12934,7 @@ paths: - download_url - filename examples: - default: &294 + default: &297 value: - os: osx architecture: x64 @@ -13018,7 +13018,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &295 + '201': &298 description: Response content: application/json: @@ -13133,7 +13133,7 @@ paths: - token - expires_at examples: - default: &296 + default: &299 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13173,7 +13173,7 @@ paths: application/json: schema: *78 examples: - default: &297 + default: &300 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13205,7 +13205,7 @@ paths: application/json: schema: *75 examples: - default: &298 + default: &301 value: id: 23 name: MBP @@ -13422,7 +13422,7 @@ paths: - *38 - *74 responses: - '200': &299 + '200': &302 description: Response content: application/json: @@ -13478,7 +13478,7 @@ paths: parameters: - *38 - *74 - - &300 + - &303 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13569,7 +13569,7 @@ paths: required: true content: application/json: - schema: &314 + schema: &317 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14210,7 +14210,7 @@ paths: required: false schema: type: string - - &317 + - &320 name: include description: |- The event types to include: @@ -14266,7 +14266,7 @@ paths: application/json: schema: type: array - items: &318 + items: &321 type: object properties: "@timestamp": @@ -14388,7 +14388,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &319 + default: &322 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15054,7 +15054,7 @@ paths: application/json: schema: type: array - items: &320 + items: &323 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15215,7 +15215,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &321 + default: &324 value: - id: 21 number: 42 @@ -15320,7 +15320,7 @@ paths: application/json: schema: type: array - items: &323 + items: &326 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15445,7 +15445,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &324 + default: &327 value: - id: 21 number: 42 @@ -15530,7 +15530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &331 + - &334 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`, @@ -15540,7 +15540,7 @@ paths: schema: &110 type: string description: The name of the tool used to generate the code scanning analysis. - - &332 + - &335 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 @@ -15563,7 +15563,7 @@ paths: be returned. in: query required: false - schema: &333 + schema: &336 type: string description: State of a code scanning alert. enum: @@ -15596,36 +15596,36 @@ paths: application/json: schema: type: array - items: &334 + items: &337 type: object properties: - number: &132 + number: &135 type: integer description: The security alert number. readOnly: true - created_at: &139 + created_at: &142 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: &140 + updated_at: &143 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: &137 + url: &140 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &138 + html_url: &141 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &588 + instances_url: &591 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15639,7 +15639,7 @@ paths: - open - dismissed - fixed - fixed_at: &142 + fixed_at: &145 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15653,14 +15653,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &141 + dismissed_at: &144 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &589 + dismissed_reason: &592 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15670,13 +15670,13 @@ paths: - won't fix - used in tests - mitigated - dismissed_comment: &590 + dismissed_comment: &593 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &591 + rule: &594 type: object properties: id: @@ -15729,7 +15729,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &592 + tool: &595 type: object properties: name: *110 @@ -15739,26 +15739,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *111 - most_recent_instance: &593 + most_recent_instance: &596 type: object properties: - ref: &586 + ref: &589 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &604 + analysis_key: &607 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: &605 + environment: &608 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: &606 + category: &609 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15778,7 +15778,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: &607 + location: &610 type: object description: Describe a region within a file for the alert. properties: @@ -15799,7 +15799,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: &608 + items: &611 type: string description: A classification of the file. For example to identify it as generated. @@ -15813,7 +15813,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &143 + properties: &146 id: type: integer format: int64 @@ -16040,7 +16040,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &144 + required: &147 - archive_url - assignees_url - blobs_url @@ -16112,7 +16112,7 @@ paths: - most_recent_instance - repository examples: - default: &335 + default: &338 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -16343,7 +16343,7 @@ paths: headers: Link: *44 '404': *6 - '503': &201 + '503': &204 description: Service unavailable content: application/json: @@ -16995,7 +16995,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &340 type: array description: A list of default code security configurations items: @@ -17011,7 +17011,7 @@ paths: default configuration: *113 examples: - default: &338 + default: &341 value: - default_for_new_repos: public configuration: @@ -17469,7 +17469,7 @@ paths: default: value: default_for_new_repos: all - configuration: &336 + configuration: &339 value: id: 1325 target_type: organization @@ -17559,7 +17559,7 @@ paths: application/json: schema: type: array - items: &339 + items: &342 type: object description: Repositories associated with a code security configuration and attachment status @@ -17583,7 +17583,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &340 + repository: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18048,7 +18048,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &151 + items: &154 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18072,7 +18072,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &325 + - &328 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18158,7 +18158,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &417 + properties: &420 id: description: Unique identifier of the team type: integer @@ -18230,7 +18230,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &418 + required: &421 - id - node_id - url @@ -18256,7 +18256,7 @@ paths: - slug - parent - type - - &150 + - &153 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18374,7 +18374,7 @@ paths: - created_at additionalProperties: false examples: - default: &152 + default: &155 value: total_seats: 2 seats: @@ -18911,7 +18911,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &347 + '413': &350 description: Payload Too Large content: application/json: @@ -20390,6 +20390,723 @@ 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: + - *38 + - *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: &134 + 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 + nullable: true + 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 + nullable: true + description: Base64-encoded SHA-256 hash of the token, matching + `hashed_token` in audit events. Null when not reported. + fingerprint: + type: string + nullable: true + 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 + nullable: true + owner: + type: object + nullable: true + properties: + id: + type: integer + login: + type: string + name: + type: string + nullable: true + owner_type: + type: string + nullable: true + enum: + - user + - oauth_application + - github_app + description: The type of credential owner. + application: + type: object + nullable: true + properties: + id: + type: integer + name: + type: string + nullable: true + 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 + nullable: true + created_at: + type: string + format: date-time + nullable: true + last_used_at: + type: string + format: date-time + nullable: true + expires_at: + type: string + format: date-time + nullable: true + next_expires_at: + type: string + format: date-time + nullable: true + credential_instance_count: + type: integer + nullable: true + 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 + nullable: true + 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 + nullable: true + description: Whether the credential exceeds a configured lifetime + limit or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: string + nullable: true + 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 + nullable: true + items: + type: string + description: OAuth scopes recorded for the token. Null when + not reported for the credential type. + permissions: + type: object + nullable: true + 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 + nullable: true + 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: *44 + 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: + - *38 + 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: &132 + 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 + description: When the export was requested. + nullable: true + examples: + default: &133 + 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: + - *38 + - 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: *132 + examples: + default: *133 + '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: + - *38 + - 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: *134 + 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 @@ -20409,7 +21126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &352 + - &355 name: classification in: query description: |- @@ -20418,7 +21135,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &353 + - &356 name: state in: query description: |- @@ -20427,7 +21144,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &354 + - &357 name: severity in: query description: |- @@ -20436,7 +21153,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &355 + - &358 name: ecosystem in: query description: |- @@ -20445,14 +21162,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &356 + - &359 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 - - &357 + - &360 name: epss_percentage in: query description: |- @@ -20464,7 +21181,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 - - &650 + - &653 name: has in: query description: |- @@ -20478,7 +21195,7 @@ paths: type: string enum: - patch - - &358 + - &361 name: assignee in: query description: |- @@ -20487,7 +21204,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &359 + - &362 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20497,7 +21214,7 @@ paths: enum: - development - runtime - - &360 + - &363 name: relationship in: query description: |- @@ -20507,7 +21224,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 - - &361 + - &364 name: sort in: query description: |- @@ -20533,11 +21250,11 @@ paths: application/json: schema: type: array - items: &362 + items: &365 type: object description: A Dependabot alert. properties: - number: *132 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -20552,7 +21269,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &133 + package: &136 type: object description: Details for the vulnerable package. readOnly: true @@ -20597,7 +21314,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &651 + security_advisory: &654 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20627,13 +21344,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &136 + items: &139 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *133 + package: *136 severity: type: string description: The severity of the vulnerability. @@ -20706,8 +21423,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *134 - epss: *135 + cvss_severities: *137 + epss: *138 cwes: type: array description: Details for the advisory pertaining to Common @@ -20825,12 +21542,12 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *136 - url: *137 - html_url: *138 - created_at: *139 - updated_at: *140 - dismissed_at: *141 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -20854,15 +21571,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *142 - auto_dismissed_at: &652 + fixed_at: *145 + auto_dismissed_at: &655 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &653 + dismissal_request: &656 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -20924,7 +21641,7 @@ paths: - repository additionalProperties: false examples: - default: &363 + default: &366 value: - number: 2 state: dismissed @@ -21311,7 +22028,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &367 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21332,12 +22049,12 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *143 - required: *144 + properties: *146 + required: *147 nullable: true additionalProperties: false examples: - default: &365 + default: &368 value: default_level: public accessible_repositories: @@ -21559,7 +22276,7 @@ paths: - *102 - *103 - *104 - - &367 + - &370 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21585,7 +22302,7 @@ paths: application/json: schema: type: array - items: &369 + items: &372 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21706,7 +22423,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &370 + default: &373 value: - id: 21 number: 42 @@ -21807,7 +22524,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &149 + items: &152 title: Enterprise Role description: Enterprise custom roles type: object @@ -21841,8 +22558,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *145 - required: *146 + properties: *148 + required: *149 nullable: true created_at: description: The date and time the role was created. @@ -21935,7 +22652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *38 - - &147 + - &150 name: team_slug description: The slug of the enterprise team name. in: path @@ -21978,8 +22695,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *38 - - *147 - - &148 + - *150 + - &151 name: role_id description: The unique identifier of the role. in: path @@ -22021,8 +22738,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *38 - - *147 - - *148 + - *150 + - *151 responses: '204': description: Response @@ -22091,7 +22808,7 @@ paths: parameters: - *38 - *131 - - *148 + - *151 responses: '204': description: Response @@ -22125,7 +22842,7 @@ paths: parameters: - *38 - *131 - - *148 + - *151 responses: '204': description: Response @@ -22159,13 +22876,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *38 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *149 + schema: *152 examples: default: value: @@ -22219,7 +22936,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: - *38 - - *148 + - *151 - *17 - *19 responses: @@ -22229,9 +22946,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: &153 + default: &156 value: - id: 1 name: Justice League @@ -22270,7 +22987,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: - *38 - - *148 + - *151 - *17 - *19 responses: @@ -22302,7 +23019,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *150 + items: *153 examples: default: value: @@ -22785,7 +23502,7 @@ paths: application/json: schema: *22 examples: - default: &394 + default: &397 value: id: 1 account: @@ -22942,9 +23659,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 '500': *37 '401': *25 '403': *29 @@ -22982,9 +23699,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *153 + default: *156 headers: Link: *44 '401': *25 @@ -23026,7 +23743,7 @@ paths: type: integer network_configurations: type: array - items: &154 + items: &157 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -23078,7 +23795,7 @@ paths: - name - created_on examples: - default: &499 + default: &502 value: total_count: 2 network_configurations: @@ -23170,9 +23887,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: &155 + default: &158 value: id: 123456789ABCDEF name: My network configuration @@ -23199,7 +23916,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: - *38 - - &156 + - &159 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23211,9 +23928,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 headers: Link: *44 x-github: @@ -23233,7 +23950,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: - *38 - - *156 + - *159 requestBody: required: true content: @@ -23286,9 +24003,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23306,7 +24023,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: - *38 - - *156 + - *159 responses: '204': description: Response @@ -23329,7 +24046,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: - *38 - - &500 + - &503 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23341,7 +24058,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &504 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23375,7 +24092,7 @@ paths: - subnet_id - region examples: - default: &502 + default: &505 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23414,7 +24131,7 @@ paths: application/json: schema: type: array - items: &157 + items: &160 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23482,7 +24199,7 @@ paths: - property_name - value_type examples: - default: &158 + default: &161 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23542,7 +24259,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *157 + items: *160 minItems: 1 maxItems: 100 required: @@ -23575,9 +24292,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *158 + default: *161 '403': *29 '404': *6 '422': *7 @@ -23604,7 +24321,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: - *38 - - &159 + - &162 name: custom_property_name description: The custom property name in: path @@ -23616,9 +24333,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: &160 + default: &163 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23655,7 +24372,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: - *38 - - *159 + - *162 requestBody: required: true content: @@ -23724,9 +24441,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *160 + default: *163 '403': *29 '404': *6 '422': *7 @@ -23752,7 +24469,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: - *38 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -23803,7 +24520,7 @@ paths: example: Hello-World properties: type: array - items: &161 + items: &164 title: Custom Property Value description: Custom property name and associated value type: object @@ -23887,7 +24604,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *161 + items: *164 required: - organization_logins - properties @@ -23937,7 +24654,7 @@ paths: application/json: schema: type: array - items: &162 + items: &165 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -24005,7 +24722,7 @@ paths: - property_name - value_type examples: - default: &163 + default: &166 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24063,7 +24780,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *162 + items: *165 minItems: 1 maxItems: 100 required: @@ -24093,9 +24810,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -24119,15 +24836,15 @@ paths: parameters: - *38 - *86 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: &164 + default: &167 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24160,15 +24877,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *38 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -24190,12 +24907,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: - *38 - - *159 + - *162 requestBody: required: true content: application/json: - schema: &450 + schema: &453 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24262,9 +24979,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -24286,7 +25003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *38 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -24328,7 +25045,7 @@ paths: - push - repository default: branch - enforcement: &173 + enforcement: &176 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24341,7 +25058,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &174 + items: &177 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24384,7 +25101,7 @@ paths: - pull_request - exempt default: always - conditions: &198 + conditions: &201 title: Enterprise ruleset conditions type: object description: |- @@ -24397,7 +25114,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &165 + - &168 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24423,7 +25140,7 @@ paths: type: string required: - organization_name - - &168 + - &171 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24452,7 +25169,7 @@ paths: is prevented. required: - repository_name - - &167 + - &170 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24480,8 +25197,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *165 - - &170 + - *168 + - &173 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24494,7 +25211,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &166 + items: &169 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24525,16 +25242,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *166 + items: *169 required: - repository_property - - *167 + - *170 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &169 + - &172 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24551,22 +25268,22 @@ paths: type: integer required: - organization_id - - *168 - - *167 + - *171 + - *170 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *169 + - *172 + - *173 - *170 - - *167 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &172 + - &175 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24579,7 +25296,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &171 + items: &174 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24603,28 +25320,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *171 + items: *174 required: - organization_property - - *168 - - *167 + - *171 + - *170 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *172 + - *175 + - *173 - *170 - - *167 rules: type: array description: An array of rules within the ruleset. - items: &199 + items: &202 title: Repository Rule type: object description: A repository rule. oneOf: - - &175 + - &178 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24636,7 +25353,7 @@ paths: type: string enum: - creation - - &176 + - &179 title: update description: Only allow users with bypass permission to update matching refs. @@ -24657,7 +25374,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &177 + - &180 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24669,7 +25386,7 @@ paths: type: string enum: - deletion - - &178 + - &181 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24681,7 +25398,7 @@ paths: type: string enum: - required_linear_history - - &179 + - &182 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24705,7 +25422,7 @@ paths: type: string required: - required_deployment_environments - - &180 + - &183 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24717,7 +25434,7 @@ paths: type: string enum: - required_signatures - - &181 + - &184 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. @@ -24857,7 +25574,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &182 + - &185 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24904,7 +25621,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &183 + - &186 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24916,7 +25633,7 @@ paths: type: string enum: - non_fast_forward - - &184 + - &187 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24953,7 +25670,7 @@ paths: required: - operator - pattern - - &185 + - &188 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24990,7 +25707,7 @@ paths: required: - operator - pattern - - &186 + - &189 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -25027,7 +25744,7 @@ paths: required: - operator - pattern - - &187 + - &190 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -25064,7 +25781,7 @@ paths: required: - operator - pattern - - &188 + - &191 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -25101,7 +25818,7 @@ paths: required: - operator - pattern - - &192 + - &195 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -25125,7 +25842,7 @@ paths: type: string required: - restricted_file_paths - - &193 + - &196 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -25149,7 +25866,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &194 + - &197 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -25172,7 +25889,7 @@ paths: type: string required: - restricted_file_extensions - - &195 + - &198 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25196,7 +25913,7 @@ paths: maximum: 100 required: - max_file_size - - &189 + - &192 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25245,7 +25962,7 @@ paths: - repository_id required: - workflows - - &190 + - &193 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25305,7 +26022,7 @@ paths: - tool required: - code_scanning_tools - - &191 + - &194 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25355,7 +26072,7 @@ paths: description: Response content: application/json: - schema: &196 + schema: &199 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25390,11 +26107,11 @@ paths: source: type: string description: The name of the source - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 + items: *177 current_user_can_bypass: type: string description: |- @@ -25426,8 +26143,8 @@ paths: conditions: nullable: true anyOf: - - *167 - - &457 + - *170 + - &460 title: Organization ruleset conditions type: object description: |- @@ -25441,14 +26158,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *167 - - *168 + - *170 + - *171 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *167 + - *170 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25470,20 +26187,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *167 - *170 + - *173 rules: type: array - items: &802 + items: &805 title: Repository Rule type: object description: A repository rule. oneOf: - - *175 - - *176 - - *177 - *178 - - &799 + - *179 + - *180 + - *181 + - &802 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25561,9 +26278,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *179 - - *180 - - *181 - *182 - *183 - *184 @@ -25574,7 +26288,10 @@ paths: - *189 - *190 - *191 - - &800 + - *192 + - *193 + - *194 + - &803 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -25586,10 +26303,10 @@ paths: type: string enum: - license_compliance_scanning - - *192 - - *193 - - *194 - *195 + - *196 + - *197 + - *198 created_at: type: string format: date-time @@ -25597,7 +26314,7 @@ paths: type: string format: date-time examples: - default: &197 + default: &200 value: id: 21 name: super cool ruleset @@ -25656,9 +26373,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *197 + default: *200 '404': *6 '500': *37 x-github: @@ -25702,16 +26419,16 @@ paths: - tag - push - repository - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *198 + items: *177 + conditions: *201 rules: description: An array of rules within the ruleset. type: array - items: *199 + items: *202 examples: default: value: @@ -25735,9 +26452,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *197 + default: *200 '404': *6 '500': *37 x-github: @@ -25799,7 +26516,7 @@ paths: application/json: schema: type: array - items: &200 + items: &203 title: Ruleset version type: object description: The historical version of a ruleset @@ -25823,7 +26540,7 @@ paths: type: string format: date-time examples: - default: &460 + default: &463 value: - version_id: 3 actor: @@ -25876,9 +26593,9 @@ paths: description: Response content: application/json: - schema: &461 + schema: &464 allOf: - - *200 + - *203 - type: object required: - state @@ -25931,7 +26648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &462 + - &465 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25942,7 +26659,7 @@ paths: enum: - open - resolved - - &463 + - &466 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25952,7 +26669,7 @@ paths: required: false schema: type: string - - &464 + - &467 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25963,7 +26680,7 @@ paths: required: false schema: type: string - - &465 + - &468 name: exclude_providers in: query description: |- @@ -25974,7 +26691,7 @@ paths: required: false schema: type: string - - &466 + - &469 name: providers in: query description: |- @@ -25985,7 +26702,7 @@ paths: required: false schema: type: string - - &467 + - &470 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25994,7 +26711,7 @@ paths: required: false schema: type: string - - &468 + - &471 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26013,7 +26730,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &469 + - &472 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. @@ -26029,7 +26746,7 @@ paths: - *17 - *107 - *108 - - &470 + - &473 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26038,7 +26755,7 @@ paths: required: false schema: type: string - - &471 + - &474 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26047,7 +26764,7 @@ paths: schema: type: boolean default: false - - &472 + - &475 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26056,7 +26773,7 @@ paths: schema: type: boolean default: false - - &473 + - &476 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26065,7 +26782,7 @@ paths: schema: type: boolean default: false - - &474 + - &477 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26076,7 +26793,7 @@ paths: required: false schema: type: boolean - - &475 + - &478 name: included_metadata in: query description: |- @@ -26087,7 +26804,7 @@ paths: required: false schema: type: string - - &476 + - &479 name: owner_email_hash in: query description: |- @@ -26106,11 +26823,11 @@ paths: application/json: schema: type: array - items: &477 + items: &480 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -26118,21 +26835,21 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &815 + state: &818 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: &816 + resolution: &819 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -26249,8 +26966,8 @@ paths: pull request. ' - oneOf: &817 - - &819 + oneOf: &820 + - &822 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26308,7 +27025,7 @@ paths: - blob_url - commit_sha - commit_url - - &820 + - &823 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. @@ -26363,7 +27080,7 @@ paths: - page_url - commit_sha - commit_url - - &821 + - &824 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26383,7 +27100,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &822 + - &825 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26403,7 +27120,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &823 + - &826 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26423,7 +27140,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &824 + - &827 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26437,7 +27154,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &825 + - &828 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26451,7 +27168,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &826 + - &829 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26465,7 +27182,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &827 + - &830 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. @@ -26485,7 +27202,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &828 + - &831 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. @@ -26505,7 +27222,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &829 + - &832 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. @@ -26525,7 +27242,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &830 + - &833 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. @@ -26545,7 +27262,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &831 + - &834 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -26593,7 +27310,7 @@ paths: required: *21 nullable: true examples: - default: &478 + default: &481 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26771,7 +27488,7 @@ paths: headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26797,7 +27514,7 @@ paths: subcategory: custom-patterns parameters: - *38 - - &479 + - &482 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -26808,7 +27525,7 @@ paths: enum: - published - unpublished - - &480 + - &483 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -26819,7 +27536,7 @@ paths: enum: - enabled - disabled - - &481 + - &484 name: sort description: The property to sort the results by. in: query @@ -26841,7 +27558,7 @@ paths: application/json: schema: type: array - items: &202 + items: &205 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -26889,7 +27606,7 @@ paths: nullable: true items: type: string - custom_pattern_version: &203 + custom_pattern_version: &206 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -26913,7 +27630,7 @@ paths: - state - push_protection_enabled examples: - default: &482 + default: &485 value: - id: 1 name: Example Custom Pattern @@ -26976,7 +27693,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &483 + items: &486 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -27013,7 +27730,7 @@ paths: items: type: string examples: - default: &484 + default: &487 value: patterns: - name: Example Custom Pattern @@ -27037,9 +27754,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: &485 + default: &488 value: created_patterns: - id: 1 @@ -27091,7 +27808,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &486 + items: &489 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -27145,7 +27862,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &487 + items: &490 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -27155,7 +27872,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *203 + custom_pattern_version: *206 post_delete_action: type: string description: |- @@ -27168,7 +27885,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &488 + default: &491 value: patterns: - pattern_id: 2 @@ -27179,7 +27896,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': &204 + '412': &207 description: Precondition Failed content: application/json: @@ -27214,7 +27931,7 @@ paths: required: true content: application/json: - schema: &489 + schema: &492 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`, @@ -27253,9 +27970,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *203 + custom_pattern_version: *206 examples: - default: &490 + default: &493 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27270,9 +27987,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: &491 + default: &494 value: id: 1 name: Example Custom Pattern @@ -27292,7 +28009,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/enterprises/{enterprise}/secret-scanning/pattern-configurations": get: @@ -27319,17 +28036,17 @@ paths: description: Response content: application/json: - schema: &492 + schema: &495 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: *203 + pattern_config_version: *206 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &205 + items: &208 type: object properties: token_type: @@ -27395,9 +28112,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *205 + items: *208 examples: - default: &493 + default: &496 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27452,7 +28169,7 @@ paths: schema: type: object properties: - pattern_config_version: *203 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -27478,7 +28195,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *203 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27533,7 +28250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *38 - - &496 + - &499 name: advanced_security_product in: query description: | @@ -27553,7 +28270,7 @@ paths: description: Success content: application/json: - schema: &497 + schema: &500 type: object properties: total_advanced_security_committers: @@ -27608,7 +28325,7 @@ paths: required: - repositories examples: - default: &498 + default: &501 value: total_advanced_security_committers: 2 total_count: 2 @@ -27650,7 +28367,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *38 - - &209 + - &212 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, @@ -27659,7 +28376,7 @@ paths: required: false schema: type: integer - - &210 + - &213 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 @@ -27668,7 +28385,7 @@ paths: required: false schema: type: integer - - &211 + - &214 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 @@ -27677,7 +28394,7 @@ paths: required: false schema: type: integer - - &212 + - &215 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -27685,21 +28402,21 @@ paths: required: false schema: type: string - - &213 + - &216 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &214 + - &217 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &218 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -27838,7 +28555,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28399,7 +29116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *38 - - &206 + - &209 name: budget_id description: The ID corresponding to the budget. in: path @@ -28508,7 +29225,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28824,7 +29541,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *38 - - *206 + - *209 responses: '200': description: Response when deleting a budget @@ -28851,7 +29568,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28875,7 +29592,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *38 - - *206 + - *209 - name: page description: The page number of results to fetch. in: query @@ -28971,7 +29688,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29112,7 +29829,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29297,7 +30014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *38 - - &208 + - &211 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -29379,7 +30096,7 @@ paths: - name - resources examples: - default: &207 + default: &210 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -29397,7 +30114,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29535,15 +30252,15 @@ paths: - name - resources examples: - update-cost-center: *207 - update-cost-center-with-cap: *207 + update-cost-center: *210 + update-cost-center-with-cap: *210 '400': *14 '403': *29 '404': *6 '409': *118 '422': *15 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29565,7 +30282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *38 - - *208 + - *211 responses: '200': description: Response when deleting a cost center @@ -29604,7 +30321,7 @@ paths: '404': *6 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29625,7 +30342,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *38 - - *208 + - *211 requestBody: required: true content: @@ -29705,7 +30422,7 @@ paths: '403': *29 '409': *118 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29725,7 +30442,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *38 - - *208 + - *211 requestBody: required: true content: @@ -29777,7 +30494,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29798,13 +30515,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *38 - - *209 - - *210 - - *211 - *212 - *213 - *214 - *215 + - *216 + - *217 + - *218 - 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. @@ -29937,7 +30654,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29971,7 +30688,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &216 + items: &219 type: object properties: id: @@ -30062,7 +30779,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30126,9 +30843,9 @@ paths: description: Report export request accepted content: application/json: - schema: *216 + schema: *219 examples: - usage-report-export: &217 + usage-report-export: &220 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -30144,7 +30861,7 @@ paths: '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30179,14 +30896,14 @@ paths: description: Usage report export details content: application/json: - schema: *216 + schema: *219 examples: - usage-report-export: *217 + usage-report-export: *220 '401': *25 '403': *29 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30207,7 +30924,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *38 - - *209 + - *212 - 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 @@ -30216,7 +30933,7 @@ paths: required: false schema: type: integer - - *211 + - *214 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -30299,7 +31016,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30320,17 +31037,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *38 - - *209 - - *210 - - *211 - *212 + - *213 + - *214 + - *215 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *215 + - *218 - name: sku description: The SKU to query for usage. in: query @@ -30463,7 +31180,7 @@ paths: '400': *14 '403': *29 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30490,9 +31207,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *153 + default: *156 headers: Link: *44 '403': *29 @@ -30579,9 +31296,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: &223 + default: &226 value: id: 1 name: Justice League @@ -30610,7 +31327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *38 - - &218 + - &221 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -30629,7 +31346,7 @@ paths: type: array items: *4 examples: - default: &219 + default: &222 value: - login: octocat id: 1 @@ -30668,7 +31385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30699,7 +31416,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30717,7 +31434,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30748,7 +31465,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30766,7 +31483,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *38 - - *218 + - *221 - *131 responses: '200': @@ -30775,7 +31492,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &220 + exampleKey1: &223 value: login: octocat id: 1 @@ -30811,7 +31528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *38 - - *218 + - *221 - *131 responses: '201': @@ -30820,7 +31537,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *220 + exampleKey1: *223 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30838,7 +31555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *38 - - *218 + - *221 - *131 responses: '204': @@ -30861,7 +31578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *38 - - *218 + - *221 - *17 - *19 responses: @@ -30873,7 +31590,7 @@ paths: type: array items: *72 examples: - default: &221 + default: &224 value: login: github id: 1 @@ -30904,7 +31621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -30934,7 +31651,7 @@ paths: type: array items: *72 examples: - default: &262 + default: &265 value: - login: github id: 1 @@ -30965,7 +31682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *38 - - *218 + - *221 requestBody: required: true content: @@ -31006,7 +31723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '200': @@ -31015,7 +31732,7 @@ paths: application/json: schema: *72 examples: - default: *221 + default: *224 '404': description: The team is not assigned to the organization x-github: @@ -31034,7 +31751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '201': @@ -31043,7 +31760,7 @@ paths: application/json: schema: *72 examples: - default: *221 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31060,7 +31777,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *38 - - *218 + - *221 - *86 responses: '204': @@ -31085,7 +31802,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *38 - - &222 + - &225 name: team_slug description: The slug of the team name. in: path @@ -31200,7 +31917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *38 - - *222 + - *225 requestBody: required: true content: @@ -31265,9 +31982,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *223 + default: *226 headers: Link: *44 '403': *29 @@ -31290,7 +32007,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *38 - - *222 + - *225 responses: '204': description: Response @@ -31342,7 +32059,7 @@ paths: type: integer visual_studio_subscriptions: type: array - items: &224 + items: &227 title: Visual Studio Subscription Assignment description: Visual Studio Subscription Assignment type: object @@ -31428,7 +32145,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -31471,7 +32188,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -31575,7 +32292,7 @@ paths: application/json: schema: type: array - items: &257 + items: &260 title: Event description: Event type: object @@ -31585,7 +32302,7 @@ paths: type: type: string nullable: true - actor: &225 + actor: &228 title: Actor description: Actor type: object @@ -31625,7 +32342,7 @@ paths: - id - name - url - org: *225 + org: *228 payload: oneOf: - title: CreateEvent @@ -31671,7 +32388,7 @@ paths: properties: action: type: string - discussion: &960 + discussion: &963 title: Discussion description: A Discussion in a repository. type: object @@ -31958,7 +32675,7 @@ paths: - id labels: type: array - items: &230 + items: &233 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -32049,12 +32766,12 @@ paths: properties: action: type: string - issue: &231 + issue: &234 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &711 + properties: &714 id: type: integer format: int64 @@ -32173,7 +32890,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &439 + properties: &442 url: type: string format: uri @@ -32243,7 +32960,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &440 + required: &443 - closed_issues - creator - description @@ -32322,7 +33039,7 @@ paths: timeline_url: type: string format: uri - type: &404 + type: &407 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -32385,9 +33102,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - author_association: &228 + properties: *229 + required: *230 + author_association: &231 title: author_association type: string example: OWNER @@ -32402,7 +33119,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &229 + reactions: &232 title: Reaction Rollup type: object properties: @@ -32438,7 +33155,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &876 + sub_issues_summary: &879 title: Sub-issues Summary type: object properties: @@ -32463,7 +33180,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &232 + properties: &235 id: description: Unique identifier of the issue comment example: 42 @@ -32506,7 +33223,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *231 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -32517,15 +33234,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *229 + required: *230 + reactions: *232 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &741 + properties: &744 pinned_at: type: string format: date-time @@ -32537,7 +33254,7 @@ paths: properties: *20 required: *21 nullable: true - required: &742 + required: &745 - pinned_at - pinned_by nullable: true @@ -32546,16 +33263,16 @@ paths: description: Details about why an issue comment was minimized. type: object - properties: &743 + properties: &746 reason: description: The reason the comment was minimized. type: string nullable: true example: low-quality - required: &744 + required: &747 - reason nullable: true - required: &233 + required: &236 - id - node_id - html_url @@ -32565,7 +33282,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &877 + issue_dependencies_summary: &880 title: Issue Dependencies Summary type: object properties: @@ -32584,7 +33301,7 @@ paths: - total_blocking issue_field_values: type: array - items: &723 + items: &726 title: Issue Field Value description: A value assigned to an issue field type: object @@ -32676,7 +33393,7 @@ paths: - node_id - data_type - value - required: &712 + required: &715 - assignee - closed_at - comments @@ -32697,7 +33414,7 @@ paths: - user - created_at - updated_at - x-github-breaking-changes: &713 + x-github-breaking-changes: &716 - changeset: deprecate_beta_media_type patch: properties: @@ -32744,10 +33461,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *233 labels: type: array - items: *230 + items: *233 required: - action - issue @@ -32756,14 +33473,14 @@ paths: properties: action: type: string - issue: *231 - comment: &707 + issue: *234 + comment: &710 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 required: - action - issue @@ -32936,8 +33653,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true allow_forking: type: boolean @@ -33026,7 +33743,7 @@ paths: type: string number: type: integer - pull_request: &236 + pull_request: &239 title: Pull Request Minimal type: object properties: @@ -33097,10 +33814,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *233 labels: type: array - items: *230 + items: *233 required: - action - number @@ -33110,7 +33827,7 @@ paths: properties: action: type: string - pull_request: *236 + pull_request: *239 comment: type: object properties: @@ -33361,7 +34078,7 @@ paths: - pull_request updated_at: type: string - pull_request: *236 + pull_request: *239 required: - action - review @@ -33410,7 +34127,7 @@ paths: updated_at: type: string format: date-time - reactions: *229 + reactions: *232 required: - action - comment @@ -33421,7 +34138,7 @@ paths: type: string release: allOf: - - &792 + - &795 title: Release description: A release. type: object @@ -33492,7 +34209,7 @@ paths: author: *4 assets: type: array - items: &793 + items: &796 title: Release Asset description: Data related to a release. type: object @@ -33567,7 +34284,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *229 + reactions: *232 required: - assets_url - upload_url @@ -33659,7 +34376,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *34 '403': *29 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33740,7 +34457,7 @@ paths: _links: type: object properties: - timeline: &237 + timeline: &240 title: Link With Type description: Hypermedia Link with Type type: object @@ -33752,17 +34469,17 @@ paths: required: - href - type - user: *237 - security_advisories: *237 - current_user: *237 - current_user_public: *237 - current_user_actor: *237 - current_user_organization: *237 + user: *240 + security_advisories: *240 + current_user: *240 + current_user_public: *240 + current_user_actor: *240 + current_user_organization: *240 current_user_organizations: type: array - items: *237 - repository_discussions: *237 - repository_discussions_category: *237 + items: *240 + repository_discussions: *240 + repository_discussions_category: *240 required: - timeline - user @@ -33824,7 +34541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *238 + - *241 - *17 - *19 responses: @@ -33834,7 +34551,7 @@ paths: application/json: schema: type: array - items: &239 + items: &242 title: Base Gist description: Base Gist type: object @@ -33962,7 +34679,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &240 + default: &243 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -34083,7 +34800,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &244 title: Gist Simple description: Gist Simple type: object @@ -34100,7 +34817,7 @@ paths: url: type: string format: uri - user: &885 + user: &888 title: Public User description: Public User type: object @@ -34470,7 +35187,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &242 + default: &245 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -34574,7 +35291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *238 + - *241 - *17 - *19 responses: @@ -34584,9 +35301,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '422': *15 @@ -34608,7 +35325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *238 + - *241 - *17 - *19 responses: @@ -34618,9 +35335,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '401': *25 @@ -34647,7 +35364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &243 + - &246 name: gist_id description: The unique identifier of the gist. in: path @@ -34659,10 +35376,10 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 - '403': &246 + default: *245 + '403': &249 description: Forbidden Gist content: application/json: @@ -34709,7 +35426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *243 + - *246 requestBody: required: true content: @@ -34769,9 +35486,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - updateGist: *242 + updateGist: *245 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -34929,7 +35646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -34957,7 +35674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *243 + - *246 - *17 - *19 responses: @@ -34967,7 +35684,7 @@ paths: application/json: schema: type: array - items: &244 + items: &247 title: Gist Comment description: A comment made to a gist. type: object @@ -35002,7 +35719,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *228 + author_association: *231 required: - url - id @@ -35066,7 +35783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *243 + - *246 requestBody: required: true content: @@ -35091,9 +35808,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: &245 + default: &248 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -35150,8 +35867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *243 - - &247 + - *246 + - &250 name: comment_id description: The unique identifier of the comment. in: path @@ -35164,12 +35881,12 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: *245 + default: *248 '304': *34 '404': *6 - '403': *246 + '403': *249 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35190,8 +35907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *243 - - *247 + - *246 + - *250 requestBody: required: true content: @@ -35216,9 +35933,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *247 examples: - default: *245 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -35235,8 +35952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *243 - - *247 + - *246 + - *250 responses: '204': description: Response @@ -35259,7 +35976,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *243 + - *246 - *17 - *19 responses: @@ -35360,7 +36077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *243 + - *246 - *17 - *19 responses: @@ -35370,7 +36087,7 @@ paths: application/json: schema: type: array - items: *241 + items: *244 examples: default: value: @@ -35435,13 +36152,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *243 + - *246 responses: '201': description: Response content: application/json: - schema: *239 + schema: *242 examples: default: value: @@ -35518,7 +36235,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *243 + - *246 responses: '204': description: Response if gist is starred @@ -35548,7 +36265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -35570,7 +36287,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *243 + - *246 responses: '204': description: Response @@ -35598,7 +36315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *243 + - *246 - name: sha in: path required: true @@ -35609,9 +36326,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '422': *15 '404': *6 '403': *29 @@ -35991,7 +36708,7 @@ paths: - closed - all default: open - - &407 + - &410 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -36010,7 +36727,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - name: collab in: query required: false @@ -36040,9 +36757,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: &408 + default: &411 value: - id: 1 node_id: MDU6SXNzdWUx @@ -36326,8 +37043,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 examples: default: value: @@ -36612,7 +37329,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &248 + X-CommonMarker-Version: &251 example: 0.17.4 schema: type: string @@ -36667,7 +37384,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *248 + X-CommonMarker-Version: *251 content: text/html: schema: @@ -36696,7 +37413,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: - - &251 + - &254 name: account_id description: account_id parameter in: path @@ -36708,7 +37425,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &253 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -36738,7 +37455,7 @@ paths: nullable: true id: type: integer - plan: &249 + plan: &252 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -36827,7 +37544,7 @@ paths: nullable: true updated_at: type: string - plan: *249 + plan: *252 required: - url - id @@ -36835,7 +37552,7 @@ paths: - login - marketplace_purchase examples: - default: &252 + default: &255 value: url: https://api.github.com/orgs/github type: Organization @@ -36920,9 +37637,9 @@ paths: application/json: schema: type: array - items: *249 + items: *252 examples: - default: &253 + default: &256 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -36962,14 +37679,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &254 + - &257 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &255 + - &258 name: sort description: The property to sort the results by. in: query @@ -36999,9 +37716,9 @@ paths: application/json: schema: type: array - items: *250 + items: *253 examples: - default: &256 + default: &259 value: - url: https://api.github.com/orgs/github type: Organization @@ -37075,15 +37792,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: - - *251 + - *254 responses: '200': description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *252 + default: *255 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -37115,9 +37832,9 @@ paths: application/json: schema: type: array - items: *249 + items: *252 examples: - default: *253 + default: *256 headers: Link: *44 '401': *25 @@ -37140,8 +37857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *254 - - *255 + - *257 + - *258 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -37161,9 +37878,9 @@ paths: application/json: schema: type: array - items: *250 + items: *253 examples: - default: *256 + default: *259 headers: Link: *44 '401': *25 @@ -37441,14 +38158,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: - - &511 + - &514 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &512 + - &515 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -37465,7 +38182,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -37510,7 +38227,7 @@ paths: '404': *6 '403': *29 '304': *34 - '301': &517 + '301': &520 description: Moved permanently content: application/json: @@ -37532,7 +38249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &764 + - &767 name: all description: If `true`, show notifications marked as read. in: query @@ -37540,7 +38257,7 @@ paths: schema: type: boolean default: false - - &765 + - &768 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -37549,8 +38266,8 @@ paths: schema: type: boolean default: false - - *238 - - &766 + - *241 + - &769 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: @@ -37575,18 +38292,18 @@ paths: application/json: schema: type: array - items: &258 + items: &261 title: Thread description: Thread type: object properties: id: type: string - repository: &292 + repository: &295 title: Minimal Repository description: Minimal Repository type: object - properties: &371 + properties: &374 id: type: integer format: int64 @@ -37872,7 +38589,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &454 + security_and_analysis: &457 nullable: true type: object properties: @@ -38000,7 +38717,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &372 + required: &375 - archive_url - assignees_url - blobs_url @@ -38047,7 +38764,7 @@ paths: - teams_url - trees_url - url - x-github-breaking-changes: &373 + x-github-breaking-changes: &376 - changeset: remove_has_downloads patch: properties: @@ -38094,7 +38811,7 @@ paths: - url - subscription_url examples: - default: &767 + default: &770 value: - id: '1' repository: @@ -38260,7 +38977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &259 + - &262 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 @@ -38274,7 +38991,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *261 examples: default: value: @@ -38377,7 +39094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *259 + - *262 responses: '205': description: Reset Content @@ -38400,7 +39117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *259 + - *262 responses: '204': description: No content @@ -38423,13 +39140,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: - - *259 + - *262 responses: '200': description: Response content: application/json: - schema: &260 + schema: &263 title: Thread Subscription description: Thread Subscription type: object @@ -38466,7 +39183,7 @@ paths: - url - subscribed examples: - default: &261 + default: &264 value: subscribed: true ignored: false @@ -38497,7 +39214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *259 + - *262 requestBody: required: false content: @@ -38518,9 +39235,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *263 examples: - default: *261 + default: *264 '304': *34 '403': *29 '401': *25 @@ -38543,7 +39260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *259 + - *262 responses: '204': description: Response @@ -38640,7 +39357,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: example: ; rel="next" @@ -38691,7 +39408,7 @@ paths: type: integer custom_roles: type: array - items: &348 + items: &351 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -38739,7 +39456,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &352 value: id: 8030 name: Security Engineer @@ -38805,7 +39522,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &266 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -38843,7 +39560,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *266 examples: selected_actions: *41 responses: @@ -38878,7 +39595,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &267 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -38916,7 +39633,7 @@ paths: required: true content: application/json: - schema: *264 + schema: *267 examples: selected_actions: *43 responses: @@ -38957,9 +39674,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: &773 + default: &776 value: - property_name: environment value: production @@ -39005,11 +39722,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *161 + items: *164 required: - properties examples: - default: &774 + default: &777 value: properties: - property_name: environment @@ -39056,7 +39773,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &268 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -39399,7 +40116,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &266 + default-response: &269 value: login: github id: 1 @@ -39730,17 +40447,17 @@ paths: description: Response content: application/json: - schema: *265 + schema: *268 examples: - default: *266 + default: *269 '422': description: Validation failed content: application/json: schema: oneOf: - - *267 - - *268 + - *270 + - *271 '409': *118 x-github: githubCloudOnly: false @@ -39811,9 +40528,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 headers: Link: *44 x-github: @@ -39854,7 +40571,7 @@ paths: type: integer repository_cache_usages: type: array - items: &524 + items: &527 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -39929,7 +40646,7 @@ paths: type: array items: *45 examples: - default: *271 + default: *274 headers: Link: *44 x-github: @@ -40095,7 +40812,7 @@ paths: application/json: schema: *46 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40187,7 +40904,7 @@ paths: application/json: schema: *49 examples: - default: *273 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40306,9 +41023,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *275 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40344,7 +41061,7 @@ paths: type: array items: *53 examples: - default: *276 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40587,7 +41304,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *280 examples: default: *57 responses: @@ -40680,7 +41397,7 @@ paths: required: - include_claim_keys examples: - default: &278 + default: &281 value: include_claim_keys: - repo @@ -40725,13 +41442,13 @@ paths: format. type: boolean examples: - default: *278 + default: *281 responses: '201': description: Empty response content: application/json: - schema: &303 + schema: &306 title: Empty Object description: An object without any properties. type: object @@ -40770,7 +41487,7 @@ paths: schema: type: object properties: - enabled_repositories: &280 + enabled_repositories: &283 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -40784,7 +41501,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *59 - selected_actions_url: *279 + selected_actions_url: *282 sha_pinning_required: *60 required: - enabled_repositories @@ -40826,7 +41543,7 @@ paths: schema: type: object properties: - enabled_repositories: *280 + enabled_repositories: *283 allowed_actions: *59 sha_pinning_required: *60 required: @@ -40862,7 +41579,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: response: summary: Example response @@ -40893,7 +41610,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: application/json: value: @@ -40931,7 +41648,7 @@ paths: application/json: schema: *61 examples: - default: *283 + default: *286 '404': *6 x-github: enabledForGitHubApps: true @@ -40988,7 +41705,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *287 examples: default: *62 '403': *29 @@ -41013,7 +41730,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *288 examples: default: *62 responses: @@ -41065,7 +41782,7 @@ paths: type: array items: *77 examples: - default: &287 + default: &290 value: total_count: 1 repositories: @@ -41250,7 +41967,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *86 - - &286 + - &289 name: repository_id description: The unique identifier of the repository. in: path @@ -41279,7 +41996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -41475,7 +42192,7 @@ paths: type: array items: *77 examples: - default: *287 + default: *290 '403': *29 '404': *6 x-github: @@ -41544,7 +42261,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: - *86 - - *286 + - *289 responses: '204': description: No content @@ -41571,7 +42288,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: - *86 - - *286 + - *289 responses: '204': description: No content @@ -41605,7 +42322,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: *68 x-github: @@ -41639,7 +42356,7 @@ paths: required: false content: application/json: - schema: *289 + schema: *292 examples: default: *68 x-github: @@ -41686,7 +42403,7 @@ paths: type: number runner_groups: type: array - items: &290 + items: &293 type: object properties: id: @@ -41874,9 +42591,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: - default: &291 + default: &294 value: id: 2 name: octo-runner-group @@ -41918,7 +42635,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: default: value: @@ -42009,9 +42726,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *293 examples: - default: *291 + default: *294 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -42075,7 +42792,7 @@ paths: type: array items: *45 examples: - default: *271 + default: *274 headers: Link: *44 x-github: @@ -42116,9 +42833,9 @@ paths: type: number repositories: type: array - items: *292 + items: *295 examples: - default: &346 + default: &349 value: total_count: 1 repositories: @@ -42417,7 +43134,7 @@ paths: parameters: - *86 - *71 - - *286 + - *289 responses: '204': description: Response @@ -42441,7 +43158,7 @@ paths: parameters: - *86 - *71 - - *286 + - *289 responses: '204': description: Response @@ -42722,9 +43439,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42789,7 +43506,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *298 '404': *6 '422': *7 '409': *118 @@ -42828,7 +43545,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42864,7 +43581,7 @@ paths: application/json: schema: *78 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42895,7 +43612,7 @@ paths: application/json: schema: *75 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43070,7 +43787,7 @@ paths: - *86 - *74 responses: - '200': *299 + '200': *302 '404': *6 x-github: githubCloudOnly: false @@ -43099,7 +43816,7 @@ paths: parameters: - *86 - *74 - - *300 + - *303 responses: '200': *80 '404': *6 @@ -43144,7 +43861,7 @@ paths: type: integer secrets: type: array - items: &301 + items: &304 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -43176,7 +43893,7 @@ paths: - updated_at - visibility examples: - default: &307 + default: &310 value: total_count: 3 secrets: @@ -43223,7 +43940,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &311 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -43252,7 +43969,7 @@ paths: - key_id - key examples: - default: &309 + default: &312 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43278,7 +43995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *86 - - &302 + - &305 name: secret_name description: The name of the secret. in: path @@ -43290,9 +44007,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: &310 + default: &313 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43321,7 +44038,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -43378,7 +44095,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -43405,7 +44122,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -43432,7 +44149,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -43450,9 +44167,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: &306 + default: &309 value: total_count: 1 repositories: @@ -43545,7 +44262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -43598,7 +44315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -43632,7 +44349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -43665,7 +44382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *86 - - &311 + - &314 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)." @@ -43689,7 +44406,7 @@ paths: type: integer variables: type: array - items: &304 + items: &307 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -43732,7 +44449,7 @@ paths: - updated_at - visibility examples: - default: &312 + default: &315 value: total_count: 3 variables: @@ -43822,7 +44539,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -43848,7 +44565,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *86 - - &305 + - &308 name: name description: The name of the variable. in: path @@ -43860,9 +44577,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *307 examples: - default: &313 + default: &316 value: name: USERNAME value: octocat @@ -43891,7 +44608,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -43954,7 +44671,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '204': description: Response @@ -43981,7 +44698,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 - *19 - *17 responses: @@ -43999,9 +44716,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44028,7 +44745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -44078,7 +44795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -44113,7 +44830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -44165,9 +44882,9 @@ paths: type: integer secrets: type: array - items: *301 + items: *304 examples: - default: *307 + default: *310 headers: Link: *44 x-github: @@ -44198,9 +44915,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44223,15 +44940,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: *310 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44254,7 +44971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -44311,7 +45028,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -44338,7 +45055,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -44365,7 +45082,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -44383,9 +45100,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44409,7 +45126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -44462,7 +45179,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -44496,7 +45213,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -44530,7 +45247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *86 - - *311 + - *314 - *19 responses: '200': @@ -44547,9 +45264,9 @@ paths: type: integer variables: type: array - items: *304 + items: *307 examples: - default: *312 + default: *315 headers: Link: *44 x-github: @@ -44620,7 +45337,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -44646,15 +45363,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '200': description: Response content: application/json: - schema: *304 + schema: *307 examples: - default: *313 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44676,7 +45393,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -44739,7 +45456,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *86 - - *305 + - *308 responses: '204': description: Response @@ -44766,7 +45483,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 - *19 - *17 responses: @@ -44784,9 +45501,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44813,7 +45530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *86 - - *305 + - *308 requestBody: required: true content: @@ -44863,7 +45580,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -44898,7 +45615,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *86 - - *305 + - *308 - name: repository_id in: path required: true @@ -44956,7 +45673,7 @@ paths: required: true content: application/json: - schema: *314 + schema: *317 examples: default: *84 parameters: @@ -45140,7 +45857,7 @@ paths: type: integer deployment_records: type: array - items: &315 + items: &318 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -45186,7 +45903,7 @@ paths: required: - total_count examples: - default: &316 + default: &319 value: total_count: 1 deployment_records: @@ -45374,11 +46091,11 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 required: - total_count examples: - default: *316 + default: *319 '207': description: | This response format is only returned when `partial_success` is set to true in the request body. @@ -45395,7 +46112,7 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 errors: type: array description: A list of errors for deployments that could not be @@ -45975,9 +46692,9 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *318 examples: - default: *316 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46106,12 +46823,12 @@ paths: required: - subject_digests examples: - default: &918 + default: &921 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &919 + withPredicateType: &922 value: subject_digests: - sha256:abc123 @@ -46169,7 +46886,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &920 + default: &923 value: attestations_subject_digests: - sha256:abc: @@ -46534,7 +47251,7 @@ paths: initiator: type: string examples: - default: &557 + default: &560 value: attestations: - repository_id: 1 @@ -46592,7 +47309,7 @@ paths: required: false schema: type: string - - *317 + - *320 - *128 - *129 - *130 @@ -46604,9 +47321,9 @@ paths: application/json: schema: type: array - items: *318 + items: *321 examples: - default: *319 + default: *322 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46635,7 +47352,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46729,7 +47446,7 @@ paths: subcategory: bypass-requests parameters: - *86 - - &322 + - &325 name: repository_name description: The name of the repository to filter on. in: query @@ -46748,9 +47465,9 @@ paths: application/json: schema: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 '404': *6 '500': *37 "/orgs/{org}/bypass-requests/secret-scanning": @@ -46774,7 +47491,7 @@ paths: subcategory: delegated-bypass parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 @@ -46788,9 +47505,9 @@ paths: application/json: schema: type: array - items: *323 + items: *326 examples: - default: *324 + default: *327 '404': *6 '500': *37 "/orgs/{org}/campaigns": @@ -46817,7 +47534,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &326 + schema: &329 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -46843,7 +47560,7 @@ paths: application/json: schema: type: array - items: &327 + items: &330 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -46874,7 +47591,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *325 + items: *328 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -46892,7 +47609,7 @@ paths: type: string format: date-time nullable: true - state: *326 + state: *329 contact_link: description: The contact link of the campaign. type: string @@ -46989,7 +47706,7 @@ paths: headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47112,9 +47829,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: &328 + default: &331 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -47163,7 +47880,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47197,16 +47914,16 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: *328 + default: *331 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47276,7 +47993,7 @@ paths: type: string format: uri nullable: true - state: *326 + state: *329 examples: default: value: @@ -47286,9 +48003,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: *328 + default: *331 '400': description: Bad Request content: @@ -47300,7 +48017,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47332,7 +48049,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47365,7 +48082,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &332 title: Code scanning AI Scan organization settings description: The AI Scan organization setting type: object @@ -47384,7 +48101,7 @@ paths: required: - pr_scan examples: - default: &330 + default: &333 value: pr_scan: enabled '403': *29 @@ -47443,9 +48160,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 '403': *29 '404': *6 '422': *15 @@ -47471,8 +48188,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *86 - - *331 - - *332 + - *334 + - *335 - *107 - *108 - *19 @@ -47483,7 +48200,7 @@ paths: be returned. in: query required: false - schema: *333 + schema: *336 - name: sort description: The property by which to sort the results. in: query @@ -47499,7 +48216,7 @@ paths: be returned. in: query required: false - schema: &587 + schema: &590 type: string description: Severity of a code scanning alert. enum: @@ -47525,13 +48242,13 @@ paths: application/json: schema: type: array - items: *334 + items: *337 examples: - default: *335 + default: *338 headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47902,7 +48619,7 @@ paths: application/json: schema: *113 examples: - default: *336 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47930,9 +48647,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *340 examples: - default: *338 + default: *341 '304': *34 '403': *29 '404': *6 @@ -48021,7 +48738,7 @@ paths: application/json: schema: *113 examples: - default: *336 + default: *339 '304': *34 '403': *29 '404': *6 @@ -48466,7 +49183,7 @@ paths: default: value: default_for_new_repos: all - configuration: *336 + configuration: *339 '403': *29 '404': *6 x-github: @@ -48519,13 +49236,13 @@ paths: application/json: schema: type: array - items: *339 + items: *342 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *340 + repository: *343 '403': *29 '404': *6 x-github: @@ -48565,7 +49282,7 @@ paths: type: integer codespaces: type: array - items: &409 + items: &412 type: object title: Codespace description: A codespace. @@ -48590,12 +49307,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *292 + repository: *295 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &620 + properties: &623 name: type: string description: The name of the machine. @@ -48637,7 +49354,7 @@ paths: - ready - in_progress nullable: true - required: &621 + required: &624 - name - display_name - operating_system @@ -48842,7 +49559,7 @@ paths: - pulls_url - recent_folders examples: - default: &410 + default: &413 value: total_count: 3 codespaces: @@ -49466,7 +50183,7 @@ paths: type: integer secrets: type: array - items: &341 + items: &344 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -49505,7 +50222,7 @@ paths: - updated_at - visibility examples: - default: &622 + default: &625 value: total_count: 2 secrets: @@ -49543,7 +50260,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &626 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -49572,7 +50289,7 @@ paths: - key_id - key examples: - default: &624 + default: &627 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -49596,15 +50313,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *341 + schema: *344 examples: - default: &626 + default: &629 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49632,7 +50349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -49687,7 +50404,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -49714,7 +50431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -49740,7 +50457,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -49758,9 +50475,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -49783,7 +50500,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -49834,7 +50551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -49868,7 +50585,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -49938,7 +50655,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &342 + items: &345 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -50319,9 +51036,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: &343 + default: &346 summary: Example response for an organization copilot space value: id: 84 @@ -50426,9 +51143,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '403': *29 '404': *6 x-github: @@ -50554,9 +51271,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '403': *29 '404': *6 '422': *15 @@ -50639,7 +51356,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &344 + items: &347 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -50862,7 +51579,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: user: value: @@ -50992,7 +51709,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: user: value: @@ -51143,7 +51860,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &345 + items: &348 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -51286,7 +52003,7 @@ paths: description: Resource created content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -51302,7 +52019,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -51357,7 +52074,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -51426,7 +52143,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -51668,9 +52385,9 @@ paths: currently being billed. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 headers: Link: *44 '500': *37 @@ -52154,12 +52871,12 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 required: - total_count - repositories examples: - default: *346 + default: *349 '500': *37 '401': *25 '403': *29 @@ -52245,7 +52962,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: - *86 - - *286 + - *289 responses: '204': description: No Content @@ -52279,7 +52996,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: - *86 - - *286 + - *289 responses: '204': description: No Content @@ -52427,7 +53144,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *347 + '413': *350 '422': *7 x-github: githubCloudOnly: @@ -53213,7 +53930,7 @@ paths: type: integer custom_roles: type: array - items: *348 + items: *351 examples: default: value: @@ -53305,7 +54022,7 @@ paths: required: true content: application/json: - schema: &350 + schema: &353 type: object properties: name: @@ -53346,9 +54063,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -53373,15 +54090,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '404': *6 x-github: githubCloudOnly: true @@ -53404,12 +54121,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: application/json: - schema: &351 + schema: &354 type: object properties: name: @@ -53447,9 +54164,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -53474,7 +54191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -53507,7 +54224,7 @@ paths: required: true content: application/json: - schema: *350 + schema: *353 examples: default: value: @@ -53521,9 +54238,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -53554,15 +54271,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '404': *6 x-github: githubCloudOnly: true @@ -53591,12 +54308,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: application/json: - schema: *351 + schema: *354 examples: default: value: @@ -53611,9 +54328,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 '404': *6 x-github: @@ -53644,7 +54361,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -53673,12 +54390,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *86 - - *352 - - *353 - - *354 - *355 - *356 - *357 + - *358 + - *359 + - *360 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -53708,7 +54425,7 @@ paths: enum: - patch - deployment - - *358 + - *361 - name: runtime_risk in: query description: |- @@ -53717,9 +54434,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *359 - - *360 - - *361 + - *362 + - *363 + - *364 - *109 - *107 - *108 @@ -53731,9 +54448,9 @@ paths: application/json: schema: type: array - items: *362 + items: *365 examples: - default: *363 + default: *366 '304': *34 '400': *14 '403': *29 @@ -53782,9 +54499,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *367 examples: - default: *365 + default: *368 '403': *29 '404': *6 x-github: @@ -53947,7 +54664,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &369 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -54024,7 +54741,7 @@ paths: description: Response content: application/json: - schema: &656 + schema: &659 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -54041,7 +54758,7 @@ paths: - key_id - key examples: - default: &657 + default: &660 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -54065,13 +54782,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: default: value: @@ -54100,7 +54817,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -54157,7 +54874,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -54190,7 +54907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -54215,7 +54932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 - *19 - *17 responses: @@ -54233,9 +54950,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54257,7 +54974,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -54308,7 +55025,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -54340,7 +55057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *86 - - *302 + - *305 - name: repository_id in: path required: true @@ -54377,7 +55094,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - &666 + - &669 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -54385,7 +55102,7 @@ paths: required: false schema: type: string - - &667 + - &670 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -54393,7 +55110,7 @@ paths: required: false schema: type: string - - &668 + - &671 name: time_period description: |- The time period to filter by. @@ -54409,7 +55126,7 @@ paths: - week - month default: month - - &669 + - &672 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -54424,7 +55141,7 @@ paths: - denied - all default: all - - *322 + - *325 - *17 - *19 responses: @@ -54434,7 +55151,7 @@ paths: application/json: schema: type: array - items: &670 + items: &673 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -54540,7 +55257,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &368 + items: &371 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -54590,7 +55307,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &671 + default: &674 value: - id: 21 number: 42 @@ -54678,11 +55395,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -54692,7 +55409,7 @@ paths: application/json: schema: type: array - items: &672 + items: &675 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -54798,7 +55515,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *368 + items: *371 url: type: string format: uri @@ -54809,7 +55526,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &673 + default: &676 value: - id: 21 number: 42 @@ -54897,11 +55614,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *86 - - *322 + - *325 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -54911,9 +55628,9 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: - default: *370 + default: *373 '404': *6 '403': *29 '500': *37 @@ -54939,7 +55656,7 @@ paths: application/json: schema: type: array - items: &420 + items: &423 title: Package description: A software package type: object @@ -54989,9 +55706,9 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *371 - required: *372 - x-github-breaking-changes: *373 + properties: *374 + required: *375 + x-github-breaking-changes: *376 nullable: true created_at: type: string @@ -55010,7 +55727,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &424 value: - id: 197 name: hello_docker @@ -55098,7 +55815,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: 200-response: value: @@ -55197,7 +55914,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &511 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -55278,7 +55995,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &509 + default: &512 value: group_id: '123' group_name: Octocat admins @@ -55333,7 +56050,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &508 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -55370,7 +56087,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &506 + default: &509 value: groups: - group_id: '123' @@ -55415,7 +56132,7 @@ paths: application/json: schema: type: array - items: &398 + items: &401 title: Organization Invitation description: Organization Invitation type: object @@ -55462,7 +56179,7 @@ paths: - invitation_teams_url - node_id examples: - default: &399 + default: &402 value: - id: 1 login: monalisa @@ -55529,7 +56246,7 @@ paths: application/json: schema: type: array - items: &455 + items: &458 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -55543,7 +56260,7 @@ paths: - name - description examples: - default: &456 + default: &459 value: - name: add_assignee description: Assign or remove a user @@ -55584,7 +56301,7 @@ paths: application/json: schema: type: array - items: &374 + items: &377 title: Org Hook description: Org Hook type: object @@ -55753,9 +56470,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: &375 + default: &378 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -55800,7 +56517,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *86 - - &376 + - &379 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. @@ -55813,9 +56530,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *375 + default: *378 '404': *6 x-github: githubCloudOnly: false @@ -55837,7 +56554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *86 - - *376 + - *379 requestBody: required: false content: @@ -55882,7 +56599,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: default: value: @@ -55922,7 +56639,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *86 - - *376 + - *379 responses: '204': description: Response @@ -55948,7 +56665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *86 - - *376 + - *379 responses: '200': description: Response @@ -55977,7 +56694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *86 - - *376 + - *379 requestBody: required: false content: @@ -56026,10 +56743,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *86 - - *376 + - *379 - *17 - - *377 - - *378 + - *380 + - *381 responses: '200': description: Response @@ -56037,9 +56754,9 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: - default: *380 + default: *383 '400': *14 '422': *15 x-github: @@ -56063,16 +56780,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *86 - - *376 + - *379 - *16 responses: '200': description: Response content: application/json: - schema: *381 + schema: *384 examples: - default: *382 + default: *385 '400': *14 '422': *15 x-github: @@ -56096,7 +56813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *86 - - *376 + - *379 - *16 responses: '202': *36 @@ -56123,7 +56840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *86 - - *376 + - *379 responses: '204': description: Response @@ -56148,7 +56865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *86 - - &387 + - &390 name: actor_type in: path description: The type of the actor @@ -56161,14 +56878,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &388 + - &391 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &383 + - &386 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`.' @@ -56176,7 +56893,7 @@ paths: required: true schema: type: string - - &384 + - &387 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) @@ -56272,12 +56989,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *86 - - *383 - - *384 + - *386 + - *387 - *19 - *17 - *109 - - &393 + - &396 name: sort description: The property to sort the results by. in: query @@ -56357,14 +57074,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *86 - - *383 - - *384 + - *386 + - *387 responses: '200': description: Response content: application/json: - schema: &385 + schema: &388 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -56380,7 +57097,7 @@ paths: type: integer format: int64 examples: - default: &386 + default: &389 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -56403,23 +57120,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *86 - - &389 + - &392 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *383 - - *384 + - *386 + - *387 responses: '200': description: Response content: application/json: - schema: *385 + schema: *388 examples: - default: *386 + default: *389 x-github: enabledForGitHubApps: true category: orgs @@ -56439,18 +57156,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *86 - - *383 - - *384 + - *386 - *387 - - *388 + - *390 + - *391 responses: '200': description: Response content: application/json: - schema: *385 + schema: *388 examples: - default: *386 + default: *389 x-github: enabledForGitHubApps: true category: orgs @@ -56470,9 +57187,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *86 - - *383 - - *384 - - &390 + - *386 + - *387 + - &393 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -56485,7 +57202,7 @@ paths: description: Response content: application/json: - schema: &391 + schema: &394 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -56501,7 +57218,7 @@ paths: type: integer format: int64 examples: - default: &392 + default: &395 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -56540,18 +57257,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *86 - - *389 - - *383 - - *384 - - *390 + - *392 + - *386 + - *387 + - *393 responses: '200': description: Response content: application/json: - schema: *391 + schema: *394 examples: - default: *392 + default: *395 x-github: enabledForGitHubApps: true category: orgs @@ -56571,19 +57288,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *86 - - *387 - - *388 - - *383 - - *384 - *390 + - *391 + - *386 + - *387 + - *393 responses: '200': description: Response content: application/json: - schema: *391 + schema: *394 examples: - default: *392 + default: *395 x-github: enabledForGitHubApps: true category: orgs @@ -56603,13 +57320,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *86 - - *389 - - *383 - - *384 + - *392 + - *386 + - *387 - *19 - *17 - *109 - - *393 + - *396 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -56690,7 +57407,7 @@ paths: application/json: schema: *22 examples: - default: *394 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56810,12 +57527,12 @@ paths: application/json: schema: anyOf: - - &396 + - &399 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &395 + limit: &398 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -56840,7 +57557,7 @@ paths: properties: {} additionalProperties: false examples: - default: &397 + default: &400 value: limit: collaborators_only origin: organization @@ -56869,13 +57586,13 @@ paths: required: true content: application/json: - schema: &702 + schema: &705 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *395 + limit: *398 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -56899,9 +57616,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *399 examples: - default: *397 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -57113,9 +57830,9 @@ paths: application/json: schema: type: array - items: *398 + items: *401 examples: - default: *399 + default: *402 headers: Link: *44 '404': *6 @@ -57193,7 +57910,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *401 examples: default: value: @@ -57250,7 +57967,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *86 - - &400 + - &403 name: invitation_id description: The unique identifier of the invitation. in: path @@ -57284,7 +58001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *86 - - *400 + - *403 - *17 - *19 responses: @@ -57294,9 +58011,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: &419 + default: &422 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -57339,7 +58056,7 @@ paths: application/json: schema: type: array - items: &401 + items: &404 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -57592,9 +58309,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *404 examples: - default: &402 + default: &405 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -57650,7 +58367,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *86 - - &403 + - &406 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -57758,9 +58475,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *404 examples: - default: *402 + default: *405 '404': *6 '422': *7 x-github: @@ -57785,7 +58502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *86 - - *403 + - *406 responses: '204': *125 '404': *6 @@ -57815,9 +58532,9 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: &706 + default: &709 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -57900,9 +58617,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *407 examples: - default: &405 + default: &408 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -57935,7 +58652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *86 - - &406 + - &409 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -57988,9 +58705,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *407 examples: - default: *405 + default: *408 '404': *6 '422': *7 x-github: @@ -58015,7 +58732,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *86 - - *406 + - *409 responses: '204': description: Response @@ -58078,7 +58795,7 @@ paths: - closed - all default: open - - *407 + - *410 - name: type description: Can be the name of an issue type. in: query @@ -58097,7 +58814,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -58107,9 +58824,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *408 + default: *411 headers: Link: *44 '404': *6 @@ -58169,7 +58886,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '422': *15 @@ -58274,9 +58991,9 @@ paths: type: integer codespaces: type: array - items: *409 + items: *412 examples: - default: *410 + default: *413 '304': *34 '500': *37 '401': *25 @@ -58303,7 +59020,7 @@ paths: parameters: - *86 - *131 - - &411 + - &414 name: codespace_name in: path required: true @@ -58338,15 +59055,15 @@ paths: parameters: - *86 - *131 - - *411 + - *414 responses: '200': description: Response content: application/json: - schema: *409 + schema: *412 examples: - default: &619 + default: &622 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -58526,7 +59243,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *151 + schema: *154 examples: default: value: @@ -58602,7 +59319,7 @@ paths: description: Response content: application/json: - schema: &412 + schema: &415 title: Org Membership description: Org Membership type: object @@ -58669,7 +59386,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &413 + response-if-user-has-an-active-admin-membership-with-organization: &416 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -58770,9 +59487,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *415 examples: - response-if-user-already-had-membership-with-organization: *413 + response-if-user-already-had-membership-with-organization: *416 '422': *15 '403': *29 x-github: @@ -58849,7 +59566,7 @@ paths: application/json: schema: type: array - items: &414 + items: &417 title: Migration description: A migration. type: object @@ -59189,7 +59906,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *417 examples: default: value: @@ -59368,7 +60085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *86 - - &415 + - &418 name: migration_id description: The unique identifier of the migration. in: path @@ -59395,7 +60112,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *414 + schema: *417 examples: default: value: @@ -59565,7 +60282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *86 - - *415 + - *418 responses: '302': description: Response @@ -59587,7 +60304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *86 - - *415 + - *418 responses: '204': description: Response @@ -59611,8 +60328,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *86 - - *415 - - &901 + - *418 + - &904 name: repo_name description: repo_name parameter in: path @@ -59640,7 +60357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *86 - - *415 + - *418 - *17 - *19 responses: @@ -59650,9 +60367,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: &426 + default: &429 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59881,7 +60598,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &416 + items: &419 title: Organization Role description: Organization roles type: object @@ -60088,7 +60805,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *419 examples: default: value: @@ -60140,7 +60857,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -60166,8 +60883,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *86 - - *222 - - *148 + - *225 + - *151 responses: '204': description: Response @@ -60197,8 +60914,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *86 - - *222 - - *148 + - *225 + - *151 responses: '204': description: Response @@ -60251,7 +60968,7 @@ paths: parameters: - *86 - *131 - - *148 + - *151 responses: '204': description: Response @@ -60283,7 +61000,7 @@ paths: parameters: - *86 - *131 - - *148 + - *151 responses: '204': description: Response @@ -60312,13 +61029,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *86 - - *148 + - *151 responses: '200': description: Response content: application/json: - schema: *416 + schema: *419 examples: default: value: @@ -60376,7 +61093,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *86 - - *148 + - *151 requestBody: required: true content: @@ -60415,7 +61132,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *419 examples: default: value: @@ -60469,7 +61186,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *86 - - *148 + - *151 responses: '204': description: Response @@ -60495,7 +61212,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *86 - - *148 + - *151 - *17 - *19 responses: @@ -60573,8 +61290,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *417 - required: *418 + properties: *420 + required: *421 nullable: true type: description: The ownership type of the team @@ -60606,7 +61323,7 @@ paths: - type - parent examples: - default: *419 + default: *422 headers: Link: *44 '404': @@ -60636,7 +61353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *86 - - *148 + - *151 - *17 - *19 responses: @@ -60664,13 +61381,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &495 + items: &498 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *417 - required: *418 + properties: *420 + required: *421 name: nullable: true type: string @@ -60765,7 +61482,7 @@ paths: - type - url examples: - default: *219 + default: *222 headers: Link: *44 '404': @@ -60816,7 +61533,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -60958,7 +61675,7 @@ paths: - nuget - container - *86 - - &902 + - &905 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -60994,12 +61711,12 @@ paths: application/json: schema: type: array - items: *420 + items: *423 examples: - default: *421 + default: *424 '403': *29 '401': *25 - '400': &904 + '400': &907 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -61021,7 +61738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &422 + - &425 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 @@ -61039,7 +61756,7 @@ paths: - docker - nuget - container - - &423 + - &426 name: package_name description: The name of the package. in: path @@ -61052,7 +61769,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *423 examples: default: value: @@ -61104,8 +61821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *422 - - *423 + - *425 + - *426 - *86 responses: '204': @@ -61138,8 +61855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *422 - - *423 + - *425 + - *426 - *86 - name: token description: package token @@ -61172,8 +61889,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: - - *422 - - *423 + - *425 + - *426 - *86 - *19 - *17 @@ -61194,7 +61911,7 @@ paths: application/json: schema: type: array - items: &424 + items: &427 title: Package Version description: A version of a software package type: object @@ -61319,10 +62036,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: - - *422 - - *423 + - *425 + - *426 - *86 - - &425 + - &428 name: package_version_id description: Unique identifier of the package version. in: path @@ -61334,7 +62051,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *427 examples: default: value: @@ -61370,10 +62087,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *422 - - *423 - - *86 - *425 + - *426 + - *86 + - *428 responses: '204': description: Response @@ -61405,10 +62122,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *422 - - *423 - - *86 - *425 + - *426 + - *86 + - *428 responses: '204': description: Response @@ -61438,7 +62155,7 @@ paths: - *86 - *17 - *19 - - &427 + - &430 name: sort description: The property by which to sort the results. in: query @@ -61449,7 +62166,7 @@ paths: - created_at default: created_at - *109 - - &428 + - &431 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -61460,7 +62177,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &429 + - &432 name: repository description: The name of the repository to use to filter the results. in: query @@ -61468,7 +62185,7 @@ paths: schema: type: string example: Hello-World - - &430 + - &433 name: permission description: The permission to use to filter the results. in: query @@ -61476,7 +62193,7 @@ paths: schema: type: string example: issues_read - - &431 + - &434 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) @@ -61486,7 +62203,7 @@ paths: schema: type: string format: date-time - - &432 + - &435 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) @@ -61496,7 +62213,7 @@ paths: schema: type: string format: date-time - - &433 + - &436 name: token_id description: The ID of the token in: query @@ -61807,9 +62524,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 x-github: @@ -61835,14 +62552,14 @@ paths: - *86 - *17 - *19 - - *427 - - *109 - - *428 - - *429 - *430 + - *109 - *431 - *432 - *433 + - *434 + - *435 + - *436 responses: '500': *37 '422': *15 @@ -62122,9 +62839,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 x-github: @@ -62166,7 +62883,7 @@ paths: type: integer configurations: type: array - items: &434 + items: &437 title: Organization private registry description: Private registry configuration for an organization type: object @@ -62677,7 +63394,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &435 + org-private-registry-with-selected-visibility: &438 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -62767,15 +63484,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *434 + schema: *437 examples: - default: *435 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -62798,7 +63515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 requestBody: required: true content: @@ -62986,7 +63703,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *86 - - *302 + - *305 responses: '204': description: Response @@ -63026,7 +63743,7 @@ paths: application/json: schema: type: array - items: &436 + items: &439 title: Projects v2 Project description: A projects v2 project type: object @@ -63096,7 +63813,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &997 + properties: &1000 id: type: number description: The unique identifier of the status update. @@ -63144,7 +63861,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &998 + required: &1001 - id - node_id - created_at @@ -63169,7 +63886,7 @@ paths: - deleted_at - deleted_by examples: - default: &437 + default: &440 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -63272,7 +63989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &438 + - &441 name: project_number description: The project's number. in: path @@ -63285,9 +64002,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *439 examples: - default: *437 + default: *440 headers: Link: *44 '304': *34 @@ -63310,7 +64027,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *86 - - *438 + - *441 requestBody: required: true description: Details of the draft item to create in the project. @@ -63344,7 +64061,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &447 title: Projects v2 Item description: An item belonging to a project type: object @@ -63357,8 +64074,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *231 - - &595 + - *234 + - &598 title: Pull Request Simple description: Pull Request Simple type: object @@ -63472,8 +64189,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *439 - required: *440 + properties: *442 + required: *443 nullable: true active_lock_reason: type: string @@ -63516,7 +64233,7 @@ paths: items: *4 requested_teams: type: array - items: *325 + items: *328 head: type: object properties: @@ -63566,7 +64283,7 @@ paths: _links: type: object properties: - comments: &441 + comments: &444 title: Link description: Hypermedia Link type: object @@ -63575,13 +64292,13 @@ paths: type: string required: - href - commits: *441 - statuses: *441 - html: *441 - issue: *441 - review_comments: *441 - review_comment: *441 - self: *441 + commits: *444 + statuses: *444 + html: *444 + issue: *444 + review_comments: *444 + review_comment: *444 + self: *444 required: - comments - commits @@ -63591,8 +64308,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: &776 + author_association: *231 + auto_merge: &779 title: Auto merge description: The status of auto merging a pull request. type: object @@ -63617,7 +64334,7 @@ paths: - commit_title - commit_message nullable: true - stack: &777 + stack: &780 title: Pull Request Stack description: The stack information associated with a pull request. @@ -63805,7 +64522,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &443 + content_type: &446 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -63845,7 +64562,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &445 + draft_issue: &448 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -63919,7 +64636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *438 + - *441 - *86 - *17 - *107 @@ -63931,7 +64648,7 @@ paths: application/json: schema: type: array - items: &442 + items: &445 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -64081,7 +64798,7 @@ paths: - updated_at - project_url examples: - default: &924 + default: &927 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64211,7 +64928,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: - - *438 + - *441 - *86 requestBody: required: true @@ -64258,7 +64975,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &925 + items: &928 type: object properties: name: @@ -64295,7 +65012,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &926 + iteration_configuration: &929 type: object description: The configuration for iteration fields. required: @@ -64352,7 +65069,7 @@ paths: value: name: Due date data_type: date - single_select_field: &927 + single_select_field: &930 summary: Create a single select field value: name: Priority @@ -64379,7 +65096,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &928 + iteration_field: &931 summary: Create an iteration field value: name: Sprint @@ -64399,9 +65116,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *442 + schema: *445 examples: - text_field: &929 + text_field: &932 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -64410,7 +65127,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: &930 + number_field: &933 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -64419,7 +65136,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: &931 + date_field: &934 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -64428,7 +65145,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: &932 + single_select_field: &935 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64462,7 +65179,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &933 + iteration_field: &936 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -64507,8 +65224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *438 - - &934 + - *441 + - &937 name: field_id description: The unique identifier of the field. in: path @@ -64521,9 +65238,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *445 examples: - default: &935 + default: &938 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64579,7 +65296,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: - - *438 + - *441 - *86 - 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) @@ -64612,7 +65329,7 @@ paths: application/json: schema: type: array - items: &446 + items: &449 title: Projects v2 Item description: An item belonging to a project type: object @@ -64628,7 +65345,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *443 + content_type: *446 content: type: object additionalProperties: true @@ -64671,7 +65388,7 @@ paths: - updated_at - archived_at examples: - default: &447 + default: &450 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -65369,7 +66086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *86 - - *438 + - *441 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -65439,22 +66156,22 @@ paths: description: Response content: application/json: - schema: *444 + schema: *447 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *445 + value: *448 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *445 + value: *448 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *445 + value: *448 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *445 + value: *448 '304': *34 '403': *29 '401': *25 @@ -65474,9 +66191,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: - - *438 + - *441 - *86 - - &448 + - &451 name: item_id description: The unique identifier of the project item. in: path @@ -65502,9 +66219,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: - default: *447 + default: *450 headers: Link: *44 '304': *34 @@ -65525,9 +66242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *438 + - *441 - *86 - - *448 + - *451 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -65597,13 +66314,13 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: - text_field: *447 - number_field: *447 - date_field: *447 - single_select_field: *447 - iteration_field: *447 + text_field: *450 + number_field: *450 + date_field: *450 + single_select_field: *450 + iteration_field: *450 '401': *25 '403': *29 '404': *6 @@ -65623,9 +66340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *438 + - *441 - *86 - - *448 + - *451 responses: '204': description: Response @@ -65649,7 +66366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *86 - - *438 + - *441 requestBody: required: true content: @@ -65761,7 +66478,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &915 + schema: &918 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -65859,7 +66576,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &449 + value: &452 value: id: 1 number: 1 @@ -65905,10 +66622,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *449 + value: *452 roadmap_view: summary: Response for creating a roadmap view - value: *449 + value: *452 '304': *34 '403': *29 '401': *25 @@ -65936,9 +66653,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: - - *438 + - *441 - *86 - - &936 + - &939 name: view_number description: The number that identifies the project view. in: path @@ -65970,9 +66687,9 @@ paths: application/json: schema: type: array - items: *446 + items: *449 examples: - default: *447 + default: *450 headers: Link: *44 '304': *34 @@ -66005,9 +66722,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -66045,7 +66762,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *162 + items: *165 minItems: 1 maxItems: 100 required: @@ -66075,9 +66792,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -66099,15 +66816,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -66131,12 +66848,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 requestBody: required: true content: application/json: - schema: *450 + schema: *453 examples: default: value: @@ -66152,9 +66869,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '403': *29 '404': *6 x-github: @@ -66178,7 +66895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *86 - - *159 + - *162 responses: '204': *125 '403': *29 @@ -66239,7 +66956,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *161 + items: *164 description: List of custom property names and associated values required: - repository_id @@ -66308,7 +67025,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *161 + items: *164 required: - repository_names - properties @@ -66361,7 +67078,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -66499,9 +67216,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 x-github: @@ -66704,7 +67421,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &519 title: Full Repository description: Full Repository type: object @@ -66992,9 +67709,9 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *451 - required: *452 - x-github-breaking-changes: *453 + properties: *454 + required: *455 + x-github-breaking-changes: *456 nullable: true temp_clone_token: type: string @@ -67081,8 +67798,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true organization: title: Simple User @@ -67109,7 +67826,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &640 + properties: &643 url: type: string format: uri @@ -67125,12 +67842,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &641 + required: &644 - url - key - name - html_url - security_and_analysis: *454 + security_and_analysis: *457 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -67225,7 +67942,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &518 + default: &521 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -67763,9 +68480,9 @@ paths: application/json: schema: type: array - items: *455 + items: *458 examples: - default: *456 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -67790,7 +68507,7 @@ paths: - *86 - *17 - *19 - - &801 + - &804 name: targets description: | A comma-separated list of rule targets to filter by. @@ -67808,7 +68525,7 @@ paths: application/json: schema: type: array - items: *196 + items: *199 examples: default: value: @@ -67876,23 +68593,20 @@ paths: - push - repository default: branch - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *457 + items: *177 + conditions: *460 rules: type: array description: An array of rules within the ruleset. - items: &459 + items: &462 title: Repository Rule type: object description: A repository rule. oneOf: - - *175 - - *176 - - *177 - *178 - *179 - *180 @@ -67904,13 +68618,16 @@ paths: - *186 - *187 - *188 - - *192 - - *193 - - *194 - - *195 - *189 - *190 - *191 + - *195 + - *196 + - *197 + - *198 + - *192 + - *193 + - *194 required: - name - enforcement @@ -67948,9 +68665,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: &458 + default: &461 value: id: 21 name: super cool ruleset @@ -68006,7 +68723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *86 - - &803 + - &806 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 @@ -68016,16 +68733,16 @@ paths: schema: type: string x-multi-segment: true - - *322 + - *325 - *104 - - &804 + - &807 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 - - &805 + - &808 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -68038,7 +68755,7 @@ paths: - bypass - all default: all - - &806 + - &809 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. @@ -68061,7 +68778,7 @@ paths: description: Response content: application/json: - schema: &807 + schema: &810 title: Rule Suites description: Response type: array @@ -68116,7 +68833,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &808 + default: &811 value: - id: 21 actor_id: 12 @@ -68160,7 +68877,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *86 - - &809 + - &812 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -68176,7 +68893,7 @@ paths: description: Response content: application/json: - schema: &810 + schema: &813 title: Rule Suite description: Response type: object @@ -68275,7 +68992,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &811 + default: &814 value: id: 21 actor_id: 12 @@ -68348,9 +69065,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *458 + default: *461 '404': *6 '500': *37 put: @@ -68394,16 +69111,16 @@ paths: - tag - push - repository - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *457 + items: *177 + conditions: *460 rules: description: An array of rules within the ruleset. type: array - items: *459 + items: *462 examples: default: value: @@ -68438,9 +69155,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *458 + default: *461 '404': *6 '422': *15 '500': *37 @@ -68498,9 +69215,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *460 + default: *463 '404': *6 '500': *37 x-github: @@ -68537,7 +69254,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *464 examples: default: value: @@ -68600,18 +69317,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *86 - - *462 - - *463 - - *464 - *465 - *466 - *467 - *468 - *469 + - *470 + - *471 + - *472 - *109 - *19 - *17 - - &813 + - &816 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 @@ -68621,7 +69338,7 @@ paths: required: false schema: type: string - - &814 + - &817 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 @@ -68631,13 +69348,13 @@ paths: required: false schema: type: string - - *470 - - *471 - - *472 - *473 - *474 - *475 - *476 + - *477 + - *478 + - *479 responses: '200': description: Response @@ -68645,13 +69362,13 @@ paths: application/json: schema: type: array - items: *477 + items: *480 examples: - default: *478 + default: *481 headers: Link: *44 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68677,9 +69394,9 @@ paths: subcategory: custom-patterns parameters: - *86 - - *479 - - *480 - - *481 + - *482 + - *483 + - *484 - *109 - *107 - *108 @@ -68690,9 +69407,9 @@ paths: application/json: schema: type: array - items: *202 + items: *205 examples: - default: *482 + default: *485 headers: Link: *44 '403': *29 @@ -68728,9 +69445,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *483 + items: *486 examples: - default: *484 + default: *487 responses: '201': description: All patterns created successfully. @@ -68742,9 +69459,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: *485 + default: *488 '400': *14 '403': *29 '404': *6 @@ -68768,7 +69485,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *486 + items: *489 delete: summary: Bulk delete organization custom patterns description: |- @@ -68801,7 +69518,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *487 + items: *490 post_delete_action: type: string description: |- @@ -68814,14 +69531,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *488 + default: *491 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 "/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update an organization custom pattern @@ -68852,21 +69569,21 @@ paths: required: true content: application/json: - schema: *489 + schema: *492 examples: - default: *490 + default: *493 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: *491 + default: *494 '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -68893,9 +69610,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: - default: *493 + default: *496 '403': *29 '404': *6 patch: @@ -68924,7 +69641,7 @@ paths: schema: type: object properties: - pattern_config_version: *203 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -68950,7 +69667,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *203 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -69048,7 +69765,7 @@ paths: application/json: schema: type: array - items: &835 + items: &838 description: A repository security advisory. type: object properties: @@ -69235,7 +69952,7 @@ paths: required: - vector_string - score - cvss_severities: *134 + cvss_severities: *137 cwes: type: array nullable: true @@ -69268,7 +69985,7 @@ paths: login: type: string description: The username of the user credited. - type: *494 + type: *497 credits_detailed: type: array nullable: true @@ -69278,7 +69995,7 @@ paths: type: object properties: user: *4 - type: *494 + type: *497 state: type: string description: The state of the user's acceptance of the @@ -69302,7 +70019,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *325 + items: *328 private_fork: readOnly: true nullable: true @@ -69371,7 +70088,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &836 + default: &839 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -69758,7 +70475,7 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: default: value: @@ -69799,7 +70516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -69825,7 +70542,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response @@ -69857,7 +70574,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *86 - - *496 + - *499 - *17 - *19 responses: @@ -69865,9 +70582,9 @@ paths: description: Success content: application/json: - schema: *497 + schema: *500 examples: - default: *498 + default: *501 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -70011,9 +70728,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70082,7 +70799,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -70105,7 +70822,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *86 - - *286 + - *289 responses: '204': description: Response @@ -70146,9 +70863,9 @@ paths: type: integer network_configurations: type: array - items: *154 + items: *157 examples: - default: *499 + default: *502 headers: Link: *44 x-github: @@ -70225,9 +70942,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70248,15 +70965,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *86 - - *156 + - *159 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 headers: Link: *44 x-github: @@ -70278,7 +70995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *86 - - *156 + - *159 requestBody: required: true content: @@ -70331,9 +71048,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70353,7 +71070,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *86 - - *156 + - *159 responses: '204': description: Response @@ -70377,15 +71094,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: - *86 - - *500 + - *503 responses: '200': description: Response content: application/json: - schema: *501 + schema: *504 examples: - default: *502 + default: *505 headers: Link: *44 x-github: @@ -70423,7 +71140,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &516 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -70469,7 +71186,7 @@ paths: type: string nullable: true examples: - default: &514 + default: &517 value: groups: - group_id: '123' @@ -70524,9 +71241,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *419 + default: *422 headers: Link: *44 '403': *29 @@ -70624,7 +71341,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &506 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -70687,8 +71404,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *417 - required: *418 + properties: *420 + required: *421 nullable: true members_count: type: integer @@ -70955,7 +71672,7 @@ paths: - repos_count - organization examples: - default: &504 + default: &507 value: id: 1 node_id: MDQ6VGVhbTE= @@ -71037,15 +71754,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: *504 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -71067,7 +71784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *86 - - *222 + - *225 requestBody: required: false content: @@ -71134,16 +71851,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *503 + schema: *506 examples: - default: *504 + default: *507 '201': description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: *504 + default: *507 '404': *6 '422': *15 '403': *29 @@ -71169,11 +71886,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *86 - - *222 + - *225 responses: '204': description: Response - '422': &507 + '422': &510 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -71196,16 +71913,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: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *505 + schema: *508 examples: - default: *506 - '422': *507 + default: *509 + '422': *510 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -71225,7 +71942,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: - *86 - - *222 + - *225 requestBody: required: true content: @@ -71248,10 +71965,10 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: *509 - '422': *507 + default: *512 + '422': *510 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71271,11 +71988,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: - *86 - - *222 + - *225 responses: '204': description: Response - '422': *507 + '422': *510 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71297,7 +72014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -71307,12 +72024,12 @@ paths: application/json: schema: type: array - items: *398 + items: *401 examples: - default: *399 + default: *402 headers: Link: *44 - '422': *507 + '422': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71338,7 +72055,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *86 - - *222 + - *225 - name: role description: Filters members returned by their role in the team. in: query @@ -71359,7 +72076,7 @@ paths: application/json: schema: type: array - items: &879 + items: &882 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 @@ -71478,7 +72195,7 @@ paths: - type - url examples: - default: &880 + default: &883 value: - login: octocat id: 1 @@ -71530,14 +72247,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 responses: '200': description: Response content: application/json: - schema: &510 + schema: &513 title: Team Membership description: Team Membership type: object @@ -71564,7 +72281,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &881 + response-if-user-is-a-team-maintainer: &884 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -71601,7 +72318,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 requestBody: required: false @@ -71627,9 +72344,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *513 examples: - response-if-users-membership-with-team-is-now-pending: &882 + response-if-users-membership-with-team-is-now-pending: &885 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -71665,7 +72382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *86 - - *222 + - *225 - *131 responses: '204': @@ -71695,7 +72412,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -71705,9 +72422,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 x-github: @@ -71737,15 +72454,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *86 - - *222 - - *511 - - *512 + - *225 + - *514 + - *515 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &883 + schema: &886 title: Team Repository description: A team's access to a repository. type: object @@ -71768,8 +72485,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true forks: type: integer @@ -72400,9 +73117,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *86 - - *222 - - *511 - - *512 + - *225 + - *514 + - *515 requestBody: required: false content: @@ -72448,9 +73165,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *86 - - *222 - - *511 - - *512 + - *225 + - *514 + - *515 responses: '204': description: Response @@ -72477,16 +73194,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *86 - - *222 + - *225 responses: '200': description: Response content: application/json: - schema: *513 + schema: *516 examples: - default: *514 - '422': *507 + default: *517 + '422': *510 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72509,7 +73226,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *86 - - *222 + - *225 requestBody: required: true content: @@ -72552,7 +73269,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *516 examples: default: value: @@ -72564,7 +73281,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *507 + '422': *510 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72586,7 +73303,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *86 - - *222 + - *225 - *17 - *19 responses: @@ -72596,9 +73313,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - response-if-child-teams-exist: &884 + response-if-child-teams-exist: &887 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -72751,7 +73468,7 @@ paths: resources: type: object properties: - core: &515 + core: &518 title: Rate Limit type: object properties: @@ -72768,21 +73485,21 @@ paths: - remaining - reset - used - graphql: *515 - search: *515 - code_search: *515 - source_import: *515 - integration_manifest: *515 - actions_runner_registration: *515 - scim: *515 - dependency_snapshots: *515 - dependency_sbom: *515 - code_scanning_autofix: *515 - copilot_usage_records: *515 + graphql: *518 + search: *518 + code_search: *518 + source_import: *518 + integration_manifest: *518 + actions_runner_registration: *518 + scim: *518 + dependency_snapshots: *518 + dependency_sbom: *518 + code_scanning_autofix: *518 + copilot_usage_records: *518 required: - core - search - rate: *515 + rate: *518 required: - rate - resources @@ -72896,14 +73613,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *516 + schema: *519 examples: default-response: summary: Default response @@ -73418,7 +74135,7 @@ paths: version: '2026-03-10' '403': *29 '404': *6 - '301': *517 + '301': *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73436,8 +74153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: false content: @@ -73757,10 +74474,10 @@ paths: description: Response content: application/json: - schema: *516 + schema: *519 examples: - default: *518 - '307': &519 + default: *521 + '307': &522 description: Temporary Redirect content: application/json: @@ -73789,8 +74506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -73812,7 +74529,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': *519 + '307': *522 '404': *6 '409': *118 x-github: @@ -73836,11 +74553,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 - - &535 + - &538 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -73863,7 +74580,7 @@ paths: type: integer artifacts: type: array - items: &520 + items: &523 title: Artifact description: An artifact type: object @@ -73941,7 +74658,7 @@ paths: - expires_at - updated_at examples: - default: &536 + default: &539 value: total_count: 2 artifacts: @@ -74002,9 +74719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *511 - - *512 - - &521 + - *514 + - *515 + - &524 name: artifact_id description: The unique identifier of the artifact. in: path @@ -74016,7 +74733,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *523 examples: default: value: @@ -74054,9 +74771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *511 - - *512 - - *521 + - *514 + - *515 + - *524 responses: '204': description: Response @@ -74080,9 +74797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *511 - - *512 - - *521 + - *514 + - *515 + - *524 - name: archive_format in: path required: true @@ -74092,7 +74809,7 @@ paths: '302': description: Response headers: - Location: &659 + Location: &662 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 @@ -74117,14 +74834,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: &522 + schema: &525 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -74157,13 +74874,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: application/json: - schema: *522 + schema: *525 examples: selected_actions: *41 responses: @@ -74192,14 +74909,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: &523 + schema: &526 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -74232,13 +74949,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: application/json: - schema: *523 + schema: *526 examples: selected_actions: *43 responses: @@ -74269,14 +74986,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -74302,11 +75019,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: - - *511 - - *512 + - *514 + - *515 - *17 - *19 - - &525 + - &528 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 @@ -74340,7 +75057,7 @@ paths: description: Response content: application/json: - schema: &526 + schema: &529 title: Repository actions caches description: Repository actions caches type: object @@ -74382,7 +75099,7 @@ paths: - total_count - actions_caches examples: - default: &527 + default: &530 value: total_count: 1 actions_caches: @@ -74414,23 +75131,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: - - *511 - - *512 + - *514 + - *515 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *525 + - *528 responses: '200': description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: *527 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74450,8 +75167,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: - - *511 - - *512 + - *514 + - *515 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -74480,8 +75197,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: - - *511 - - *512 + - *514 + - *515 - *17 - *108 responses: @@ -74563,8 +75280,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: - - *511 - - *512 + - *514 + - *515 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -74716,9 +75433,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: - - *511 - - *512 - - &528 + - *514 + - *515 + - &531 name: job_id description: The unique identifier of the job. in: path @@ -74731,7 +75448,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &542 title: Job description: Information of a job execution in a workflow run type: object @@ -75040,9 +75757,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: - - *511 - - *512 - - *528 + - *514 + - *515 + - *531 responses: '302': description: Response @@ -75070,9 +75787,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: - - *511 - - *512 - - *528 + - *514 + - *515 + - *531 requestBody: required: false content: @@ -75098,7 +75815,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -75122,8 +75839,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Status response @@ -75182,8 +75899,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -75222,7 +75939,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -75251,8 +75968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -75270,7 +75987,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &544 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -75290,7 +76007,7 @@ paths: - created_at - updated_at examples: - default: &542 + default: &545 value: total_count: 2 secrets: @@ -75323,9 +76040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *511 - - *512 - - *311 + - *514 + - *515 + - *314 - *19 responses: '200': @@ -75342,7 +76059,7 @@ paths: type: integer variables: type: array - items: &543 + items: &546 title: Actions Variable type: object properties: @@ -75372,7 +76089,7 @@ paths: - created_at - updated_at examples: - default: &544 + default: &547 value: total_count: 2 variables: @@ -75405,8 +76122,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -75415,11 +76132,11 @@ paths: schema: type: object properties: - enabled: &529 + enabled: &532 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *59 - selected_actions_url: *279 + selected_actions_url: *282 sha_pinning_required: *60 required: - enabled @@ -75450,8 +76167,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -75462,7 +76179,7 @@ paths: schema: type: object properties: - enabled: *529 + enabled: *532 allowed_actions: *59 sha_pinning_required: *60 required: @@ -75495,14 +76212,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: &530 + schema: &533 type: object properties: access_level: @@ -75520,7 +76237,7 @@ paths: required: - access_level examples: - default: &531 + default: &534 value: access_level: organization x-github: @@ -75545,15 +76262,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: application/json: - schema: *530 + schema: *533 examples: - default: *531 + default: *534 responses: '204': description: Response @@ -75577,14 +76294,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *281 + schema: *284 examples: default: value: @@ -75608,8 +76325,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Empty response for successful settings update @@ -75619,7 +76336,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: summary: Set retention days @@ -75643,8 +76360,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -75652,7 +76369,7 @@ paths: application/json: schema: *61 examples: - default: *283 + default: *286 '404': *6 x-github: enabledForGitHubApps: true @@ -75671,8 +76388,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -75706,14 +76423,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *284 + schema: *287 examples: default: *62 '403': *29 @@ -75735,13 +76452,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: application/json: - schema: *285 + schema: *288 examples: default: *62 responses: @@ -75767,8 +76484,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -75799,8 +76516,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -75832,14 +76549,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: *68 x-github: @@ -75862,8 +76579,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Success response @@ -75874,7 +76591,7 @@ paths: required: true content: application/json: - schema: *289 + schema: *292 examples: default: *68 x-github: @@ -75903,8 +76620,8 @@ paths: in: query schema: type: string - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -75949,8 +76666,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: - - *511 - - *512 + - *514 + - *515 - name: version description: The runner version to look up. in: path @@ -76012,8 +76729,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -76021,9 +76738,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76045,8 +76762,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -76089,7 +76806,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *298 '404': *6 '422': *7 '409': *118 @@ -76120,8 +76837,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: - - *511 - - *512 + - *514 + - *515 responses: '201': description: Response @@ -76129,7 +76846,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76157,8 +76874,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: - - *511 - - *512 + - *514 + - *515 responses: '201': description: Response @@ -76166,7 +76883,7 @@ paths: application/json: schema: *78 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76188,8 +76905,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: - - *511 - - *512 + - *514 + - *515 - *74 responses: '200': @@ -76198,7 +76915,7 @@ paths: application/json: schema: *75 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76219,8 +76936,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: - - *511 - - *512 + - *514 + - *515 - *74 responses: '204': @@ -76247,8 +76964,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: - - *511 - - *512 + - *514 + - *515 - *74 responses: '200': *80 @@ -76273,8 +76990,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: - - *511 - - *512 + - *514 + - *515 - *74 requestBody: required: true @@ -76323,8 +77040,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: - - *511 - - *512 + - *514 + - *515 - *74 requestBody: required: true @@ -76374,11 +77091,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: - - *511 - - *512 + - *514 + - *515 - *74 responses: - '200': *299 + '200': *302 '404': *6 x-github: githubCloudOnly: false @@ -76405,10 +77122,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: - - *511 - - *512 + - *514 + - *515 - *74 - - *300 + - *303 responses: '200': *80 '404': *6 @@ -76436,9 +77153,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: - - *511 - - *512 - - &547 + - *514 + - *515 + - &550 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. @@ -76446,7 +77163,7 @@ paths: required: false schema: type: string - - &548 + - &551 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -76454,7 +77171,7 @@ paths: required: false schema: type: string - - &549 + - &552 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -76463,7 +77180,7 @@ paths: required: false schema: type: string - - &550 + - &553 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 @@ -76490,7 +77207,7 @@ paths: - pending - *17 - *19 - - &551 + - &554 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)." @@ -76499,7 +77216,7 @@ paths: schema: type: string format: date-time - - &532 + - &535 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -76508,14 +77225,14 @@ paths: schema: type: boolean default: false - - &552 + - &555 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &553 + - &556 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -76538,7 +77255,7 @@ paths: type: integer workflow_runs: type: array - items: &533 + items: &536 title: Workflow Run description: An invocation of a workflow type: object @@ -76635,7 +77352,7 @@ paths: that triggered the run. type: array nullable: true - items: *236 + items: *239 created_at: type: string format: date-time @@ -76688,7 +77405,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &577 + properties: &580 id: type: string description: SHA for the commit @@ -76739,7 +77456,7 @@ paths: - name - email nullable: true - required: &578 + required: &581 - id - tree_id - message @@ -76747,8 +77464,8 @@ paths: - author - committer nullable: true - repository: *292 - head_repository: *292 + repository: *295 + head_repository: *295 head_repository_id: type: integer example: 5 @@ -76786,7 +77503,7 @@ paths: - workflow_url - pull_requests examples: - default: &554 + default: &557 value: total_count: 1 workflow_runs: @@ -77022,24 +77739,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *511 - - *512 - - &534 + - *514 + - *515 + - &537 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *532 + - *535 responses: '200': description: Response content: application/json: - schema: *533 + schema: *536 examples: - default: &537 + default: &540 value: id: 30433642 name: Build @@ -77280,9 +77997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '204': description: Response @@ -77305,9 +78022,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: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '200': description: Response @@ -77426,15 +78143,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: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77461,12 +78178,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 - *17 - *19 - - *535 + - *538 - *109 responses: '200': @@ -77483,9 +78200,9 @@ paths: type: integer artifacts: type: array - items: *520 + items: *523 examples: - default: *536 + default: *539 headers: Link: *44 x-github: @@ -77509,25 +78226,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *511 - - *512 - - *534 - - &538 + - *514 + - *515 + - *537 + - &541 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *532 + - *535 responses: '200': description: Response content: application/json: - schema: *533 + schema: *536 examples: - default: *537 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77550,10 +78267,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: - - *511 - - *512 - - *534 - - *538 + - *514 + - *515 + - *537 + - *541 - *17 - *19 responses: @@ -77571,9 +78288,9 @@ paths: type: integer jobs: type: array - items: *539 + items: *542 examples: - default: &540 + default: &543 value: total_count: 1 jobs: @@ -77686,10 +78403,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *511 - - *512 - - *534 - - *538 + - *514 + - *515 + - *537 + - *541 responses: '302': description: Response @@ -77717,15 +78434,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '202': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -77765,9 +78482,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: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 - *17 - *107 - *108 @@ -77938,9 +78655,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: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 requestBody: required: true content: @@ -78007,15 +78724,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '202': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -78042,9 +78759,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: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 - 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 @@ -78074,9 +78791,9 @@ paths: type: integer jobs: type: array - items: *539 + items: *542 examples: - default: *540 + default: *543 headers: Link: *44 x-github: @@ -78101,9 +78818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '302': description: Response @@ -78130,9 +78847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '204': description: Response @@ -78159,9 +78876,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: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '200': description: Response @@ -78221,7 +78938,7 @@ paths: items: type: object properties: - type: &674 + type: &677 type: string description: The type of reviewer. enum: @@ -78231,7 +78948,7 @@ paths: reviewer: anyOf: - *4 - - *325 + - *328 required: - environment - wait_timer @@ -78306,9 +79023,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: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 requestBody: required: true content: @@ -78355,12 +79072,12 @@ paths: application/json: schema: type: array - items: &661 + items: &664 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &954 + properties: &957 url: type: string format: uri @@ -78443,9 +79160,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - required: &955 + properties: *229 + required: *230 + required: &958 - id - node_id - sha @@ -78461,7 +79178,7 @@ paths: - created_at - updated_at examples: - default: &662 + default: &665 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -78517,9 +79234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 requestBody: required: false content: @@ -78540,7 +79257,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -78563,9 +79280,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: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 requestBody: required: false content: @@ -78586,7 +79303,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -78619,9 +79336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *511 - - *512 - - *534 + - *514 + - *515 + - *537 responses: '200': description: Response @@ -78758,8 +79475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -78777,9 +79494,9 @@ paths: type: integer secrets: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -78804,16 +79521,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78835,17 +79552,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: &555 + default: &558 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -78871,9 +79588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 requestBody: required: true content: @@ -78904,7 +79621,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -78930,9 +79647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 responses: '204': description: Response @@ -78957,9 +79674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *511 - - *512 - - *311 + - *514 + - *515 + - *314 - *19 responses: '200': @@ -78976,9 +79693,9 @@ paths: type: integer variables: type: array - items: *543 + items: *546 examples: - default: *544 + default: *547 headers: Link: *44 x-github: @@ -79001,8 +79718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -79029,7 +79746,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -79054,17 +79771,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *511 - - *512 - - *305 + - *514 + - *515 + - *308 responses: '200': description: Response content: application/json: - schema: *543 + schema: *546 examples: - default: &556 + default: &559 value: name: USERNAME value: octocat @@ -79090,9 +79807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *511 - - *512 - - *305 + - *514 + - *515 + - *308 requestBody: required: true content: @@ -79134,9 +79851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *511 - - *512 - - *305 + - *514 + - *515 + - *308 responses: '204': description: Response @@ -79161,8 +79878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -79180,7 +79897,7 @@ paths: type: integer workflows: type: array - items: &545 + items: &548 title: Workflow description: A GitHub Actions workflow type: object @@ -79287,9 +80004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *511 - - *512 - - &546 + - *514 + - *515 + - &549 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -79304,7 +80021,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: default: value: @@ -79337,9 +80054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *511 - - *512 - - *546 + - *514 + - *515 + - *549 responses: '204': description: Response @@ -79364,9 +80081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *511 - - *512 - - *546 + - *514 + - *515 + - *549 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -79464,9 +80181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *511 - - *512 - - *546 + - *514 + - *515 + - *549 responses: '204': description: Response @@ -79493,19 +80210,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: - - *511 - - *512 - - *546 - - *547 - - *548 + - *514 + - *515 - *549 - *550 - - *17 - - *19 - *551 - - *532 - *552 - *553 + - *17 + - *19 + - *554 + - *535 + - *555 + - *556 responses: '200': description: Response @@ -79521,9 +80238,9 @@ paths: type: integer workflow_runs: type: array - items: *533 + items: *536 examples: - default: *554 + default: *557 headers: Link: *44 x-github: @@ -79556,9 +80273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *511 - - *512 - - *546 + - *514 + - *515 + - *549 responses: '200': description: Response @@ -79619,8 +80336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *511 - - *512 + - *514 + - *515 - *109 - *17 - *107 @@ -79789,8 +80506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -79808,9 +80525,9 @@ paths: type: integer secrets: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -79834,9 +80551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *511 - - *512 - - *311 + - *514 + - *515 + - *314 - *19 responses: '200': @@ -79853,9 +80570,9 @@ paths: type: integer variables: type: array - items: *543 + items: *546 examples: - default: *544 + default: *547 headers: Link: *44 x-github: @@ -79880,8 +80597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -79899,9 +80616,9 @@ paths: type: integer secrets: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -79926,16 +80643,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79957,17 +80674,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: *555 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79989,9 +80706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 requestBody: required: true content: @@ -80022,7 +80739,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -80048,9 +80765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 responses: '204': description: Response @@ -80075,9 +80792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *511 - - *512 - - *311 + - *514 + - *515 + - *314 - *19 responses: '200': @@ -80094,9 +80811,9 @@ paths: type: integer variables: type: array - items: *543 + items: *546 examples: - default: *544 + default: *547 headers: Link: *44 x-github: @@ -80119,8 +80836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -80147,7 +80864,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -80172,17 +80889,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *511 - - *512 - - *305 + - *514 + - *515 + - *308 responses: '200': description: Response content: application/json: - schema: *543 + schema: *546 examples: - default: *556 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80203,9 +80920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *511 - - *512 - - *305 + - *514 + - *515 + - *308 requestBody: required: true content: @@ -80247,9 +80964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *511 - - *512 - - *305 + - *514 + - *515 + - *308 responses: '204': description: Response @@ -80270,8 +80987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -80283,7 +81000,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '404': *6 @@ -80308,8 +81025,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: - - *511 - - *512 + - *514 + - *515 - name: assignee in: path required: true @@ -80345,8 +81062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -80456,8 +81173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *107 - *108 @@ -80514,7 +81231,7 @@ paths: initiator: type: string examples: - default: *557 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80548,8 +81265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -80557,7 +81274,7 @@ paths: application/json: schema: type: array - items: &558 + items: &561 title: Autolink reference description: An autolink reference. type: object @@ -80611,8 +81328,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -80651,9 +81368,9 @@ paths: description: response content: application/json: - schema: *558 + schema: *561 examples: - default: &559 + default: &562 value: id: 1 key_prefix: TICKET- @@ -80684,9 +81401,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: - - *511 - - *512 - - &560 + - *514 + - *515 + - &563 name: autolink_id description: The unique identifier of the autolink. in: path @@ -80698,9 +81415,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *561 examples: - default: *559 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -80720,9 +81437,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: - - *511 - - *512 - - *560 + - *514 + - *515 + - *563 responses: '204': description: Response @@ -80746,8 +81463,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response if Dependabot is enabled @@ -80795,8 +81512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -80817,8 +81534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -80838,8 +81555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *511 - - *512 + - *514 + - *515 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -80877,7 +81594,7 @@ paths: - url protected: type: boolean - protection: &562 + protection: &565 title: Branch Protection description: Branch Protection type: object @@ -80919,7 +81636,7 @@ paths: required: - contexts - checks - enforce_admins: &565 + enforce_admins: &568 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -80934,7 +81651,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &567 + required_pull_request_reviews: &570 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -80955,7 +81672,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *325 + items: *328 apps: description: The list of apps with review dismissal access. @@ -80984,7 +81701,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *325 + items: *328 apps: description: The list of apps allowed to bypass pull request requirements. @@ -81010,7 +81727,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &564 + restrictions: &567 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -81073,7 +81790,7 @@ paths: type: string teams: type: array - items: *325 + items: *328 apps: type: array items: @@ -81287,9 +82004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *511 - - *512 - - &563 + - *514 + - *515 + - &566 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). @@ -81303,14 +82020,14 @@ paths: description: Response content: application/json: - schema: &573 + schema: &576 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &632 + commit: &635 title: Commit description: Commit type: object @@ -81344,7 +82061,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &561 + properties: &564 name: type: string example: '"Chris Wanstrath"' @@ -81360,7 +82077,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *561 + properties: *564 nullable: true message: type: string @@ -81381,7 +82098,7 @@ paths: required: - sha - url - verification: &692 + verification: &695 title: Verification type: object properties: @@ -81415,12 +82132,12 @@ paths: nullable: true oneOf: - *4 - - *303 + - *306 committer: nullable: true oneOf: - *4 - - *303 + - *306 parents: type: array items: @@ -81451,7 +82168,7 @@ paths: type: integer files: type: array - items: &644 + items: &647 title: Diff Entry description: Diff Entry type: object @@ -81535,7 +82252,7 @@ paths: - self protected: type: boolean - protection: *562 + protection: *565 protection_url: type: string format: uri @@ -81642,7 +82359,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *517 + '301': *520 '404': *6 x-github: githubCloudOnly: false @@ -81664,15 +82381,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response content: application/json: - schema: *562 + schema: *565 examples: default: value: @@ -81866,9 +82583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: true content: @@ -82123,7 +82840,7 @@ paths: url: type: string format: uri - required_status_checks: &570 + required_status_checks: &573 title: Status Check Policy description: Status Check Policy type: object @@ -82199,7 +82916,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 apps: type: array items: *5 @@ -82217,7 +82934,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 apps: type: array items: *5 @@ -82275,7 +82992,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *564 + restrictions: *567 required_conversation_resolution: type: object properties: @@ -82387,9 +83104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '204': description: Response @@ -82414,17 +83131,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: &566 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -82446,17 +83163,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: *566 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82475,9 +83192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '204': description: Response @@ -82502,17 +83219,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response content: application/json: - schema: *567 + schema: *570 examples: - default: &568 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -82608,9 +83325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: false content: @@ -82708,9 +83425,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *570 examples: - default: *568 + default: *571 '422': *15 x-github: githubCloudOnly: false @@ -82731,9 +83448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '204': description: Response @@ -82760,17 +83477,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: &569 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -82793,17 +83510,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: *569 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -82823,9 +83540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '204': description: Response @@ -82850,17 +83567,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: &571 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -82886,9 +83603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: false content: @@ -82940,9 +83657,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: *571 + default: *574 '404': *6 '422': *15 x-github: @@ -82964,9 +83681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '204': description: Response @@ -82990,9 +83707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response @@ -83026,9 +83743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: false content: @@ -83095,9 +83812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: false content: @@ -83161,9 +83878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: content: application/json: @@ -83229,15 +83946,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response content: application/json: - schema: *564 + schema: *567 examples: default: value: @@ -83328,9 +84045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '204': description: Response @@ -83353,9 +84070,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: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response @@ -83365,7 +84082,7 @@ paths: type: array items: *5 examples: - default: &572 + default: &575 value: - id: 1 slug: octoapp @@ -83422,9 +84139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: true content: @@ -83458,7 +84175,7 @@ paths: type: array items: *5 examples: - default: *572 + default: *575 '422': *15 x-github: githubCloudOnly: false @@ -83479,9 +84196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: true content: @@ -83515,7 +84232,7 @@ paths: type: array items: *5 examples: - default: *572 + default: *575 '422': *15 x-github: githubCloudOnly: false @@ -83536,9 +84253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: true content: @@ -83572,7 +84289,7 @@ paths: type: array items: *5 examples: - default: *572 + default: *575 '422': *15 x-github: githubCloudOnly: false @@ -83594,9 +84311,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: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response @@ -83604,9 +84321,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *419 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -83626,9 +84343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: false content: @@ -83664,9 +84381,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *419 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -83687,9 +84404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: false content: @@ -83725,9 +84442,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *419 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -83748,9 +84465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: content: application/json: @@ -83785,9 +84502,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *419 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -83809,9 +84526,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: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 responses: '200': description: Response @@ -83821,7 +84538,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '404': *6 x-github: githubCloudOnly: false @@ -83845,9 +84562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: true content: @@ -83880,7 +84597,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -83905,9 +84622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: true content: @@ -83940,7 +84657,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -83965,9 +84682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: true content: @@ -84000,7 +84717,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '422': *15 x-github: githubCloudOnly: false @@ -84027,9 +84744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 requestBody: required: true content: @@ -84051,7 +84768,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *576 examples: default: value: @@ -84165,8 +84882,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *511 - - *512 + - *514 + - *515 - *102 - *103 - *104 @@ -84180,9 +84897,9 @@ paths: application/json: schema: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 '404': *6 '500': *37 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -84202,8 +84919,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: bypass_request_number in: path required: true @@ -84217,7 +84934,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: default: value: @@ -84276,8 +84993,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *511 - - *512 + - *514 + - *515 - *102 - *103 - *104 @@ -84291,9 +85008,9 @@ paths: application/json: schema: type: array - items: *323 + items: *326 examples: - default: *324 + default: *327 '404': *6 '403': *29 '500': *37 @@ -84317,8 +85034,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *511 - - *512 + - *514 + - *515 - name: bypass_request_number in: path required: true @@ -84330,7 +85047,7 @@ paths: description: A single bypass request. content: application/json: - schema: *323 + schema: *326 examples: default: value: @@ -84388,8 +85105,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *511 - - *512 + - *514 + - *515 - name: bypass_request_number in: path required: true @@ -84460,8 +85177,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *511 - - *512 + - *514 + - *515 - name: bypass_response_id in: path required: true @@ -84494,8 +85211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -84774,7 +85491,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &577 title: CheckRun description: A check performed on the code of a given code change type: object @@ -84885,16 +85602,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *236 - deployment: &947 + items: *239 + deployment: &950 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -84961,8 +85678,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -85174,9 +85891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *511 - - *512 - - &575 + - *514 + - *515 + - &578 name: check_run_id description: The unique identifier of the check run. in: path @@ -85189,9 +85906,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *577 examples: - default: &576 + default: &579 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -85291,9 +86008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *511 - - *512 - - *575 + - *514 + - *515 + - *578 requestBody: required: true content: @@ -85533,9 +86250,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *577 examples: - default: *576 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85555,9 +86272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *511 - - *512 - - *575 + - *514 + - *515 + - *578 - *17 - *19 responses: @@ -85652,15 +86369,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *511 - - *512 - - *575 + - *514 + - *515 + - *578 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -85698,8 +86415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -85721,7 +86438,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &579 + schema: &582 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -85785,7 +86502,7 @@ paths: nullable: true pull_requests: type: array - items: *236 + items: *239 nullable: true app: title: GitHub app @@ -85796,9 +86513,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - repository: *292 + properties: *229 + required: *230 + repository: *295 created_at: type: string format: date-time @@ -85807,12 +86524,12 @@ paths: type: string format: date-time nullable: true - head_commit: &980 + head_commit: &983 title: Simple Commit description: A commit. type: object - properties: *577 - required: *578 + properties: *580 + required: *581 latest_check_runs_count: type: integer check_runs_url: @@ -85840,7 +86557,7 @@ paths: - check_runs_url - pull_requests examples: - default: &580 + default: &583 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -86131,9 +86848,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *579 + schema: *582 examples: - default: *580 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86152,8 +86869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -86214,7 +86931,7 @@ paths: required: - app_id - setting - repository: *292 + repository: *295 examples: default: value: @@ -86462,9 +87179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *511 - - *512 - - &581 + - *514 + - *515 + - &584 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -86476,9 +87193,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: *580 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86501,17 +87218,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: - - *511 - - *512 - - *581 - - &637 + - *514 + - *515 + - *584 + - &640 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &638 + - &641 name: status description: Returns check runs with the specified `status`. in: query @@ -86550,9 +87267,9 @@ paths: type: integer check_runs: type: array - items: *574 + items: *577 examples: - default: &639 + default: &642 value: total_count: 1 check_runs: @@ -86654,15 +87371,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *511 - - *512 - - *581 + - *514 + - *515 + - *584 responses: '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -86685,8 +87402,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: - - *511 - - *512 + - *514 + - *515 - *17 - *109 - *107 @@ -86708,7 +87425,7 @@ paths: application/json: schema: type: array - items: &582 + items: &585 description: Code quality finding type: object properties: @@ -86838,14 +87555,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': &583 + '403': &586 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86865,8 +87582,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: - - *511 - - *512 + - *514 + - *515 - name: finding_number in: path description: The number that identifies a finding. @@ -86878,7 +87595,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *585 examples: default: value: @@ -86907,9 +87624,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': *583 + '403': *586 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86929,8 +87646,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -87002,9 +87719,9 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *583 + '403': *586 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87023,8 +87740,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -87093,7 +87810,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -87136,7 +87853,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87159,14 +87876,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: &584 + schema: &587 description: AI Scan enablement for a repository. type: object properties: @@ -87179,10 +87896,10 @@ paths: required: - pr_scan examples: - default: &585 + default: &588 value: pr_scan: enabled - '403': &594 + '403': &597 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -87210,8 +87927,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -87238,10 +87955,10 @@ paths: description: Response content: application/json: - schema: *584 + schema: *587 examples: - default: *585 - '403': &598 + default: *588 + '403': &601 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -87272,21 +87989,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: - - *511 - - *512 - - *331 - - *332 + - *514 + - *515 + - *334 + - *335 - *19 - *17 - - &602 + - &605 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: *586 - - &603 + schema: *589 + - &606 name: pr description: The number of the pull request for the results you want to list. in: query @@ -87311,13 +88028,13 @@ paths: be returned. in: query required: false - schema: *333 + schema: *336 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *587 + schema: *590 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -87336,14 +88053,14 @@ paths: items: type: object properties: - number: *132 - created_at: *139 - updated_at: *140 - url: *137 - html_url: *138 - instances_url: *588 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *591 state: *112 - fixed_at: *142 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -87351,12 +88068,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *141 - dismissed_reason: *589 - dismissed_comment: *590 - rule: *591 - tool: *592 - most_recent_instance: *593 + dismissed_at: *144 + dismissed_reason: *592 + dismissed_comment: *593 + rule: *594 + tool: *595 + most_recent_instance: *596 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -87482,9 +88199,9 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *34 - '403': *594 + '403': *597 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87504,9 +88221,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: - - *511 - - *512 - - &596 + - *514 + - *515 + - &599 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -87514,23 +88231,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *132 + schema: *135 responses: '200': description: Response content: application/json: - schema: &597 + schema: &600 type: object properties: - number: *132 - created_at: *139 - updated_at: *140 - url: *137 - html_url: *138 - instances_url: *588 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *591 state: *112 - fixed_at: *142 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -87538,9 +88255,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *141 - dismissed_reason: *589 - dismissed_comment: *590 + dismissed_at: *144 + dismissed_reason: *592 + dismissed_comment: *593 rule: type: object properties: @@ -87594,8 +88311,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *592 - most_recent_instance: *593 + tool: *595 + most_recent_instance: *596 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -87609,7 +88326,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *595 + items: *598 required: - number - created_at @@ -87698,9 +88415,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *34 - '403': *594 + '403': *597 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87718,9 +88435,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: - - *511 - - *512 - - *596 + - *514 + - *515 + - *599 requestBody: required: true content: @@ -87735,8 +88452,8 @@ paths: enum: - open - dismissed - dismissed_reason: *589 - dismissed_comment: *590 + dismissed_reason: *592 + dismissed_comment: *593 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -87764,7 +88481,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: default: value: @@ -87840,9 +88557,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': *598 + '403': *601 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87862,15 +88579,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: - - *511 - - *512 - - *596 + - *514 + - *515 + - *599 responses: '200': description: Response content: application/json: - schema: &599 + schema: &602 type: object properties: status: @@ -87896,13 +88613,13 @@ paths: - description - started_at examples: - default: &600 + default: &603 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &601 + '400': &604 description: Bad Request content: application/json: @@ -87913,7 +88630,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': *594 + '403': *597 '404': *6 '500': *37 x-github: @@ -87938,29 +88655,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: - - *511 - - *512 - - *596 + - *514 + - *515 + - *599 responses: '200': description: OK content: application/json: - schema: *599 + schema: *602 examples: - default: *600 + default: *603 '202': description: Accepted content: application/json: - schema: *599 + schema: *602 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *601 + '400': *604 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -87992,9 +88709,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: - - *511 - - *512 - - *596 + - *514 + - *515 + - *599 requestBody: required: false content: @@ -88039,12 +88756,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *601 - '403': *598 + '400': *604 + '403': *601 '404': *6 '422': description: Unprocessable Entity - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88064,13 +88781,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: - - *511 - - *512 - - *596 + - *514 + - *515 + - *599 - *19 - *17 - - *602 - - *603 + - *605 + - *606 responses: '200': description: Response @@ -88081,10 +88798,10 @@ paths: items: type: object properties: - ref: *586 - analysis_key: *604 - environment: *605 - category: *606 + ref: *589 + analysis_key: *607 + environment: *608 + category: *609 state: type: string description: State of a code scanning alert instance. @@ -88099,7 +88816,7 @@ paths: properties: text: type: string - location: *607 + location: *610 html_url: type: string classifications: @@ -88107,7 +88824,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: *608 + items: *611 examples: default: value: @@ -88144,9 +88861,9 @@ paths: end_column: 50 classifications: - source - '403': *594 + '403': *597 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88178,25 +88895,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: - - *511 - - *512 - - *331 - - *332 + - *514 + - *515 + - *334 + - *335 - *19 - *17 - - *603 + - *606 - 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: *586 + schema: *589 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &609 + schema: &612 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -88217,23 +88934,23 @@ paths: application/json: schema: type: array - items: &610 + items: &613 type: object properties: - ref: *586 - commit_sha: &618 + ref: *589 + commit_sha: &621 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: *604 + analysis_key: *607 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *606 + category: *609 error: type: string example: error reading field xyz @@ -88257,8 +88974,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *609 - tool: *592 + sarif_id: *612 + tool: *595 deletable: type: boolean warning: @@ -88319,9 +89036,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *594 + '403': *597 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88355,8 +89072,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: - - *511 - - *512 + - *514 + - *515 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -88369,7 +89086,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *613 examples: response: summary: application/json response @@ -88423,14 +89140,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *594 + '403': *597 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88510,8 +89227,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: - - *511 - - *512 + - *514 + - *515 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -88564,9 +89281,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': *598 + '403': *601 '404': *6 - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88586,8 +89303,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -88595,7 +89312,7 @@ paths: application/json: schema: type: array - items: &611 + items: &614 title: CodeQL Database description: A CodeQL database. type: object @@ -88706,9 +89423,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': *594 + '403': *597 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88735,8 +89452,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: - - *511 - - *512 + - *514 + - *515 - name: language in: path description: The language of the CodeQL database. @@ -88748,7 +89465,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *614 examples: default: value: @@ -88780,11 +89497,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': &648 + '302': &651 description: Found - '403': *594 + '403': *597 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88804,8 +89521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *511 - - *512 + - *514 + - *515 - name: language in: path description: The language of the CodeQL database. @@ -88815,9 +89532,9 @@ paths: responses: '204': description: Response - '403': *598 + '403': *601 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88843,8 +89560,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -88853,7 +89570,7 @@ paths: type: object additionalProperties: false properties: - language: &612 + language: &615 type: string description: The language targeted by the CodeQL query enum: @@ -88933,7 +89650,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &616 + schema: &619 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -88943,7 +89660,7 @@ paths: description: The ID of the variant analysis. controller_repo: *119 actor: *4 - query_language: *612 + query_language: *615 query_pack_url: type: string description: The download url for the query pack. @@ -88990,7 +89707,7 @@ paths: items: type: object properties: - repository: &613 + repository: &616 title: Repository Identifier description: Repository Identifier type: object @@ -89026,7 +89743,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &617 + analysis_status: &620 type: string description: The new status of the CodeQL variant analysis repository task. @@ -89058,7 +89775,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &614 + access_mismatch_repos: &617 type: object properties: repository_count: @@ -89072,7 +89789,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: *613 + items: *616 required: - repository_count - repositories @@ -89094,8 +89811,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *614 - over_limit_repos: *614 + no_codeql_db_repos: *617 + over_limit_repos: *617 required: - access_mismatch_repos - not_found_repos @@ -89111,7 +89828,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &615 + value: &618 summary: Default response value: id: 1 @@ -89257,17 +89974,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *615 + value: *618 repository_lists: summary: Response for a successful variant analysis submission - value: *615 + value: *618 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89288,8 +90005,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: - - *511 - - *512 + - *514 + - *515 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -89301,11 +90018,11 @@ paths: description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: *615 + default: *618 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89326,7 +90043,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: - - *511 + - *514 - name: repo in: path description: The name of the controller repository. @@ -89361,7 +90078,7 @@ paths: type: object properties: repository: *119 - analysis_status: *617 + analysis_status: *620 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -89465,7 +90182,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89486,8 +90203,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -89589,9 +90306,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *594 + '403': *597 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89610,8 +90327,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -89678,7 +90395,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -89703,7 +90420,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *598 + '403': *601 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -89717,7 +90434,7 @@ paths: content: application/json: schema: *3 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89774,8 +90491,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -89783,7 +90500,7 @@ paths: schema: type: object properties: - commit_sha: *618 + commit_sha: *621 ref: type: string description: |- @@ -89841,7 +90558,7 @@ paths: schema: type: object properties: - id: *609 + id: *612 url: type: string description: The REST API URL for checking the status of the upload. @@ -89855,11 +90572,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': *598 + '403': *601 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89878,8 +90595,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: - - *511 - - *512 + - *514 + - *515 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -89925,10 +90642,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': *594 + '403': *597 '404': description: Not Found if the sarif id does not match any upload - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89950,8 +90667,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -90032,8 +90749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *511 - - *512 + - *514 + - *515 - 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 @@ -90153,8 +90870,8 @@ paths: parameters: - *17 - *19 - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -90170,7 +90887,7 @@ paths: type: integer codespaces: type: array - items: *409 + items: *412 examples: default: value: @@ -90468,8 +91185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -90532,22 +91249,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90571,8 +91288,8 @@ paths: parameters: - *17 - *19 - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -90636,8 +91353,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: - - *511 - - *512 + - *514 + - *515 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -90672,14 +91389,14 @@ paths: type: integer machines: type: array - items: &890 + items: &893 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *620 - required: *621 + properties: *623 + required: *624 examples: - default: &891 + default: &894 value: total_count: 2 machines: @@ -90719,8 +91436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *511 - - *512 + - *514 + - *515 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -90804,8 +91521,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: - - *511 - - *512 + - *514 + - *515 - 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 @@ -90850,7 +91567,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90871,8 +91588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -90890,7 +91607,7 @@ paths: type: integer secrets: type: array - items: &625 + items: &628 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -90910,7 +91627,7 @@ paths: - created_at - updated_at examples: - default: *622 + default: *625 headers: Link: *44 x-github: @@ -90933,16 +91650,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90962,17 +91679,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 responses: '200': description: Response content: application/json: - schema: *625 + schema: *628 examples: - default: *626 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90992,9 +91709,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: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 requestBody: required: true content: @@ -91022,7 +91739,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -91046,9 +91763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 responses: '204': description: Response @@ -91076,8 +91793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *511 - - *512 + - *514 + - *515 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -91119,7 +91836,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &627 + properties: &630 login: type: string example: octocat @@ -91212,7 +91929,7 @@ paths: user_view_type: type: string example: public - required: &628 + required: &631 - avatar_url - events_url - followers_url @@ -91286,8 +92003,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: - - *511 - - *512 + - *514 + - *515 - *131 responses: '204': @@ -91334,8 +92051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *511 - - *512 + - *514 + - *515 - *131 requestBody: required: false @@ -91362,7 +92079,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &705 + schema: &708 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91373,7 +92090,7 @@ paths: example: 42 type: integer format: int64 - repository: *292 + repository: *295 invitee: title: Simple User description: A GitHub user. @@ -91551,7 +92268,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *267 + schema: *270 '403': *29 x-github: triggersNotification: true @@ -91591,8 +92308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *511 - - *512 + - *514 + - *515 - *131 responses: '204': @@ -91624,8 +92341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *511 - - *512 + - *514 + - *515 - *131 responses: '200': @@ -91646,8 +92363,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *627 - required: *628 + properties: *630 + required: *631 nullable: true required: - permission @@ -91702,8 +92419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -91713,7 +92430,7 @@ paths: application/json: schema: type: array - items: &629 + items: &632 title: Commit Comment description: Commit Comment type: object @@ -91754,8 +92471,8 @@ paths: updated_at: type: string format: date-time - author_association: *228 - reactions: *229 + author_association: *231 + reactions: *232 required: - url - html_url @@ -91771,7 +92488,7 @@ paths: - created_at - updated_at examples: - default: &634 + default: &637 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -91830,17 +92547,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 responses: '200': description: Response content: application/json: - schema: *629 + schema: *632 examples: - default: &635 + default: &638 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -91897,9 +92614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 requestBody: required: true content: @@ -91921,7 +92638,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *632 examples: default: value: @@ -91972,9 +92689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 responses: '204': description: Response @@ -91995,9 +92712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 - 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. @@ -92023,7 +92740,7 @@ paths: application/json: schema: type: array - items: &630 + items: &633 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -92066,7 +92783,7 @@ paths: - content - created_at examples: - default: &709 + default: &712 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -92111,9 +92828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 requestBody: required: true content: @@ -92145,9 +92862,9 @@ paths: description: Reaction exists content: application/json: - schema: *630 + schema: *633 examples: - default: &631 + default: &634 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -92176,9 +92893,9 @@ paths: description: Reaction created content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -92200,10 +92917,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *511 - - *512 - - *247 - - &710 + - *514 + - *515 + - *250 + - &713 name: reaction_id description: The unique identifier of the reaction. in: path @@ -92258,8 +92975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *511 - - *512 + - *514 + - *515 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -92315,9 +93032,9 @@ paths: application/json: schema: type: array - items: *632 + items: *635 examples: - default: &784 + default: &787 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -92411,9 +93128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *511 - - *512 - - &633 + - *514 + - *515 + - &636 name: commit_sha description: The SHA of the commit. in: path @@ -92485,9 +93202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *511 - - *512 - - *633 + - *514 + - *515 + - *636 - *17 - *19 responses: @@ -92497,9 +93214,9 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: *634 + default: *637 headers: Link: *44 x-github: @@ -92529,9 +93246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *511 - - *512 - - *633 + - *514 + - *515 + - *636 requestBody: required: true content: @@ -92566,9 +93283,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *632 examples: - default: *635 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -92596,9 +93313,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: - - *511 - - *512 - - *633 + - *514 + - *515 + - *636 - *17 - *19 responses: @@ -92608,9 +93325,9 @@ paths: application/json: schema: type: array - items: *595 + items: *598 examples: - default: &775 + default: &778 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93147,11 +93864,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *511 - - *512 + - *514 + - *515 - *19 - *17 - - &636 + - &639 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)" @@ -93166,9 +93883,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *635 examples: - default: &760 + default: &763 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -93256,7 +93973,7 @@ paths: schema: type: string examples: - default: &645 + default: &648 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -93269,7 +93986,7 @@ paths: schema: type: string examples: - default: &646 + default: &649 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -93296,7 +94013,7 @@ paths: '422': *15 '404': *6 '500': *37 - '503': *201 + '503': *204 '409': *118 x-github: githubCloudOnly: false @@ -93322,11 +94039,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: - - *511 - - *512 - - *636 - - *637 - - *638 + - *514 + - *515 + - *639 + - *640 + - *641 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -93360,9 +94077,9 @@ paths: type: integer check_runs: type: array - items: *574 + items: *577 examples: - default: *639 + default: *642 headers: Link: *44 x-github: @@ -93387,9 +94104,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: - - *511 - - *512 - - *636 + - *514 + - *515 + - *639 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -93397,7 +94114,7 @@ paths: schema: type: integer example: 1 - - *637 + - *640 - *17 - *19 responses: @@ -93415,7 +94132,7 @@ paths: type: integer check_suites: type: array - items: *579 + items: *582 examples: default: value: @@ -93615,9 +94332,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: - - *511 - - *512 - - *636 + - *514 + - *515 + - *639 - *17 - *19 responses: @@ -93684,7 +94401,7 @@ paths: type: string total_count: type: integer - repository: *292 + repository: *295 commit_url: type: string format: uri @@ -93815,9 +94532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *511 - - *512 - - *636 + - *514 + - *515 + - *639 - *17 - *19 responses: @@ -93827,7 +94544,7 @@ paths: application/json: schema: type: array - items: &842 + items: &845 title: Status description: The status of a commit. type: object @@ -93908,7 +94625,7 @@ paths: site_admin: false headers: Link: *44 - '301': *517 + '301': *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93936,8 +94653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -93966,20 +94683,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *640 - required: *641 + properties: *643 + required: *644 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &642 + properties: &645 url: type: string format: uri html_url: type: string format: uri - required: &643 + required: &646 - url - html_url nullable: true @@ -93987,32 +94704,32 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true contributing: title: Community Health File type: object - properties: *642 - required: *643 + properties: *645 + required: *646 nullable: true readme: title: Community Health File type: object - properties: *642 - required: *643 + properties: *645 + required: *646 nullable: true issue_template: title: Community Health File type: object - properties: *642 - required: *643 + properties: *645 + required: *646 nullable: true pull_request_template: title: Community Health File type: object - properties: *642 - required: *643 + properties: *645 + required: *646 nullable: true required: - code_of_conduct @@ -94139,8 +94856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *511 - - *512 + - *514 + - *515 - *19 - *17 - name: basehead @@ -94183,8 +94900,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *632 - merge_base_commit: *632 + base_commit: *635 + merge_base_commit: *635 status: type: string enum: @@ -94204,10 +94921,10 @@ paths: example: 6 commits: type: array - items: *632 + items: *635 files: type: array - items: *644 + items: *647 required: - url - html_url @@ -94453,15 +95170,15 @@ paths: schema: type: string examples: - default: *645 + default: *648 application/vnd.github.patch: schema: type: string examples: - default: *646 + default: *649 '404': *6 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94503,8 +95220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *511 - - *512 + - *514 + - *515 - name: path description: path parameter in: path @@ -94664,7 +95381,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &647 + response-if-content-is-a-file-github-object: &650 summary: Response if content is a file value: type: file @@ -94796,7 +95513,7 @@ paths: - size - type - url - - &790 + - &793 title: Content File description: Content File type: object @@ -94997,7 +95714,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *647 + response-if-content-is-a-file: *650 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -95066,7 +95783,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *648 + '302': *651 '304': *34 x-github: githubCloudOnly: false @@ -95119,8 +95836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *511 - - *512 + - *514 + - *515 - name: path description: path parameter in: path @@ -95213,7 +95930,7 @@ paths: description: Response content: application/json: - schema: &649 + schema: &652 title: File Commit description: File Commit type: object @@ -95365,7 +96082,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: example-for-creating-a-file: value: @@ -95419,7 +96136,7 @@ paths: schema: oneOf: - *3 - - &687 + - &690 description: Repository rule violation was detected type: object properties: @@ -95440,7 +96157,7 @@ paths: items: type: object properties: - placeholder_id: &832 + placeholder_id: &835 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -95472,8 +96189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *511 - - *512 + - *514 + - *515 - name: path description: path parameter in: path @@ -95534,7 +96251,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: default: value: @@ -95569,7 +96286,7 @@ paths: '422': *15 '404': *6 '409': *118 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95589,8 +96306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *511 - - *512 + - *514 + - *515 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -95719,8 +96436,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -95871,25 +96588,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *511 - - *512 - - *352 - - *353 - - *354 + - *514 + - *515 - *355 - *356 + - *357 + - *358 + - *359 - 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 - - *357 - - *650 - - *358 - - *359 - *360 + - *653 - *361 + - *362 + - *363 + - *364 - *109 - *107 - *108 @@ -95901,11 +96618,11 @@ paths: application/json: schema: type: array - items: &654 + items: &657 type: object description: A Dependabot alert. properties: - number: *132 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -95920,7 +96637,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *133 + package: *136 manifest_path: type: string description: The full path to the dependency manifest file, @@ -95948,13 +96665,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *651 - security_vulnerability: *136 - url: *137 - html_url: *138 - created_at: *139 - updated_at: *140 - dismissed_at: *141 + security_advisory: *654 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -95978,9 +96695,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *142 - auto_dismissed_at: *652 - dismissal_request: *653 + fixed_at: *145 + auto_dismissed_at: *655 + dismissal_request: *656 assignees: type: array description: The users assigned to this alert. @@ -96237,9 +96954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *511 - - *512 - - &655 + - *514 + - *515 + - &658 name: alert_number in: path description: |- @@ -96248,13 +96965,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *132 + schema: *135 responses: '200': description: Response content: application/json: - schema: *654 + schema: *657 examples: default: value: @@ -96388,9 +97105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *511 - - *512 - - *655 + - *514 + - *515 + - *658 requestBody: required: true content: @@ -96463,7 +97180,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: default: value: @@ -96595,8 +97312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -96614,7 +97331,7 @@ paths: type: integer secrets: type: array - items: &658 + items: &661 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -96667,16 +97384,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *656 + schema: *659 examples: - default: *657 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96696,15 +97413,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 responses: '200': description: Response content: application/json: - schema: *658 + schema: *661 examples: default: value: @@ -96730,9 +97447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 requestBody: required: true content: @@ -96760,7 +97477,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -96784,9 +97501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *511 - - *512 - - *302 + - *514 + - *515 + - *305 responses: '204': description: Response @@ -96808,8 +97525,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: - - *511 - - *512 + - *514 + - *515 - 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 @@ -96955,7 +97672,7 @@ paths: schema: *3 '400': *14 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false category: dependency-graph @@ -96975,8 +97692,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -97217,8 +97934,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: - - *511 - - *512 + - *514 + - *515 - name: sbom_uuid in: path required: true @@ -97229,7 +97946,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *659 + Location: *662 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -97250,8 +97967,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: - - *511 - - *512 + - *514 + - *515 responses: '201': description: Response @@ -97289,8 +98006,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -97365,7 +98082,7 @@ paths: - version - url additionalProperties: false - metadata: &660 + metadata: &663 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -97398,7 +98115,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *660 + metadata: *663 resolved: type: object description: A collection of resolved package dependencies. @@ -97411,7 +98128,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *660 + metadata: *663 relationship: type: string description: A notation of whether a dependency is requested @@ -97540,8 +98257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *511 - - *512 + - *514 + - *515 - name: sha description: The SHA recorded at creation time. in: query @@ -97581,9 +98298,9 @@ paths: application/json: schema: type: array - items: *661 + items: *664 examples: - default: *662 + default: *665 headers: Link: *44 x-github: @@ -97649,8 +98366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -97731,7 +98448,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *664 examples: simple-example: summary: Simple example @@ -97804,9 +98521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *511 - - *512 - - &663 + - *514 + - *515 + - &666 name: deployment_id description: deployment_id parameter in: path @@ -97818,7 +98535,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *664 examples: default: value: @@ -97883,9 +98600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *511 - - *512 - - *663 + - *514 + - *515 + - *666 responses: '204': description: Response @@ -97907,9 +98624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *511 - - *512 - - *663 + - *514 + - *515 + - *666 - *17 - *19 responses: @@ -97919,7 +98636,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 title: Deployment Status description: The status of a deployment. type: object @@ -98010,8 +98727,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -98080,9 +98797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *511 - - *512 - - *663 + - *514 + - *515 + - *666 requestBody: required: true content: @@ -98157,9 +98874,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: &665 + default: &668 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -98215,9 +98932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *511 - - *512 - - *663 + - *514 + - *515 + - *666 - name: status_id in: path required: true @@ -98228,9 +98945,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -98257,12 +98974,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *511 - - *512 - - *666 - - *667 - - *668 + - *514 + - *515 - *669 + - *670 + - *671 + - *672 - *17 - *19 responses: @@ -98272,9 +98989,9 @@ paths: application/json: schema: type: array - items: *670 + items: *673 examples: - default: *671 + default: *674 '404': *6 '403': *29 '500': *37 @@ -98298,8 +99015,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: alert_number in: path required: true @@ -98311,7 +99028,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *670 + schema: *673 examples: default: value: @@ -98367,8 +99084,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: alert_number in: path required: true @@ -98427,12 +99144,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *511 - - *512 - - *666 - - *667 - - *668 + - *514 + - *515 - *669 + - *670 + - *671 + - *672 - *17 - *19 responses: @@ -98442,9 +99159,9 @@ paths: application/json: schema: type: array - items: *672 + items: *675 examples: - default: *673 + default: *676 '404': *6 '403': *29 '500': *37 @@ -98468,8 +99185,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: alert_number in: path required: true @@ -98481,7 +99198,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *672 + schema: *675 examples: default: value: @@ -98532,8 +99249,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: alert_number in: path required: true @@ -98572,7 +99289,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *672 + schema: *675 examples: default: value: @@ -98623,8 +99340,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: alert_number in: path required: true @@ -98695,8 +99412,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: alert_number in: path required: true @@ -98729,12 +99446,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - *102 - *103 - *104 - - *367 + - *370 - *17 - *19 responses: @@ -98744,9 +99461,9 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: - default: *370 + default: *373 '404': *6 '403': *29 '500': *37 @@ -98771,8 +99488,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: alert_number in: path required: true @@ -98784,7 +99501,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -98842,8 +99559,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: alert_number in: path required: true @@ -98912,8 +99629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -98970,8 +99687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -98988,7 +99705,7 @@ paths: type: integer environments: type: array - items: &675 + items: &678 title: Environment description: Details of a deployment environment type: object @@ -99040,7 +99757,7 @@ paths: type: type: string example: wait_timer - wait_timer: &677 + wait_timer: &680 type: integer example: 30 description: The amount of time to delay a job after @@ -99077,11 +99794,11 @@ paths: items: type: object properties: - type: *674 + type: *677 reviewer: anyOf: - *4 - - *325 + - *328 required: - id - node_id @@ -99101,7 +99818,7 @@ paths: - id - node_id - type - deployment_branch_policy: &678 + deployment_branch_policy: &681 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -99217,9 +99934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *511 - - *512 - - &676 + - *514 + - *515 + - &679 name: environment_name in: path required: true @@ -99232,9 +99949,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *678 examples: - default: &679 + default: &682 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -99318,9 +100035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *511 - - *512 - - *676 + - *514 + - *515 + - *679 requestBody: required: false content: @@ -99329,7 +100046,7 @@ paths: type: object nullable: true properties: - wait_timer: *677 + wait_timer: *680 prevent_self_review: type: boolean example: false @@ -99346,13 +100063,13 @@ paths: items: type: object properties: - type: *674 + type: *677 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *678 + deployment_branch_policy: *681 additionalProperties: false examples: default: @@ -99372,9 +100089,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *678 examples: - default: *679 + default: *682 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -99398,9 +100115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *511 - - *512 - - *676 + - *514 + - *515 + - *679 responses: '204': description: Default response @@ -99425,9 +100142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *511 - - *512 - - *676 + - *514 + - *515 + - *679 - *17 - *19 responses: @@ -99445,7 +100162,7 @@ paths: example: 2 branch_policies: type: array - items: &680 + items: &683 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -99502,9 +100219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *511 - - *512 - - *676 + - *514 + - *515 + - *679 requestBody: required: true content: @@ -99550,9 +100267,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *683 examples: - example-wildcard: &681 + example-wildcard: &684 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -99594,10 +100311,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *511 - - *512 - - *676 - - &682 + - *514 + - *515 + - *679 + - &685 name: branch_policy_id in: path required: true @@ -99609,9 +100326,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *683 examples: - default: *681 + default: *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99630,10 +100347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *511 - - *512 - - *676 - - *682 + - *514 + - *515 + - *679 + - *685 requestBody: required: true content: @@ -99661,9 +100378,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *683 examples: - default: *681 + default: *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99682,10 +100399,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *511 - - *512 - - *676 - - *682 + - *514 + - *515 + - *679 + - *685 responses: '204': description: Response @@ -99710,9 +100427,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: - - *676 - - *512 - - *511 + - *679 + - *515 + - *514 responses: '200': description: List of deployment protection rules @@ -99728,7 +100445,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &683 + items: &686 title: Deployment protection rule description: Deployment protection rule type: object @@ -99747,7 +100464,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &684 + app: &687 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -99846,9 +100563,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: - - *676 - - *512 - - *511 + - *679 + - *515 + - *514 requestBody: content: application/json: @@ -99869,9 +100586,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *683 + schema: *686 examples: - default: &685 + default: &688 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -99906,9 +100623,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: - - *676 - - *512 - - *511 + - *679 + - *515 + - *514 - *19 - *17 responses: @@ -99927,7 +100644,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *684 + items: *687 examples: default: value: @@ -99962,10 +100679,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: - - *511 - - *512 - - *676 - - &686 + - *514 + - *515 + - *679 + - &689 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -99977,9 +100694,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *686 examples: - default: *685 + default: *688 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100000,10 +100717,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: - - *676 - - *512 - - *511 - - *686 + - *679 + - *515 + - *514 + - *689 responses: '204': description: Response @@ -100029,9 +100746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *511 - - *512 - - *676 + - *514 + - *515 + - *679 - *17 - *19 responses: @@ -100049,9 +100766,9 @@ paths: type: integer secrets: type: array - items: *541 + items: *544 examples: - default: *542 + default: *545 headers: Link: *44 x-github: @@ -100076,17 +100793,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *511 - - *512 - - *676 + - *514 + - *515 + - *679 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100108,18 +100825,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *511 - - *512 - - *676 - - *302 + - *514 + - *515 + - *679 + - *305 responses: '200': description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: *555 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100141,10 +100858,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *511 - - *512 - - *676 - - *302 + - *514 + - *515 + - *679 + - *305 requestBody: required: true content: @@ -100175,7 +100892,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -100201,10 +100918,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *511 - - *512 - - *676 - - *302 + - *514 + - *515 + - *679 + - *305 responses: '204': description: Default response @@ -100229,10 +100946,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *511 - - *512 - - *676 - - *311 + - *514 + - *515 + - *679 + - *314 - *19 responses: '200': @@ -100249,9 +100966,9 @@ paths: type: integer variables: type: array - items: *543 + items: *546 examples: - default: *544 + default: *547 headers: Link: *44 x-github: @@ -100274,9 +100991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *511 - - *512 - - *676 + - *514 + - *515 + - *679 requestBody: required: true content: @@ -100303,7 +101020,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -100328,18 +101045,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *511 - - *512 - - *676 - - *305 + - *514 + - *515 + - *679 + - *308 responses: '200': description: Response content: application/json: - schema: *543 + schema: *546 examples: - default: *556 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100360,10 +101077,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *511 - - *512 - - *305 - - *676 + - *514 + - *515 + - *308 + - *679 requestBody: required: true content: @@ -100405,10 +101122,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *511 - - *512 - - *305 - - *676 + - *514 + - *515 + - *308 + - *679 responses: '204': description: Response @@ -100430,8 +101147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -100441,7 +101158,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: 200-response: value: @@ -100499,8 +101216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *511 - - *512 + - *514 + - *515 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -100522,7 +101239,7 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: default: value: @@ -100659,8 +101376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: false content: @@ -100692,9 +101409,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *519 examples: - default: *518 + default: *521 '400': *14 '422': *15 '403': *29 @@ -100715,8 +101432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -100775,8 +101492,8 @@ paths: application/json: schema: oneOf: - - *267 - - *687 + - *270 + - *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100801,8 +101518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *511 - - *512 + - *514 + - *515 - name: file_sha in: path required: true @@ -100901,8 +101618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -101011,7 +101728,7 @@ paths: description: Response content: application/json: - schema: &688 + schema: &691 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -101225,15 +101942,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *511 - - *512 - - *633 + - *514 + - *515 + - *636 responses: '200': description: Response content: application/json: - schema: *688 + schema: *691 examples: default: value: @@ -101289,9 +102006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *511 - - *512 - - &689 + - *514 + - *515 + - &692 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. @@ -101308,7 +102025,7 @@ paths: application/json: schema: type: array - items: &690 + items: &693 title: Git Reference description: Git references within a repository type: object @@ -101383,17 +102100,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *511 - - *512 - - *689 + - *514 + - *515 + - *692 responses: '200': description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: &691 + default: &694 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -101422,8 +102139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -101452,9 +102169,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: *691 + default: *694 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -101480,9 +102197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *511 - - *512 - - *689 + - *514 + - *515 + - *692 requestBody: required: true content: @@ -101511,9 +102228,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: *691 + default: *694 '422': *15 '409': *118 x-github: @@ -101531,9 +102248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *511 - - *512 - - *689 + - *514 + - *515 + - *692 responses: '204': description: Response @@ -101588,8 +102305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -101656,7 +102373,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &696 title: Git Tag description: Metadata for a Git tag type: object @@ -101707,7 +102424,7 @@ paths: - sha - type - url - verification: *692 + verification: *695 required: - sha - url @@ -101717,7 +102434,7 @@ paths: - tag - message examples: - default: &694 + default: &697 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -101790,8 +102507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *511 - - *512 + - *514 + - *515 - name: tag_sha in: path required: true @@ -101802,9 +102519,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *696 examples: - default: *694 + default: *697 '404': *6 '409': *118 x-github: @@ -101828,8 +102545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -101902,7 +102619,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &698 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -101998,8 +102715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *511 - - *512 + - *514 + - *515 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -102022,7 +102739,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: default-response: summary: Default response @@ -102080,8 +102797,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -102124,8 +102841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -102135,7 +102852,7 @@ paths: application/json: schema: type: array - items: &696 + items: &699 title: Webhook description: Webhooks for repositories. type: object @@ -102189,7 +102906,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &989 + last_response: &992 title: Hook Response type: object properties: @@ -102263,8 +102980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: false content: @@ -102316,9 +103033,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: &697 + default: &700 value: type: Repository id: 12345678 @@ -102366,17 +103083,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 responses: '200': description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: *697 + default: *700 '404': *6 x-github: githubCloudOnly: false @@ -102396,9 +103113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 requestBody: required: true content: @@ -102443,9 +103160,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: *697 + default: *700 '422': *15 '404': *6 x-github: @@ -102466,9 +103183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 responses: '204': description: Response @@ -102492,9 +103209,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: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 responses: '200': description: Response @@ -102521,9 +103238,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: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 requestBody: required: false content: @@ -102567,12 +103284,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 - *17 - - *377 - - *378 + - *380 + - *381 responses: '200': description: Response @@ -102580,9 +103297,9 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: - default: *380 + default: *383 '400': *14 '422': *15 x-github: @@ -102601,18 +103318,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: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 - *16 responses: '200': description: Response content: application/json: - schema: *381 + schema: *384 examples: - default: *382 + default: *385 '400': *14 '422': *15 x-github: @@ -102631,9 +103348,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: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 - *16 responses: '202': *36 @@ -102656,9 +103373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 responses: '204': description: Response @@ -102683,9 +103400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *511 - - *512 - - *376 + - *514 + - *515 + - *379 responses: '204': description: Response @@ -102708,8 +103425,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response if immutable releases are enabled @@ -102755,8 +103472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': *125 '409': *118 @@ -102776,8 +103493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': *125 '409': *118 @@ -102834,14 +103551,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: &698 + schema: &701 title: Import description: A repository import from an external source. type: object @@ -102940,7 +103657,7 @@ paths: - html_url - authors_url examples: - default: &701 + default: &704 value: vcs: subversion use_lfs: true @@ -102956,7 +103673,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': &699 + '503': &702 description: Unavailable due to service under maintenance. content: application/json: @@ -102985,8 +103702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -103034,7 +103751,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: default: value: @@ -103059,7 +103776,7 @@ paths: type: string '422': *15 '404': *6 - '503': *699 + '503': *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103087,8 +103804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: false content: @@ -103137,7 +103854,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: example-1: summary: Example 1 @@ -103185,7 +103902,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': *699 + '503': *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103208,12 +103925,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response - '503': *699 + '503': *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103239,9 +103956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *511 - - *512 - - &913 + - *514 + - *515 + - &916 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -103255,7 +103972,7 @@ paths: application/json: schema: type: array - items: &700 + items: &703 title: Porter Author description: Porter Author type: object @@ -103309,7 +104026,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': *699 + '503': *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103334,8 +104051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *511 - - *512 + - *514 + - *515 - name: author_id in: path required: true @@ -103365,7 +104082,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *703 examples: default: value: @@ -103378,7 +104095,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *699 + '503': *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103402,8 +104119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -103444,7 +104161,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *699 + '503': *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103472,8 +104189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -103500,11 +104217,11 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: - default: *701 + default: *704 '422': *15 - '503': *699 + '503': *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103527,8 +104244,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -103536,8 +104253,8 @@ paths: application/json: schema: *22 examples: - default: *394 - '301': *517 + default: *397 + '301': *520 '404': *6 x-github: githubCloudOnly: false @@ -103557,8 +104274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -103566,12 +104283,12 @@ paths: application/json: schema: anyOf: - - *396 + - *399 - type: object properties: {} additionalProperties: false examples: - default: &703 + default: &706 value: limit: collaborators_only origin: repository @@ -103596,13 +104313,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: application/json: - schema: *702 + schema: *705 examples: default: summary: Example request body @@ -103614,9 +104331,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *399 examples: - default: *703 + default: *706 '409': description: Response x-github: @@ -103638,8 +104355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -103666,8 +104383,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -103721,13 +104438,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: application/json: - schema: &704 + schema: &707 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. @@ -103777,13 +104494,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: application/json: - schema: *704 + schema: *707 examples: default: summary: Example request body @@ -103816,8 +104533,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -103870,8 +104587,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -103947,8 +104664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -103958,9 +104675,9 @@ paths: application/json: schema: type: array - items: *705 + items: *708 examples: - default: &906 + default: &909 value: - id: 1 repository: @@ -104091,9 +104808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *511 - - *512 - - *400 + - *514 + - *515 + - *403 requestBody: required: false content: @@ -104122,7 +104839,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: default: value: @@ -104253,9 +104970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *511 - - *512 - - *400 + - *514 + - *515 + - *403 responses: '204': description: Response @@ -104278,8 +104995,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -104287,9 +105004,9 @@ paths: application/json: schema: type: array - items: *404 + items: *407 examples: - default: *706 + default: *709 '404': *6 x-github: githubCloudOnly: false @@ -104318,8 +105035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *511 - - *512 + - *514 + - *515 - 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 @@ -104381,7 +105098,7 @@ paths: required: false schema: type: string - - *407 + - *410 - name: sort description: What to sort results by. in: query @@ -104394,7 +105111,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -104404,9 +105121,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: &721 + default: &724 value: - id: 1 node_id: MDU6SXNzdWUx @@ -104555,7 +105272,7 @@ paths: state_reason: completed headers: Link: *44 - '301': *517 + '301': *520 '422': *15 '404': *6 x-github: @@ -104584,8 +105301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -104698,9 +105415,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: &718 + default: &721 value: id: 1 node_id: MDU6SXNzdWUx @@ -104861,7 +105578,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *201 + '503': *204 '404': *6 '410': *32 x-github: @@ -104901,9 +105618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *511 - - *512 - - *255 + - *514 + - *515 + - *258 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -104913,7 +105630,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -104923,9 +105640,9 @@ paths: application/json: schema: type: array - items: *707 + items: *710 examples: - default: &720 + default: &723 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -104984,17 +105701,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 responses: '200': description: Response content: application/json: - schema: *707 + schema: *710 examples: - default: &708 + default: &711 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -105050,9 +105767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 requestBody: required: true content: @@ -105074,9 +105791,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *710 examples: - default: *708 + default: *711 '422': *15 x-github: githubCloudOnly: false @@ -105094,9 +105811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 responses: '204': description: Response @@ -105124,15 +105841,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 responses: '200': description: Response content: application/json: - schema: *707 + schema: *710 examples: default: value: @@ -105205,9 +105922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 responses: '204': description: Response @@ -105215,7 +105932,7 @@ paths: '403': *29 '404': *6 '410': *32 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105232,9 +105949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 - 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. @@ -105260,9 +105977,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: *709 + default: *712 headers: Link: *44 '404': *6 @@ -105283,9 +106000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 requestBody: required: true content: @@ -105317,16 +106034,16 @@ paths: description: Reaction exists content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '201': description: Reaction created content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -105348,10 +106065,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *511 - - *512 - - *247 - - *710 + - *514 + - *515 + - *250 + - *713 responses: '204': description: Response @@ -105371,8 +106088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -105382,7 +106099,7 @@ paths: application/json: schema: type: array - items: &717 + items: &720 title: Issue Event description: Issue Event type: object @@ -105425,9 +106142,9 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *711 - required: *712 - x-github-breaking-changes: *713 + properties: *714 + required: *715 + x-github-breaking-changes: *716 nullable: true label: title: Issue Event Label @@ -105471,7 +106188,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *325 + requested_team: *328 dismissed_review: title: Issue Event Dismissed Review type: object @@ -105536,7 +106253,7 @@ paths: required: - from - to - issue_type: &714 + issue_type: &717 title: Issue Type description: The type of issue. type: object @@ -105564,14 +106281,14 @@ paths: required: - id - name - prev_issue_type: *714 + prev_issue_type: *717 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: &715 + properties: &718 number: type: integer description: The number of the referenced issue. @@ -105609,7 +106326,7 @@ paths: - id - node_id - name - required: &716 + required: &719 - number - title - state @@ -105621,24 +106338,24 @@ paths: event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 blocking: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -105649,7 +106366,7 @@ paths: is disabled or the event type does not support intent. type: object nullable: true - properties: &722 + properties: &725 rationale: type: string description: The reasoning the agent provided for the change. @@ -105663,7 +106380,7 @@ paths: - MEDIUM - HIGH nullable: true - author_association: *228 + author_association: *231 lock_reason: type: string nullable: true @@ -105676,8 +106393,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -105862,8 +106579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *511 - - *512 + - *514 + - *515 - name: event_id in: path required: true @@ -105874,7 +106591,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *720 examples: default: value: @@ -106101,9 +106818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *511 - - *512 - - &719 + - *514 + - *515 + - &722 name: issue_number description: The number that identifies the issue. in: path @@ -106115,11 +106832,11 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: default: summary: Issue - value: *718 + value: *721 pinned_comment: summary: Issue with pinned comment value: @@ -106324,7 +107041,7 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *517 + '301': *520 '404': *6 '410': *32 '304': *34 @@ -106351,9 +107068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: false content: @@ -106560,7 +107277,7 @@ paths: application/json: schema: allOf: - - *231 + - *234 - type: object properties: suggestions: @@ -106705,11 +107422,11 @@ paths: - already_applied - issue_already_closed examples: - default: *718 + default: *721 '422': *15 - '503': *201 + '503': *204 '403': *29 - '301': *517 + '301': *520 '404': *6 '410': *32 x-github: @@ -106739,9 +107456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: false content: @@ -106789,9 +107506,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *718 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106807,9 +107524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: content: application/json: @@ -106834,9 +107551,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *718 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106858,9 +107575,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: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - name: assignee in: path required: true @@ -106900,10 +107617,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *511 - - *512 - - *719 - - *238 + - *514 + - *515 + - *722 + - *241 - *17 - *19 responses: @@ -106913,9 +107630,9 @@ paths: application/json: schema: type: array - items: *707 + items: *710 examples: - default: *720 + default: *723 headers: Link: *44 '404': *6 @@ -106948,9 +107665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: true content: @@ -106972,9 +107689,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *710 examples: - default: *708 + default: *711 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -107009,9 +107726,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: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - *17 - *19 responses: @@ -107021,12 +107738,12 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *721 + default: *724 headers: Link: *44 - '301': *517 + '301': *520 '404': *6 '410': *32 x-github: @@ -107056,9 +107773,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: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: true content: @@ -107080,15 +107797,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *718 + default: *721 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *517 + '301': *520 '403': *29 '410': *32 '422': *15 @@ -107121,9 +107838,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: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -107135,10 +107852,10 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *718 - '301': *517 + default: *721 + '301': *520 '400': *14 '401': *25 '403': *29 @@ -107169,9 +107886,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: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - *17 - *19 responses: @@ -107181,12 +107898,12 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *721 + default: *724 headers: Link: *44 - '301': *517 + '301': *520 '404': *6 '410': *32 x-github: @@ -107205,9 +107922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - *17 - *19 responses: @@ -107221,7 +107938,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &728 + - &731 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -107252,8 +107969,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 label: type: object properties: @@ -107274,7 +107991,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *722 + properties: *725 required: - label - id @@ -107286,7 +108003,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &729 + - &732 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -107317,8 +108034,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 label: type: object properties: @@ -107339,7 +108056,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *722 + properties: *725 required: - label - id @@ -107385,7 +108102,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *722 + properties: *725 required: - id - node_id @@ -107428,8 +108145,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 assigner: *4 required: @@ -107444,7 +108161,7 @@ paths: - performed_via_github_app - assignee - assigner - - &730 + - &733 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -107475,8 +108192,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 milestone: type: object properties: @@ -107495,7 +108212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &731 + - &734 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -107526,8 +108243,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 milestone: type: object properties: @@ -107546,7 +108263,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &732 + - &735 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -107577,8 +108294,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 rename: type: object properties: @@ -107600,7 +108317,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &733 + - &736 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -107631,10 +108348,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 review_requester: *4 - requested_team: *325 + requested_team: *328 requested_reviewer: *4 required: - review_requester @@ -107647,7 +108364,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &734 + - &737 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -107678,10 +108395,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 review_requester: *4 - requested_team: *325 + requested_team: *328 requested_reviewer: *4 required: - review_requester @@ -107694,7 +108411,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &735 + - &738 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -107725,8 +108442,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 dismissed_review: type: object properties: @@ -107754,7 +108471,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &736 + - &739 title: Locked Issue Event description: Locked Issue Event type: object @@ -107785,8 +108502,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 lock_reason: type: string example: '"off-topic"' @@ -107802,7 +108519,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &737 + - &740 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -107833,8 +108550,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -107868,7 +108585,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &738 + - &741 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -107899,8 +108616,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -107934,7 +108651,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &739 + - &742 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -107965,8 +108682,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 project_card: type: object properties: @@ -108000,7 +108717,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &740 + - &743 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -108056,7 +108773,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &745 + - &748 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -108087,9 +108804,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - issue_type: *714 + properties: *229 + required: *230 + issue_type: *717 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -108100,7 +108817,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *722 + properties: *725 required: - issue_type - id @@ -108112,7 +108829,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &746 + - &749 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -108143,9 +108860,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - prev_issue_type: *714 + properties: *229 + required: *230 + prev_issue_type: *717 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -108156,7 +108873,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *722 + properties: *725 required: - prev_issue_type - id @@ -108168,7 +108885,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &747 + - &750 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -108199,10 +108916,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - issue_type: *714 - prev_issue_type: *714 + properties: *229 + required: *230 + issue_type: *717 + prev_issue_type: *717 intent: title: Issue Event Intent description: The intent behind an agent's action on an issue, @@ -108213,7 +108930,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *722 + properties: *725 required: - issue_type - prev_issue_type @@ -108226,7 +108943,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &748 + - &751 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -108257,8 +108974,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -108266,8 +108983,8 @@ paths: events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 required: - sub_issue - id @@ -108279,7 +108996,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &749 + - &752 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -108310,8 +109027,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -108319,8 +109036,8 @@ paths: events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 required: - sub_issue - id @@ -108332,7 +109049,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &750 + - &753 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -108363,8 +109080,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -108372,8 +109089,8 @@ paths: events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 required: - parent_issue - id @@ -108385,7 +109102,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &751 + - &754 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -108416,8 +109133,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -108425,8 +109142,8 @@ paths: events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 required: - parent_issue - id @@ -108438,7 +109155,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &752 + - &755 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -108469,8 +109186,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -108478,8 +109195,8 @@ paths: events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 required: - blocked_by - id @@ -108491,7 +109208,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &753 + - &756 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -108522,8 +109239,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -108531,8 +109248,8 @@ paths: events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 required: - blocked_by - id @@ -108544,7 +109261,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &754 + - &757 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -108575,8 +109292,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -108584,8 +109301,8 @@ paths: events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 required: - blocking - id @@ -108597,7 +109314,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &755 + - &758 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -108628,8 +109345,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -108637,8 +109354,8 @@ paths: events). type: object nullable: true - properties: *715 - required: *716 + properties: *718 + required: *719 required: - blocking - id @@ -108702,9 +109419,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: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - *17 - *19 responses: @@ -108714,9 +109431,9 @@ paths: application/json: schema: type: array - items: *723 + items: *726 examples: - default: &724 + default: &727 value: - issue_field_id: 1 issue_field_name: DRI @@ -108756,7 +109473,7 @@ paths: color: green headers: Link: *44 - '301': *517 + '301': *520 '404': *6 '410': *32 x-github: @@ -108787,9 +109504,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: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: true content: @@ -108859,14 +109576,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *723 + items: *726 examples: - default: *724 + default: *727 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -108897,9 +109614,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: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: true content: @@ -108964,14 +109681,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *723 + items: *726 examples: - default: *724 + default: *727 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -108997,17 +109714,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: - - *511 - - *512 - - *719 - - *403 + - *514 + - *515 + - *722 + - *406 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -109025,9 +109742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - *17 - *19 responses: @@ -109037,9 +109754,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: &725 + default: &728 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -109079,7 +109796,7 @@ paths: site_admin: false headers: Link: *44 - '301': *517 + '301': *520 '404': *6 '410': *32 x-github: @@ -109097,9 +109814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: false content: @@ -109177,10 +109894,10 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *725 - '301': *517 + default: *728 + '301': *520 '404': *6 '410': *32 '422': *15 @@ -109199,9 +109916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: false content: @@ -109261,10 +109978,10 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *725 - '301': *517 + default: *728 + '301': *520 '404': *6 '410': *32 '422': *15 @@ -109283,13 +110000,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 responses: '204': description: Response - '301': *517 + '301': *520 '404': *6 '410': *32 x-github: @@ -109310,9 +110027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - name: name in: path required: true @@ -109325,7 +110042,7 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: default: value: @@ -109338,7 +110055,7 @@ paths: default: true archived_at: archived_by: - '301': *517 + '301': *520 '404': *6 '410': *32 x-github: @@ -109360,9 +110077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: false content: @@ -109408,9 +110125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 responses: '204': description: Response @@ -109440,18 +110157,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 responses: '200': description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *718 - '301': *517 + default: *721 + '301': *520 '404': *6 '410': *32 x-github: @@ -109470,9 +110187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - 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. @@ -109498,9 +110215,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: *709 + default: *712 headers: Link: *44 '404': *6 @@ -109522,9 +110239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: true content: @@ -109556,16 +110273,16 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '201': description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -109587,10 +110304,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *511 - - *512 - - *719 - - *710 + - *514 + - *515 + - *722 + - *713 responses: '204': description: Response @@ -109619,9 +110336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: true content: @@ -109643,9 +110360,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *718 + default: *721 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -109679,9 +110396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - *17 - *19 responses: @@ -109691,9 +110408,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *721 + default: *724 headers: Link: *44 '404': *6 @@ -109725,9 +110442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: true content: @@ -109754,9 +110471,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *718 + default: *721 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -109783,9 +110500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 requestBody: required: true content: @@ -109816,13 +110533,13 @@ paths: description: Response content: application/json: - schema: *231 + schema: *234 examples: - default: *718 + default: *721 '403': *29 '404': *6 '422': *7 - '503': *201 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -109847,9 +110564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - name: state in: query required: false @@ -109886,7 +110603,7 @@ paths: application/json: schema: type: array - items: &726 + items: &729 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -110038,9 +110755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - name: suggestion_id in: path required: true @@ -110052,9 +110769,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *729 examples: - default: &727 + default: &730 value: id: 12 issue_id: 4567 @@ -110092,9 +110809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - name: suggestion_id in: path required: true @@ -110106,9 +110823,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *729 examples: - default: *727 + default: *730 '403': *29 '404': *6 '422': *15 @@ -110128,9 +110845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *511 - - *512 - - *719 + - *514 + - *515 + - *722 - *17 - *19 - name: exclude @@ -110151,9 +110868,6 @@ paths: description: Timeline Event type: object anyOf: - - *728 - - *729 - - *730 - *731 - *732 - *733 @@ -110164,6 +110878,9 @@ paths: - *738 - *739 - *740 + - *741 + - *742 + - *743 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -110206,7 +110923,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *231 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -110216,23 +110933,23 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *229 + required: *230 + reactions: *232 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *741 - required: *742 + properties: *744 + required: *745 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *743 - required: *744 + properties: *746 + required: *747 nullable: true required: - event @@ -110264,7 +110981,7 @@ paths: properties: type: type: string - issue: *231 + issue: *234 required: - event - created_at @@ -110464,7 +111181,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *231 required: - event - id @@ -110487,7 +111204,7 @@ paths: type: string comments: type: array - items: &778 + items: &781 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -110582,7 +111299,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *231 _links: type: object properties: @@ -110666,7 +111383,7 @@ paths: enum: - line - file - reactions: *229 + reactions: *232 body_html: type: string example: '"

comment body

"' @@ -110702,7 +111419,7 @@ paths: type: string comments: type: array - items: *629 + items: *632 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -110733,8 +111450,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 intent: title: Issue Event Intent @@ -110746,7 +111463,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *722 + properties: *725 required: - id - node_id @@ -110788,8 +111505,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 assignee: *4 required: - id @@ -110832,8 +111549,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 state_reason: type: string nullable: true @@ -110847,7 +111564,7 @@ paths: feature is disabled or the event type does not support intent. type: object nullable: true - properties: *722 + properties: *725 required: - id - node_id @@ -110858,9 +111575,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *745 - - *746 - - *747 - *748 - *749 - *750 @@ -110869,6 +111583,9 @@ paths: - *753 - *754 - *755 + - *756 + - *757 + - *758 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -110899,8 +111616,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -110941,8 +111658,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 required: - id - node_id @@ -111126,8 +111843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -111137,7 +111854,7 @@ paths: application/json: schema: type: array - items: &756 + items: &759 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -111203,8 +111920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -111240,9 +111957,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *759 examples: - default: &757 + default: &760 value: id: 1 key: ssh-rsa AAA... @@ -111276,9 +111993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *511 - - *512 - - &758 + - *514 + - *515 + - &761 name: key_id description: The unique identifier of the key. in: path @@ -111290,9 +112007,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *759 examples: - default: *757 + default: *760 '404': *6 x-github: githubCloudOnly: false @@ -111310,9 +112027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *511 - - *512 - - *758 + - *514 + - *515 + - *761 responses: '204': description: Response @@ -111332,8 +112049,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -111343,9 +112060,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *725 + default: *728 headers: Link: *44 '404': *6 @@ -111366,8 +112083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -111403,9 +112120,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: &759 + default: &762 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -111439,8 +112156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *511 - - *512 + - *514 + - *515 - name: name in: path required: true @@ -111451,9 +112168,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: - default: *759 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -111470,8 +112187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *511 - - *512 + - *514 + - *515 - name: name in: path required: true @@ -111515,7 +112232,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *233 examples: default: value: @@ -111543,8 +112260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *511 - - *512 + - *514 + - *515 - name: name in: path required: true @@ -111570,8 +112287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -111607,8 +112324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 responses: '202': *36 '403': @@ -111636,8 +112353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -111663,9 +112380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *511 - - *512 - - *602 + - *514 + - *515 + - *605 responses: '200': description: Response @@ -111727,8 +112444,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true required: - _links @@ -111810,8 +112527,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -111876,8 +112593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -111911,9 +112628,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *632 + schema: *635 examples: - default: *760 + default: *763 '204': description: Response when already merged '404': @@ -111938,8 +112655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *511 - - *512 + - *514 + - *515 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -111980,12 +112697,12 @@ paths: application/json: schema: type: array - items: &761 + items: &764 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *439 - required: *440 + properties: *442 + required: *443 examples: default: value: @@ -112041,8 +112758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -112082,9 +112799,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *764 examples: - default: &762 + default: &765 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -112143,9 +112860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *511 - - *512 - - &763 + - *514 + - *515 + - &766 name: milestone_number description: The number that identifies the milestone. in: path @@ -112157,9 +112874,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *764 examples: - default: *762 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -112176,9 +112893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *511 - - *512 - - *763 + - *514 + - *515 + - *766 requestBody: required: false content: @@ -112216,9 +112933,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *764 examples: - default: *762 + default: *765 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112234,9 +112951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *511 - - *512 - - *763 + - *514 + - *515 + - *766 responses: '204': description: Response @@ -112257,9 +112974,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: - - *511 - - *512 - - *763 + - *514 + - *515 + - *766 - *17 - *19 responses: @@ -112269,9 +112986,9 @@ paths: application/json: schema: type: array - items: *230 + items: *233 examples: - default: *725 + default: *728 headers: Link: *44 x-github: @@ -112290,12 +113007,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: - - *511 - - *512 - - *764 - - *765 - - *238 - - *766 + - *514 + - *515 + - *767 + - *768 + - *241 + - *769 - *17 - *19 responses: @@ -112305,9 +113022,9 @@ paths: application/json: schema: type: array - items: *258 + items: *261 examples: - default: *767 + default: *770 headers: Link: *44 x-github: @@ -112331,8 +113048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: false content: @@ -112390,14 +113107,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: &768 + schema: &771 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -112522,7 +113239,7 @@ paths: - custom_404 - public examples: - default: &769 + default: &772 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -112563,8 +113280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -112618,9 +113335,9 @@ paths: description: Response content: application/json: - schema: *768 + schema: *771 examples: - default: *769 + default: *772 '422': *15 '409': *118 x-github: @@ -112643,8 +113360,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -112751,8 +113468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -112778,8 +113495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -112789,7 +113506,7 @@ paths: application/json: schema: type: array - items: &770 + items: &773 title: Page Build description: Page Build type: object @@ -112883,8 +113600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *511 - - *512 + - *514 + - *515 responses: '201': description: Response @@ -112929,16 +113646,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *770 + schema: *773 examples: - default: &771 + default: &774 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -112986,8 +113703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *511 - - *512 + - *514 + - *515 - name: build_id in: path required: true @@ -112998,9 +113715,9 @@ paths: description: Response content: application/json: - schema: *770 + schema: *773 examples: - default: *771 + default: *774 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113020,8 +113737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -113126,9 +113843,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: - - *511 - - *512 - - &772 + - *514 + - *515 + - &775 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -113186,9 +113903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *511 - - *512 - - *772 + - *514 + - *515 + - *775 responses: '204': *125 '404': *6 @@ -113215,8 +113932,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -113447,7 +114164,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -113474,8 +114191,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Private vulnerability reporting status @@ -113512,8 +114229,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: - - *511 - - *512 + - *514 + - *515 responses: '204': *125 '422': *14 @@ -113534,8 +114251,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: - - *511 - - *512 + - *514 + - *515 responses: '204': *125 '422': *14 @@ -113557,8 +114274,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -113566,9 +114283,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *773 + default: *776 '403': *29 '404': *6 x-github: @@ -113590,8 +114307,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -113603,11 +114320,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *161 + items: *164 required: - properties examples: - default: *774 + default: *777 responses: '204': description: No Content when custom property values are successfully created @@ -113645,8 +114362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *511 - - *512 + - *514 + - *515 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -113706,9 +114423,9 @@ paths: application/json: schema: type: array - items: *595 + items: *598 examples: - default: *775 + default: *778 headers: Link: *44 '304': *34 @@ -113740,8 +114457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -113806,7 +114523,7 @@ paths: description: Response content: application/json: - schema: &780 + schema: &783 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -113925,8 +114642,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *439 - required: *440 + properties: *442 + required: *443 nullable: true active_lock_reason: type: string @@ -113969,7 +114686,7 @@ paths: items: *4 requested_teams: type: array - items: *495 + items: *498 head: type: object properties: @@ -114007,14 +114724,14 @@ paths: _links: type: object properties: - comments: *441 - commits: *441 - statuses: *441 - html: *441 - issue: *441 - review_comments: *441 - review_comment: *441 - self: *441 + comments: *444 + commits: *444 + statuses: *444 + html: *444 + issue: *444 + review_comments: *444 + review_comment: *444 + self: *444 required: - comments - commits @@ -114024,9 +114741,9 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: *776 - stack: *777 + author_association: *231 + auto_merge: *779 + stack: *780 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -114212,7 +114929,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &781 + default: &784 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -114750,8 +115467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *511 - - *512 + - *514 + - *515 - name: sort in: query required: false @@ -114770,7 +115487,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -114780,9 +115497,9 @@ paths: application/json: schema: type: array - items: *778 + items: *781 examples: - default: &783 + default: &786 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -114859,17 +115576,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: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 responses: '200': description: Response content: application/json: - schema: *778 + schema: *781 examples: - default: &779 + default: &782 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -114944,9 +115661,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: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 requestBody: required: true content: @@ -114968,9 +115685,9 @@ paths: description: Response content: application/json: - schema: *778 + schema: *781 examples: - default: *779 + default: *782 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114986,9 +115703,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: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 responses: '204': description: Response @@ -115009,9 +115726,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: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 - 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. @@ -115037,9 +115754,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: *709 + default: *712 headers: Link: *44 '404': *6 @@ -115060,9 +115777,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: - - *511 - - *512 - - *247 + - *514 + - *515 + - *250 requestBody: required: true content: @@ -115094,16 +115811,16 @@ paths: description: Reaction exists content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '201': description: Reaction created content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -115125,10 +115842,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *511 - - *512 - - *247 - - *710 + - *514 + - *515 + - *250 + - *713 responses: '204': description: Response @@ -115171,9 +115888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *511 - - *512 - - &782 + - *514 + - *515 + - &785 name: pull_number description: The number that identifies the pull request. in: path @@ -115186,9 +115903,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *780 + schema: *783 examples: - default: *781 + default: *784 '304': *34 '404': *6 '406': @@ -115197,7 +115914,7 @@ paths: application/json: schema: *3 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115223,9 +115940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: false content: @@ -115267,9 +115984,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *783 examples: - default: *781 + default: *784 '422': *15 '403': *29 x-github: @@ -115291,9 +116008,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: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: true content: @@ -115353,21 +116070,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115393,10 +116110,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: - - *511 - - *512 - - *782 - - *255 + - *514 + - *515 + - *785 + - *258 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -115406,7 +116123,7 @@ paths: enum: - asc - desc - - *238 + - *241 - *17 - *19 responses: @@ -115416,9 +116133,9 @@ paths: application/json: schema: type: array - items: *778 + items: *781 examples: - default: *783 + default: *786 headers: Link: *44 x-github: @@ -115451,9 +116168,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: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: true content: @@ -115558,7 +116275,7 @@ paths: description: Response content: application/json: - schema: *778 + schema: *781 examples: example-for-a-multi-line-comment: value: @@ -115646,10 +116363,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: - - *511 - - *512 - - *782 - - *247 + - *514 + - *515 + - *785 + - *250 requestBody: required: true content: @@ -115671,7 +116388,7 @@ paths: description: Response content: application/json: - schema: *778 + schema: *781 examples: default: value: @@ -115757,9 +116474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 - *17 - *19 responses: @@ -115769,9 +116486,9 @@ paths: application/json: schema: type: array - items: *632 + items: *635 examples: - default: *784 + default: *787 headers: Link: *44 x-github: @@ -115801,9 +116518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 - *17 - *19 responses: @@ -115813,7 +116530,7 @@ paths: application/json: schema: type: array - items: *644 + items: *647 examples: default: value: @@ -115832,7 +116549,7 @@ paths: Link: *44 '422': *15 '500': *37 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115851,9 +116568,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: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 responses: '204': description: Response if pull request has been merged @@ -115876,9 +116593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: false content: @@ -116000,9 +116717,9 @@ paths: category: pulls subcategory: pulls parameters: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: false content: @@ -116054,7 +116771,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &785 + schema: &788 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -116139,7 +116856,7 @@ paths: merge queue content: application/json: - schema: *785 + schema: *788 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -116159,7 +116876,7 @@ paths: this pull request content: application/json: - schema: *785 + schema: *788 examples: response-if-a-merge-request-already-exists: value: @@ -116175,7 +116892,7 @@ paths: it is closed content: application/json: - schema: *785 + schema: *788 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -116207,9 +116924,9 @@ paths: category: pulls subcategory: pulls parameters: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -116222,7 +116939,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *785 + schema: *788 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -116270,9 +116987,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: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 responses: '200': description: Response @@ -116288,7 +117005,7 @@ paths: items: *4 teams: type: array - items: *325 + items: *328 required: - users - teams @@ -116347,9 +117064,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: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: false content: @@ -116386,7 +117103,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *598 examples: default: value: @@ -116922,9 +117639,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: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: true content: @@ -116958,7 +117675,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *598 examples: default: value: @@ -117474,9 +118191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 - *17 - *19 responses: @@ -117486,7 +118203,7 @@ paths: application/json: schema: type: array - items: &786 + items: &789 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -117555,7 +118272,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *231 required: - id - node_id @@ -117637,9 +118354,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: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: false content: @@ -117725,9 +118442,9 @@ paths: description: Response content: application/json: - schema: *786 + schema: *789 examples: - default: &788 + default: &791 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -117790,10 +118507,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: - - *511 - - *512 - - *782 - - &787 + - *514 + - *515 + - *785 + - &790 name: review_id description: The unique identifier of the review. in: path @@ -117805,9 +118522,9 @@ paths: description: Response content: application/json: - schema: *786 + schema: *789 examples: - default: &789 + default: &792 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -117866,10 +118583,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: - - *511 - - *512 - - *782 - - *787 + - *514 + - *515 + - *785 + - *790 requestBody: required: true content: @@ -117892,7 +118609,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *789 examples: default: value: @@ -117954,18 +118671,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: - - *511 - - *512 - - *782 - - *787 + - *514 + - *515 + - *785 + - *790 responses: '200': description: Response content: application/json: - schema: *786 + schema: *789 examples: - default: *788 + default: *791 '422': *7 '404': *6 x-github: @@ -117992,10 +118709,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: - - *511 - - *512 - - *782 - - *787 + - *514 + - *515 + - *785 + - *790 - *17 - *19 responses: @@ -118074,13 +118791,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *231 _links: type: object properties: - self: *441 - html: *441 - pull_request: *441 + self: *444 + html: *444 + pull_request: *444 required: - self - html @@ -118089,7 +118806,7 @@ paths: type: string body_html: type: string - reactions: *229 + reactions: *232 side: description: The side of the first line of the range for a multi-line comment. @@ -118230,10 +118947,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: - - *511 - - *512 - - *782 - - *787 + - *514 + - *515 + - *785 + - *790 requestBody: required: true content: @@ -118261,7 +118978,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *789 examples: default: value: @@ -118324,10 +119041,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: - - *511 - - *512 - - *782 - - *787 + - *514 + - *515 + - *785 + - *790 requestBody: required: true content: @@ -118362,9 +119079,9 @@ paths: description: Response content: application/json: - schema: *786 + schema: *789 examples: - default: *789 + default: *792 '404': *6 '422': *7 '403': *29 @@ -118386,9 +119103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *511 - - *512 - - *782 + - *514 + - *515 + - *785 requestBody: required: false content: @@ -118451,8 +119168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *511 - - *512 + - *514 + - *515 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -118465,9 +119182,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *793 examples: - default: &791 + default: &794 value: type: file encoding: base64 @@ -118509,8 +119226,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: - - *511 - - *512 + - *514 + - *515 - name: dir description: The alternate path to look for a README file in: path @@ -118530,9 +119247,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *793 examples: - default: *791 + default: *794 '404': *6 '422': *15 x-github: @@ -118554,8 +119271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -118565,7 +119282,7 @@ paths: application/json: schema: type: array - items: *792 + items: *795 examples: default: value: @@ -118664,8 +119381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -118741,9 +119458,9 @@ paths: description: Response content: application/json: - schema: *792 + schema: *795 examples: - default: &796 + default: &799 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -118848,9 +119565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *511 - - *512 - - &794 + - *514 + - *515 + - &797 name: asset_id description: The unique identifier of the asset. in: path @@ -118862,9 +119579,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *796 examples: - default: &795 + default: &798 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 @@ -118899,7 +119616,7 @@ paths: type: User site_admin: false '404': *6 - '302': *648 + '302': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118915,9 +119632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *511 - - *512 - - *794 + - *514 + - *515 + - *797 requestBody: required: false content: @@ -118945,9 +119662,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *796 examples: - default: *795 + default: *798 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118963,9 +119680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *511 - - *512 - - *794 + - *514 + - *515 + - *797 responses: '204': description: Response @@ -118990,8 +119707,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -119076,16 +119793,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response content: application/json: - schema: *792 + schema: *795 examples: - default: *796 + default: *799 '404': *6 x-github: githubCloudOnly: false @@ -119103,8 +119820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *511 - - *512 + - *514 + - *515 - name: tag description: tag parameter in: path @@ -119117,9 +119834,9 @@ paths: description: Response content: application/json: - schema: *792 + schema: *795 examples: - default: *796 + default: *799 '404': *6 x-github: githubCloudOnly: false @@ -119141,9 +119858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *511 - - *512 - - &797 + - *514 + - *515 + - &800 name: release_id description: The unique identifier of the release. in: path @@ -119157,9 +119874,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: *792 + schema: *795 examples: - default: *796 + default: *799 '401': description: Unauthorized x-github: @@ -119183,9 +119900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *511 - - *512 - - *797 + - *514 + - *515 + - *800 requestBody: required: false content: @@ -119249,9 +119966,9 @@ paths: description: Response content: application/json: - schema: *792 + schema: *795 examples: - default: *796 + default: *799 '404': description: Not Found if the discussion category name is invalid content: @@ -119272,9 +119989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *511 - - *512 - - *797 + - *514 + - *515 + - *800 responses: '204': description: Response @@ -119295,9 +120012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *511 - - *512 - - *797 + - *514 + - *515 + - *800 - *17 - *19 responses: @@ -119307,7 +120024,7 @@ paths: application/json: schema: type: array - items: *793 + items: *796 examples: default: value: @@ -119389,9 +120106,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: - - *511 - - *512 - - *797 + - *514 + - *515 + - *800 - name: name in: query required: true @@ -119417,7 +120134,7 @@ paths: description: Response for successful upload content: application/json: - schema: *793 + schema: *796 examples: response-for-successful-upload: value: @@ -119472,9 +120189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *511 - - *512 - - *797 + - *514 + - *515 + - *800 - 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. @@ -119498,9 +120215,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: *709 + default: *712 headers: Link: *44 '404': *6 @@ -119521,9 +120238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *511 - - *512 - - *797 + - *514 + - *515 + - *800 requestBody: required: true content: @@ -119553,16 +120270,16 @@ paths: description: Reaction exists content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '201': description: Reaction created content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -119584,10 +120301,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *511 - - *512 - - *797 - - *710 + - *514 + - *515 + - *800 + - *713 responses: '204': description: Response @@ -119611,9 +120328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *511 - - *512 - - *563 + - *514 + - *515 + - *566 - *17 - *19 responses: @@ -119629,8 +120346,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *175 - - &798 + - *178 + - &801 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -119649,72 +120366,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *176 - - *798 - - allOf: - - *177 - - *798 - - allOf: - - *178 - - *798 - - allOf: - - *799 - - *798 - allOf: - *179 - - *798 + - *801 - allOf: - *180 - - *798 + - *801 - allOf: - *181 - - *798 + - *801 + - allOf: + - *802 + - *801 - allOf: - *182 - - *798 + - *801 - allOf: - *183 - - *798 + - *801 - allOf: - *184 - - *798 + - *801 - allOf: - *185 - - *798 + - *801 - allOf: - *186 - - *798 + - *801 - allOf: - *187 - - *798 + - *801 - allOf: - *188 - - *798 + - *801 - allOf: - *189 - - *798 + - *801 - allOf: - *190 - - *798 + - *801 - allOf: - *191 - - *798 - - allOf: - - *800 - - *798 + - *801 - allOf: - *192 - - *798 + - *801 - allOf: - *193 - - *798 + - *801 - allOf: - *194 - - *798 + - *801 + - allOf: + - *803 + - *801 - allOf: - *195 - - *798 + - *801 + - allOf: + - *196 + - *801 + - allOf: + - *197 + - *801 + - allOf: + - *198 + - *801 examples: default: value: @@ -119753,8 +120470,8 @@ paths: category: repos subcategory: rules parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 - name: includes_parents @@ -119765,7 +120482,7 @@ paths: schema: type: boolean default: true - - *801 + - *804 responses: '200': description: Response @@ -119773,7 +120490,7 @@ paths: application/json: schema: type: array - items: *196 + items: *199 examples: default: value: @@ -119820,8 +120537,8 @@ paths: category: repos subcategory: rules parameters: - - *511 - - *512 + - *514 + - *515 requestBody: description: Request body required: true @@ -119841,16 +120558,16 @@ paths: - tag - push default: branch - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *167 + items: *177 + conditions: *170 rules: type: array description: An array of rules within the ruleset. - items: *802 + items: *805 required: - name - enforcement @@ -119881,9 +120598,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: &812 + default: &815 value: id: 42 name: super cool ruleset @@ -119931,13 +120648,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *511 - - *512 - - *803 - - *104 - - *804 - - *805 + - *514 + - *515 - *806 + - *104 + - *807 + - *808 + - *809 - *17 - *19 responses: @@ -119945,9 +120662,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *810 examples: - default: *808 + default: *811 '404': *6 '500': *37 x-github: @@ -119968,17 +120685,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *511 - - *512 - - *809 + - *514 + - *515 + - *812 responses: '200': description: Response content: application/json: - schema: *810 + schema: *813 examples: - default: *811 + default: *814 '404': *6 '500': *37 x-github: @@ -120006,8 +120723,8 @@ paths: category: repos subcategory: rules parameters: - - *511 - - *512 + - *514 + - *515 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120027,9 +120744,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *812 + default: *815 '404': *6 '500': *37 put: @@ -120047,8 +120764,8 @@ paths: category: repos subcategory: rules parameters: - - *511 - - *512 + - *514 + - *515 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120073,16 +120790,16 @@ paths: - branch - tag - push - enforcement: *173 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *174 - conditions: *167 + items: *177 + conditions: *170 rules: description: An array of rules within the ruleset. type: array - items: *802 + items: *805 examples: default: value: @@ -120110,9 +120827,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *199 examples: - default: *812 + default: *815 '404': *6 '422': *15 '500': *37 @@ -120131,8 +120848,8 @@ paths: category: repos subcategory: rules parameters: - - *511 - - *512 + - *514 + - *515 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120155,8 +120872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 - name: ruleset_id @@ -120172,9 +120889,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *460 + default: *463 '404': *6 '500': *37 x-github: @@ -120193,8 +120910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *511 - - *512 + - *514 + - *515 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120212,7 +120929,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *464 examples: default: value: @@ -120267,28 +120984,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: - - *511 - - *512 - - *462 - - *463 - - *464 + - *514 + - *515 - *465 - *466 - *467 - *468 - *469 - - *109 - - *19 - - *17 - - *813 - - *814 - *470 - *471 - *472 + - *109 + - *19 + - *17 + - *816 + - *817 - *473 - *474 - *475 - *476 + - *477 + - *478 + - *479 responses: '200': description: Response @@ -120299,8 +121016,8 @@ paths: items: type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -120308,15 +121025,15 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *815 - resolution: *816 + state: *818 + resolution: *819 resolved_at: type: string format: date-time @@ -120422,7 +121139,7 @@ paths: pull request. ' - oneOf: *817 + oneOf: *820 nullable: true has_more_locations: type: boolean @@ -120564,7 +121281,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120586,20 +121303,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *511 - - *512 - - *596 - - *473 + - *514 + - *515 + - *599 + - *476 responses: '200': description: Response content: application/json: - schema: &818 + schema: &821 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -120607,14 +121324,14 @@ paths: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *815 - resolution: *816 + state: *818 + resolution: *819 resolved_at: type: string format: date-time @@ -120720,7 +121437,7 @@ paths: pull request. ' - oneOf: *817 + oneOf: *820 nullable: true has_more_locations: type: boolean @@ -120748,7 +121465,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &1010 + metadata: &1013 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -120798,7 +121515,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120821,9 +121538,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: - - *511 - - *512 - - *596 + - *514 + - *515 + - *599 requestBody: required: true content: @@ -120831,8 +121548,8 @@ paths: schema: type: object properties: - state: *815 - resolution: *816 + state: *818 + resolution: *819 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -120876,7 +121593,7 @@ paths: description: Response content: application/json: - schema: *818 + schema: *821 examples: default: value: @@ -120956,7 +121673,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': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -120978,9 +121695,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: - - *511 - - *512 - - *596 + - *514 + - *515 + - *599 - *19 - *17 responses: @@ -120991,7 +121708,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &1012 + items: &1015 type: object properties: type: @@ -121017,9 +121734,6 @@ paths: example: commit details: oneOf: - - *819 - - *820 - - *821 - *822 - *823 - *824 @@ -121030,6 +121744,9 @@ paths: - *829 - *830 - *831 + - *832 + - *833 + - *834 examples: default: value: @@ -121093,7 +121810,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121120,11 +121837,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *511 - - *512 - - *479 - - *480 - - *481 + - *514 + - *515 + - *482 + - *483 + - *484 - *109 - *107 - *108 @@ -121135,9 +121852,9 @@ paths: application/json: schema: type: array - items: *202 + items: *205 examples: - default: *482 + default: *485 headers: Link: *44 '403': *29 @@ -121162,8 +121879,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -121176,9 +121893,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *483 + items: *486 examples: - default: *484 + default: *487 responses: '201': description: All patterns created successfully. @@ -121190,9 +121907,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *202 + items: *205 examples: - default: *485 + default: *488 '400': *14 '403': *29 '404': *6 @@ -121216,7 +121933,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *486 + items: *489 delete: summary: Bulk delete repository custom patterns description: |- @@ -121237,8 +121954,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -121252,7 +121969,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *487 + items: *490 post_delete_action: type: string description: |- @@ -121265,14 +121982,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *488 + default: *491 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -121294,8 +122011,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *511 - - *512 + - *514 + - *515 - name: pattern_id in: path required: true @@ -121306,21 +122023,21 @@ paths: required: true content: application/json: - schema: *489 + schema: *492 examples: - default: *490 + default: *493 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *202 + schema: *205 examples: - default: *491 + default: *494 '400': *14 '403': *29 '404': *6 - '412': *204 + '412': *207 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -121338,8 +122055,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -121347,14 +122064,14 @@ paths: schema: type: object properties: - reason: &833 + reason: &836 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *832 + placeholder_id: *835 required: - reason - placeholder_id @@ -121371,7 +122088,7 @@ paths: schema: type: object properties: - reason: *833 + reason: *836 expire_at: type: string format: date-time @@ -121394,7 +122111,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *201 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -121417,13 +122134,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: - - *511 - - *512 + - *514 + - *515 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *201 + '503': *204 '200': description: Response content: @@ -121433,7 +122150,7 @@ paths: properties: incremental_scans: type: array - items: &834 + items: &837 description: Information on a single scan performed by secret scanning on the repository type: object @@ -121464,15 +122181,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *834 + items: *837 backfill_scans: type: array - items: *834 + items: *837 custom_pattern_backfill_scans: type: array items: allOf: - - *834 + - *837 - type: object properties: pattern_name: @@ -121485,7 +122202,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *834 + items: *837 examples: default: value: @@ -121550,8 +122267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *511 - - *512 + - *514 + - *515 - *109 - name: sort description: The property to sort the results by. @@ -121595,9 +122312,9 @@ paths: application/json: schema: type: array - items: *835 + items: *838 examples: - default: *836 + default: *839 '400': *14 '404': *6 x-github: @@ -121620,8 +122337,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -121694,7 +122411,7 @@ paths: login: type: string description: The username of the user credited. - type: *494 + type: *497 required: - login - type @@ -121781,9 +122498,9 @@ paths: description: Response content: application/json: - schema: *835 + schema: *838 examples: - default: &839 + default: &842 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -122007,7 +122724,7 @@ paths: description: Validation failed. content: application/json: - schema: &837 + schema: &840 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -122077,8 +122794,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: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -122182,7 +122899,7 @@ paths: description: Response content: application/json: - schema: *835 + schema: *838 examples: default: value: @@ -122314,7 +123031,7 @@ paths: description: Validation failed. content: application/json: - schema: *837 + schema: *840 examples: missing_section: value: @@ -122361,17 +123078,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: - - *511 - - *512 - - *838 + - *514 + - *515 + - *841 responses: '200': description: Response content: application/json: - schema: *835 + schema: *838 examples: - default: *839 + default: *842 '403': *29 '404': *6 x-github: @@ -122395,9 +123112,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: - - *511 - - *512 - - *838 + - *514 + - *515 + - *841 requestBody: required: true content: @@ -122470,7 +123187,7 @@ paths: login: type: string description: The username of the user credited. - type: *494 + type: *497 required: - login - type @@ -122556,17 +123273,17 @@ paths: description: Response content: application/json: - schema: *835 + schema: *838 examples: - default: *839 - add_credit: *839 + default: *842 + add_credit: *842 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *267 + schema: *270 examples: invalid_state_transition: value: @@ -122597,9 +123314,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: - - *511 - - *512 - - *838 + - *514 + - *515 + - *841 responses: '202': *36 '400': *14 @@ -122626,17 +123343,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: - - *511 - - *512 - - *838 + - *514 + - *515 + - *841 responses: '202': description: Response content: application/json: - schema: *516 + schema: *519 examples: - default: *518 + default: *521 '400': *14 '422': *15 '403': *29 @@ -122657,8 +123374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *511 - - *512 + - *514 + - *515 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -122790,8 +123507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -122858,11 +123575,11 @@ paths: format: date-time pull_requests: type: array - items: &840 + items: &843 title: Pull Request Stack Pull Request type: object allOf: - - *236 + - *239 - type: object required: - node_id @@ -123084,8 +123801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *511 - - *512 + - *514 + - *515 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -123134,7 +123851,7 @@ paths: format: date-time pull_requests: type: array - items: *840 + items: *843 examples: default: value: @@ -123254,8 +123971,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: - - *511 - - *512 + - *514 + - *515 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -123327,7 +124044,7 @@ paths: format: date-time pull_requests: type: array - items: *840 + items: *843 examples: default: value: @@ -123531,8 +124248,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: - - *511 - - *512 + - *514 + - *515 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -123581,7 +124298,7 @@ paths: format: date-time pull_requests: type: array - items: *840 + items: *843 examples: default: value: @@ -123657,7 +124374,7 @@ paths: pull request in it is locked and cannot be removed. content: application/json: - schema: *267 + schema: *270 examples: cannot_be_removed: summary: Every pull request in the stack is locked and can't be @@ -123687,8 +124404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -123785,8 +124502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -123827,8 +124544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *511 - - *512 + - *514 + - *515 - 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)." @@ -123922,8 +124639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -123932,7 +124649,7 @@ paths: application/json: schema: type: array - items: &841 + items: &844 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -123965,8 +124682,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -124042,8 +124759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -124139,8 +124856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -124294,8 +125011,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: - - *511 - - *512 + - *514 + - *515 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -124305,7 +125022,7 @@ paths: application/json: schema: type: array - items: *841 + items: *844 examples: default: value: @@ -124338,8 +125055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *511 - - *512 + - *514 + - *515 - name: sha in: path required: true @@ -124393,7 +125110,7 @@ paths: description: Response content: application/json: - schema: *842 + schema: *845 examples: default: value: @@ -124447,8 +125164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -124460,7 +125177,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -124480,14 +125197,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &843 + schema: &846 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -124555,8 +125272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: false content: @@ -124582,7 +125299,7 @@ paths: description: Response content: application/json: - schema: *843 + schema: *846 examples: default: value: @@ -124609,8 +125326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -124630,8 +125347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -124710,8 +125427,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *511 - - *512 + - *514 + - *515 - name: ref in: path required: true @@ -124747,8 +125464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *511 - - *512 + - *514 + - *515 - *17 - *19 responses: @@ -124758,9 +125475,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *419 + default: *422 headers: Link: *44 '404': *6 @@ -124780,8 +125497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *511 - - *512 + - *514 + - *515 - *19 - *17 responses: @@ -124789,7 +125506,7 @@ paths: description: Response content: application/json: - schema: &844 + schema: &847 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -124801,7 +125518,7 @@ paths: required: - names examples: - default: &845 + default: &848 value: names: - octocat @@ -124824,8 +125541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -124856,9 +125573,9 @@ paths: description: Response content: application/json: - schema: *844 + schema: *847 examples: - default: *845 + default: *848 '404': *6 '422': *7 x-github: @@ -124879,9 +125596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *511 - - *512 - - &846 + - *514 + - *515 + - &849 name: per description: The time frame to display results for. in: query @@ -124910,7 +125627,7 @@ paths: example: 128 clones: type: array - items: &847 + items: &850 title: Traffic type: object properties: @@ -124997,8 +125714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -125088,8 +125805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *511 - - *512 + - *514 + - *515 responses: '200': description: Response @@ -125149,9 +125866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *511 - - *512 - - *846 + - *514 + - *515 + - *849 responses: '200': description: Response @@ -125170,7 +125887,7 @@ paths: example: 3782 views: type: array - items: *847 + items: *850 required: - uniques - count @@ -125247,8 +125964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *511 - - *512 + - *514 + - *515 requestBody: required: true content: @@ -125284,7 +126001,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *295 examples: default: value: @@ -125528,8 +126245,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -125552,8 +126269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -125575,8 +126292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -125602,8 +126319,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *511 - - *512 + - *514 + - *515 - name: ref in: path required: true @@ -125695,9 +126412,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *519 examples: - default: *518 + default: *521 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -125738,7 +126455,7 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: default: value: @@ -125848,7 +126565,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &855 + - &858 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -125857,7 +126574,7 @@ paths: schema: type: string example: members - - &860 + - &863 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -125868,7 +126585,7 @@ paths: default: 1 format: int32 example: 1 - - &861 + - &864 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -125910,7 +126627,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &850 + items: &853 allOf: - type: object required: @@ -125985,7 +126702,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: &862 + meta: &865 type: object description: The metadata associated with the creation/updates to the user. @@ -126045,30 +126762,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &851 + '400': &854 description: Bad request content: application/json: - schema: *848 + schema: *851 application/scim+json: - schema: *848 - '401': *849 - '403': &852 + schema: *851 + '401': *852 + '403': &855 description: Permission denied - '429': &853 + '429': &856 description: Too many requests content: application/json: - schema: *848 + schema: *851 application/scim+json: - schema: *848 - '500': &854 + schema: *851 + '500': &857 description: Internal server error content: application/json: - schema: *848 + schema: *851 application/scim+json: - schema: *848 + schema: *851 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126092,7 +126809,7 @@ paths: required: true content: application/json: - schema: &858 + schema: &861 type: object required: - schemas @@ -126152,9 +126869,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *850 + schema: *853 examples: - group: &856 + group: &859 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -126173,13 +126890,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': *851 - '401': *849 - '403': *852 - '409': &859 + '400': *854 + '401': *852 + '403': *855 + '409': &862 description: Duplicate record detected - '429': *853 - '500': *854 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126196,7 +126913,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: - - &857 + - &860 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -126204,22 +126921,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *855 + - *858 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *850 + schema: *853 examples: - default: *856 - '400': *851 - '401': *849 - '403': *852 + default: *859 + '400': *854 + '401': *852 + '403': *855 '404': *6 - '429': *853 - '500': *854 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126238,13 +126955,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: - - *857 + - *860 - *38 requestBody: required: true content: application/json: - schema: *858 + schema: *861 examples: group: summary: Group @@ -126270,17 +126987,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *850 + schema: *853 examples: - group: *856 - groupWithMembers: *856 - '400': *851 - '401': *849 - '403': *852 + group: *859 + groupWithMembers: *859 + '400': *854 + '401': *852 + '403': *855 '404': *6 - '409': *859 - '429': *853 - '500': *854 + '409': *862 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126304,13 +127021,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: - - *857 + - *860 - *38 requestBody: required: true content: application/json: - schema: &869 + schema: &872 type: object required: - Operations @@ -126370,17 +127087,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *850 + schema: *853 examples: - updateGroup: *856 - addMembers: *856 - '400': *851 - '401': *849 - '403': *852 + updateGroup: *859 + addMembers: *859 + '400': *854 + '401': *852 + '403': *855 '404': *6 - '409': *859 - '429': *853 - '500': *854 + '409': *862 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126396,17 +127113,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: - - *857 + - *860 - *38 responses: '204': description: Group was deleted, no content - '400': *851 - '401': *849 - '403': *852 + '400': *854 + '401': *852 + '403': *855 '404': *6 - '429': *853 - '500': *854 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126440,8 +127157,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *860 - - *861 + - *863 + - *864 - *38 responses: '200': @@ -126474,7 +127191,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &864 + items: &867 allOf: - type: object required: @@ -126553,7 +127270,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &863 + roles: &866 type: array description: The roles assigned to the user. items: @@ -126609,7 +127326,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *862 + meta: *865 startIndex: type: integer description: A starting index for the returned page @@ -126646,11 +127363,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *851 - '401': *849 - '403': *852 - '429': *853 - '500': *854 + '400': *854 + '401': *852 + '403': *855 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126674,7 +127391,7 @@ paths: required: true content: application/json: - schema: &867 + schema: &870 type: object required: - schemas @@ -126756,9 +127473,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *863 + roles: *866 examples: - user: &868 + user: &871 summary: User value: schemas: @@ -126805,9 +127522,9 @@ paths: description: User has been created content: application/scim+json: - schema: *864 + schema: *867 examples: - user: &865 + user: &868 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -126833,13 +127550,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: *865 - '400': *851 - '401': *849 - '403': *852 - '409': *859 - '429': *853 - '500': *854 + enterpriseOwner: *868 + '400': *854 + '401': *852 + '403': *855 + '409': *862 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126856,7 +127573,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: - - &866 + - &869 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -126869,15 +127586,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *864 + schema: *867 examples: - default: *865 - '400': *851 - '401': *849 - '403': *852 + default: *868 + '400': *854 + '401': *852 + '403': *855 '404': *6 - '429': *853 - '500': *854 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126928,30 +127645,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: - - *866 + - *869 - *38 requestBody: required: true content: application/json: - schema: *867 + schema: *870 examples: - user: *868 + user: *871 responses: '200': description: User was updated content: application/scim+json: - schema: *864 + schema: *867 examples: - user: *865 - '400': *851 - '401': *849 - '403': *852 + user: *868 + '400': *854 + '401': *852 + '403': *855 '404': *6 - '409': *859 - '429': *853 - '500': *854 + '409': *862 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126992,13 +127709,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: - - *866 + - *869 - *38 requestBody: required: true content: application/json: - schema: *869 + schema: *872 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -127038,18 +127755,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *864 - examples: - userMultiValuedProperties: *865 - userSingleValuedProperties: *865 - disableUser: *865 - '400': *851 - '401': *849 - '403': *852 + schema: *867 + examples: + userMultiValuedProperties: *868 + userSingleValuedProperties: *868 + disableUser: *868 + '400': *854 + '401': *852 + '403': *855 '404': *6 - '409': *859 - '429': *853 - '500': *854 + '409': *862 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127069,17 +127786,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: - - *866 + - *869 - *38 responses: '204': description: User was deleted, no content - '400': *851 - '401': *849 - '403': *852 + '400': *854 + '401': *852 + '403': *855 '404': *6 - '429': *853 - '500': *854 + '429': *856 + '500': *857 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127166,7 +127883,7 @@ paths: example: 1 Resources: type: array - items: &870 + items: &873 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -127403,22 +128120,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': *34 - '404': &871 + '404': &874 description: Resource not found content: application/json: - schema: *848 + schema: *851 application/scim+json: - schema: *848 - '403': &872 + schema: *851 + '403': &875 description: Forbidden content: application/json: - schema: *848 + schema: *851 application/scim+json: - schema: *848 - '400': *851 - '429': *853 + schema: *851 + '400': *854 + '429': *856 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -127444,9 +128161,9 @@ paths: description: Response content: application/scim+json: - schema: *870 + schema: *873 examples: - default: &873 + default: &876 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -127470,17 +128187,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': *34 - '404': *871 - '403': *872 - '500': *854 + '404': *874 + '403': *875 + '500': *857 '409': description: Conflict content: application/json: - schema: *848 + schema: *851 application/scim+json: - schema: *848 - '400': *851 + schema: *851 + '400': *854 requestBody: required: true content: @@ -127578,17 +128295,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *86 - - *866 + - *869 responses: '200': description: Response content: application/scim+json: - schema: *870 + schema: *873 examples: - default: *873 - '404': *871 - '403': *872 + default: *876 + '404': *874 + '403': *875 '304': *34 x-github: githubCloudOnly: true @@ -127612,18 +128329,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *86 - - *866 + - *869 responses: '200': description: Response content: application/scim+json: - schema: *870 + schema: *873 examples: - default: *873 + default: *876 '304': *34 - '404': *871 - '403': *872 + '404': *874 + '403': *875 requestBody: required: true content: @@ -127736,19 +128453,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *86 - - *866 + - *869 responses: '200': description: Response content: application/scim+json: - schema: *870 + schema: *873 examples: - default: *873 + default: *876 '304': *34 - '404': *871 - '403': *872 - '400': *851 + '404': *874 + '403': *875 + '400': *854 '429': description: Response content: @@ -127839,12 +128556,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *86 - - *866 + - *869 responses: '204': description: Response - '404': *871 - '403': *872 + '404': *874 + '403': *875 '304': *34 x-github: githubCloudOnly: true @@ -127959,7 +128676,7 @@ paths: html_url: type: string format: uri - repository: *292 + repository: *295 score: type: number file_size: @@ -127977,7 +128694,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &874 + text_matches: &877 title: Search Result Text Matches type: array items: @@ -128091,7 +128808,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *34 - '503': *201 + '503': *204 '422': *15 '403': *29 x-github: @@ -128140,7 +128857,7 @@ paths: enum: - author-date - committer-date - - &875 + - &878 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 @@ -128211,7 +128928,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *561 + properties: *564 nullable: true comment_count: type: integer @@ -128231,7 +128948,7 @@ paths: url: type: string format: uri - verification: *692 + verification: *695 required: - author - committer @@ -128250,7 +128967,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *561 + properties: *564 nullable: true parents: type: array @@ -128263,12 +128980,12 @@ paths: type: string sha: type: string - repository: *292 + repository: *295 score: type: number node_id: type: string - text_matches: *874 + text_matches: *877 required: - sha - node_id @@ -128461,7 +129178,7 @@ paths: - interactions - created - updated - - *875 + - *878 - *17 - *19 - name: advanced_search @@ -128587,11 +129304,11 @@ paths: nullable: true allOf: - *4 - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: type: string state_reason: @@ -128608,8 +129325,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *439 - required: *440 + properties: *442 + required: *443 nullable: true comments: type: integer @@ -128623,7 +129340,7 @@ paths: type: string format: date-time nullable: true - text_matches: *874 + text_matches: *877 pull_request: type: object properties: @@ -128656,7 +129373,7 @@ paths: type: string score: type: number - author_association: *228 + author_association: *231 draft: type: boolean repository: *77 @@ -128667,7 +129384,7 @@ paths: timeline_url: type: string format: uri - type: *404 + type: *407 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -128677,17 +129394,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - reactions: *229 + reactions: *232 required: - assignee - closed_at @@ -128885,7 +129602,7 @@ paths: - quoted_text items: - "..." - '503': *201 + '503': *204 '422': *15 '304': *34 '403': *29 @@ -128939,7 +129656,7 @@ paths: enum: - created - updated - - *875 + - *878 - *17 - *19 responses: @@ -128995,7 +129712,7 @@ paths: - *4 score: type: number - text_matches: *874 + text_matches: *877 required: - id - node_id @@ -129105,7 +129822,7 @@ paths: - forks - help-wanted-issues - updated - - *875 + - *878 - *17 - *19 responses: @@ -129333,8 +130050,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true permissions: type: object @@ -129353,7 +130070,7 @@ paths: - admin - pull - push - text_matches: *874 + text_matches: *877 temp_clone_token: type: string allow_merge_commit: @@ -129555,7 +130272,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *201 + '503': *204 '422': *15 '304': *34 x-github: @@ -129654,7 +130371,7 @@ paths: type: string format: uri nullable: true - text_matches: *874 + text_matches: *877 related: type: array nullable: true @@ -129847,7 +130564,7 @@ paths: - followers - repositories - joined - - *875 + - *878 - *17 - *19 responses: @@ -129951,7 +130668,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *874 + text_matches: *877 blog: type: string nullable: true @@ -130010,7 +130727,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *34 - '503': *201 + '503': *204 '422': *15 x-github: githubCloudOnly: false @@ -130030,7 +130747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &878 + - &881 name: team_id description: The unique identifier of the team. in: path @@ -130042,9 +130759,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: *504 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -130071,7 +130788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *878 + - *881 requestBody: required: true content: @@ -130139,16 +130856,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *503 + schema: *506 examples: - default: *504 + default: *507 '201': description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: *504 + default: *507 '404': *6 '422': *15 '403': *29 @@ -130176,7 +130893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *878 + - *881 responses: '204': description: Response @@ -130205,7 +130922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *878 + - *881 - *17 - *19 responses: @@ -130215,9 +130932,9 @@ paths: application/json: schema: type: array - items: *398 + items: *401 examples: - default: *399 + default: *402 headers: Link: *44 x-github: @@ -130245,7 +130962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *878 + - *881 - name: role description: Filters members returned by their role in the team. in: query @@ -130266,9 +130983,9 @@ paths: application/json: schema: type: array - items: *879 + items: *882 examples: - default: *880 + default: *883 headers: Link: *44 '404': *6 @@ -130296,7 +131013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *878 + - *881 - *131 responses: '204': @@ -130333,7 +131050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *878 + - *881 - *131 responses: '204': @@ -130373,7 +131090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *878 + - *881 - *131 responses: '204': @@ -130410,16 +131127,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: - - *878 + - *881 - *131 responses: '200': description: Response content: application/json: - schema: *510 + schema: *513 examples: - response-if-user-is-a-team-maintainer: *881 + response-if-user-is-a-team-maintainer: *884 '404': *6 x-github: githubCloudOnly: false @@ -130452,7 +131169,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: - - *878 + - *881 - *131 requestBody: required: false @@ -130478,9 +131195,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *513 examples: - response-if-users-membership-with-team-is-now-pending: *882 + response-if-users-membership-with-team-is-now-pending: *885 '403': description: Forbidden if team synchronization is set up '422': @@ -130514,7 +131231,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: - - *878 + - *881 - *131 responses: '204': @@ -130542,7 +131259,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *878 + - *881 - *17 - *19 responses: @@ -130552,9 +131269,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 '404': *6 @@ -130584,15 +131301,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: - - *878 - - *511 - - *512 + - *881 + - *514 + - *515 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *883 + schema: *886 examples: alternative-response-with-extra-repository-information: value: @@ -130749,9 +131466,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: - - *878 - - *511 - - *512 + - *881 + - *514 + - *515 requestBody: required: false content: @@ -130801,9 +131518,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: - - *878 - - *511 - - *512 + - *881 + - *514 + - *515 responses: '204': description: Response @@ -130832,15 +131549,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: - - *878 + - *881 responses: '200': description: Response content: application/json: - schema: *513 + schema: *516 examples: - default: *514 + default: *517 '403': *29 '404': *6 x-github: @@ -130867,7 +131584,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: - - *878 + - *881 requestBody: required: true content: @@ -130924,7 +131641,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *516 examples: default: value: @@ -130955,7 +131672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *878 + - *881 - *17 - *19 responses: @@ -130965,9 +131682,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - response-if-child-teams-exist: *884 + response-if-child-teams-exist: *887 headers: Link: *44 '404': *6 @@ -131002,7 +131719,7 @@ paths: application/json: schema: oneOf: - - &886 + - &889 title: Private User description: Private User type: object @@ -131205,7 +131922,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *885 + - *888 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -131358,7 +132075,7 @@ paths: description: Response content: application/json: - schema: *886 + schema: *889 examples: default: value: @@ -131437,7 +132154,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 '304': *34 '404': *6 '403': *29 @@ -131561,9 +132278,9 @@ paths: type: integer codespaces: type: array - items: *409 + items: *412 examples: - default: *410 + default: *413 '304': *34 '500': *37 '401': *25 @@ -131702,21 +132419,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '401': *25 '403': *29 '404': *6 - '503': *201 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131756,7 +132473,7 @@ paths: type: integer secrets: type: array - items: &887 + items: &890 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -131796,7 +132513,7 @@ paths: - visibility - selected_repositories_url examples: - default: *622 + default: *625 headers: Link: *44 x-github: @@ -131866,13 +132583,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: - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *887 + schema: *890 examples: default: value: @@ -131902,7 +132619,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: - - *302 + - *305 requestBody: required: true content: @@ -131947,7 +132664,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -131975,7 +132692,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: - - *302 + - *305 responses: '204': description: Response @@ -132000,7 +132717,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: - - *302 + - *305 responses: '200': description: Response @@ -132016,9 +132733,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *295 examples: - default: *346 + default: *349 '401': *25 '403': *29 '404': *6 @@ -132043,7 +132760,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: - - *302 + - *305 requestBody: required: true content: @@ -132097,7 +132814,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: - - *302 + - *305 - name: repository_id in: path required: true @@ -132130,7 +132847,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: - - *302 + - *305 - name: repository_id in: path required: true @@ -132162,15 +132879,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: - - *411 + - *414 responses: '200': description: Response content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '304': *34 '500': *37 '401': *25 @@ -132196,7 +132913,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: - - *411 + - *414 requestBody: required: false content: @@ -132226,9 +132943,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '401': *25 '403': *29 '404': *6 @@ -132250,7 +132967,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: - - *411 + - *414 responses: '202': *36 '304': *34 @@ -132279,13 +132996,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: - - *411 + - *414 responses: '202': description: Response content: application/json: - schema: &888 + schema: &891 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -132326,7 +133043,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &889 + default: &892 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -132358,7 +133075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *411 + - *414 - name: export_id in: path required: true @@ -132371,9 +133088,9 @@ paths: description: Response content: application/json: - schema: *888 + schema: *891 examples: - default: *889 + default: *892 '404': *6 x-github: githubCloudOnly: false @@ -132394,7 +133111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *411 + - *414 responses: '200': description: Response @@ -132410,9 +133127,9 @@ paths: type: integer machines: type: array - items: *890 + items: *893 examples: - default: *891 + default: *894 '304': *34 '500': *37 '401': *25 @@ -132441,7 +133158,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: - - *411 + - *414 requestBody: required: true content: @@ -132491,13 +133208,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *516 + repository: *519 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *620 - required: *621 + properties: *623 + required: *624 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -133271,15 +133988,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: - - *411 + - *414 responses: '200': description: Response content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '304': *34 '500': *37 '400': *14 @@ -133311,15 +134028,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: - - *411 + - *414 responses: '200': description: Response content: application/json: - schema: *409 + schema: *412 examples: - default: *619 + default: *622 '500': *37 '401': *25 '403': *29 @@ -133349,9 +134066,9 @@ paths: application/json: schema: type: array - items: *420 + items: *423 examples: - default: &903 + default: &906 value: - id: 197 name: hello_docker @@ -133452,7 +134169,7 @@ paths: application/json: schema: type: array - items: &892 + items: &895 title: Email description: Email type: object @@ -133517,9 +134234,9 @@ paths: application/json: schema: type: array - items: *892 + items: *895 examples: - default: &905 + default: &908 value: - email: octocat@github.com verified: true @@ -133594,7 +134311,7 @@ paths: application/json: schema: type: array - items: *892 + items: *895 examples: default: value: @@ -133704,7 +134421,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '304': *34 @@ -133737,7 +134454,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 '304': *34 @@ -133850,7 +134567,7 @@ paths: application/json: schema: type: array - items: &893 + items: &896 title: GPG Key description: A unique encryption key type: object @@ -133981,7 +134698,7 @@ paths: - subkeys - revoked examples: - default: &922 + default: &925 value: - id: 3 name: Octocat's GPG Key @@ -134066,9 +134783,9 @@ paths: description: Response content: application/json: - schema: *893 + schema: *896 examples: - default: &894 + default: &897 value: id: 3 name: Octocat's GPG Key @@ -134125,7 +134842,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: - - &895 + - &898 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -134137,9 +134854,9 @@ paths: description: Response content: application/json: - schema: *893 + schema: *896 examples: - default: *894 + default: *897 '404': *6 '304': *34 '403': *29 @@ -134162,7 +134879,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: - - *895 + - *898 responses: '204': description: Response @@ -134364,7 +135081,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *287 + default: *290 headers: Link: *44 '404': *6 @@ -134390,7 +135107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *286 + - *289 responses: '204': description: Response @@ -134416,7 +135133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *286 + - *289 responses: '204': description: Response @@ -134450,12 +135167,12 @@ paths: application/json: schema: anyOf: - - *396 + - *399 - type: object properties: {} additionalProperties: false examples: - default: *397 + default: *400 '204': description: Response when there are no restrictions x-github: @@ -134479,7 +135196,7 @@ paths: required: true content: application/json: - schema: *702 + schema: *705 examples: default: value: @@ -134490,7 +135207,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *399 examples: default: value: @@ -134571,7 +135288,7 @@ paths: - closed - all default: open - - *407 + - *410 - name: sort description: What to sort results by. in: query @@ -134584,7 +135301,7 @@ paths: - comments default: created - *109 - - *238 + - *241 - *17 - *19 responses: @@ -134594,9 +135311,9 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *408 + default: *411 headers: Link: *44 '404': *6 @@ -134629,7 +135346,7 @@ paths: application/json: schema: type: array - items: &896 + items: &899 title: Key description: Key type: object @@ -134730,9 +135447,9 @@ paths: description: Response content: application/json: - schema: *896 + schema: *899 examples: - default: &897 + default: &900 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -134765,15 +135482,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: - - *758 + - *761 responses: '200': description: Response content: application/json: - schema: *896 + schema: *899 examples: - default: *897 + default: *900 '404': *6 '304': *34 '403': *29 @@ -134796,7 +135513,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: - - *758 + - *761 responses: '204': description: Response @@ -134829,7 +135546,7 @@ paths: application/json: schema: type: array - items: &898 + items: &901 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -134886,7 +135603,7 @@ paths: - id - type - login - plan: *249 + plan: *252 required: - billing_cycle - next_billing_date @@ -134897,7 +135614,7 @@ paths: - account - plan examples: - default: &899 + default: &902 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -134959,9 +135676,9 @@ paths: application/json: schema: type: array - items: *898 + items: *901 examples: - default: *899 + default: *902 headers: Link: *44 '304': *34 @@ -135001,7 +135718,7 @@ paths: application/json: schema: type: array - items: *412 + items: *415 examples: default: value: @@ -135115,7 +135832,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *415 examples: default: value: @@ -135202,9 +135919,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *412 + schema: *415 examples: - default: &900 + default: &903 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -135251,9 +135968,9 @@ paths: processed asynchronously. content: application/json: - schema: *412 + schema: *415 examples: - default: *900 + default: *903 '403': *29 '404': *6 '422': *15 @@ -135282,7 +135999,7 @@ paths: application/json: schema: type: array - items: *414 + items: *417 examples: default: value: @@ -135535,7 +136252,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *417 examples: default: value: @@ -135715,7 +136432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *415 + - *418 - name: exclude in: query required: false @@ -135728,7 +136445,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *417 examples: default: value: @@ -135922,7 +136639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *415 + - *418 responses: '302': description: Response @@ -135948,7 +136665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *415 + - *418 responses: '204': description: Response @@ -135977,8 +136694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *415 - - *901 + - *418 + - *904 responses: '204': description: Response @@ -136002,7 +136719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *415 + - *418 - *17 - *19 responses: @@ -136012,9 +136729,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 '404': *6 @@ -136069,7 +136786,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: *44 '304': *34 @@ -136111,7 +136828,7 @@ paths: - docker - nuget - container - - *902 + - *905 - *19 - *17 responses: @@ -136121,10 +136838,10 @@ paths: application/json: schema: type: array - items: *420 + items: *423 examples: - default: *903 - '400': *904 + default: *906 + '400': *907 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -136144,16 +136861,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: - - *422 - - *423 + - *425 + - *426 responses: '200': description: Response content: application/json: - schema: *420 + schema: *423 examples: - default: &923 + default: &926 value: id: 40201 name: octo-name @@ -136266,8 +136983,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: - - *422 - - *423 + - *425 + - *426 responses: '204': description: Response @@ -136297,8 +137014,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: - - *422 - - *423 + - *425 + - *426 - name: token description: package token schema: @@ -136330,8 +137047,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: - - *422 - - *423 + - *425 + - *426 - *19 - *17 - name: state @@ -136351,7 +137068,7 @@ paths: application/json: schema: type: array - items: *424 + items: *427 examples: default: value: @@ -136400,15 +137117,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: - - *422 - - *423 - *425 + - *426 + - *428 responses: '200': description: Response content: application/json: - schema: *424 + schema: *427 examples: default: value: @@ -136444,9 +137161,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: - - *422 - - *423 - *425 + - *426 + - *428 responses: '204': description: Response @@ -136476,9 +137193,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: - - *422 - - *423 - *425 + - *426 + - *428 responses: '204': description: Response @@ -136515,9 +137232,9 @@ paths: application/json: schema: type: array - items: *892 + items: *895 examples: - default: *905 + default: *908 headers: Link: *44 '304': *34 @@ -136630,7 +137347,7 @@ paths: type: array items: *77 examples: - default: &912 + default: &915 summary: Default response value: - id: 1296269 @@ -136934,9 +137651,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *519 examples: - default: *518 + default: *521 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -136980,9 +137697,9 @@ paths: application/json: schema: type: array - items: *705 + items: *708 examples: - default: *906 + default: *909 headers: Link: *44 '304': *34 @@ -137005,7 +137722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *400 + - *403 responses: '204': description: Response @@ -137034,7 +137751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *400 + - *403 responses: '204': description: Response @@ -137067,7 +137784,7 @@ paths: application/json: schema: type: array - items: &907 + items: &910 title: Social account description: Social media account type: object @@ -137082,7 +137799,7 @@ paths: - provider - url examples: - default: &908 + default: &911 value: - provider: twitter url: https://twitter.com/github @@ -137144,9 +137861,9 @@ paths: application/json: schema: type: array - items: *907 + items: *910 examples: - default: *908 + default: *911 '422': *15 '304': *34 '404': *6 @@ -137233,7 +137950,7 @@ paths: application/json: schema: type: array - items: &909 + items: &912 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -137253,7 +137970,7 @@ paths: - title - created_at examples: - default: &937 + default: &940 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -137317,9 +138034,9 @@ paths: description: Response content: application/json: - schema: *909 + schema: *912 examples: - default: &910 + default: &913 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -137349,7 +138066,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: - - &911 + - &914 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -137361,9 +138078,9 @@ paths: description: Response content: application/json: - schema: *909 + schema: *912 examples: - default: *910 + default: *913 '404': *6 '304': *34 '403': *29 @@ -137386,7 +138103,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: - - *911 + - *914 responses: '204': description: Response @@ -137415,7 +138132,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: - - &938 + - &941 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 @@ -137440,11 +138157,11 @@ paths: type: array items: *77 examples: - default-response: *912 + default-response: *915 application/vnd.github.v3.star+json: schema: type: array - items: &939 + items: &942 title: Starred Repository description: Starred Repository type: object @@ -137600,8 +138317,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response if this repository is starred by you @@ -137629,8 +138346,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -137654,8 +138371,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: - - *511 - - *512 + - *514 + - *515 responses: '204': description: Response @@ -137688,9 +138405,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 '304': *34 @@ -137727,7 +138444,7 @@ paths: application/json: schema: type: array - items: *503 + items: *506 examples: default: value: @@ -137805,7 +138522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *251 + - *254 responses: '200': description: Response @@ -137813,10 +138530,10 @@ paths: application/json: schema: oneOf: - - *886 - - *885 + - *889 + - *888 examples: - default-response: &916 + default-response: &919 summary: Default response value: login: octocat @@ -137851,7 +138568,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &917 + response-with-git-hub-plan-information: &920 summary: Response with GitHub plan information value: login: octocat @@ -137908,14 +138625,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: - - &914 + - &917 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *438 + - *441 requestBody: required: true description: Details of the draft item to create in the project. @@ -137949,9 +138666,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *447 examples: - draft_issue: *445 + draft_issue: *448 '304': *34 '403': *29 '401': *25 @@ -137974,7 +138691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *913 + - *916 - *17 responses: '200': @@ -137985,7 +138702,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: example: ; rel="next" @@ -138009,8 +138726,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: - - *914 - - *438 + - *917 + - *441 requestBody: required: true content: @@ -138122,17 +138839,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *915 + schema: *918 examples: table_view: summary: Response for creating a table view - value: *449 + value: *452 board_view: summary: Response for creating a board view with filter - value: *449 + value: *452 roadmap_view: summary: Response for creating a roadmap view - value: *449 + value: *452 '304': *34 '403': *29 '401': *25 @@ -138178,11 +138895,11 @@ paths: application/json: schema: oneOf: - - *886 - - *885 + - *889 + - *888 examples: - default-response: *916 - response-with-git-hub-plan-information: *917 + default-response: *919 + response-with-git-hub-plan-information: *920 '404': *6 x-github: githubCloudOnly: false @@ -138232,8 +138949,8 @@ paths: required: - subject_digests examples: - default: *918 - withPredicateType: *919 + default: *921 + withPredicateType: *922 responses: '200': description: Response @@ -138286,7 +139003,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *920 + default: *923 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -138506,12 +139223,12 @@ paths: initiator: type: string examples: - default: *557 + default: *560 '201': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -138587,7 +139304,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *342 + items: *345 examples: default: summary: Example response for listing user copilot spaces @@ -138799,9 +139516,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: &921 + default: &924 summary: Example response for a user copilot space value: id: 42 @@ -138900,9 +139617,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *921 + default: *924 '403': *29 '404': *6 x-github: @@ -139023,9 +139740,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *921 + default: *924 '403': *29 '404': *6 '422': *15 @@ -139102,7 +139819,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *344 + items: *347 examples: default: value: @@ -139245,7 +139962,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: default: value: @@ -139356,7 +140073,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: default: value: @@ -139486,7 +140203,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *345 + items: *348 examples: default: value: @@ -139578,7 +140295,7 @@ paths: description: Resource created content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -139594,7 +140311,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -139647,7 +140364,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -139714,7 +140431,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -139791,9 +140508,9 @@ paths: application/json: schema: type: array - items: *420 + items: *423 examples: - default: *903 + default: *906 '403': *29 '401': *25 x-github: @@ -139826,7 +140543,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -139899,7 +140616,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -139986,7 +140703,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -140059,7 +140776,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -140093,7 +140810,7 @@ paths: type: array items: *4 examples: - default: *219 + default: *222 headers: Link: *44 x-github: @@ -140140,7 +140857,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *131 - - *238 + - *241 - *17 - *19 responses: @@ -140150,9 +140867,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *44 '422': *15 @@ -140183,9 +140900,9 @@ paths: application/json: schema: type: array - items: *893 + items: *896 examples: - default: *922 + default: *925 headers: Link: *44 x-github: @@ -140289,7 +141006,7 @@ paths: application/json: schema: *22 examples: - default: *394 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -140374,7 +141091,7 @@ paths: type: array items: *72 examples: - default: *262 + default: *265 headers: Link: *44 x-github: @@ -140413,7 +141130,7 @@ paths: - docker - nuget - container - - *902 + - *905 - *131 - *19 - *17 @@ -140424,12 +141141,12 @@ paths: application/json: schema: type: array - items: *420 + items: *423 examples: - default: *903 + default: *906 '403': *29 '401': *25 - '400': *904 + '400': *907 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -140449,17 +141166,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *422 - - *423 + - *425 + - *426 - *131 responses: '200': description: Response content: application/json: - schema: *420 + schema: *423 examples: - default: *923 + default: *926 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -140480,8 +141197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *422 - - *423 + - *425 + - *426 - *131 responses: '204': @@ -140514,8 +141231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *422 - - *423 + - *425 + - *426 - *131 - name: token description: package token @@ -140548,8 +141265,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: - - *422 - - *423 + - *425 + - *426 - *131 responses: '200': @@ -140558,7 +141275,7 @@ paths: application/json: schema: type: array - items: *424 + items: *427 examples: default: value: @@ -140616,16 +141333,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: - - *422 - - *423 - *425 + - *426 + - *428 - *131 responses: '200': description: Response content: application/json: - schema: *424 + schema: *427 examples: default: value: @@ -140660,10 +141377,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *422 - - *423 - - *131 - *425 + - *426 + - *131 + - *428 responses: '204': description: Response @@ -140695,10 +141412,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *422 - - *423 - - *131 - *425 + - *426 + - *131 + - *428 responses: '204': description: Response @@ -140739,9 +141456,9 @@ paths: application/json: schema: type: array - items: *436 + items: *439 examples: - default: *437 + default: *440 headers: Link: *44 '304': *34 @@ -140763,16 +141480,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *438 + - *441 - *131 responses: '200': description: Response content: application/json: - schema: *436 + schema: *439 examples: - default: *437 + default: *440 headers: Link: *44 '304': *34 @@ -140794,7 +141511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *438 + - *441 - *131 - *17 - *107 @@ -140806,9 +141523,9 @@ paths: application/json: schema: type: array - items: *442 + items: *445 examples: - default: *924 + default: *927 headers: Link: *44 '304': *34 @@ -140830,7 +141547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *131 - - *438 + - *441 requestBody: required: true content: @@ -140868,7 +141585,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *925 + items: *928 required: - name - data_type @@ -140884,7 +141601,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *926 + iteration_configuration: *929 required: - name - data_type @@ -140906,20 +141623,20 @@ paths: value: name: Due date data_type: date - single_select_field: *927 - iteration_field: *928 + single_select_field: *930 + iteration_field: *931 responses: '201': description: Response content: application/json: - schema: *442 + schema: *445 examples: - text_field: *929 - number_field: *930 - date_field: *931 - single_select_field: *932 - iteration_field: *933 + text_field: *932 + number_field: *933 + date_field: *934 + single_select_field: *935 + iteration_field: *936 '304': *34 '403': *29 '401': *25 @@ -140940,17 +141657,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *438 - - *934 + - *441 + - *937 - *131 responses: '200': description: Response content: application/json: - schema: *442 + schema: *445 examples: - default: *935 + default: *938 headers: Link: *44 '304': *34 @@ -140973,7 +141690,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: - - *438 + - *441 - *131 - *107 - *108 @@ -141006,9 +141723,9 @@ paths: application/json: schema: type: array - items: *446 + items: *449 examples: - default: *447 + default: *450 headers: Link: *44 '304': *34 @@ -141030,7 +141747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *131 - - *438 + - *441 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -141100,22 +141817,22 @@ paths: description: Response content: application/json: - schema: *444 + schema: *447 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *445 + value: *448 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *445 + value: *448 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *445 + value: *448 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *445 + value: *448 '304': *34 '403': *29 '401': *25 @@ -141135,9 +141852,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: - - *438 + - *441 - *131 - - *448 + - *451 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -141157,9 +141874,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: - default: *447 + default: *450 headers: Link: *44 '304': *34 @@ -141180,9 +141897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *438 + - *441 - *131 - - *448 + - *451 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -141252,13 +141969,13 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: - text_field: *447 - number_field: *447 - date_field: *447 - single_select_field: *447 - iteration_field: *447 + text_field: *450 + number_field: *450 + date_field: *450 + single_select_field: *450 + iteration_field: *450 '401': *25 '403': *29 '404': *6 @@ -141278,9 +141995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *438 + - *441 - *131 - - *448 + - *451 responses: '204': description: Response @@ -141302,9 +142019,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: - - *438 + - *441 - *131 - - *936 + - *939 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -141330,9 +142047,9 @@ paths: application/json: schema: type: array - items: *446 + items: *449 examples: - default: *447 + default: *450 headers: Link: *44 '304': *34 @@ -141370,7 +142087,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -141445,7 +142162,7 @@ paths: application/json: schema: type: array - items: *257 + items: *260 examples: default: value: @@ -141551,9 +142268,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 x-github: @@ -141583,9 +142300,9 @@ paths: application/json: schema: type: array - items: *907 + items: *910 examples: - default: *908 + default: *911 headers: Link: *44 x-github: @@ -141615,9 +142332,9 @@ paths: application/json: schema: type: array - items: *909 + items: *912 examples: - default: *937 + default: *940 headers: Link: *44 x-github: @@ -141644,7 +142361,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *131 - - *938 + - *941 - *109 - *17 - *19 @@ -141656,11 +142373,11 @@ paths: schema: anyOf: - type: array - items: *939 + items: *942 - type: array items: *77 examples: - default-response: *912 + default-response: *915 headers: Link: *44 x-github: @@ -141689,9 +142406,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *426 + default: *429 headers: Link: *44 x-github: @@ -141819,7 +142536,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &940 + enterprise: &943 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -141877,7 +142594,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &941 + installation: &944 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -141896,7 +142613,7 @@ x-webhooks: required: - id - node_id - organization: &942 + organization: &945 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -141956,13 +142673,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &943 + repository: &946 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &982 + properties: &985 id: description: Unique identifier of the repository example: 42 @@ -141982,8 +142699,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *237 + required: *238 nullable: true organization: title: Simple User @@ -142657,7 +143374,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &983 + required: &986 - archive_url - assignees_url - blobs_url @@ -142731,7 +143448,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &984 + x-github-breaking-changes: &987 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -142822,10 +143539,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -142901,11 +143618,11 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - rule: &944 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + rule: &947 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) @@ -143128,11 +143845,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - rule: *944 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + rule: *947 sender: *4 required: - action @@ -143315,11 +144032,11 @@ x-webhooks: - everyone required: - from - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - rule: *944 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + rule: *947 sender: *4 required: - action @@ -143392,7 +144109,7 @@ x-webhooks: required: true content: application/json: - schema: &966 + schema: &969 title: Exemption request cancellation event type: object properties: @@ -143400,11 +144117,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - exemption_request: &945 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + exemption_request: &948 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -143708,7 +144425,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &946 + items: &949 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -143818,7 +144535,7 @@ x-webhooks: required: true content: application/json: - schema: &967 + schema: &970 title: Exemption request completed event type: object properties: @@ -143826,11 +144543,11 @@ x-webhooks: type: string enum: - completed - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - exemption_request: *945 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + exemption_request: *948 sender: *4 required: - action @@ -143902,7 +144619,7 @@ x-webhooks: required: true content: application/json: - schema: &964 + schema: &967 title: Exemption request created event type: object properties: @@ -143910,11 +144627,11 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - exemption_request: *945 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + exemption_request: *948 sender: *4 required: - action @@ -143986,7 +144703,7 @@ x-webhooks: required: true content: application/json: - schema: &968 + schema: &971 title: Exemption response dismissed event type: object properties: @@ -143994,12 +144711,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - exemption_request: *945 - exemption_response: *946 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + exemption_request: *948 + exemption_response: *949 sender: *4 required: - action @@ -144073,7 +144790,7 @@ x-webhooks: required: true content: application/json: - schema: &965 + schema: &968 title: Exemption response submitted event type: object properties: @@ -144081,12 +144798,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - exemption_request: *945 - exemption_response: *946 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + exemption_request: *948 + exemption_response: *949 sender: *4 required: - action @@ -144170,7 +144887,7 @@ x-webhooks: type: string enum: - completed - check_run: &948 + check_run: &951 title: CheckRun description: A check performed on the code of a given code change type: object @@ -144223,8 +144940,8 @@ x-webhooks: type: string pull_requests: type: array - items: *236 - repository: *292 + items: *239 + repository: *295 status: example: completed type: string @@ -144261,7 +144978,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *947 + deployment: *950 details_url: example: https://example.com type: string @@ -144311,7 +145028,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *236 + items: *239 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -144346,10 +145063,10 @@ x-webhooks: - output - app - pull_requests - installation: *941 - enterprise: *940 - organization: *942 - repository: *943 + installation: *944 + enterprise: *943 + organization: *945 + repository: *946 sender: *4 required: - check_run @@ -144740,11 +145457,11 @@ x-webhooks: type: string enum: - created - check_run: *948 - installation: *941 - enterprise: *940 - organization: *942 - repository: *943 + check_run: *951 + installation: *944 + enterprise: *943 + organization: *945 + repository: *946 sender: *4 required: - check_run @@ -145138,11 +145855,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *948 - installation: *941 - enterprise: *940 - organization: *942 - repository: *943 + check_run: *951 + installation: *944 + enterprise: *943 + organization: *945 + repository: *946 requested_action: description: The action requested by the user. type: object @@ -145545,11 +146262,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *948 - installation: *941 - enterprise: *940 - organization: *942 - repository: *943 + check_run: *951 + installation: *944 + enterprise: *943 + organization: *945 + repository: *946 sender: *4 required: - check_run @@ -146519,10 +147236,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -147221,10 +147938,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -147917,10 +148634,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -148086,7 +148803,7 @@ x-webhooks: required: - login - id - dismissed_comment: *590 + dismissed_comment: *593 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -148232,20 +148949,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &949 + commit_oid: &952 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: *940 - installation: *941 - organization: *942 - ref: &950 + enterprise: *943 + installation: *944 + organization: *945 + ref: &953 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: *943 + repository: *946 sender: *4 required: - action @@ -148410,7 +149127,7 @@ x-webhooks: required: - login - id - dismissed_comment: *590 + dismissed_comment: *593 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -148641,12 +149358,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *949 - enterprise: *940 - installation: *941 - organization: *942 - ref: *950 - repository: *943 + commit_oid: *952 + enterprise: *943 + installation: *944 + organization: *945 + ref: *953 + repository: *946 sender: *4 required: - action @@ -148741,7 +149458,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *590 + dismissed_comment: *593 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -148912,12 +149629,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *949 - enterprise: *940 - installation: *941 - organization: *942 - ref: *950 - repository: *943 + commit_oid: *952 + enterprise: *943 + installation: *944 + organization: *945 + ref: *953 + repository: *946 sender: *4 required: - action @@ -149083,7 +149800,7 @@ x-webhooks: required: - login - id - dismissed_comment: *590 + dismissed_comment: *593 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -149250,12 +149967,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *949 - enterprise: *940 - installation: *941 - organization: *942 - ref: *950 - repository: *943 + commit_oid: *952 + enterprise: *943 + installation: *944 + organization: *945 + ref: *953 + repository: *946 sender: *4 required: - action @@ -149354,7 +150071,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *590 + dismissed_comment: *593 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -149529,16 +150246,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *943 + repository: *946 sender: *4 required: - action @@ -149635,7 +150352,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *590 + dismissed_comment: *593 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -149775,12 +150492,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *949 - enterprise: *940 - installation: *941 - organization: *942 - ref: *950 - repository: *943 + commit_oid: *952 + enterprise: *943 + installation: *944 + organization: *945 + ref: *953 + repository: *946 sender: *4 required: - action @@ -149946,7 +150663,7 @@ x-webhooks: required: - login - id - dismissed_comment: *590 + dismissed_comment: *593 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -150092,10 +150809,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -150350,10 +151067,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -150433,18 +151150,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *942 - pusher_type: &951 + organization: *945 + pusher_type: &954 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &952 + ref: &955 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -150454,7 +151171,7 @@ x-webhooks: enum: - tag - branch - repository: *943 + repository: *946 sender: *4 required: - ref @@ -150536,10 +151253,10 @@ x-webhooks: type: string enum: - created - definition: *162 - enterprise: *940 - installation: *941 - organization: *942 + definition: *165 + enterprise: *943 + installation: *944 + organization: *945 sender: *4 required: - action @@ -150624,9 +151341,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 sender: *4 required: - action @@ -150703,10 +151420,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *162 - enterprise: *940 - installation: *941 - organization: *942 + definition: *165 + enterprise: *943 + installation: *944 + organization: *945 sender: *4 required: - action @@ -150783,10 +151500,10 @@ x-webhooks: type: string enum: - updated - definition: *162 - enterprise: *940 - installation: *941 - organization: *942 + definition: *165 + enterprise: *943 + installation: *944 + organization: *945 sender: *4 required: - action @@ -150863,19 +151580,19 @@ x-webhooks: type: string enum: - updated - enterprise: *940 - installation: *941 - repository: *943 - organization: *942 + enterprise: *943 + installation: *944 + repository: *946 + organization: *945 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *161 + items: *164 old_property_values: type: array description: The old custom property values for the repository. - items: *161 + items: *164 required: - action - repository @@ -150951,18 +151668,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *940 - installation: *941 - organization: *942 - pusher_type: *951 - ref: *952 + enterprise: *943 + installation: *944 + organization: *945 + pusher_type: *954 + ref: *955 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *943 + repository: *946 sender: *4 required: - ref @@ -151042,11 +151759,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *654 - installation: *941 - organization: *942 - enterprise: *940 - repository: *943 + alert: *657 + installation: *944 + organization: *945 + enterprise: *943 + repository: *946 sender: *4 required: - action @@ -151126,11 +151843,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *654 - installation: *941 - organization: *942 - enterprise: *940 - repository: *943 + alert: *657 + installation: *944 + organization: *945 + enterprise: *943 + repository: *946 sender: *4 required: - action @@ -151211,11 +151928,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *654 - installation: *941 - organization: *942 - enterprise: *940 - repository: *943 + alert: *657 + installation: *944 + organization: *945 + enterprise: *943 + repository: *946 sender: *4 required: - action @@ -151296,11 +152013,11 @@ x-webhooks: type: string enum: - created - alert: *654 - installation: *941 - organization: *942 - enterprise: *940 - repository: *943 + alert: *657 + installation: *944 + organization: *945 + enterprise: *943 + repository: *946 sender: *4 required: - action @@ -151379,11 +152096,11 @@ x-webhooks: type: string enum: - dismissed - alert: *654 - installation: *941 - organization: *942 - enterprise: *940 - repository: *943 + alert: *657 + installation: *944 + organization: *945 + enterprise: *943 + repository: *946 sender: *4 required: - action @@ -151462,11 +152179,11 @@ x-webhooks: type: string enum: - fixed - alert: *654 - installation: *941 - organization: *942 - enterprise: *940 - repository: *943 + alert: *657 + installation: *944 + organization: *945 + enterprise: *943 + repository: *946 sender: *4 required: - action @@ -151546,11 +152263,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *654 - installation: *941 - organization: *942 - enterprise: *940 - repository: *943 + alert: *657 + installation: *944 + organization: *945 + enterprise: *943 + repository: *946 sender: *4 required: - action @@ -151629,11 +152346,11 @@ x-webhooks: type: string enum: - reopened - alert: *654 - installation: *941 - organization: *942 - enterprise: *940 - repository: *943 + alert: *657 + installation: *944 + organization: *945 + enterprise: *943 + repository: *946 sender: *4 required: - action @@ -151710,9 +152427,9 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - key: &953 + enterprise: *943 + installation: *944 + key: &956 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -151748,8 +152465,8 @@ x-webhooks: - verified - created_at - read_only - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -151826,11 +152543,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - key: *953 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + key: *956 + organization: *945 + repository: *946 sender: *4 required: - action @@ -152386,12 +153103,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - workflow: &959 + workflow: &962 title: Workflow type: object nullable: true @@ -153132,15 +153849,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *954 - required: *955 + properties: *957 + required: *958 nullable: true pull_requests: type: array - items: *780 - repository: *943 - organization: *942 - installation: *941 + items: *783 + repository: *946 + organization: *945 + installation: *944 sender: *4 responses: '200': @@ -153211,7 +153928,7 @@ x-webhooks: type: string enum: - approved - approver: &956 + approver: &959 type: object properties: avatar_url: @@ -153254,11 +153971,11 @@ x-webhooks: type: string comment: type: string - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - reviewers: &957 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + reviewers: &960 type: array items: type: object @@ -153337,7 +154054,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &958 + workflow_job_run: &961 type: object properties: conclusion: @@ -154068,18 +154785,18 @@ x-webhooks: type: string enum: - rejected - approver: *956 + approver: *959 comment: type: string - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - reviewers: *957 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + reviewers: *960 sender: *4 since: type: string - workflow_job_run: *958 + workflow_job_run: *961 workflow_job_runs: type: array items: @@ -154783,13 +155500,13 @@ x-webhooks: type: string enum: - requested - enterprise: *940 + enterprise: *943 environment: type: string - installation: *941 - organization: *942 - repository: *943 - requestor: &969 + installation: *944 + organization: *945 + repository: *946 + requestor: &972 title: User type: object nullable: true @@ -156678,12 +157395,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - workflow: *959 + workflow: *962 workflow_run: title: Deployment Workflow Run type: object @@ -157363,7 +158080,7 @@ x-webhooks: type: string enum: - answered - answer: &962 + answer: &965 type: object properties: author_association: @@ -157520,11 +158237,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -157651,11 +158368,11 @@ x-webhooks: - from required: - category - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -157738,11 +158455,11 @@ x-webhooks: type: string enum: - closed - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -157824,7 +158541,7 @@ x-webhooks: type: string enum: - created - comment: &961 + comment: &964 type: object properties: author_association: @@ -157981,11 +158698,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158068,12 +158785,12 @@ x-webhooks: type: string enum: - deleted - comment: *961 - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + comment: *964 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158168,12 +158885,12 @@ x-webhooks: - from required: - body - comment: *961 - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + comment: *964 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158257,11 +158974,11 @@ x-webhooks: type: string enum: - created - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158343,11 +159060,11 @@ x-webhooks: type: string enum: - deleted - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158447,11 +159164,11 @@ x-webhooks: type: string required: - from - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158533,10 +159250,10 @@ x-webhooks: type: string enum: - labeled - discussion: *960 - enterprise: *940 - installation: *941 - label: &963 + discussion: *963 + enterprise: *943 + installation: *944 + label: &966 title: Label type: object properties: @@ -158582,8 +159299,8 @@ x-webhooks: - description - archived_at - archived_by - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158666,11 +159383,11 @@ x-webhooks: type: string enum: - locked - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158752,11 +159469,11 @@ x-webhooks: type: string enum: - pinned - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158838,11 +159555,11 @@ x-webhooks: type: string enum: - reopened - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -158927,16 +159644,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *960 - new_repository: *943 + new_discussion: *963 + new_repository: *946 required: - new_discussion - new_repository - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -159019,10 +159736,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *960 - old_answer: *962 - organization: *942 - repository: *943 + discussion: *963 + old_answer: *965 + organization: *945 + repository: *946 sender: *4 required: - action @@ -159104,12 +159821,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *960 - enterprise: *940 - installation: *941 - label: *963 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + label: *966 + organization: *945 + repository: *946 sender: *4 required: - action @@ -159192,11 +159909,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -159278,11 +159995,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *960 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + discussion: *963 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -159351,7 +160068,7 @@ x-webhooks: required: true content: application/json: - schema: *964 + schema: *967 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159414,7 +160131,7 @@ x-webhooks: required: true content: application/json: - schema: *965 + schema: *968 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159477,7 +160194,7 @@ x-webhooks: required: true content: application/json: - schema: *966 + schema: *969 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159540,7 +160257,7 @@ x-webhooks: required: true content: application/json: - schema: *964 + schema: *967 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159603,7 +160320,7 @@ x-webhooks: required: true content: application/json: - schema: *965 + schema: *968 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159669,7 +160386,7 @@ x-webhooks: required: true content: application/json: - schema: *966 + schema: *969 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159735,7 +160452,7 @@ x-webhooks: required: true content: application/json: - schema: *967 + schema: *970 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159801,7 +160518,7 @@ x-webhooks: required: true content: application/json: - schema: *964 + schema: *967 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159867,7 +160584,7 @@ x-webhooks: required: true content: application/json: - schema: *968 + schema: *971 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159933,7 +160650,7 @@ x-webhooks: required: true content: application/json: - schema: *965 + schema: *968 responses: '200': description: Return a 200 status to indicate that the data was received @@ -159998,7 +160715,7 @@ x-webhooks: required: true content: application/json: - schema: *966 + schema: *969 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160063,7 +160780,7 @@ x-webhooks: required: true content: application/json: - schema: *967 + schema: *970 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160128,7 +160845,7 @@ x-webhooks: required: true content: application/json: - schema: *964 + schema: *967 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160193,7 +160910,7 @@ x-webhooks: required: true content: application/json: - schema: *968 + schema: *971 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160259,7 +160976,7 @@ x-webhooks: required: true content: application/json: - schema: *965 + schema: *968 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160326,7 +161043,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *940 + enterprise: *943 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -160986,9 +161703,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *941 - organization: *942 - repository: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - forkee @@ -161134,9 +161851,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 pages: description: The pages that were updated. type: array @@ -161173,7 +161890,7 @@ x-webhooks: - action - sha - html_url - repository: *943 + repository: *946 sender: *4 required: - pages @@ -161249,10 +161966,10 @@ x-webhooks: type: string enum: - created - enterprise: *940 + enterprise: *943 installation: *22 - organization: *942 - repositories: &970 + organization: *945 + repositories: &973 description: An array of repository objects that the installation can access. type: array @@ -161278,8 +161995,8 @@ x-webhooks: - name - full_name - private - repository: *943 - requester: *969 + repository: *946 + requester: *972 sender: *4 required: - action @@ -161354,11 +162071,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 + enterprise: *943 installation: *22 - organization: *942 - repositories: *970 - repository: *943 + organization: *945 + repositories: *973 + repository: *946 requester: nullable: true sender: *4 @@ -161434,11 +162151,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *940 + enterprise: *943 installation: *22 - organization: *942 - repositories: *970 - repository: *943 + organization: *945 + repositories: *973 + repository: *946 requester: nullable: true sender: *4 @@ -161514,10 +162231,10 @@ x-webhooks: type: string enum: - added - enterprise: *940 + enterprise: *943 installation: *22 - organization: *942 - repositories_added: &971 + organization: *945 + repositories_added: &974 description: An array of repository objects, which were added to the installation. type: array @@ -161564,15 +162281,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *943 - repository_selection: &972 + repository: *946 + repository_selection: &975 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *969 + requester: *972 sender: *4 required: - action @@ -161651,10 +162368,10 @@ x-webhooks: type: string enum: - removed - enterprise: *940 + enterprise: *943 installation: *22 - organization: *942 - repositories_added: *971 + organization: *945 + repositories_added: *974 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -161682,9 +162399,9 @@ x-webhooks: - name - full_name - private - repository: *943 - repository_selection: *972 - requester: *969 + repository: *946 + repository_selection: *975 + requester: *972 sender: *4 required: - action @@ -161763,11 +162480,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *940 + enterprise: *943 installation: *22 - organization: *942 - repositories: *970 - repository: *943 + organization: *945 + repositories: *973 + repository: *946 requester: nullable: true sender: *4 @@ -161946,10 +162663,10 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 target_type: type: string @@ -162028,11 +162745,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *940 + enterprise: *943 installation: *22 - organization: *942 - repositories: *970 - repository: *943 + organization: *945 + repositories: *973 + repository: *946 requester: nullable: true sender: *4 @@ -162156,8 +162873,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *229 + required: *230 reactions: title: Reactions type: object @@ -162206,15 +162923,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *741 - required: *742 + properties: *744 + required: *745 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *743 - required: *744 + properties: *746 + required: *747 nullable: true user: title: User @@ -162299,8 +163016,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -163089,8 +163806,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163106,7 +163823,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -163439,8 +164156,8 @@ x-webhooks: - state - locked - assignee - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -163520,7 +164237,7 @@ x-webhooks: type: string enum: - deleted - comment: &973 + comment: &976 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -163677,15 +164394,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *741 - required: *742 + properties: *744 + required: *745 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *743 - required: *744 + properties: *746 + required: *747 nullable: true required: - url @@ -163700,8 +164417,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -164486,8 +165203,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164503,7 +165220,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -164838,8 +165555,8 @@ x-webhooks: - state - locked - assignee - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -164919,7 +165636,7 @@ x-webhooks: type: string enum: - edited - changes: &1003 + changes: &1006 description: The changes to the comment. type: object properties: @@ -164931,9 +165648,9 @@ x-webhooks: type: string required: - from - comment: *973 - enterprise: *940 - installation: *941 + comment: *976 + enterprise: *943 + installation: *944 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -165721,8 +166438,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165738,7 +166455,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -166071,8 +166788,8 @@ x-webhooks: - state - locked - assignee - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -166153,9 +166870,9 @@ x-webhooks: type: string enum: - pinned - comment: *973 - enterprise: *940 - installation: *941 + comment: *976 + enterprise: *943 + installation: *944 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -166945,8 +167662,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166962,7 +167679,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -167297,8 +168014,8 @@ x-webhooks: - state - locked - assignee - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -167378,9 +168095,9 @@ x-webhooks: type: string enum: - unpinned - comment: *973 - enterprise: *940 - installation: *941 + comment: *976 + enterprise: *943 + installation: *944 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -168170,8 +168887,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168187,7 +168904,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -168522,8 +169239,8 @@ x-webhooks: - state - locked - assignee - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -168606,15 +169323,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *234 blocking_issue_repo: *77 - installation: *941 - organization: *942 - repository: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -168697,15 +169414,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *234 blocking_issue_repo: *77 - installation: *941 - organization: *942 - repository: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -168787,15 +169504,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocked_issue_repo: *77 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *941 - organization: *942 - repository: *943 + blocking_issue: *234 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -168878,15 +169595,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *234 blocked_issue_repo: *77 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *941 - organization: *942 - repository: *943 + blocking_issue: *234 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -168966,10 +169683,10 @@ x-webhooks: type: string enum: - assigned - assignee: *969 - enterprise: *940 - installation: *941 - issue: &974 + assignee: *972 + enterprise: *943 + installation: *944 + issue: &977 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -169758,14 +170475,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169781,7 +170498,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -169882,8 +170599,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -169963,8 +170680,8 @@ x-webhooks: type: string enum: - closed - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -170758,14 +171475,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170781,7 +171498,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -171017,8 +171734,8 @@ x-webhooks: required: - state - closed_at - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -171097,8 +171814,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171883,14 +172600,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171906,7 +172623,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -172006,8 +172723,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -172086,8 +172803,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172894,14 +173611,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172917,7 +173634,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -172996,7 +173713,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &975 + milestone: &978 title: Milestone description: A collection of related issues and pull requests. type: object @@ -173134,8 +173851,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -173234,8 +173951,8 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174024,14 +174741,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174044,7 +174761,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *404 + type: *407 title: description: Title of the issue type: string @@ -174148,9 +174865,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *963 - organization: *942 - repository: *943 + label: *966 + organization: *945 + repository: *946 sender: *4 required: - action @@ -174230,9 +174947,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *940 - installation: *941 - issue: *974 + enterprise: *943 + installation: *944 + issue: *977 issue_field: type: object description: The issue field whose value was set or updated on the @@ -174386,8 +175103,8 @@ x-webhooks: - id required: - from - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -174467,9 +175184,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *940 - installation: *941 - issue: *974 + enterprise: *943 + installation: *944 + issue: *977 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -174550,8 +175267,8 @@ x-webhooks: nullable: true required: - id - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -174631,8 +175348,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175434,14 +176151,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175454,7 +176171,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *404 + type: *407 title: description: Title of the issue type: string @@ -175558,9 +176275,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *963 - organization: *942 - repository: *943 + label: *966 + organization: *945 + repository: *946 sender: *4 required: - action @@ -175640,8 +176357,8 @@ x-webhooks: type: string enum: - locked - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176453,14 +177170,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176473,7 +177190,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *404 + type: *407 title: description: Title of the issue type: string @@ -176554,8 +177271,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -176634,8 +177351,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177441,14 +178158,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177464,7 +178181,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -177542,9 +178259,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *975 - organization: *942 - repository: *943 + milestone: *978 + organization: *945 + repository: *946 sender: *4 required: - action @@ -178407,11 +179124,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178439,8 +179156,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true user: title: User @@ -178512,7 +179229,7 @@ x-webhooks: required: - login - id - type: *404 + type: *407 required: - id - number @@ -178992,8 +179709,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179777,11 +180494,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179797,7 +180514,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -179810,8 +180527,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true user: title: User @@ -179905,8 +180622,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -179986,9 +180703,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *940 - installation: *941 - issue: &976 + enterprise: *943 + installation: *944 + issue: &979 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -180771,14 +181488,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180794,7 +181511,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -180894,8 +181611,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -180974,8 +181691,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -181785,14 +182502,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -181886,9 +182603,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *404 - organization: *942 - repository: *943 + type: *407 + organization: *945 + repository: *946 sender: *4 required: - action @@ -182754,14 +183471,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -182777,7 +183494,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -183356,11 +184073,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *940 - installation: *941 - issue: *976 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + issue: *979 + organization: *945 + repository: *946 sender: *4 required: - action @@ -183440,12 +184157,12 @@ x-webhooks: type: string enum: - typed - enterprise: *940 - installation: *941 - issue: *974 - type: *404 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + issue: *977 + type: *407 + organization: *945 + repository: *946 sender: *4 required: - action @@ -183526,7 +184243,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &1006 + assignee: &1009 title: User type: object nullable: true @@ -183596,11 +184313,11 @@ x-webhooks: required: - login - id - enterprise: *940 - installation: *941 - issue: *974 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + issue: *977 + organization: *945 + repository: *946 sender: *4 required: - action @@ -183679,12 +184396,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *940 - installation: *941 - issue: *974 - label: *963 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + issue: *977 + label: *966 + organization: *945 + repository: *946 sender: *4 required: - action @@ -183764,8 +184481,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -184575,14 +185292,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true - sub_issues_summary: *876 - issue_dependencies_summary: *877 + sub_issues_summary: *879 + issue_dependencies_summary: *880 issue_field_values: type: array - items: *723 + items: *726 state: description: State of the issue; either 'open' or 'closed' type: string @@ -184598,7 +185315,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *407 updated_at: type: string format: date-time @@ -184676,8 +185393,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -184757,11 +185474,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *940 - installation: *941 - issue: *976 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + issue: *979 + organization: *945 + repository: *946 sender: *4 required: - action @@ -184840,12 +185557,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *940 - installation: *941 - issue: *974 - type: *404 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + issue: *977 + type: *407 + organization: *945 + repository: *946 sender: *4 required: - action @@ -184925,12 +185642,12 @@ x-webhooks: type: string enum: - archived - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 label: title: Archived label allOf: - - *963 + - *966 - type: object properties: archived_at: @@ -184944,8 +185661,8 @@ x-webhooks: required: - archived_at - archived_by - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -185024,11 +185741,11 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - label: *963 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + label: *966 + organization: *945 + repository: *946 sender: *4 required: - action @@ -185106,11 +185823,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - label: *963 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + label: *966 + organization: *945 + repository: *946 sender: *4 required: - action @@ -185220,11 +185937,11 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 - label: *963 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + label: *966 + organization: *945 + repository: *946 sender: *4 required: - action @@ -185303,12 +186020,12 @@ x-webhooks: type: string enum: - unarchived - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 label: title: Unarchived label allOf: - - *963 + - *966 - type: object properties: archived_at: @@ -185326,8 +186043,8 @@ x-webhooks: required: - archived_at - archived_by - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -185409,9 +186126,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *940 - installation: *941 - marketplace_purchase: &977 + enterprise: *943 + installation: *944 + marketplace_purchase: &980 title: Marketplace Purchase type: object required: @@ -185494,8 +186211,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *942 - previous_marketplace_purchase: &978 + organization: *945 + previous_marketplace_purchase: &981 title: Marketplace Purchase type: object properties: @@ -185575,7 +186292,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *943 + repository: *946 sender: *4 required: - action @@ -185655,10 +186372,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *940 - installation: *941 - marketplace_purchase: *977 - organization: *942 + enterprise: *943 + installation: *944 + marketplace_purchase: *980 + organization: *945 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -185741,7 +186458,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *943 + repository: *946 sender: *4 required: - action @@ -185823,10 +186540,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *940 - installation: *941 - marketplace_purchase: *977 - organization: *942 + enterprise: *943 + installation: *944 + marketplace_purchase: *980 + organization: *945 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -185908,7 +186625,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *943 + repository: *946 sender: *4 required: - action @@ -185989,8 +186706,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 marketplace_purchase: title: Marketplace Purchase type: object @@ -186072,9 +186789,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *942 - previous_marketplace_purchase: *978 - repository: *943 + organization: *945 + previous_marketplace_purchase: *981 + repository: *946 sender: *4 required: - action @@ -186154,12 +186871,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *940 - installation: *941 - marketplace_purchase: *977 - organization: *942 - previous_marketplace_purchase: *978 - repository: *943 + enterprise: *943 + installation: *944 + marketplace_purchase: *980 + organization: *945 + previous_marketplace_purchase: *981 + repository: *946 sender: *4 required: - action @@ -186261,11 +186978,11 @@ x-webhooks: type: string required: - to - enterprise: *940 - installation: *941 - member: *969 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + member: *972 + organization: *945 + repository: *946 sender: *4 required: - action @@ -186365,11 +187082,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *940 - installation: *941 - member: *969 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + member: *972 + organization: *945 + repository: *946 sender: *4 required: - action @@ -186448,11 +187165,11 @@ x-webhooks: type: string enum: - removed - enterprise: *940 - installation: *941 - member: *969 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + member: *972 + organization: *945 + repository: *946 sender: *4 required: - action @@ -186530,11 +187247,11 @@ x-webhooks: type: string enum: - added - enterprise: *940 - installation: *941 - member: *969 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + member: *972 + organization: *945 + repository: *946 scope: description: The scope of the membership. Currently, can only be `team`. @@ -186610,7 +187327,7 @@ x-webhooks: required: - login - id - team: &979 + team: &982 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -186833,11 +187550,11 @@ x-webhooks: type: string enum: - removed - enterprise: *940 - installation: *941 - member: *969 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + member: *972 + organization: *945 + repository: *946 scope: description: The scope of the membership. Currently, can only be `team`. @@ -186914,7 +187631,7 @@ x-webhooks: required: - login - id - team: *979 + team: *982 required: - action - scope @@ -186996,8 +187713,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *941 - merge_group: &981 + installation: *944 + merge_group: &984 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -187016,15 +187733,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *980 + head_commit: *983 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -187110,10 +187827,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *941 - merge_group: *981 - organization: *942 - repository: *943 + installation: *944 + merge_group: *984 + organization: *945 + repository: *946 sender: *4 required: - action @@ -187186,7 +187903,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 + enterprise: *943 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -187295,17 +188012,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *941 - organization: *942 + installation: *944 + organization: *945 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *982 - required: *983 - x-github-breaking-changes: *984 + properties: *985 + required: *986 + x-github-breaking-changes: *987 nullable: true sender: *4 required: @@ -187386,11 +188103,11 @@ x-webhooks: type: string enum: - closed - enterprise: *940 - installation: *941 - milestone: *975 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + milestone: *978 + organization: *945 + repository: *946 sender: *4 required: - action @@ -187469,9 +188186,9 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - milestone: &985 + enterprise: *943 + installation: *944 + milestone: &988 title: Milestone description: A collection of related issues and pull requests. type: object @@ -187608,8 +188325,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -187688,11 +188405,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - milestone: *975 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + milestone: *978 + organization: *945 + repository: *946 sender: *4 required: - action @@ -187802,11 +188519,11 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 - milestone: *975 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + milestone: *978 + organization: *945 + repository: *946 sender: *4 required: - action @@ -187886,11 +188603,11 @@ x-webhooks: type: string enum: - opened - enterprise: *940 - installation: *941 - milestone: *985 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + milestone: *988 + organization: *945 + repository: *946 sender: *4 required: - action @@ -187969,11 +188686,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *969 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + blocked_user: *972 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -188052,11 +188769,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *969 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + blocked_user: *972 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -188131,8 +188848,8 @@ x-webhooks: type: string enum: - created - definition: *157 - enterprise: *940 + definition: *160 + enterprise: *943 sender: *4 required: - action @@ -188212,8 +188929,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 sender: *4 required: - action @@ -188285,9 +189002,9 @@ x-webhooks: type: string enum: - updated - definition: *157 - enterprise: *940 - installation: *941 + definition: *160 + enterprise: *943 + installation: *944 sender: *4 required: - action @@ -188359,18 +189076,18 @@ x-webhooks: type: string enum: - updated - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 sender: *4 new_property_values: type: array description: The new custom property values. - items: *161 + items: *164 old_property_values: type: array description: The old custom property values. - items: *161 + items: *164 required: - action - organization @@ -188449,9 +189166,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - membership: &986 + enterprise: *943 + installation: *944 + membership: &989 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -188558,8 +189275,8 @@ x-webhooks: - role - organization_url - user - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 required: - action @@ -188637,11 +189354,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *940 - installation: *941 - membership: *986 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + membership: *989 + organization: *945 + repository: *946 sender: *4 required: - action @@ -188720,8 +189437,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -188837,10 +189554,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 - user: *969 + user: *972 required: - action - invitation @@ -188918,11 +189635,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *940 - installation: *941 - membership: *986 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + membership: *989 + organization: *945 + repository: *946 sender: *4 required: - action @@ -189009,11 +189726,11 @@ x-webhooks: properties: from: type: string - enterprise: *940 - installation: *941 - membership: *986 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + membership: *989 + organization: *945 + repository: *946 sender: *4 required: - action @@ -189091,9 +189808,9 @@ x-webhooks: type: string enum: - published - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 package: description: Information about the package. type: object @@ -189592,7 +190309,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &987 + items: &990 title: Ruby Gems metadata type: object properties: @@ -189687,7 +190404,7 @@ x-webhooks: - owner - package_version - registry - repository: *943 + repository: *946 sender: *4 required: - action @@ -189764,9 +190481,9 @@ x-webhooks: type: string enum: - updated - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 package: description: Information about the package. type: object @@ -190119,7 +190836,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *987 + items: *990 source_url: type: string format: uri @@ -190189,7 +190906,7 @@ x-webhooks: - owner - package_version - registry - repository: *943 + repository: *946 sender: *4 required: - action @@ -190365,12 +191082,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *940 + enterprise: *943 id: type: integer - installation: *941 - organization: *942 - repository: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - id @@ -190447,7 +191164,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &988 + personal_access_token_request: &991 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -190593,10 +191310,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *940 - organization: *942 + enterprise: *943 + organization: *945 sender: *4 - installation: *941 + installation: *944 required: - action - personal_access_token_request @@ -190673,11 +191390,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *988 - enterprise: *940 - organization: *942 + personal_access_token_request: *991 + enterprise: *943 + organization: *945 sender: *4 - installation: *941 + installation: *944 required: - action - personal_access_token_request @@ -190753,11 +191470,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *988 - enterprise: *940 - organization: *942 + personal_access_token_request: *991 + enterprise: *943 + organization: *945 sender: *4 - installation: *941 + installation: *944 required: - action - personal_access_token_request @@ -190832,11 +191549,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *988 - organization: *942 - enterprise: *940 + personal_access_token_request: *991 + organization: *945 + enterprise: *943 sender: *4 - installation: *941 + installation: *944 required: - action - personal_access_token_request @@ -190941,7 +191658,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *989 + last_response: *992 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -190973,8 +191690,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 zen: description: Random string of GitHub zen. @@ -191219,10 +191936,10 @@ x-webhooks: - from required: - note - enterprise: *940 - installation: *941 - organization: *942 - project_card: &990 + enterprise: *943 + installation: *944 + organization: *945 + project_card: &993 title: Project Card type: object properties: @@ -191341,7 +192058,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *943 + repository: *946 sender: *4 required: - action @@ -191422,11 +192139,11 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - project_card: *990 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + project_card: *993 + repository: *946 sender: *4 required: - action @@ -191506,9 +192223,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 project_card: title: Project Card type: object @@ -191636,9 +192353,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *982 - required: *983 - x-github-breaking-changes: *984 + properties: *985 + required: *986 + x-github-breaking-changes: *987 nullable: true sender: *4 required: @@ -191732,11 +192449,11 @@ x-webhooks: - from required: - note - enterprise: *940 - installation: *941 - organization: *942 - project_card: *990 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + project_card: *993 + repository: *946 sender: *4 required: - action @@ -191830,9 +192547,9 @@ x-webhooks: - from required: - column_id - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 project_card: allOf: - title: Project Card @@ -192022,7 +192739,7 @@ x-webhooks: type: string required: - after_id - repository: *943 + repository: *946 sender: *4 required: - action @@ -192102,10 +192819,10 @@ x-webhooks: type: string enum: - closed - enterprise: *940 - installation: *941 - organization: *942 - project: &992 + enterprise: *943 + installation: *944 + organization: *945 + project: &995 title: Project type: object properties: @@ -192229,7 +192946,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *943 + repository: *946 sender: *4 required: - action @@ -192309,10 +193026,10 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - project_column: &991 + enterprise: *943 + installation: *944 + organization: *945 + project_column: &994 title: Project Column type: object properties: @@ -192351,7 +193068,7 @@ x-webhooks: - name - created_at - updated_at - repository: *943 + repository: *946 sender: *4 required: - action @@ -192430,19 +193147,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 - project_column: *991 + enterprise: *943 + installation: *944 + organization: *945 + project_column: *994 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *982 - required: *983 - x-github-breaking-changes: *984 + properties: *985 + required: *986 + x-github-breaking-changes: *987 nullable: true sender: *4 required: @@ -192532,11 +193249,11 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 - organization: *942 - project_column: *991 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + project_column: *994 + repository: *946 sender: *4 required: - action @@ -192616,11 +193333,11 @@ x-webhooks: type: string enum: - moved - enterprise: *940 - installation: *941 - organization: *942 - project_column: *991 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + project_column: *994 + repository: *946 sender: *4 required: - action @@ -192700,11 +193417,11 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - project: *992 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + project: *995 + repository: *946 sender: *4 required: - action @@ -192784,19 +193501,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 - project: *992 + enterprise: *943 + installation: *944 + organization: *945 + project: *995 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *982 - required: *983 - x-github-breaking-changes: *984 + properties: *985 + required: *986 + x-github-breaking-changes: *987 nullable: true sender: *4 required: @@ -192898,11 +193615,11 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 - organization: *942 - project: *992 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + project: *995 + repository: *946 sender: *4 required: - action @@ -192981,11 +193698,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *940 - installation: *941 - organization: *942 - project: *992 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + project: *995 + repository: *946 sender: *4 required: - action @@ -193066,9 +193783,9 @@ x-webhooks: type: string enum: - closed - installation: *941 - organization: *942 - projects_v2: *436 + installation: *944 + organization: *945 + projects_v2: *439 sender: *4 required: - action @@ -193149,9 +193866,9 @@ x-webhooks: type: string enum: - created - installation: *941 - organization: *942 - projects_v2: *436 + installation: *944 + organization: *945 + projects_v2: *439 sender: *4 required: - action @@ -193232,9 +193949,9 @@ x-webhooks: type: string enum: - deleted - installation: *941 - organization: *942 - projects_v2: *436 + installation: *944 + organization: *945 + projects_v2: *439 sender: *4 required: - action @@ -193351,9 +194068,9 @@ x-webhooks: type: string to: type: string - installation: *941 - organization: *942 - projects_v2: *436 + installation: *944 + organization: *945 + projects_v2: *439 sender: *4 required: - action @@ -193436,7 +194153,7 @@ x-webhooks: type: string enum: - archived - changes: &996 + changes: &999 type: object properties: archived_at: @@ -193450,9 +194167,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *941 - organization: *942 - projects_v2_item: &993 + installation: *944 + organization: *945 + projects_v2_item: &996 title: Projects v2 Item description: An item belonging to a project type: object @@ -193470,7 +194187,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *443 + content_type: *446 creator: *4 created_at: type: string @@ -193587,9 +194304,9 @@ x-webhooks: nullable: true to: type: string - installation: *941 - organization: *942 - projects_v2_item: *993 + installation: *944 + organization: *945 + projects_v2_item: *996 sender: *4 required: - action @@ -193671,9 +194388,9 @@ x-webhooks: type: string enum: - created - installation: *941 - organization: *942 - projects_v2_item: *993 + installation: *944 + organization: *945 + projects_v2_item: *996 sender: *4 required: - action @@ -193754,9 +194471,9 @@ x-webhooks: type: string enum: - deleted - installation: *941 - organization: *942 - projects_v2_item: *993 + installation: *944 + organization: *945 + projects_v2_item: *996 sender: *4 required: - action @@ -193862,7 +194579,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &994 + - &997 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -193884,7 +194601,7 @@ x-webhooks: required: - id - name - - &995 + - &998 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -193918,8 +194635,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *994 - - *995 + - *997 + - *998 required: - field_value - type: object @@ -193935,9 +194652,9 @@ x-webhooks: nullable: true required: - body - installation: *941 - organization: *942 - projects_v2_item: *993 + installation: *944 + organization: *945 + projects_v2_item: *996 sender: *4 required: - action @@ -194032,9 +194749,9 @@ x-webhooks: to: type: string nullable: true - installation: *941 - organization: *942 - projects_v2_item: *993 + installation: *944 + organization: *945 + projects_v2_item: *996 sender: *4 required: - action @@ -194117,10 +194834,10 @@ x-webhooks: type: string enum: - restored - changes: *996 - installation: *941 - organization: *942 - projects_v2_item: *993 + changes: *999 + installation: *944 + organization: *945 + projects_v2_item: *996 sender: *4 required: - action @@ -194202,9 +194919,9 @@ x-webhooks: type: string enum: - reopened - installation: *941 - organization: *942 - projects_v2: *436 + installation: *944 + organization: *945 + projects_v2: *439 sender: *4 required: - action @@ -194285,14 +195002,14 @@ x-webhooks: type: string enum: - created - installation: *941 - organization: *942 - projects_v2_status_update: &999 + installation: *944 + organization: *945 + projects_v2_status_update: &1002 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *997 - required: *998 + properties: *1000 + required: *1001 sender: *4 required: - action @@ -194373,9 +195090,9 @@ x-webhooks: type: string enum: - deleted - installation: *941 - organization: *942 - projects_v2_status_update: *999 + installation: *944 + organization: *945 + projects_v2_status_update: *1002 sender: *4 required: - action @@ -194511,9 +195228,9 @@ x-webhooks: type: string format: date nullable: true - installation: *941 - organization: *942 - projects_v2_status_update: *999 + installation: *944 + organization: *945 + projects_v2_status_update: *1002 sender: *4 required: - action @@ -194584,10 +195301,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - repository @@ -194664,13 +195381,13 @@ x-webhooks: type: string enum: - assigned - assignee: *969 - enterprise: *940 - installation: *941 - number: &1000 + assignee: *972 + enterprise: *943 + installation: *944 + number: &1003 description: The pull request number. type: integer - organization: *942 + organization: *945 pull_request: title: Pull Request type: object @@ -196849,7 +197566,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -196976,7 +197693,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -197073,10 +197790,10 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -199248,7 +199965,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -199377,7 +200094,7 @@ x-webhooks: - draft reason: type: string - repository: *943 + repository: *946 sender: *4 required: - action @@ -199474,10 +200191,10 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -201649,7 +202366,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -201778,7 +202495,7 @@ x-webhooks: - draft reason: type: string - repository: *943 + repository: *946 sender: *4 required: - action @@ -201875,13 +202592,13 @@ x-webhooks: type: string enum: - closed - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 - pull_request: &1001 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 + pull_request: &1004 allOf: - - *780 + - *783 - type: object properties: allow_auto_merge: @@ -201943,7 +202660,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *943 + repository: *946 sender: *4 required: - action @@ -202024,12 +202741,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 - pull_request: *1001 - repository: *943 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 + pull_request: *1004 + repository: *946 sender: *4 required: - action @@ -202109,12 +202826,12 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *940 - installation: *941 - milestone: *761 - number: *1000 - organization: *942 - pull_request: &1002 + enterprise: *943 + installation: *944 + milestone: *764 + number: *1003 + organization: *945 + pull_request: &1005 title: Pull Request type: object properties: @@ -204273,7 +204990,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -204442,7 +205159,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *943 + repository: *946 sender: *4 required: - action @@ -204522,10 +205239,10 @@ x-webhooks: type: string enum: - dequeued - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -206688,7 +207405,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -206830,7 +207547,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *943 + repository: *946 sender: *4 required: - action @@ -206962,12 +207679,12 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 - pull_request: *1001 - repository: *943 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 + pull_request: *1004 + repository: *946 sender: *4 required: - action @@ -207048,10 +207765,10 @@ x-webhooks: type: string enum: - enqueued - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -209214,7 +209931,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -209341,7 +210058,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -209429,11 +210146,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *940 - installation: *941 - label: *963 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + label: *966 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -211625,7 +212342,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -211752,7 +212469,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -211848,10 +212565,10 @@ x-webhooks: type: string enum: - locked - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -214027,7 +214744,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -214154,7 +214871,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -214249,13 +214966,13 @@ x-webhooks: type: string enum: - milestoned - enterprise: *940 - installation: *941 - milestone: *761 - number: *1000 - organization: *942 - pull_request: *1002 - repository: *943 + enterprise: *943 + installation: *944 + milestone: *764 + number: *1003 + organization: *945 + pull_request: *1005 + repository: *946 sender: *4 required: - action @@ -214335,12 +215052,12 @@ x-webhooks: type: string enum: - opened - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 - pull_request: *1001 - repository: *943 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 + pull_request: *1004 + repository: *946 sender: *4 required: - action @@ -214421,12 +215138,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 - pull_request: *1001 - repository: *943 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 + pull_request: *1004 + repository: *946 sender: *4 required: - action @@ -214506,12 +215223,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 - pull_request: *1001 - repository: *943 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 + pull_request: *1004 + repository: *946 sender: *4 required: - action @@ -214877,9 +215594,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 pull_request: type: object properties: @@ -216950,7 +217667,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: type: string enum: @@ -217072,7 +217789,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *943 + repository: *946 sender: *4 required: - action @@ -217167,7 +217884,7 @@ x-webhooks: type: string enum: - deleted - comment: &1004 + comment: &1007 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. @@ -217452,9 +218169,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 pull_request: type: object properties: @@ -219513,7 +220230,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: type: string enum: @@ -219635,7 +220352,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *943 + repository: *946 sender: *4 required: - action @@ -219730,11 +220447,11 @@ x-webhooks: type: string enum: - edited - changes: *1003 - comment: *1004 - enterprise: *940 - installation: *941 - organization: *942 + changes: *1006 + comment: *1007 + enterprise: *943 + installation: *944 + organization: *945 pull_request: type: object properties: @@ -221796,7 +222513,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: type: string enum: @@ -221918,7 +222635,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *943 + repository: *946 sender: *4 required: - action @@ -222014,9 +222731,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 pull_request: title: Simple Pull Request type: object @@ -224088,7 +224805,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: type: string enum: @@ -224212,7 +224929,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *943 + repository: *946 review: description: The review that was affected. type: object @@ -224474,9 +225191,9 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 pull_request: title: Simple Pull Request type: object @@ -226530,8 +227247,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *943 - review: &1005 + repository: *946 + review: &1008 description: The review that was affected. type: object properties: @@ -226772,12 +227489,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 number: description: The pull request number. type: integer - organization: *942 + organization: *945 pull_request: title: Pull Request type: object @@ -228956,7 +229673,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. @@ -229083,7 +229800,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 requested_reviewer: title: User type: object @@ -229167,12 +229884,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 number: description: The pull request number. type: integer - organization: *942 + organization: *945 pull_request: title: Pull Request type: object @@ -231358,7 +232075,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. @@ -231485,7 +232202,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 requested_team: title: Team description: Groups of organization members that gives permissions @@ -231700,12 +232417,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 number: description: The pull request number. type: integer - organization: *942 + organization: *945 pull_request: title: Pull Request type: object @@ -233885,7 +234602,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. @@ -234013,7 +234730,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 requested_reviewer: title: User type: object @@ -234098,12 +234815,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *940 - installation: *941 + enterprise: *943 + installation: *944 number: description: The pull request number. type: integer - organization: *942 + organization: *945 pull_request: title: Pull Request type: object @@ -236274,7 +236991,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. @@ -236402,7 +237119,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 requested_team: title: Team description: Groups of organization members that gives permissions @@ -236606,9 +237323,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 pull_request: title: Simple Pull Request type: object @@ -238682,7 +239399,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: type: string enum: @@ -238806,8 +239523,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *943 - review: *1005 + repository: *946 + review: *1008 sender: *4 required: - action @@ -238902,9 +239619,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 pull_request: title: Simple Pull Request type: object @@ -240873,7 +241590,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: type: string enum: @@ -240997,7 +241714,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *943 + repository: *946 sender: *4 thread: type: object @@ -241392,9 +242109,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 pull_request: title: Simple Pull Request type: object @@ -243350,7 +244067,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: type: string enum: @@ -243473,7 +244190,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *943 + repository: *946 sender: *4 thread: type: object @@ -243865,11 +244582,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *940 - installation: *941 - stack: *777 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + stack: *780 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -246047,7 +246764,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -246174,7 +246891,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -246275,10 +246992,10 @@ x-webhooks: type: string before: type: string - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -248445,7 +249162,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -248572,7 +249289,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -248669,11 +249386,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *1006 - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 + assignee: *1009 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -250852,7 +251569,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -250979,7 +251696,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -251074,11 +251791,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *940 - installation: *941 - label: *963 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + label: *966 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -253247,7 +253964,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -253374,7 +254091,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -253470,10 +254187,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *940 - installation: *941 - number: *1000 - organization: *942 + enterprise: *943 + installation: *944 + number: *1003 + organization: *945 pull_request: title: Pull Request type: object @@ -255635,7 +256352,7 @@ x-webhooks: review_comments_url: type: string format: uri - stack: *777 + stack: *780 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -255761,7 +256478,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *943 + repository: *946 sender: *4 required: - action @@ -255976,7 +256693,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *940 + enterprise: *943 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -256068,8 +256785,8 @@ x-webhooks: - url - author - committer - installation: *941 - organization: *942 + installation: *944 + organization: *945 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -256655,9 +257372,9 @@ x-webhooks: type: string enum: - published - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 registry_package: type: object properties: @@ -257103,7 +257820,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *987 + items: *990 summary: type: string tag_name: @@ -257157,7 +257874,7 @@ x-webhooks: - owner - package_version - registry - repository: *943 + repository: *946 sender: *4 required: - action @@ -257235,9 +257952,9 @@ x-webhooks: type: string enum: - updated - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 registry_package: type: object properties: @@ -257545,7 +258262,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *987 + items: *990 summary: type: string tag_name: @@ -257594,7 +258311,7 @@ x-webhooks: - owner - package_version - registry - repository: *943 + repository: *946 sender: *4 required: - action @@ -257671,10 +258388,10 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - release: &1007 + enterprise: *943 + installation: *944 + organization: *945 + release: &1010 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -257992,7 +258709,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *943 + repository: *946 sender: *4 required: - action @@ -258069,11 +258786,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 - release: *1007 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + release: *1010 + repository: *946 sender: *4 required: - action @@ -258190,11 +258907,11 @@ x-webhooks: type: boolean required: - to - enterprise: *940 - installation: *941 - organization: *942 - release: *1007 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + release: *1010 + repository: *946 sender: *4 required: - action @@ -258272,9 +258989,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -258596,7 +259313,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *943 + repository: *946 sender: *4 required: - action @@ -258672,10 +259389,10 @@ x-webhooks: type: string enum: - published - enterprise: *940 - installation: *941 - organization: *942 - release: &1008 + enterprise: *943 + installation: *944 + organization: *945 + release: &1011 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -258994,7 +259711,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *943 + repository: *946 sender: *4 required: - action @@ -259070,11 +259787,11 @@ x-webhooks: type: string enum: - released - enterprise: *940 - installation: *941 - organization: *942 - release: *1007 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + release: *1010 + repository: *946 sender: *4 required: - action @@ -259150,11 +259867,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *940 - installation: *941 - organization: *942 - release: *1008 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + release: *1011 + repository: *946 sender: *4 required: - action @@ -259230,11 +259947,11 @@ x-webhooks: type: string enum: - published - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - repository_advisory: *835 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + repository_advisory: *838 sender: *4 required: - action @@ -259310,11 +260027,11 @@ x-webhooks: type: string enum: - reported - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - repository_advisory: *835 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + repository_advisory: *838 sender: *4 required: - action @@ -259390,10 +260107,10 @@ x-webhooks: type: string enum: - archived - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -259470,10 +260187,10 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -259551,10 +260268,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -259638,10 +260355,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -259753,10 +260470,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -259828,10 +260545,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 status: type: string @@ -259912,10 +260629,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -259992,10 +260709,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -260089,10 +260806,10 @@ x-webhooks: - name required: - repository - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -260172,11 +260889,11 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - repository_ruleset: *196 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + repository_ruleset: *199 sender: *4 required: - action @@ -260254,11 +260971,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - repository_ruleset: *196 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + repository_ruleset: *199 sender: *4 required: - action @@ -260336,11 +261053,11 @@ x-webhooks: type: string enum: - edited - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - repository_ruleset: *196 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + repository_ruleset: *199 changes: type: object properties: @@ -260359,16 +261076,16 @@ x-webhooks: properties: added: type: array - items: *167 + items: *170 deleted: type: array - items: *167 + items: *170 updated: type: array items: type: object properties: - condition: *167 + condition: *170 changes: type: object properties: @@ -260401,16 +261118,16 @@ x-webhooks: properties: added: type: array - items: *802 + items: *805 deleted: type: array - items: *802 + items: *805 updated: type: array items: type: object properties: - rule: *802 + rule: *805 changes: type: object properties: @@ -260644,10 +261361,10 @@ x-webhooks: - from required: - owner - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -260725,10 +261442,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -260806,7 +261523,7 @@ x-webhooks: type: string enum: - create - alert: &1009 + alert: &1012 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -260928,10 +261645,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -261137,10 +261854,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -261218,11 +261935,11 @@ x-webhooks: type: string enum: - reopen - alert: *1009 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + alert: *1012 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -261421,10 +262138,10 @@ x-webhooks: enum: - fixed - open - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -261502,11 +262219,11 @@ x-webhooks: type: string enum: - assigned - alert: &1011 + alert: &1014 type: object properties: - number: *132 - created_at: *139 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -261514,8 +262231,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *137 - html_url: *138 + url: *140 + html_url: *141 locations_url: type: string format: uri @@ -261652,12 +262369,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *1010 + metadata: *1013 assignee: *4 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -261735,11 +262452,11 @@ x-webhooks: type: string enum: - created - alert: *1011 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + alert: *1014 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -261820,11 +262537,11 @@ x-webhooks: type: string enum: - created - alert: *1011 - installation: *941 - location: *1012 - organization: *942 - repository: *943 + alert: *1014 + installation: *944 + location: *1015 + organization: *945 + repository: *946 sender: *4 required: - location @@ -262062,11 +262779,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *1011 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + alert: *1014 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -262143,11 +262860,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *1011 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + alert: *1014 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -262224,11 +262941,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *1011 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + alert: *1014 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -262306,11 +263023,11 @@ x-webhooks: type: string enum: - reopened - alert: *1011 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + alert: *1014 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -262388,11 +263105,11 @@ x-webhooks: type: string enum: - resolved - alert: *1011 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + alert: *1014 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -262470,12 +263187,12 @@ x-webhooks: type: string enum: - unassigned - alert: *1011 + alert: *1014 assignee: *4 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -262553,11 +263270,11 @@ x-webhooks: type: string enum: - validated - alert: *1011 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + alert: *1014 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -262683,10 +263400,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *943 - enterprise: *940 - installation: *941 - organization: *942 + repository: *946 + enterprise: *943 + installation: *944 + organization: *945 sender: *4 required: - action @@ -262764,11 +263481,11 @@ x-webhooks: type: string enum: - published - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - security_advisory: &1013 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + security_advisory: &1016 description: The details of the security advisory, including summary, description, and severity. type: object @@ -262784,7 +263501,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *134 + cvss_severities: *137 cwes: type: array items: @@ -262969,11 +263686,11 @@ x-webhooks: type: string enum: - updated - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 - security_advisory: *1013 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 + security_advisory: *1016 sender: *4 required: - action @@ -263046,10 +263763,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -263066,7 +263783,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *134 + cvss_severities: *137 cwes: type: array items: @@ -263241,11 +263958,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *454 - enterprise: *940 - installation: *941 - organization: *942 - repository: *516 + security_and_analysis: *457 + enterprise: *943 + installation: *944 + organization: *945 + repository: *519 sender: *4 required: - changes @@ -263323,12 +264040,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - sponsorship: &1014 + sponsorship: &1017 type: object properties: created_at: @@ -263629,12 +264346,12 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - sponsorship: *1014 + sponsorship: *1017 required: - action - sponsorship @@ -263722,12 +264439,12 @@ x-webhooks: type: string required: - from - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - sponsorship: *1014 + sponsorship: *1017 required: - action - changes @@ -263804,17 +264521,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &1015 + effective_date: &1018 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: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - sponsorship: *1014 + sponsorship: *1017 required: - action - sponsorship @@ -263888,7 +264605,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &1016 + changes: &1019 type: object properties: tier: @@ -263932,13 +264649,13 @@ x-webhooks: - from required: - tier - effective_date: *1015 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + effective_date: *1018 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - sponsorship: *1014 + sponsorship: *1017 required: - action - changes @@ -264015,13 +264732,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *1016 - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + changes: *1019 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - sponsorship: *1014 + sponsorship: *1017 required: - action - changes @@ -264095,10 +264812,10 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -264181,10 +264898,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -264604,15 +265321,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *940 + enterprise: *943 id: description: The unique identifier of the status. type: integer - installation: *941 + installation: *944 name: type: string - organization: *942 - repository: *943 + organization: *945 + repository: *946 sender: *4 sha: description: The Commit SHA. @@ -264721,15 +265438,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *234 parent_issue_repo: *77 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *941 - organization: *942 - repository: *943 + sub_issue: *234 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -264812,15 +265529,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *234 parent_issue_repo: *77 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *941 - organization: *942 - repository: *943 + sub_issue: *234 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -264903,15 +265620,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *234 sub_issue_repo: *77 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *941 - organization: *942 - repository: *943 + parent_issue: *234 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -264994,15 +265711,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *234 sub_issue_repo: *77 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *941 - organization: *942 - repository: *943 + parent_issue: *234 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -265078,12 +265795,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - team: &1017 + team: &1020 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -265306,9 +266023,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 repository: title: Repository description: A git repository @@ -265766,7 +266483,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1017 + team: *1020 required: - action - team @@ -265842,9 +266559,9 @@ x-webhooks: type: string enum: - created - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 repository: title: Repository description: A git repository @@ -266302,7 +267019,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1017 + team: *1020 required: - action - team @@ -266379,9 +267096,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 repository: title: Repository description: A git repository @@ -266839,7 +267556,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1017 + team: *1020 required: - action - team @@ -266983,9 +267700,9 @@ x-webhooks: - from required: - permissions - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 repository: title: Repository description: A git repository @@ -267443,7 +268160,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1017 + team: *1020 required: - action - changes @@ -267521,9 +268238,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *940 - installation: *941 - organization: *942 + enterprise: *943 + installation: *944 + organization: *945 repository: title: Repository description: A git repository @@ -267981,7 +268698,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1017 + team: *1020 required: - action - team @@ -268057,10 +268774,10 @@ x-webhooks: type: string enum: - started - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 required: - action @@ -268133,16 +268850,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *940 + enterprise: *943 inputs: type: object nullable: true additionalProperties: true - installation: *941 - organization: *942 + installation: *944 + organization: *945 ref: type: string - repository: *943 + repository: *946 sender: *4 workflow: type: string @@ -268224,10 +268941,10 @@ x-webhooks: type: string enum: - completed - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 workflow_job: allOf: @@ -268464,7 +269181,7 @@ x-webhooks: type: string required: - conclusion - deployment: *661 + deployment: *664 required: - action - repository @@ -268543,10 +269260,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 workflow_job: allOf: @@ -268806,7 +269523,7 @@ x-webhooks: required: - status - steps - deployment: *661 + deployment: *664 required: - action - repository @@ -268885,10 +269602,10 @@ x-webhooks: type: string enum: - queued - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 workflow_job: type: object @@ -269023,7 +269740,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *661 + deployment: *664 required: - action - repository @@ -269102,10 +269819,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 workflow_job: type: object @@ -269241,7 +269958,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *661 + deployment: *664 required: - action - repository @@ -269321,12 +270038,12 @@ x-webhooks: type: string enum: - completed - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - workflow: *959 + workflow: *962 workflow_run: title: Workflow Run type: object @@ -270325,12 +271042,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - workflow: *959 + workflow: *962 workflow_run: title: Workflow Run type: object @@ -271314,12 +272031,12 @@ x-webhooks: type: string enum: - requested - enterprise: *940 - installation: *941 - organization: *942 - repository: *943 + enterprise: *943 + installation: *944 + organization: *945 + repository: *946 sender: *4 - workflow: *959 + workflow: *962 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index af7825d1e..68660ef5f 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -14583,6 +14583,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", @@ -144925,6 +145330,263 @@ "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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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", + "description": "When the export was requested.", + "nullable": true + } + } + }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -336804,6 +337466,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 36c3bea2a..d87ec32e3 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -10938,6 +10938,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 @@ -105983,6 +106307,216 @@ 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 + nullable: true + 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 + nullable: true + description: Base64-encoded SHA-256 hash of the token, matching `hashed_token` + in audit events. Null when not reported. + fingerprint: + type: string + nullable: true + 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 + nullable: true + owner: + type: object + nullable: true + properties: + id: + type: integer + login: + type: string + name: + type: string + nullable: true + owner_type: + type: string + nullable: true + enum: + - user + - oauth_application + - github_app + description: The type of credential owner. + application: + type: object + nullable: true + properties: + id: + type: integer + name: + type: string + nullable: true + 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 + nullable: true + created_at: + type: string + format: date-time + nullable: true + last_used_at: + type: string + format: date-time + nullable: true + expires_at: + type: string + format: date-time + nullable: true + next_expires_at: + type: string + format: date-time + nullable: true + credential_instance_count: + type: integer + nullable: true + 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 + nullable: true + 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 + nullable: true + description: Whether the credential exceeds a configured lifetime limit + or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: string + nullable: true + 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 + nullable: true + items: + type: string + description: OAuth scopes recorded for the token. Null when not reported + for the credential type. + permissions: + type: object + nullable: true + 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 + nullable: true + 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 + description: When the export was requested. + nullable: true dependabot-alert-package: type: object description: Details for the vulnerable package. @@ -251917,6 +252451,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/ghec/ghec.2026-03-10.json b/descriptions/ghec/ghec.2026-03-10.json index 95ed3fdf7..6676162fa 100644 --- a/descriptions/ghec/ghec.2026-03-10.json +++ b/descriptions/ghec/ghec.2026-03-10.json @@ -14583,6 +14583,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", @@ -144741,6 +145146,263 @@ "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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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", + "description": "When the export was requested.", + "nullable": true + } + } + }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -336027,6 +336689,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/ghec/ghec.2026-03-10.yaml b/descriptions/ghec/ghec.2026-03-10.yaml index 34bffc4c0..84bcad9ae 100644 --- a/descriptions/ghec/ghec.2026-03-10.yaml +++ b/descriptions/ghec/ghec.2026-03-10.yaml @@ -10938,6 +10938,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 @@ -105830,6 +106154,216 @@ 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 + nullable: true + 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 + nullable: true + description: Base64-encoded SHA-256 hash of the token, matching `hashed_token` + in audit events. Null when not reported. + fingerprint: + type: string + nullable: true + 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 + nullable: true + owner: + type: object + nullable: true + properties: + id: + type: integer + login: + type: string + name: + type: string + nullable: true + owner_type: + type: string + nullable: true + enum: + - user + - oauth_application + - github_app + description: The type of credential owner. + application: + type: object + nullable: true + properties: + id: + type: integer + name: + type: string + nullable: true + 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 + nullable: true + created_at: + type: string + format: date-time + nullable: true + last_used_at: + type: string + format: date-time + nullable: true + expires_at: + type: string + format: date-time + nullable: true + next_expires_at: + type: string + format: date-time + nullable: true + credential_instance_count: + type: integer + nullable: true + 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 + nullable: true + 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 + nullable: true + description: Whether the credential exceeds a configured lifetime limit + or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: string + nullable: true + 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 + nullable: true + items: + type: string + description: OAuth scopes recorded for the token. Null when not reported + for the credential type. + permissions: + type: object + nullable: true + 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 + nullable: true + 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 + description: When the export was requested. + nullable: true dependabot-alert-package: type: object description: Details for the vulnerable package. @@ -251218,6 +251752,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/ghec/ghec.json b/descriptions/ghec/ghec.json index ba5d330d5..342efb091 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -14597,6 +14597,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", @@ -145537,6 +145942,263 @@ "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", + "nullable": true, + "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", + "nullable": true, + "description": "Base64-encoded SHA-256 hash of the token, matching `hashed_token` in audit events. Null when not reported." + }, + "fingerprint": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "owner": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "owner_type": { + "type": "string", + "nullable": true, + "enum": [ + "user", + "oauth_application", + "github_app" + ], + "description": "The type of credential owner." + }, + "application": { + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string", + "nullable": true + } + } + }, + "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", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "last_used_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "next_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "credential_instance_count": { + "type": "integer", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "description": "Whether the credential exceeds a configured lifetime limit or an advisory age baseline. Null when not evaluated." + }, + "past_expiration_policy_basis": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "items": { + "type": "string" + }, + "description": "OAuth scopes recorded for the token. Null when not reported for the credential type." + }, + "permissions": { + "type": "object", + "nullable": true, + "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", + "nullable": true, + "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", + "description": "When the export was requested.", + "nullable": true + } + } + }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -338972,6 +339634,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 8a2bb2a2c..28bec25bb 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -10946,6 +10946,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 @@ -106376,6 +106700,216 @@ 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 + nullable: true + 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 + nullable: true + description: Base64-encoded SHA-256 hash of the token, matching `hashed_token` + in audit events. Null when not reported. + fingerprint: + type: string + nullable: true + 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 + nullable: true + owner: + type: object + nullable: true + properties: + id: + type: integer + login: + type: string + name: + type: string + nullable: true + owner_type: + type: string + nullable: true + enum: + - user + - oauth_application + - github_app + description: The type of credential owner. + application: + type: object + nullable: true + properties: + id: + type: integer + name: + type: string + nullable: true + 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 + nullable: true + created_at: + type: string + format: date-time + nullable: true + last_used_at: + type: string + format: date-time + nullable: true + expires_at: + type: string + format: date-time + nullable: true + next_expires_at: + type: string + format: date-time + nullable: true + credential_instance_count: + type: integer + nullable: true + 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 + nullable: true + 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 + nullable: true + description: Whether the credential exceeds a configured lifetime limit + or an advisory age baseline. Null when not evaluated. + past_expiration_policy_basis: + type: string + nullable: true + 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 + nullable: true + items: + type: string + description: OAuth scopes recorded for the token. Null when not reported + for the credential type. + permissions: + type: object + nullable: true + 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 + nullable: true + 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 + description: When the export was requested. + nullable: true dependabot-alert-package: type: object description: Details for the vulnerable package. @@ -253336,6 +253870,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