diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 0531e37180..a3d7897795 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -25136,6 +25136,1055 @@ } } }, + "/enterprises/{enterprise}/audit-log/stream-key": { + "get": { + "summary": "Get the audit log stream key for encrypting secrets", + "description": "Retrieves the audit log streaming public key for encrypting secrets.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-audit-log-stream-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The stream key for the audit log streaming configuration was retrieved successfully.", + "content": { + "application/json": { + "schema": { + "title": "stream-key", + "description": "Audit Log Streaming Public Key", + "type": "object", + "properties": { + "key_id": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "123", + "key": "actual-public-key-value" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, + "/enterprises/{enterprise}/audit-log/streams": { + "get": { + "summary": "List audit log stream configurations for an enterprise", + "description": "Lists the configured audit log streaming configurations for an enterprise.\nThis only lists configured streams for supported providers.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-audit-log-streams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "title": "List audit log streaming configurations", + "description": "Lists the audit log streaming configurations for an enterprise.", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "post": { + "summary": "Create an audit log streaming configuration for an enterprise", + "description": "Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This setting pauses or resumes a stream." + }, + "stream_type": { + "type": "string", + "description": "The audit log streaming provider. The name is case sensitive.", + "enum": [ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog" + ] + }, + "vendor_specific": { + "type": "object", + "oneOf": [ + { + "title": "AzureBlobConfig", + "description": "Azure Blob Config for audit log streaming configuration.", + "type": "object", + "properties": { + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_sas_url": { + "type": "string" + } + }, + "required": [ + "key_id", + "encrypted_sas_url" + ] + }, + { + "title": "AzureHubConfig", + "description": "Azure Event Hubs Config for audit log streaming configuration.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Instance name of Azure Event Hubs" + }, + "encrypted_connstring": { + "type": "string", + "description": "Encrypted Connection String for Azure Event Hubs" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + } + }, + "required": [ + "name", + "encrypted_connstring", + "key_id" + ] + }, + { + "title": "AmazonS3OIDCConfig", + "description": "Amazon S3 OIDC Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "AWS S3 Bucket Region." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "oidc" + ] + }, + "arn_role": { + "type": "string" + } + }, + "required": [ + "arn_role", + "authentication_type", + "bucket", + "key_id", + "region" + ] + }, + { + "title": "AmazonS3AccessKeysConfig", + "description": "Amazon S3 Access Keys Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "access_keys" + ] + }, + "encrypted_secret_key": { + "type": "string", + "description": "Encrypted AWS Secret Key." + }, + "encrypted_access_key_id": { + "type": "string", + "description": "Encrypted AWS Access Key ID." + } + }, + "required": [ + "authentication_type", + "bucket", + "encrypted_access_key_id", + "encrypted_secret_key", + "key_id", + "region" + ] + }, + { + "title": "SplunkConfig", + "description": "Splunk Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Splunk instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to Splunk.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your Splunk endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "key_id", + "port", + "ssl_verify" + ] + }, + { + "title": "GoogleCloudConfig", + "description": "Google Cloud Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Google Cloud Bucket Name" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_json_credentials": { + "type": "string" + } + }, + "required": [ + "bucket", + "key_id", + "encrypted_json_credentials" + ] + }, + { + "title": "DatadogConfig", + "description": "Datadog Config for audit log streaming configuration.", + "type": "object", + "properties": { + "encrypted_token": { + "description": "Encrypted Splunk token.", + "type": "string" + }, + "site": { + "description": "Datadog Site to use.", + "type": "string", + "enum": [ + "US", + "US3", + "US5", + "EU1", + "US1-FED", + "AP1" + ] + }, + "key_id": { + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets.", + "type": "string" + } + }, + "required": [ + "encrypted_token", + "site", + "key_id" + ] + } + ] + } + }, + "required": [ + "enabled", + "stream_type", + "vendor_specific" + ] + }, + "examples": { + "default": { + "value": { + "enabled": false, + "stream_type": "Azure Event Hubs", + "vendor_specific": { + "namespace": "newnamespace", + "shared_access_key_name": "newaccesskeyname", + "shared_access_key": "newaccesskey", + "event_hub_name": "neweventhub" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The audit log stream configuration was created successfully.", + "content": { + "application/json": { + "schema": { + "title": "Get an audit log streaming configuration", + "description": "Get an audit log streaming configuration for an enterprise.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, + "/enterprises/{enterprise}/audit-log/streams/{stream_id}": { + "get": { + "summary": "List one audit log streaming configuration via a stream ID", + "description": "Lists one audit log stream configuration via a stream ID.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-one-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "stream_id", + "description": "The ID of the audit log stream configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Lists one audit log stream configuration via stream ID.", + "content": { + "application/json": { + "schema": { + "title": "Get an audit log streaming configuration", + "description": "Get an audit log streaming configuration for an enterprise.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "put": { + "summary": "Update an existing audit log stream configuration", + "description": "Updates an existing audit log stream configuration for an enterprise.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/update-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "stream_id", + "description": "The ID of the audit log stream configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This setting pauses or resumes a stream." + }, + "stream_type": { + "type": "string", + "description": "The audit log streaming provider. The name is case sensitive.", + "enum": [ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog" + ] + }, + "vendor_specific": { + "type": "object", + "oneOf": [ + { + "title": "AzureBlobConfig", + "description": "Azure Blob Config for audit log streaming configuration.", + "type": "object", + "properties": { + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_sas_url": { + "type": "string" + } + }, + "required": [ + "key_id", + "encrypted_sas_url" + ] + }, + { + "title": "AzureHubConfig", + "description": "Azure Event Hubs Config for audit log streaming configuration.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Instance name of Azure Event Hubs" + }, + "encrypted_connstring": { + "type": "string", + "description": "Encrypted Connection String for Azure Event Hubs" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + } + }, + "required": [ + "name", + "encrypted_connstring", + "key_id" + ] + }, + { + "title": "AmazonS3OIDCConfig", + "description": "Amazon S3 OIDC Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "AWS S3 Bucket Region." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "oidc" + ] + }, + "arn_role": { + "type": "string" + } + }, + "required": [ + "arn_role", + "authentication_type", + "bucket", + "key_id", + "region" + ] + }, + { + "title": "AmazonS3AccessKeysConfig", + "description": "Amazon S3 Access Keys Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "access_keys" + ] + }, + "encrypted_secret_key": { + "type": "string", + "description": "Encrypted AWS Secret Key." + }, + "encrypted_access_key_id": { + "type": "string", + "description": "Encrypted AWS Access Key ID." + } + }, + "required": [ + "authentication_type", + "bucket", + "encrypted_access_key_id", + "encrypted_secret_key", + "key_id", + "region" + ] + }, + { + "title": "SplunkConfig", + "description": "Splunk Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Splunk instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to Splunk.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your Splunk endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "key_id", + "port", + "ssl_verify" + ] + }, + { + "title": "GoogleCloudConfig", + "description": "Google Cloud Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Google Cloud Bucket Name" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_json_credentials": { + "type": "string" + } + }, + "required": [ + "bucket", + "key_id", + "encrypted_json_credentials" + ] + }, + { + "title": "DatadogConfig", + "description": "Datadog Config for audit log streaming configuration.", + "type": "object", + "properties": { + "encrypted_token": { + "description": "Encrypted Splunk token.", + "type": "string" + }, + "site": { + "description": "Datadog Site to use.", + "type": "string", + "enum": [ + "US", + "US3", + "US5", + "EU1", + "US1-FED", + "AP1" + ] + }, + "key_id": { + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets.", + "type": "string" + } + }, + "required": [ + "encrypted_token", + "site", + "key_id" + ] + } + ] + } + }, + "required": [ + "enabled", + "stream_type", + "vendor_specific" + ] + }, + "examples": { + "default": { + "value": { + "enabled": false, + "stream_type": "Azure Event Hubs", + "vendor_specific": { + "namespace": "newnamespace", + "shared_access_key_name": "newaccesskeyname", + "shared_access_key": "newaccesskey", + "event_hub_name": "neweventhub" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful update", + "content": { + "application/json": { + "schema": { + "title": "Get an audit log streaming configuration", + "description": "Get an audit log streaming configuration for an enterprise.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + } + } + } + } + }, + "422": { + "description": "Validation error", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "delete": { + "summary": "Delete an audit log streaming configuration for an enterprise", + "description": "Deletes an existing audit log stream configuration for an enterprise. \n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/delete-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "stream_id", + "description": "The ID of the audit log stream configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "The audit log stream configuration was deleted successfully." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an enterprise", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f63131d667..098c96d762 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -436,7 +436,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &63 + - &74 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 results before this cursor. For @@ -445,7 +445,7 @@ paths: required: false schema: type: string - - &64 + - &75 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 results after this cursor. For @@ -454,7 +454,7 @@ paths: required: false schema: type: string - - &65 + - &76 name: direction description: The direction to sort the results by. in: query @@ -693,7 +693,7 @@ paths: required: - vector_string - score - cvss_severities: &72 + cvss_severities: &83 type: - object - 'null' @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &266 + type: &277 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &121 + schema: &132 title: Validation Error Simple description: Validation Error Simple type: object @@ -1062,7 +1062,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: - - &567 + - &578 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1593,7 +1593,7 @@ paths: schema: type: integer default: 30 - - &190 + - &201 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 @@ -1609,7 +1609,7 @@ paths: application/json: schema: type: array - items: &191 + items: &202 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1702,7 +1702,7 @@ paths: - installation_id - repository_id examples: - default: &192 + default: &203 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &577 + schema: &588 title: Scim Error description: Scim Error type: object @@ -1765,7 +1765,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &120 + schema: &131 title: Validation Error description: Validation Error type: object @@ -1837,7 +1837,7 @@ paths: description: Response content: application/json: - schema: &193 + schema: &204 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1972,7 +1972,7 @@ paths: - request - response examples: - default: &194 + default: &205 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2032,7 +2032,7 @@ paths: parameters: - *16 responses: - '202': &123 + '202': &134 description: Accepted content: application/json: @@ -2241,7 +2241,7 @@ paths: parameters: - *17 - *18 - - &91 + - &102 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) @@ -3003,7 +3003,7 @@ paths: license: anyOf: - type: 'null' - - &102 + - &113 title: License Simple description: License Simple type: object @@ -7598,7 +7598,7 @@ paths: description: Response content: application/json: - schema: &124 + schema: &135 type: object properties: total_active_caches_count: @@ -7613,7 +7613,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &125 + default: &136 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7708,7 +7708,7 @@ paths: - all - local_only - selected - selected_actions_url: &128 + selected_actions_url: &139 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` @@ -8089,7 +8089,7 @@ paths: description: Success response content: application/json: - schema: &131 + schema: &142 type: object properties: default_workflow_permissions: &44 @@ -8137,7 +8137,7 @@ paths: required: true content: application/json: - schema: &132 + schema: &143 type: object properties: default_workflow_permissions: *44 @@ -8966,7 +8966,7 @@ paths: application/json: schema: type: array - items: &136 + items: &147 title: Runner Application description: Runner Application type: object @@ -8991,7 +8991,7 @@ paths: - download_url - filename examples: - default: &137 + default: &148 value: - os: osx architecture: x64 @@ -9075,7 +9075,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &138 + '201': &149 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: - token - expires_at examples: - default: &139 + default: &150 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9229,7 +9229,7 @@ paths: application/json: schema: *56 examples: - default: &140 + default: &151 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9261,7 +9261,7 @@ paths: application/json: schema: *53 examples: - default: &141 + default: &152 value: id: 23 name: MBP @@ -9475,7 +9475,7 @@ paths: - *38 - *52 responses: - '200': &142 + '200': &153 description: Response content: application/json: @@ -9531,7 +9531,7 @@ paths: parameters: - *38 - *52 - - &143 + - &154 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9628,7 +9628,7 @@ paths: required: true content: application/json: - schema: &150 + schema: &161 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9699,7 +9699,7 @@ paths: required: false schema: type: string - - &151 + - &162 name: include description: |- The event types to include: @@ -9717,7 +9717,7 @@ paths: - web - git - all - - &152 + - &163 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. @@ -9725,7 +9725,7 @@ paths: required: false schema: type: string - - &153 + - &164 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. @@ -9733,7 +9733,7 @@ paths: required: false schema: type: string - - &154 + - &165 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9755,7 +9755,7 @@ paths: application/json: schema: type: array - items: &155 + items: &166 type: object properties: "@timestamp": @@ -9877,7 +9877,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &156 + default: &167 value: - "@timestamp": 1606929874512 action: team.add_member @@ -9906,6 +9906,524 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: audit-log + "/enterprises/{enterprise}/audit-log/stream-key": + get: + summary: Get the audit log stream key for encrypting secrets + description: |- + Retrieves the audit log streaming public key for encrypting secrets. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-audit-log-stream-key + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets + parameters: + - *38 + responses: + '200': + description: The stream key for the audit log streaming configuration was + retrieved successfully. + content: + application/json: + schema: + title: stream-key + description: Audit Log Streaming Public Key + type: object + properties: + key_id: + type: string + key: + type: string + required: + - key_id + - key + examples: + default: + value: + key_id: '123' + key: actual-public-key-value + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + "/enterprises/{enterprise}/audit-log/streams": + get: + summary: List audit log stream configurations for an enterprise + description: |- + Lists the configured audit log streaming configurations for an enterprise. + This only lists configured streams for supported providers. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-audit-log-streams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise + parameters: + - *38 + responses: + '200': + description: OK + content: + application/json: + schema: + title: List audit log streaming configurations + description: Lists the audit log streaming configurations for an enterprise. + type: array + items: + type: object + properties: + id: + type: integer + stream_type: + type: string + stream_details: + type: string + enabled: + type: boolean + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + paused_at: + type: + - string + - 'null' + format: date-time + required: + - id + - stream_type + - stream_details + - enabled + - created_at + - updated_at + examples: + default: + value: + - id: 1 + stream_type: Splunk + stream_details: US + enabled: true + created_at: '2024-06-06T08:00:00Z' + updated_at: '2024-06-06T08:00:00Z' + paused_at: + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + post: + summary: Create an audit log streaming configuration for an enterprise + description: |- + Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/create-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: This setting pauses or resumes a stream. + stream_type: + type: string + description: The audit log streaming provider. The name is case + sensitive. + enum: + - Azure Blob Storage + - Azure Event Hubs + - Amazon S3 + - Splunk + - HTTPS Event Collector + - Google Cloud Storage + - Datadog + vendor_specific: + type: object + oneOf: + - &66 + title: AzureBlobConfig + description: Azure Blob Config for audit log streaming configuration. + type: object + properties: + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + encrypted_sas_url: + type: string + required: + - key_id + - encrypted_sas_url + - &67 + title: AzureHubConfig + description: Azure Event Hubs Config for audit log streaming configuration. + type: object + properties: + name: + type: string + description: Instance name of Azure Event Hubs + encrypted_connstring: + type: string + description: Encrypted Connection String for Azure Event Hubs + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + required: + - name + - encrypted_connstring + - key_id + - &68 + title: AmazonS3OIDCConfig + description: Amazon S3 OIDC Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Amazon S3 Bucket Name. + region: + type: string + description: AWS S3 Bucket Region. + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + authentication_type: + type: string + description: Authentication Type for Amazon S3. + enum: + - oidc + arn_role: + type: string + required: + - arn_role + - authentication_type + - bucket + - key_id + - region + - &69 + title: AmazonS3AccessKeysConfig + description: Amazon S3 Access Keys Config for audit log streaming + configuration. + type: object + properties: + bucket: + type: string + description: Amazon S3 Bucket Name. + region: + type: string + description: Amazon S3 Bucket Name. + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + authentication_type: + type: string + description: Authentication Type for Amazon S3. + enum: + - access_keys + encrypted_secret_key: + type: string + description: Encrypted AWS Secret Key. + encrypted_access_key_id: + type: string + description: Encrypted AWS Access Key ID. + required: + - authentication_type + - bucket + - encrypted_access_key_id + - encrypted_secret_key + - key_id + - region + - &70 + title: SplunkConfig + description: Splunk Config for Audit Log Stream Configuration + type: object + properties: + domain: + description: Domain of Splunk instance. + type: string + port: + description: The port number for connecting to Splunk. + type: integer + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + encrypted_token: + description: Encrypted Token. + type: string + ssl_verify: + description: SSL verification helps ensure your events are + sent to your Splunk endpoint securely. + type: boolean + required: + - domain + - encrypted_token + - key_id + - port + - ssl_verify + - &71 + title: GoogleCloudConfig + description: Google Cloud Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Google Cloud Bucket Name + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + encrypted_json_credentials: + type: string + required: + - bucket + - key_id + - encrypted_json_credentials + - &72 + title: DatadogConfig + description: Datadog Config for audit log streaming configuration. + type: object + properties: + encrypted_token: + description: Encrypted Splunk token. + type: string + site: + description: Datadog Site to use. + type: string + enum: + - US + - US3 + - US5 + - EU1 + - US1-FED + - AP1 + key_id: + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + type: string + required: + - encrypted_token + - site + - key_id + required: + - enabled + - stream_type + - vendor_specific + examples: + default: &73 + value: + enabled: false + stream_type: Azure Event Hubs + vendor_specific: + namespace: newnamespace + shared_access_key_name: newaccesskeyname + shared_access_key: newaccesskey + event_hub_name: neweventhub + responses: + '200': + description: The audit log stream configuration was created successfully. + content: + application/json: + schema: &63 + title: Get an audit log streaming configuration + description: Get an audit log streaming configuration for an enterprise. + type: object + properties: + id: + type: integer + stream_type: + type: string + stream_details: + type: string + enabled: + type: boolean + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + paused_at: + type: + - string + - 'null' + format: date-time + required: + - id + - stream_type + - stream_details + - enabled + - created_at + - updated_at + examples: + default: &64 + value: + id: 1 + stream_type: Splunk + stream_details: US + enabled: true + created_at: '2024-06-06T08:00:00Z' + updated_at: '2024-06-06T08:00:00Z' + paused_at: + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + "/enterprises/{enterprise}/audit-log/streams/{stream_id}": + get: + summary: List one audit log streaming configuration via a stream ID + description: |- + Lists one audit log stream configuration via a stream ID. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-one-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id + parameters: + - *38 + - &65 + name: stream_id + description: The ID of the audit log stream configuration. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Lists one audit log stream configuration via stream ID. + content: + application/json: + schema: *63 + examples: + default: *64 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + put: + summary: Update an existing audit log stream configuration + description: |- + Updates an existing audit log stream configuration for an enterprise. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/update-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration + parameters: + - *38 + - *65 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: This setting pauses or resumes a stream. + stream_type: + type: string + description: The audit log streaming provider. The name is case + sensitive. + enum: + - Azure Blob Storage + - Azure Event Hubs + - Amazon S3 + - Splunk + - HTTPS Event Collector + - Google Cloud Storage + - Datadog + vendor_specific: + type: object + oneOf: + - *66 + - *67 + - *68 + - *69 + - *70 + - *71 + - *72 + required: + - enabled + - stream_type + - vendor_specific + examples: + default: *73 + responses: + '200': + description: Successful update + content: + application/json: + schema: *63 + examples: + default: *64 + '422': + description: Validation error + content: + application/json: + schema: + type: object + properties: + errors: + type: array + items: + type: string + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + delete: + summary: Delete an audit log streaming configuration for an enterprise + description: "Deletes an existing audit log stream configuration for an enterprise. + \n\nWhen using this endpoint, you must encrypt the credentials following the + same encryption steps as outlined in the guide on encrypting secrets. See + \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"" + tags: + - enterprise-admin + operationId: enterprise-admin/delete-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise + parameters: + - *38 + - *65 + responses: + '204': + description: The audit log stream configuration was deleted successfully. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -9923,17 +10441,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &158 + - &169 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`, but not both. in: query required: false - schema: &66 + schema: &77 type: string description: The name of the tool used to generate the code scanning analysis. - - &159 + - &170 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 @@ -9941,23 +10459,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &67 + schema: &78 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *63 - - *64 + - *74 + - *75 - *18 - *17 - - *65 + - *76 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &160 + schema: &171 type: string description: State of a code scanning alert. enum: @@ -9982,42 +10500,42 @@ paths: application/json: schema: type: array - items: &161 + items: &172 type: object properties: - number: &70 + number: &81 type: integer description: The security alert number. readOnly: true - created_at: &76 + created_at: &87 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: &77 + updated_at: &88 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: &74 + url: &85 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &75 + html_url: &86 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &374 + instances_url: &385 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &68 + state: &79 type: - string - 'null' @@ -10027,7 +10545,7 @@ paths: - dismissed - fixed - - fixed_at: &79 + fixed_at: &90 type: - string - 'null' @@ -10039,7 +10557,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &78 + dismissed_at: &89 type: - string - 'null' @@ -10047,7 +10565,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &375 + dismissed_reason: &386 type: - string - 'null' @@ -10058,14 +10576,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &376 + dismissed_comment: &387 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &377 + rule: &388 type: object properties: id: @@ -10126,26 +10644,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &378 + tool: &389 type: object properties: - name: *66 + name: *77 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *67 - most_recent_instance: &379 + guid: *78 + most_recent_instance: &390 type: object properties: - ref: &372 + ref: &383 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &385 + analysis_key: &396 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10156,13 +10674,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &386 + category: &397 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *68 + state: *79 commit_sha: type: string message: @@ -10203,7 +10721,7 @@ paths: - test - library - - repository: &80 + repository: &91 title: Simple Repository description: A GitHub repository. type: object @@ -10540,7 +11058,7 @@ paths: - most_recent_instance - repository examples: - default: &162 + default: &173 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -10771,7 +11289,7 @@ paths: headers: Link: *37 '404': *6 - '503': &81 + '503': &92 description: Service unavailable content: application/json: @@ -11198,7 +11716,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &168 + items: &179 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11213,7 +11731,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &212 + - &223 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11272,7 +11790,7 @@ paths: parent: anyOf: - type: 'null' - - &225 + - &236 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -11466,7 +11984,7 @@ paths: - created_at additionalProperties: false examples: - default: &169 + default: &180 value: total_seats: 2 seats: @@ -11535,7 +12053,7 @@ paths: site_admin: false headers: Link: *37 - '500': &69 + '500': &80 description: Internal Error content: application/json: @@ -11601,7 +12119,7 @@ paths: application/json: schema: type: array - items: &83 + items: &94 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -11917,7 +12435,7 @@ paths: - date additionalProperties: true examples: - default: &84 + default: &95 value: - date: '2024-06-24' total_active_users: 24 @@ -12016,10 +12534,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *69 + '500': *80 '403': *27 '404': *6 - '422': &85 + '422': &96 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -12089,7 +12607,7 @@ paths: application/json: schema: type: array - items: &86 + items: &97 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -12241,7 +12759,7 @@ paths: lines_suggested: 1100 lines_accepted: 1000 active_users: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -12269,7 +12787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &176 + - &187 name: state in: query description: |- @@ -12278,7 +12796,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &177 + - &188 name: severity in: query description: |- @@ -12287,7 +12805,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &178 + - &189 name: ecosystem in: query description: |- @@ -12296,14 +12814,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &179 + - &190 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 - - &180 + - &191 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12313,7 +12831,7 @@ paths: enum: - development - runtime - - &181 + - &192 name: sort in: query description: |- @@ -12326,10 +12844,10 @@ paths: - created - updated default: created - - *65 - - *63 - - *64 - - &182 + - *76 + - *74 + - *75 + - &193 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12342,7 +12860,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &183 + - &194 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12362,11 +12880,11 @@ paths: application/json: schema: type: array - items: &184 + items: &195 type: object description: A Dependabot alert. properties: - number: *70 + number: *81 state: type: string description: The state of the Dependabot alert. @@ -12381,7 +12899,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &71 + package: &82 type: object description: Details for the vulnerable package. readOnly: true @@ -12414,7 +12932,7 @@ paths: - development - runtime - - security_advisory: &423 + security_advisory: &434 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12445,13 +12963,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &73 + items: &84 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *71 + package: *82 severity: type: string description: The severity of the vulnerability. @@ -12519,7 +13037,7 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *72 + cvss_severities: *83 cwes: type: array description: Details for the advisory pertaining to Common @@ -12619,12 +13137,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *73 - url: *74 - html_url: *75 - created_at: *76 - updated_at: *77 - dismissed_at: *78 + security_vulnerability: *84 + url: *85 + html_url: *86 + created_at: *87 + updated_at: *88 + dismissed_at: *89 dismissed_by: anyOf: - type: 'null' @@ -12648,8 +13166,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *79 - auto_dismissed_at: &424 + fixed_at: *90 + auto_dismissed_at: &435 type: - string - 'null' @@ -12657,7 +13175,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *80 + repository: *91 required: - number - state @@ -12676,7 +13194,7 @@ paths: - repository additionalProperties: false examples: - default: &185 + default: &196 value: - number: 2 state: dismissed @@ -13082,7 +13600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &257 + - &268 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13093,7 +13611,7 @@ paths: enum: - open - resolved - - &258 + - &269 name: secret_type in: query description: |- @@ -13103,7 +13621,7 @@ paths: required: false schema: type: string - - &259 + - &270 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13112,7 +13630,7 @@ paths: required: false schema: type: string - - &260 + - &271 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. @@ -13124,11 +13642,11 @@ paths: - created - updated default: created - - *65 + - *76 - *17 - - *63 - - *64 - - &261 + - *74 + - *75 + - &272 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13137,7 +13655,7 @@ paths: required: false schema: type: string - - &262 + - &273 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13146,7 +13664,7 @@ paths: schema: type: boolean default: false - - &263 + - &274 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13162,30 +13680,30 @@ paths: application/json: schema: type: array - items: &264 + items: &275 type: object properties: - number: *70 - created_at: *76 + number: *81 + created_at: *87 updated_at: anyOf: - type: 'null' - - *77 - url: *74 - html_url: *75 + - *88 + url: *85 + html_url: *86 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &560 + state: &571 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: &561 + resolution: &572 type: - string - 'null' @@ -13219,7 +13737,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *80 + repository: *91 push_protection_bypassed: type: - boolean @@ -13278,7 +13796,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &265 + default: &276 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13511,7 +14029,7 @@ paths: headers: Link: *37 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13539,7 +14057,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &278 type: object properties: total_minutes_used: @@ -13609,7 +14127,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &268 + default: &279 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13647,7 +14165,7 @@ paths: description: Success content: application/json: - schema: &269 + schema: &280 type: object properties: total_advanced_security_committers: @@ -13710,7 +14228,7 @@ paths: required: - repositories examples: - default: &270 + default: &281 value: total_advanced_security_committers: 2 total_count: 2 @@ -13797,8 +14315,8 @@ paths: name: Monalisa '400': *14 '403': *27 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13819,7 +14337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *38 - - &82 + - &93 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -13861,13 +14379,13 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': &122 + '409': &133 description: Conflict content: application/json: schema: *3 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13887,7 +14405,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *38 - - *82 + - *93 requestBody: required: true content: @@ -13924,8 +14442,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *27 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13953,7 +14471,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &282 type: object properties: total_gigabytes_bandwidth_used: @@ -13971,7 +14489,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &272 + default: &283 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14003,7 +14521,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &284 type: object properties: days_left_in_billing_cycle: @@ -14021,7 +14539,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &274 + default: &285 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14156,8 +14674,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14225,13 +14743,13 @@ paths: application/json: schema: type: array - items: *83 + items: *94 examples: - default: *84 - '500': *69 + default: *95 + '500': *80 '403': *27 '404': *6 - '422': *85 + '422': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14266,7 +14784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &224 + - &235 name: team_slug description: The slug of the team name. in: path @@ -14304,9 +14822,9 @@ paths: application/json: schema: type: array - items: *86 + items: *97 examples: - default: &170 + default: &181 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -14370,7 +14888,7 @@ paths: lines_suggested: 200 lines_accepted: 150 active_users: 3 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -14462,7 +14980,7 @@ paths: application/json: schema: type: array - items: &112 + items: &123 title: Event description: Event type: object @@ -14473,7 +14991,7 @@ paths: type: - string - 'null' - actor: &87 + actor: &98 title: Actor description: Actor type: object @@ -14514,13 +15032,13 @@ paths: - id - name - url - org: *87 + org: *98 payload: type: object properties: action: type: string - issue: &101 + issue: &112 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -14640,7 +15158,7 @@ paths: milestone: anyOf: - type: 'null' - - &411 + - &422 title: Milestone description: A collection of related issues and pull requests. @@ -14817,7 +15335,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &88 + author_association: &99 title: author_association type: string description: How the author is associated with the repository. @@ -14832,7 +15350,7 @@ paths: - OWNER examples: - OWNER - reactions: &89 + reactions: &100 title: Reaction Rollup type: object properties: @@ -14890,7 +15408,7 @@ paths: - author_association - created_at - updated_at - comment: &470 + comment: &481 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14940,12 +15458,12 @@ paths: issue_url: type: string format: uri - author_association: *88 + author_association: *99 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *89 + reactions: *100 required: - id - node_id @@ -15042,7 +15560,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15132,7 +15650,7 @@ paths: _links: type: object properties: - timeline: &90 + timeline: &101 title: Link With Type description: Hypermedia Link with Type type: object @@ -15144,17 +15662,17 @@ paths: required: - href - type - user: *90 - security_advisories: *90 - current_user: *90 - current_user_public: *90 - current_user_actor: *90 - current_user_organization: *90 + user: *101 + security_advisories: *101 + current_user: *101 + current_user_public: *101 + current_user_actor: *101 + current_user_organization: *101 current_user_organizations: type: array - items: *90 - repository_discussions: *90 - repository_discussions_category: *90 + items: *101 + repository_discussions: *101 + repository_discussions_category: *101 required: - timeline - user @@ -15216,7 +15734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *91 + - *102 - *17 - *18 responses: @@ -15226,7 +15744,7 @@ paths: application/json: schema: type: array - items: &92 + items: &103 title: Base Gist description: Base Gist type: object @@ -15321,7 +15839,7 @@ paths: - created_at - updated_at examples: - default: &93 + default: &104 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -15445,7 +15963,7 @@ paths: description: Response content: application/json: - schema: &94 + schema: &105 title: Gist Simple description: Gist Simple type: object @@ -15463,7 +15981,7 @@ paths: url: type: string format: uri - user: &616 + user: &627 title: Public User description: Public User type: object @@ -15833,7 +16351,7 @@ paths: truncated: type: boolean examples: - default: &95 + default: &106 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -15936,7 +16454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *91 + - *102 - *17 - *18 responses: @@ -15946,9 +16464,9 @@ paths: application/json: schema: type: array - items: *92 + items: *103 examples: - default: *93 + default: *104 headers: Link: *37 '422': *15 @@ -15970,7 +16488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *91 + - *102 - *17 - *18 responses: @@ -15980,9 +16498,9 @@ paths: application/json: schema: type: array - items: *92 + items: *103 examples: - default: *93 + default: *104 headers: Link: *37 '401': *23 @@ -16010,7 +16528,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &96 + - &107 name: gist_id description: The unique identifier of the gist. in: path @@ -16022,10 +16540,10 @@ paths: description: Response content: application/json: - schema: *94 + schema: *105 examples: - default: *95 - '403': &99 + default: *106 + '403': &110 description: Forbidden Gist content: application/json: @@ -16074,7 +16592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *96 + - *107 requestBody: required: true content: @@ -16138,9 +16656,9 @@ paths: description: Response content: application/json: - schema: *94 + schema: *105 examples: - updateGist: *95 + updateGist: *106 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -16298,7 +16816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *96 + - *107 responses: '204': description: Response @@ -16327,7 +16845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *96 + - *107 - *17 - *18 responses: @@ -16337,7 +16855,7 @@ paths: application/json: schema: type: array - items: &97 + items: &108 title: Gist Comment description: A comment made to a gist. type: object @@ -16375,7 +16893,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *88 + author_association: *99 required: - url - id @@ -16440,7 +16958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *96 + - *107 requestBody: required: true content: @@ -16466,9 +16984,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *108 examples: - default: &98 + default: &109 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -16526,8 +17044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *96 - - &100 + - *107 + - &111 name: comment_id description: The unique identifier of the comment. in: path @@ -16540,12 +17058,12 @@ paths: description: Response content: application/json: - schema: *97 + schema: *108 examples: - default: *98 + default: *109 '304': *35 '404': *6 - '403': *99 + '403': *110 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -16567,8 +17085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *96 - - *100 + - *107 + - *111 requestBody: required: true content: @@ -16594,9 +17112,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *108 examples: - default: *98 + default: *109 '404': *6 x-github: githubCloudOnly: false @@ -16613,8 +17131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *96 - - *100 + - *107 + - *111 responses: '204': description: Response @@ -16637,7 +17155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *96 + - *107 - *17 - *18 responses: @@ -16738,7 +17256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *96 + - *107 - *17 - *18 responses: @@ -16748,7 +17266,7 @@ paths: application/json: schema: type: array - items: *94 + items: *105 examples: default: value: @@ -16813,13 +17331,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *96 + - *107 responses: '201': description: Response content: application/json: - schema: *92 + schema: *103 examples: default: value: @@ -16890,7 +17408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *96 + - *107 responses: '204': description: Response if gist is starred @@ -16920,7 +17438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *96 + - *107 responses: '204': description: Response @@ -16942,7 +17460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *96 + - *107 responses: '204': description: Response @@ -16971,7 +17489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *96 + - *107 - name: sha in: path required: true @@ -16982,9 +17500,9 @@ paths: description: Response content: application/json: - schema: *94 + schema: *105 examples: - default: *95 + default: *106 '422': *15 '404': *6 '403': *27 @@ -17353,7 +17871,7 @@ paths: - closed - all default: open - - &213 + - &224 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17371,8 +17889,8 @@ paths: - updated - comments default: created - - *65 - - *91 + - *76 + - *102 - name: collab in: query required: false @@ -17402,9 +17920,9 @@ paths: application/json: schema: type: array - items: *101 + items: *112 examples: - default: &214 + default: &225 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17684,7 +18202,7 @@ paths: application/json: schema: type: array - items: *102 + items: *113 examples: default: value: @@ -17981,7 +18499,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &103 + X-CommonMarker-Version: &114 example: 0.17.4 schema: type: string @@ -18036,7 +18554,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *103 + X-CommonMarker-Version: *114 content: text/html: schema: @@ -18065,7 +18583,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: - - &106 + - &117 name: account_id description: account_id parameter in: path @@ -18077,7 +18595,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &116 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -18111,7 +18629,7 @@ paths: - 'null' id: type: integer - plan: &104 + plan: &115 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -18214,7 +18732,7 @@ paths: - 'null' updated_at: type: string - plan: *104 + plan: *115 required: - url - id @@ -18222,7 +18740,7 @@ paths: - login - marketplace_purchase examples: - default: &107 + default: &118 value: url: https://api.github.com/orgs/github type: Organization @@ -18307,9 +18825,9 @@ paths: application/json: schema: type: array - items: *104 + items: *115 examples: - default: &108 + default: &119 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -18349,14 +18867,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &109 + - &120 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &110 + - &121 name: sort description: The property to sort the results by. in: query @@ -18386,9 +18904,9 @@ paths: application/json: schema: type: array - items: *105 + items: *116 examples: - default: &111 + default: &122 value: - url: https://api.github.com/orgs/github type: Organization @@ -18462,15 +18980,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: - - *106 + - *117 responses: '200': description: Response content: application/json: - schema: *105 + schema: *116 examples: - default: *107 + default: *118 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -18502,9 +19020,9 @@ paths: application/json: schema: type: array - items: *104 + items: *115 examples: - default: *108 + default: *119 headers: Link: *37 '401': *23 @@ -18527,8 +19045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *109 - - *110 + - *120 + - *121 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -18548,9 +19066,9 @@ paths: application/json: schema: type: array - items: *105 + items: *116 examples: - default: *111 + default: *122 headers: Link: *37 '401': *23 @@ -18800,14 +19318,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: - - &294 + - &305 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &295 + - &306 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18824,7 +19342,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -18878,7 +19396,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &308 + '301': &319 description: Moved permanently content: application/json: @@ -18900,7 +19418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &498 + - &509 name: all description: If `true`, show notifications marked as read. in: query @@ -18908,7 +19426,7 @@ paths: schema: type: boolean default: false - - &499 + - &510 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18917,8 +19435,8 @@ paths: schema: type: boolean default: false - - *91 - - &500 + - *102 + - &511 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: @@ -18943,14 +19461,14 @@ paths: application/json: schema: type: array - items: &113 + items: &124 title: Thread description: Thread type: object properties: id: type: string - repository: &135 + repository: &146 title: Minimal Repository description: Minimal Repository type: object @@ -19289,7 +19807,7 @@ paths: type: boolean examples: - false - security_and_analysis: &246 + security_and_analysis: &257 type: - object - 'null' @@ -19444,7 +19962,7 @@ paths: - url - subscription_url examples: - default: &501 + default: &512 value: - id: '1' repository: @@ -19610,7 +20128,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &114 + - &125 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 @@ -19624,7 +20142,7 @@ paths: description: Response content: application/json: - schema: *113 + schema: *124 examples: default: value: @@ -19727,7 +20245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *114 + - *125 responses: '205': description: Reset Content @@ -19750,7 +20268,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *114 + - *125 responses: '204': description: No content @@ -19773,13 +20291,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: - - *114 + - *125 responses: '200': description: Response content: application/json: - schema: &115 + schema: &126 title: Thread Subscription description: Thread Subscription type: object @@ -19823,7 +20341,7 @@ paths: - url - subscribed examples: - default: &116 + default: &127 value: subscribed: true ignored: false @@ -19854,7 +20372,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *114 + - *125 requestBody: required: false content: @@ -19875,9 +20393,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *126 examples: - default: *116 + default: *127 '304': *35 '403': *27 '401': *23 @@ -19900,7 +20418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *114 + - *125 responses: '204': description: Response @@ -19997,7 +20515,7 @@ paths: type: array items: *50 examples: - default: &633 + default: &644 value: - login: github id: 1 @@ -20062,7 +20580,7 @@ paths: - 3 custom_roles: type: array - items: &171 + items: &182 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20111,7 +20629,7 @@ paths: - created_at - updated_at examples: - default: &172 + default: &183 value: id: 8030 name: Security Engineer @@ -20163,7 +20681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - &117 + - &128 name: org description: The organization name. The name is not case sensitive. in: path @@ -20175,7 +20693,7 @@ paths: description: Response content: application/json: - schema: &118 + schema: &129 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -20545,7 +21063,7 @@ paths: - updated_at - archived_at examples: - default-response: &119 + default-response: &130 value: login: github id: 1 @@ -20638,7 +21156,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *117 + - *128 requestBody: required: false content: @@ -20862,18 +21380,18 @@ paths: description: Response content: application/json: - schema: *118 + schema: *129 examples: - default: *119 + default: *130 '422': description: Validation failed content: application/json: schema: oneOf: - - *120 - - *121 - '409': *122 + - *131 + - *132 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20896,9 +21414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *117 + - *128 responses: - '202': *123 + '202': *134 '404': *6 '403': *27 x-github: @@ -20921,15 +21439,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *124 + schema: *135 examples: - default: *125 + default: *136 headers: Link: *37 x-github: @@ -20952,7 +21470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -20970,7 +21488,7 @@ paths: type: integer repository_cache_usages: type: array - items: &313 + items: &324 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21028,13 +21546,13 @@ 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-an-organization parameters: - - *117 + - *128 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &126 + schema: &137 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21048,7 +21566,7 @@ paths: required: - include_claim_keys examples: - default: &127 + default: &138 value: include_claim_keys: - repo @@ -21070,20 +21588,20 @@ 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-an-organization parameters: - - *117 + - *128 requestBody: required: true content: application/json: - schema: *126 + schema: *137 examples: - default: *127 + default: *138 responses: '201': description: Empty response content: application/json: - schema: &146 + schema: &157 title: Empty Object description: An object without any properties. type: object @@ -21113,7 +21631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -21122,7 +21640,7 @@ paths: schema: type: object properties: - enabled_repositories: &129 + enabled_repositories: &140 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21136,7 +21654,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *40 - selected_actions_url: *128 + selected_actions_url: *139 required: - enabled_repositories examples: @@ -21165,7 +21683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -21176,7 +21694,7 @@ paths: schema: type: object properties: - enabled_repositories: *129 + enabled_repositories: *140 allowed_actions: *40 required: - enabled_repositories @@ -21204,7 +21722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -21224,7 +21742,7 @@ paths: type: array items: *55 examples: - default: &627 + default: &638 value: total_count: 1 repositories: @@ -21364,7 +21882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -21408,8 +21926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *117 - - &130 + - *128 + - &141 name: repository_id description: The unique identifier of the repository. in: path @@ -21437,8 +21955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *117 - - *130 + - *128 + - *141 responses: '204': description: Response @@ -21461,7 +21979,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -21492,7 +22010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -21524,13 +22042,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *131 + schema: *142 examples: default: *46 x-github: @@ -21553,7 +22071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *117 + - *128 responses: '204': description: Success response @@ -21564,7 +22082,7 @@ paths: required: false content: application/json: - schema: *132 + schema: *143 examples: default: *46 x-github: @@ -21586,7 +22104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *117 + - *128 - *17 - *18 - name: visible_to_repository @@ -21611,7 +22129,7 @@ paths: type: number runner_groups: type: array - items: &133 + items: &144 type: object properties: id: @@ -21724,7 +22242,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *117 + - *128 requestBody: required: true content: @@ -21794,9 +22312,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *144 examples: - default: &134 + default: &145 value: id: 2 name: octo-runner-group @@ -21831,14 +22349,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *117 + - *128 - *49 responses: '200': description: Response content: application/json: - schema: *133 + schema: *144 examples: default: value: @@ -21874,7 +22392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *117 + - *128 - *49 requestBody: required: true @@ -21926,9 +22444,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *144 examples: - default: *134 + default: *145 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21947,7 +22465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *117 + - *128 - *49 responses: '204': @@ -21971,7 +22489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *117 + - *128 - *49 - *18 - *17 @@ -21990,9 +22508,9 @@ paths: type: number repositories: type: array - items: *135 + items: *146 examples: - default: &619 + default: &630 value: total_count: 1 repositories: @@ -22244,7 +22762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *117 + - *128 - *49 requestBody: required: true @@ -22289,9 +22807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *117 + - *128 - *49 - - *130 + - *141 responses: '204': description: Response @@ -22313,9 +22831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *117 + - *128 - *49 - - *130 + - *141 responses: '204': description: Response @@ -22338,7 +22856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *117 + - *128 - *49 - *17 - *18 @@ -22380,7 +22898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *117 + - *128 - *49 requestBody: required: true @@ -22425,7 +22943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *117 + - *128 - *49 - *52 responses: @@ -22449,7 +22967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *117 + - *128 - *49 - *52 responses: @@ -22481,7 +22999,7 @@ paths: in: query schema: type: string - - *117 + - *128 - *17 - *18 responses: @@ -22525,7 +23043,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -22533,9 +23051,9 @@ paths: application/json: schema: type: array - items: *136 + items: *147 examples: - default: *137 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22557,7 +23075,7 @@ 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-an-organization parameters: - - *117 + - *128 requestBody: required: true content: @@ -22600,7 +23118,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *138 + '201': *149 '404': *6 '422': *7 x-github: @@ -22630,7 +23148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *117 + - *128 responses: '201': description: Response @@ -22638,7 +23156,7 @@ paths: application/json: schema: *56 examples: - default: *139 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22666,7 +23184,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *117 + - *128 responses: '201': description: Response @@ -22674,7 +23192,7 @@ paths: application/json: schema: *56 examples: - default: *140 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22696,7 +23214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *117 + - *128 - *52 responses: '200': @@ -22705,7 +23223,7 @@ paths: application/json: schema: *53 examples: - default: *141 + default: *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22726,7 +23244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *117 + - *128 - *52 responses: '204': @@ -22752,7 +23270,7 @@ 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-an-organization parameters: - - *117 + - *128 - *52 responses: '200': *58 @@ -22777,7 +23295,7 @@ 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-an-organization parameters: - - *117 + - *128 - *52 requestBody: required: true @@ -22826,7 +23344,7 @@ 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-an-organization parameters: - - *117 + - *128 - *52 requestBody: required: true @@ -22876,10 +23394,10 @@ 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-an-organization parameters: - - *117 + - *128 - *52 responses: - '200': *142 + '200': *153 '404': *6 x-github: githubCloudOnly: false @@ -22906,9 +23424,9 @@ 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-an-organization parameters: - - *117 + - *128 - *52 - - *143 + - *154 responses: '200': *58 '404': *6 @@ -22935,7 +23453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *117 + - *128 - *17 - *18 responses: @@ -22953,7 +23471,7 @@ paths: type: integer secrets: type: array - items: &144 + items: &155 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23028,13 +23546,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: &333 + schema: &344 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23069,7 +23587,7 @@ paths: - key_id - key examples: - default: &334 + default: &345 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23094,8 +23612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *117 - - &145 + - *128 + - &156 name: secret_name description: The name of the secret. in: path @@ -23107,7 +23625,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *155 examples: default: value: @@ -23137,8 +23655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -23193,7 +23711,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -23219,8 +23737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '204': description: Response @@ -23246,8 +23764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - *18 - *17 responses: @@ -23265,9 +23783,9 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: &149 + default: &160 value: total_count: 1 repositories: @@ -23359,8 +23877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -23412,8 +23930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -23446,8 +23964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -23479,8 +23997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *117 - - &318 + - *128 + - &329 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)." @@ -23504,7 +24022,7 @@ paths: type: integer variables: type: array - items: &147 + items: &158 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23594,7 +24112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *117 + - *128 requestBody: required: true content: @@ -23642,7 +24160,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -23667,8 +24185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *117 - - &148 + - *128 + - &159 name: name description: The name of the variable. in: path @@ -23680,7 +24198,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *158 examples: default: value: @@ -23710,8 +24228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 requestBody: required: true content: @@ -23773,8 +24291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 responses: '204': description: Response @@ -23800,8 +24318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 - *18 - *17 responses: @@ -23819,9 +24337,9 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: *149 + default: *160 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23847,8 +24365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 requestBody: required: true content: @@ -23897,8 +24415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 - name: repository_id in: path required: true @@ -23932,8 +24450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 - name: repository_id in: path required: true @@ -23964,7 +24482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -23991,11 +24509,11 @@ paths: required: true content: application/json: - schema: *150 + schema: *161 examples: default: *61 parameters: - - *117 + - *128 responses: '200': description: Response @@ -24019,7 +24537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -24045,9 +24563,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *63 - - *64 - - *117 + - *74 + - *75 + - *128 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24088,7 +24606,7 @@ paths: repository_id: type: integer examples: - default: &347 + default: &358 value: attestations: - bundle: @@ -24206,7 +24724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *117 + - *128 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -24214,10 +24732,10 @@ paths: required: false schema: type: string - - *151 - - *152 - - *153 - - *154 + - *162 + - *163 + - *164 + - *165 - *17 responses: '200': @@ -24226,9 +24744,9 @@ paths: application/json: schema: type: array - items: *155 + items: *166 examples: - default: *156 + default: *167 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24245,7 +24763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -24257,7 +24775,7 @@ paths: type: array items: *4 examples: - default: &215 + default: &226 value: - login: octocat id: 1 @@ -24295,8 +24813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *117 - - &157 + - *128 + - &168 name: username description: The handle for the GitHub user account. in: path @@ -24327,8 +24845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -24348,8 +24866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -24374,20 +24892,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *117 - - *158 - - *159 - - *63 - - *64 + - *128 + - *169 + - *170 + - *74 + - *75 - *18 - *17 - - *65 + - *76 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *160 + schema: *171 - name: sort description: The property by which to sort the results. in: query @@ -24403,7 +24921,7 @@ paths: be returned. in: query required: false - schema: &373 + schema: &384 type: string description: Severity of a code scanning alert. enum: @@ -24421,13 +24939,13 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *162 + default: *173 headers: Link: *37 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24449,7 +24967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *117 + - *128 - name: target_type in: query description: The target type of the code security configuration @@ -24468,8 +24986,8 @@ paths: schema: type: integer default: 30 - - *63 - - *64 + - *74 + - *75 responses: '200': description: Response @@ -24477,7 +24995,7 @@ paths: application/json: schema: type: array - items: &163 + items: &174 type: object description: A code security configuration properties: @@ -24716,7 +25234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *117 + - *128 requestBody: required: true content: @@ -24888,9 +25406,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *163 + schema: *174 examples: - default: &164 + default: &175 value: id: 1325 target_type: organization @@ -24936,7 +25454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *117 + - *128 responses: '200': description: Response @@ -24956,7 +25474,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *163 + configuration: *174 examples: default: value: @@ -25040,7 +25558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *117 + - *128 requestBody: required: true content: @@ -25063,12 +25581,12 @@ paths: - 32 - 91 responses: - '204': &166 + '204': &177 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25090,8 +25608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *117 - - &165 + - *128 + - &176 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -25103,9 +25621,9 @@ paths: description: Response content: application/json: - schema: *163 + schema: *174 examples: - default: *164 + default: *175 '304': *35 '403': *27 '404': *6 @@ -25129,8 +25647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *117 - - *165 + - *128 + - *176 requestBody: required: true content: @@ -25282,7 +25800,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *163 + schema: *174 examples: default: value: @@ -25333,14 +25851,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *117 - - *165 + - *128 + - *176 responses: - '204': *166 + '204': *177 '400': *14 '403': *27 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25364,8 +25882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *117 - - *165 + - *128 + - *176 requestBody: required: true content: @@ -25404,7 +25922,7 @@ paths: - 32 - 91 responses: - '202': *123 + '202': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25428,8 +25946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *117 - - *165 + - *128 + - *176 requestBody: required: true content: @@ -25469,12 +25987,12 @@ paths: - none - private_and_internal - public - configuration: *163 + configuration: *174 examples: default: value: default_for_new_repos: all - configuration: *164 + configuration: *175 '403': *27 '404': *6 x-github: @@ -25498,8 +26016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *117 - - *165 + - *128 + - *176 - 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)." @@ -25508,8 +26026,8 @@ paths: schema: type: integer default: 30 - - *63 - - *64 + - *74 + - *75 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -25545,7 +26063,7 @@ paths: - failed - updating - removed_by_enterprise - repository: *80 + repository: *91 examples: default: summary: Example of code security configuration repositories @@ -25642,7 +26160,7 @@ paths: parameters: - *17 - *18 - - *117 + - *128 responses: '200': description: Response @@ -25658,7 +26176,7 @@ paths: type: integer codespaces: type: array - items: &216 + items: &227 type: object title: Codespace description: A codespace. @@ -25689,11 +26207,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *135 + repository: *146 machine: anyOf: - type: 'null' - - &399 + - &410 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -25980,7 +26498,7 @@ paths: - pulls_url - recent_folders examples: - default: &217 + default: &228 value: total_count: 3 codespaces: @@ -26390,7 +26908,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -26412,7 +26930,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *117 + - *128 deprecated: true requestBody: required: true @@ -26456,7 +26974,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26479,7 +26997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *117 + - *128 deprecated: true requestBody: required: true @@ -26511,7 +27029,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26534,7 +27052,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *117 + - *128 requestBody: required: true content: @@ -26565,7 +27083,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26586,7 +27104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *117 + - *128 - *17 - *18 responses: @@ -26604,7 +27122,7 @@ paths: type: integer secrets: type: array - items: &167 + items: &178 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26645,7 +27163,7 @@ paths: - updated_at - visibility examples: - default: &400 + default: &411 value: total_count: 2 secrets: @@ -26677,13 +27195,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: &401 + schema: &412 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26718,7 +27236,7 @@ paths: - key_id - key examples: - default: &402 + default: &413 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26741,16 +27259,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '200': description: Response content: application/json: - schema: *167 + schema: *178 examples: - default: &404 + default: &415 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26777,8 +27295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -26833,7 +27351,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -26859,8 +27377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '204': description: Response @@ -26885,8 +27403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - *18 - *17 responses: @@ -26904,9 +27422,9 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: *149 + default: *160 '404': *6 x-github: githubCloudOnly: false @@ -26928,8 +27446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -26979,8 +27497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -27013,8 +27531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -27053,7 +27571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *117 + - *128 responses: '200': description: OK @@ -27164,7 +27682,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27196,7 +27714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *117 + - *128 - *18 - name: per_page description: The number of results per page (max 100). For more information, @@ -27219,12 +27737,12 @@ paths: currently being billed. seats: type: array - items: *168 + items: *179 examples: - default: *169 + default: *180 headers: Link: *37 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27259,7 +27777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *117 + - *128 requestBody: content: application/json: @@ -27301,7 +27819,7 @@ paths: default: value: seats_created: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27340,7 +27858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *117 + - *128 requestBody: content: application/json: @@ -27382,7 +27900,7 @@ paths: default: value: seats_cancelled: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27422,7 +27940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *117 + - *128 requestBody: content: application/json: @@ -27463,7 +27981,7 @@ paths: default: value: seats_created: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27502,7 +28020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *117 + - *128 requestBody: content: application/json: @@ -27544,7 +28062,7 @@ paths: default: value: seats_cancelled: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27583,7 +28101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *117 + - *128 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -27615,13 +28133,13 @@ paths: application/json: schema: type: array - items: *83 + items: *94 examples: - default: *84 - '500': *69 + default: *95 + '500': *80 '403': *27 '404': *6 - '422': *85 + '422': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27652,7 +28170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *117 + - *128 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -27684,10 +28202,10 @@ paths: application/json: schema: type: array - items: *86 + items: *97 examples: - default: *170 - '500': *69 + default: *181 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27712,7 +28230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *117 + - *128 - *17 - name: page description: Page token @@ -27871,7 +28389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *117 + - *128 - name: credential_id in: path required: true @@ -27902,7 +28420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *117 + - *128 responses: '200': description: Response - list of custom role names @@ -27918,7 +28436,7 @@ paths: - 3 custom_roles: type: array - items: *171 + items: *182 examples: default: value: @@ -28005,12 +28523,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *117 + - *128 requestBody: required: true content: application/json: - schema: &174 + schema: &185 type: object properties: name: @@ -28052,9 +28570,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '422': *15 '404': *6 x-github: @@ -28078,8 +28596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *117 - - &173 + - *128 + - &184 name: role_id description: The unique identifier of the role. in: path @@ -28091,9 +28609,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '404': *6 x-github: githubCloudOnly: true @@ -28115,13 +28633,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *117 - - *173 + - *128 + - *184 requestBody: required: true content: application/json: - schema: &175 + schema: &186 type: object properties: name: @@ -28160,9 +28678,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '422': *15 '404': *6 x-github: @@ -28186,8 +28704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '204': description: Response @@ -28215,12 +28733,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *117 + - *128 requestBody: required: true content: application/json: - schema: *174 + schema: *185 examples: default: value: @@ -28234,9 +28752,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '422': *15 '404': *6 x-github: @@ -28266,16 +28784,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '200': description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '404': *6 x-github: githubCloudOnly: true @@ -28303,13 +28821,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *117 - - *173 + - *128 + - *184 requestBody: required: true content: application/json: - schema: *175 + schema: *186 examples: default: value: @@ -28324,9 +28842,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '422': *15 '404': *6 x-github: @@ -28356,8 +28874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '204': description: Response @@ -28385,18 +28903,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *117 - - *176 - - *177 - - *178 - - *179 - - *180 - - *181 - - *65 - - *63 - - *64 - - *182 - - *183 + - *128 + - *187 + - *188 + - *189 + - *190 + - *191 + - *192 + - *76 + - *74 + - *75 + - *193 + - *194 - *17 responses: '200': @@ -28405,9 +28923,9 @@ paths: application/json: schema: type: array - items: *184 + items: *195 examples: - default: *185 + default: *196 '304': *35 '400': *14 '403': *27 @@ -28433,7 +28951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *117 + - *128 - *17 - *18 responses: @@ -28451,7 +28969,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &197 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28524,13 +29042,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: &427 + schema: &438 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28549,7 +29067,7 @@ paths: - key_id - key examples: - default: &428 + default: &439 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28572,14 +29090,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '200': description: Response content: application/json: - schema: *186 + schema: *197 examples: default: value: @@ -28607,8 +29125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -28663,7 +29181,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -28687,8 +29205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '204': description: Response @@ -28712,8 +29230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - *18 - *17 responses: @@ -28731,9 +29249,9 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: *149 + default: *160 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28754,8 +29272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -28805,8 +29323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -28837,8 +29355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -28868,7 +29386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -28876,7 +29394,7 @@ paths: application/json: schema: type: array - items: &227 + items: &238 title: Package description: A software package type: object @@ -28929,7 +29447,7 @@ paths: repository: anyOf: - type: 'null' - - *135 + - *146 created_at: type: string format: date-time @@ -28947,7 +29465,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &239 value: - id: 197 name: hello_docker @@ -29025,7 +29543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *117 + - *128 - *17 - *18 responses: @@ -29035,7 +29553,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: 200-response: value: @@ -29105,7 +29623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *117 + - *128 - name: group_id description: The unique identifier of the group. in: path @@ -29131,7 +29649,7 @@ paths: description: Response content: application/json: - schema: &289 + schema: &300 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29221,7 +29739,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &290 + default: &301 value: group_id: '123' group_name: Octocat admins @@ -29259,7 +29777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *117 + - *128 - *17 - name: page description: Page token @@ -29276,7 +29794,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &298 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29316,7 +29834,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &288 + default: &299 value: groups: - group_id: '123' @@ -29350,7 +29868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *117 + - *128 - *17 - *18 responses: @@ -29360,7 +29878,7 @@ paths: application/json: schema: type: array - items: &209 + items: &220 title: Organization Invitation description: Organization Invitation type: object @@ -29414,7 +29932,7 @@ paths: - invitation_teams_url - node_id examples: - default: &210 + default: &221 value: - id: 1 login: monalisa @@ -29473,7 +29991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -29481,7 +29999,7 @@ paths: application/json: schema: type: array - items: &247 + items: &258 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -29495,7 +30013,7 @@ paths: - name - description examples: - default: &248 + default: &259 value: - name: add_assignee description: Assign or remove a user @@ -29526,7 +30044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *117 + - *128 - *17 - *18 responses: @@ -29536,7 +30054,7 @@ paths: application/json: schema: type: array - items: &187 + items: &198 title: Org Hook description: Org Hook type: object @@ -29657,7 +30175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *117 + - *128 requestBody: required: true content: @@ -29719,9 +30237,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *198 examples: - default: &188 + default: &199 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29765,8 +30283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *117 - - &189 + - *128 + - &200 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. @@ -29779,9 +30297,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *198 examples: - default: *188 + default: *199 '404': *6 x-github: githubCloudOnly: false @@ -29802,8 +30320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 requestBody: required: false content: @@ -29849,7 +30367,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *198 examples: default: value: @@ -29888,8 +30406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 responses: '204': description: Response @@ -29914,8 +30432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *117 - - *189 + - *128 + - *200 responses: '200': description: Response @@ -29943,8 +30461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *117 - - *189 + - *128 + - *200 requestBody: required: false content: @@ -29992,10 +30510,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 - *17 - - *190 + - *201 responses: '200': description: Response @@ -30003,9 +30521,9 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: - default: *192 + default: *203 '400': *14 '422': *15 x-github: @@ -30028,17 +30546,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 - *16 responses: '200': description: Response content: application/json: - schema: *193 + schema: *204 examples: - default: *194 + default: *205 '400': *14 '422': *15 x-github: @@ -30061,11 +30579,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 - *16 responses: - '202': *123 + '202': *134 '400': *14 '422': *15 x-github: @@ -30088,8 +30606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 responses: '204': description: Response @@ -30111,8 +30629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *117 - - &199 + - *128 + - &210 name: actor_type in: path description: The type of the actor @@ -30125,14 +30643,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &200 + - &211 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &195 + - &206 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`.' @@ -30140,7 +30658,7 @@ paths: required: true schema: type: string - - &196 + - &207 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) @@ -30151,7 +30669,7 @@ paths: type: string - *18 - *17 - - *65 + - *76 - name: sort description: The property to sort the results by. in: query @@ -30227,13 +30745,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *117 - - *195 - - *196 + - *128 + - *206 + - *207 - *18 - *17 - - *65 - - &205 + - *76 + - &216 name: sort description: The property to sort the results by. in: query @@ -30305,15 +30823,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *117 - - *195 - - *196 + - *128 + - *206 + - *207 responses: '200': description: Response content: application/json: - schema: &197 + schema: &208 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30329,7 +30847,7 @@ paths: type: integer format: int64 examples: - default: &198 + default: &209 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30349,24 +30867,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *117 - - &201 + - *128 + - &212 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *195 - - *196 + - *206 + - *207 responses: '200': description: Response content: application/json: - schema: *197 + schema: *208 examples: - default: *198 + default: *209 x-github: enabledForGitHubApps: true category: orgs @@ -30384,19 +30902,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *117 - - *195 - - *196 - - *199 - - *200 + - *128 + - *206 + - *207 + - *210 + - *211 responses: '200': description: Response content: application/json: - schema: *197 + schema: *208 examples: - default: *198 + default: *209 x-github: enabledForGitHubApps: true category: orgs @@ -30413,10 +30931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *117 - - *195 - - *196 - - &202 + - *128 + - *206 + - *207 + - &213 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30429,7 +30947,7 @@ paths: description: Response content: application/json: - schema: &203 + schema: &214 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30445,7 +30963,7 @@ paths: type: integer format: int64 examples: - default: &204 + default: &215 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30481,19 +30999,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *117 - - *201 - - *195 - - *196 - - *202 + - *128 + - *212 + - *206 + - *207 + - *213 responses: '200': description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *204 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -30510,20 +31028,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *117 - - *199 - - *200 - - *195 - - *196 - - *202 + - *128 + - *210 + - *211 + - *206 + - *207 + - *213 responses: '200': description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *204 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -30540,14 +31058,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *117 - - *201 - - *195 - - *196 + - *128 + - *212 + - *206 + - *207 - *18 - *17 - - *65 - - *205 + - *76 + - *216 responses: '200': description: Response @@ -30616,7 +31134,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *117 + - *128 responses: '200': description: Response @@ -30624,7 +31142,7 @@ paths: application/json: schema: *20 examples: - default: &466 + default: &477 value: id: 1 account: @@ -30693,7 +31211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -30782,7 +31300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -30790,12 +31308,12 @@ paths: application/json: schema: anyOf: - - &207 + - &218 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &206 + limit: &217 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30823,7 +31341,7 @@ paths: properties: {} additionalProperties: false examples: - default: &208 + default: &219 value: limit: collaborators_only origin: organization @@ -30847,18 +31365,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *117 + - *128 requestBody: required: true content: application/json: - schema: &467 + schema: &478 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *206 + limit: *217 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30883,9 +31401,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *218 examples: - default: *208 + default: *219 '422': *15 x-github: githubCloudOnly: false @@ -30903,7 +31421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -30929,7 +31447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *117 + - *128 - *17 - *18 - name: role @@ -30963,9 +31481,9 @@ paths: application/json: schema: type: array - items: *209 + items: *220 examples: - default: *210 + default: *221 headers: Link: *37 '404': *6 @@ -30989,7 +31507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *117 + - *128 requestBody: required: false content: @@ -31043,7 +31561,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *220 examples: default: value: @@ -31099,8 +31617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *117 - - &211 + - *128 + - &222 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31133,8 +31651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *117 - - *211 + - *128 + - *222 - *17 - *18 responses: @@ -31144,9 +31662,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: &226 + default: &237 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31191,7 +31709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *117 + - *128 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31221,7 +31739,7 @@ paths: - closed - all default: open - - *213 + - *224 - name: sort description: What to sort results by. in: query @@ -31233,8 +31751,8 @@ paths: - updated - comments default: created - - *65 - - *91 + - *76 + - *102 - *17 - *18 responses: @@ -31244,9 +31762,9 @@ paths: application/json: schema: type: array - items: *101 + items: *112 examples: - default: *214 + default: *225 headers: Link: *37 '404': *6 @@ -31268,7 +31786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *117 + - *128 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31304,7 +31822,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '422': *15 @@ -31324,8 +31842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response if requester is an organization member and user is @@ -31356,8 +31874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -31383,8 +31901,8 @@ paths: parameters: - *17 - *18 - - *117 - - *157 + - *128 + - *168 responses: '200': description: Response @@ -31400,11 +31918,11 @@ paths: type: integer codespaces: type: array - items: *216 + items: *227 examples: - default: *217 + default: *228 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -31427,9 +31945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *117 - - *157 - - &218 + - *128 + - *168 + - &229 name: codespace_name in: path required: true @@ -31437,9 +31955,9 @@ paths: schema: type: string responses: - '202': *123 + '202': *134 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -31462,17 +31980,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *117 - - *157 - - *218 + - *128 + - *168 + - *229 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: &398 + default: &409 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31614,7 +32132,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -31645,14 +32163,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *168 + schema: *179 examples: default: value: @@ -31695,7 +32213,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -31720,14 +32238,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '200': description: Response content: application/json: - schema: &219 + schema: &230 title: Org Membership description: Org Membership type: object @@ -31780,7 +32298,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &220 + response-if-user-has-an-active-admin-membership-with-organization: &231 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31848,8 +32366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 requestBody: required: false content: @@ -31877,9 +32395,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: - response-if-user-already-had-membership-with-organization: *220 + response-if-user-already-had-membership-with-organization: *231 '422': *15 '403': *27 x-github: @@ -31900,8 +32418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -31926,7 +32444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *117 + - *128 - *17 - *18 - name: exclude @@ -31948,7 +32466,7 @@ paths: application/json: schema: type: array - items: &221 + items: &232 title: Migration description: A migration. type: object @@ -32205,7 +32723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *117 + - *128 requestBody: required: true content: @@ -32286,7 +32804,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -32464,8 +32982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *117 - - &222 + - *128 + - &233 name: migration_id description: The unique identifier of the migration. in: path @@ -32493,7 +33011,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -32662,8 +33180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *117 - - *222 + - *128 + - *233 responses: '302': description: Response @@ -32684,8 +33202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *117 - - *222 + - *128 + - *233 responses: '204': description: Response @@ -32708,9 +33226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *117 - - *222 - - &632 + - *128 + - *233 + - &643 name: repo_name description: repo_name parameter in: path @@ -32737,8 +33255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *117 - - *222 + - *128 + - *233 - *17 - *18 responses: @@ -32748,9 +33266,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: &233 + default: &244 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32889,7 +33407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -32943,7 +33461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response - list of organization roles @@ -32959,7 +33477,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &223 + items: &234 title: Organization Role description: Organization roles type: object @@ -33121,7 +33639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *117 + - *128 requestBody: required: true content: @@ -33168,7 +33686,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: default: value: @@ -33197,7 +33715,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33219,8 +33737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -33245,9 +33763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *117 - - *224 - - *173 + - *128 + - *235 + - *184 responses: '204': description: Response @@ -33276,9 +33794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *117 - - *224 - - *173 + - *128 + - *235 + - *184 responses: '204': description: Response @@ -33303,8 +33821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -33329,9 +33847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *117 - - *157 - - *173 + - *128 + - *168 + - *184 responses: '204': description: Response @@ -33361,9 +33879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *117 - - *157 - - *173 + - *128 + - *168 + - *184 responses: '204': description: Response @@ -33391,14 +33909,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '200': description: Response content: application/json: - schema: *223 + schema: *234 examples: default: value: @@ -33455,8 +33973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *117 - - *173 + - *128 + - *184 requestBody: required: true content: @@ -33495,7 +34013,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: default: value: @@ -33523,7 +34041,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *122 + '409': *133 '404': *6 x-github: githubCloudOnly: true @@ -33548,8 +34066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '204': description: Response @@ -33574,8 +34092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *117 - - *173 + - *128 + - *184 - *17 - *18 responses: @@ -33654,7 +34172,7 @@ paths: parent: anyOf: - type: 'null' - - *225 + - *236 required: - id - node_id @@ -33668,7 +34186,7 @@ paths: - slug - parent examples: - default: *226 + default: *237 headers: Link: *37 '404': @@ -33697,8 +34215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *117 - - *173 + - *128 + - *184 - *17 - *18 responses: @@ -33727,7 +34245,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *225 + items: *236 name: type: - string @@ -33844,7 +34362,7 @@ paths: - type - url examples: - default: *215 + default: *226 headers: Link: *37 '404': @@ -33868,7 +34386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *117 + - *128 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -33892,7 +34410,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -33917,8 +34435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *117 - - *157 + - *128 + - *168 requestBody: required: false content: @@ -33975,8 +34493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -34033,8 +34551,8 @@ paths: - docker - nuget - container - - *117 - - &634 + - *128 + - &645 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34070,12 +34588,12 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: *228 + default: *239 '403': *27 '401': *23 - '400': &636 + '400': &647 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34097,7 +34615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &229 + - &240 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 @@ -34115,20 +34633,20 @@ paths: - docker - nuget - container - - &230 + - &241 name: package_name description: The name of the package. in: path required: true schema: type: string - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: default: value: @@ -34180,9 +34698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *229 - - *230 - - *117 + - *240 + - *241 + - *128 responses: '204': description: Response @@ -34214,9 +34732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *229 - - *230 - - *117 + - *240 + - *241 + - *128 - name: token description: package token schema: @@ -34248,9 +34766,9 @@ 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: - - *229 - - *230 - - *117 + - *240 + - *241 + - *128 - *18 - *17 - name: state @@ -34270,7 +34788,7 @@ paths: application/json: schema: type: array - items: &231 + items: &242 title: Package Version description: A version of a software package type: object @@ -34405,10 +34923,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: - - *229 - - *230 - - *117 - - &232 + - *240 + - *241 + - *128 + - &243 name: package_version_id description: Unique identifier of the package version. in: path @@ -34420,7 +34938,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *242 examples: default: value: @@ -34456,10 +34974,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *229 - - *230 - - *117 - - *232 + - *240 + - *241 + - *128 + - *243 responses: '204': description: Response @@ -34491,10 +35009,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *229 - - *230 - - *117 - - *232 + - *240 + - *241 + - *128 + - *243 responses: '204': description: Response @@ -34521,10 +35039,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *117 + - *128 - *17 - *18 - - &234 + - &245 name: sort description: The property by which to sort the results. in: query @@ -34534,8 +35052,8 @@ paths: enum: - created_at default: created_at - - *65 - - &235 + - *76 + - &246 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34547,7 +35065,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &236 + - &247 name: repository description: The name of the repository to use to filter the results. in: query @@ -34556,7 +35074,7 @@ paths: type: string examples: - Hello-World - - &237 + - &248 name: permission description: The permission to use to filter the results. in: query @@ -34565,7 +35083,7 @@ paths: type: string examples: - issues_read - - &238 + - &249 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) @@ -34575,7 +35093,7 @@ paths: schema: type: string format: date-time - - &239 + - &250 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) @@ -34586,7 +35104,7 @@ paths: type: string format: date-time responses: - '500': *69 + '500': *80 '422': *15 '404': *6 '403': *27 @@ -34741,7 +35259,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *117 + - *128 requestBody: required: true content: @@ -34783,11 +35301,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *69 + '500': *80 '422': *15 '404': *6 '403': *27 - '202': *123 + '202': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34808,7 +35326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *117 + - *128 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34845,11 +35363,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *69 + '500': *80 '422': *15 '404': *6 '403': *27 - '204': *166 + '204': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34870,7 +35388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *117 + - *128 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34881,7 +35399,7 @@ paths: - *17 - *18 responses: - '500': *69 + '500': *80 '404': *6 '403': *27 '200': @@ -34890,9 +35408,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -34915,18 +35433,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *117 + - *128 - *17 - *18 - - *234 - - *65 - - *235 - - *236 - - *237 - - *238 - - *239 - responses: - '500': *69 + - *245 + - *76 + - *246 + - *247 + - *248 + - *249 + - *250 + responses: + '500': *80 '422': *15 '404': *6 '403': *27 @@ -35075,7 +35593,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *117 + - *128 requestBody: required: true content: @@ -35110,9 +35628,9 @@ paths: - 1296269 - 1296280 responses: - '500': *69 + '500': *80 '404': *6 - '202': *123 + '202': *134 '403': *27 '422': *15 x-github: @@ -35135,7 +35653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *117 + - *128 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35163,9 +35681,9 @@ paths: value: action: revoke responses: - '500': *69 + '500': *80 '404': *6 - '204': *166 + '204': *177 '403': *27 '422': *15 x-github: @@ -35187,7 +35705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *117 + - *128 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35197,7 +35715,7 @@ paths: - *17 - *18 responses: - '500': *69 + '500': *80 '404': *6 '403': *27 '200': @@ -35206,9 +35724,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -35230,7 +35748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *117 + - *128 - name: state description: Indicates the state of the projects to return. in: query @@ -35251,7 +35769,7 @@ paths: application/json: schema: type: array - items: &240 + items: &251 title: Project description: Projects are a way to organize columns and cards of work. @@ -35404,7 +35922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *117 + - *128 requestBody: required: true content: @@ -35430,7 +35948,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: default: value: @@ -35468,7 +35986,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &305 + '410': &316 description: Gone content: application/json: @@ -35492,7 +36010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -35500,7 +36018,7 @@ paths: application/json: schema: type: array - items: &241 + items: &252 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -35576,7 +36094,7 @@ paths: - property_name - value_type examples: - default: &242 + default: &253 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35620,7 +36138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *117 + - *128 requestBody: required: true content: @@ -35631,7 +36149,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *241 + items: *252 minItems: 1 maxItems: 100 required: @@ -35661,9 +36179,9 @@ paths: application/json: schema: type: array - items: *241 + items: *252 examples: - default: *242 + default: *253 '403': *27 '404': *6 x-github: @@ -35684,8 +36202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *117 - - &243 + - *128 + - &254 name: custom_property_name description: The custom property name in: path @@ -35697,9 +36215,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: &244 + default: &255 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35733,8 +36251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *117 - - *243 + - *128 + - *254 requestBody: required: true content: @@ -35799,9 +36317,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *244 + default: *255 '403': *27 '404': *6 x-github: @@ -35824,10 +36342,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *117 - - *243 + - *128 + - *254 responses: - '204': *166 + '204': *177 '403': *27 '404': *6 x-github: @@ -35848,7 +36366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *117 + - *128 - *17 - *18 - name: repository_query @@ -35889,7 +36407,7 @@ paths: - octocat/Hello-World properties: type: array - items: &245 + items: &256 title: Custom Property Value description: Custom property name and associated value type: object @@ -35959,7 +36477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *117 + - *128 requestBody: required: true content: @@ -35979,7 +36497,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *245 + items: *256 required: - repository_names - properties @@ -36020,7 +36538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *117 + - *128 - *17 - *18 responses: @@ -36032,7 +36550,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -36051,8 +36569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response if user is a public member @@ -36076,8 +36594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -36098,8 +36616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -36123,7 +36641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *117 + - *128 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -36170,9 +36688,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -36193,7 +36711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *117 + - *128 requestBody: required: true content: @@ -36376,7 +36894,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &318 title: Full Repository description: Full Repository type: object @@ -36822,7 +37340,7 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 organization: anyOf: - type: 'null' @@ -36841,7 +37359,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &417 + code_of_conduct: &428 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -36871,7 +37389,7 @@ paths: - key - name - html_url - security_and_analysis: *246 + security_and_analysis: *257 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36955,7 +37473,7 @@ paths: - network_count - subscribers_count examples: - default: &309 + default: &320 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37473,7 +37991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -37481,9 +37999,9 @@ paths: application/json: schema: type: array - items: *247 + items: *258 examples: - default: *248 + default: *259 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37505,10 +38023,10 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 - *17 - *18 - - &547 + - &558 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37527,7 +38045,7 @@ paths: application/json: schema: type: array - items: &255 + items: &266 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -37560,7 +38078,7 @@ paths: source: type: string description: The name of the source - enforcement: &251 + enforcement: &262 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -37572,7 +38090,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &252 + items: &263 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -37640,7 +38158,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &249 + - &260 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -37664,7 +38182,7 @@ paths: match. items: type: string - - &253 + - &264 title: Organization ruleset conditions type: object description: |- @@ -37677,7 +38195,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *249 + - *260 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -37711,7 +38229,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *249 + - *260 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -37733,7 +38251,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *249 + - *260 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -37746,7 +38264,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &250 + items: &261 title: Repository ruleset property targeting definition type: object @@ -37779,7 +38297,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *250 + items: *261 required: - repository_property type: @@ -37787,12 +38305,12 @@ paths: - object rules: type: array - items: &254 + items: &265 title: Repository Rule type: object description: A repository rule. oneOf: - - &529 + - &540 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37804,7 +38322,7 @@ paths: type: string enum: - creation - - &530 + - &541 title: update description: Only allow users with bypass permission to update matching refs. @@ -37825,7 +38343,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &532 + - &543 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37837,7 +38355,7 @@ paths: type: string enum: - deletion - - &533 + - &544 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37849,7 +38367,7 @@ paths: type: string enum: - required_linear_history - - &534 + - &545 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37927,7 +38445,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &535 + - &546 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37951,7 +38469,7 @@ paths: type: string required: - required_deployment_environments - - &536 + - &547 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37963,7 +38481,7 @@ paths: type: string enum: - required_signatures - - &537 + - &548 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38009,7 +38527,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &538 + - &549 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38057,7 +38575,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &539 + - &550 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38069,7 +38587,7 @@ paths: type: string enum: - non_fast_forward - - &540 + - &551 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38105,7 +38623,7 @@ paths: required: - operator - pattern - - &541 + - &552 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38141,7 +38659,7 @@ paths: required: - operator - pattern - - &542 + - &553 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38177,7 +38695,7 @@ paths: required: - operator - pattern - - &543 + - &554 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38213,7 +38731,7 @@ paths: required: - operator - pattern - - &544 + - &555 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38339,7 +38857,7 @@ paths: maximum: 100 required: - max_file_size - - &545 + - &556 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -38389,7 +38907,7 @@ paths: - repository_id required: - workflows - - &546 + - &557 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -38486,7 +39004,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *69 + '500': *80 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -38502,7 +39020,7 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 requestBody: description: Request body required: true @@ -38522,16 +39040,16 @@ paths: - tag - push default: branch - enforcement: *251 + enforcement: *262 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *252 - conditions: *253 + items: *263 + conditions: *264 rules: type: array description: An array of rules within the ruleset. - items: *254 + items: *265 required: - name - enforcement @@ -38569,9 +39087,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: &256 + default: &267 value: id: 21 name: super cool ruleset @@ -38611,7 +39129,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *69 + '500': *80 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -38625,8 +39143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *117 - - &548 + - *128 + - &559 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 @@ -38642,7 +39160,7 @@ paths: in: query schema: type: integer - - &549 + - &560 name: time_period description: |- The time period to filter by. @@ -38658,14 +39176,14 @@ paths: - week - month default: day - - &550 + - &561 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 - - &551 + - &562 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38685,7 +39203,7 @@ paths: description: Response content: application/json: - schema: &552 + schema: &563 title: Rule Suites description: Response type: array @@ -38741,7 +39259,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &553 + default: &564 value: - id: 21 actor_id: 12 @@ -38765,7 +39283,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38784,8 +39302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *117 - - &554 + - *128 + - &565 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38801,7 +39319,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &566 title: Rule Suite description: Response type: object @@ -38908,7 +39426,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &556 + default: &567 value: id: 21 actor_id: 12 @@ -38943,7 +39461,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38969,7 +39487,7 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38981,11 +39499,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: *256 + default: *267 '404': *6 - '500': *69 + '500': *80 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -39001,7 +39519,7 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39026,16 +39544,16 @@ paths: - branch - tag - push - enforcement: *251 + enforcement: *262 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *252 - conditions: *253 + items: *263 + conditions: *264 rules: description: An array of rules within the ruleset. type: array - items: *254 + items: *265 examples: default: value: @@ -39070,11 +39588,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: *256 + default: *267 '404': *6 - '500': *69 + '500': *80 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -39090,7 +39608,7 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39101,7 +39619,7 @@ paths: '204': description: Response '404': *6 - '500': *69 + '500': *80 "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -39118,15 +39636,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *117 - - *257 - - *258 - - *259 - - *260 - - *65 + - *128 + - *268 + - *269 + - *270 + - *271 + - *76 - *18 - *17 - - &558 + - &569 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 @@ -39136,7 +39654,7 @@ paths: required: false schema: type: string - - &559 + - &570 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 @@ -39146,9 +39664,9 @@ paths: required: false schema: type: string - - *261 - - *262 - - *263 + - *272 + - *273 + - *274 responses: '200': description: Response @@ -39156,13 +39674,13 @@ paths: application/json: schema: type: array - items: *264 + items: *275 examples: - default: *265 + default: *276 headers: Link: *37 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39184,8 +39702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *117 - - *65 + - *128 + - *76 - name: sort description: The property to sort the results by. in: query @@ -39197,8 +39715,8 @@ paths: - updated - published default: created - - *63 - - *64 + - *74 + - *75 - name: per_page description: The number of advisories to return per page. 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)." @@ -39228,7 +39746,7 @@ paths: application/json: schema: type: array - items: &565 + items: &576 description: A repository security advisory. type: object properties: @@ -39436,7 +39954,7 @@ paths: required: - vector_string - score - cvss_severities: *72 + cvss_severities: *83 cwes: type: - array @@ -39472,7 +39990,7 @@ paths: login: type: string description: The username of the user credited. - type: *266 + type: *277 credits_detailed: type: - array @@ -39483,7 +40001,7 @@ paths: type: object properties: user: *4 - type: *266 + type: *277 state: type: string description: The state of the user's acceptance of the @@ -39509,13 +40027,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *212 + items: *223 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *80 + - *91 type: - 'null' required: @@ -39547,7 +40065,7 @@ paths: - private_fork additionalProperties: false examples: - default: &566 + default: &577 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39929,7 +40447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *117 + - *128 responses: '200': description: Response @@ -39937,9 +40455,9 @@ paths: application/json: schema: type: array - items: *225 + items: *236 examples: - default: *226 + default: *237 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39962,8 +40480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -39988,8 +40506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -40015,15 +40533,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *267 + schema: *278 examples: - default: *268 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40047,7 +40565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -40055,9 +40573,9 @@ paths: description: Success content: application/json: - schema: *269 + schema: *280 examples: - default: *270 + default: *281 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40079,15 +40597,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *271 + schema: *282 examples: - default: *272 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40109,15 +40627,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *273 + schema: *284 examples: - default: *274 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40134,7 +40652,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *117 + - *128 - *17 - name: page description: Page token @@ -40153,7 +40671,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &307 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -40205,7 +40723,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &297 + default: &308 value: groups: - group_id: '123' @@ -40250,8 +40768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *117 - - *224 + - *128 + - *235 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -40283,13 +40801,13 @@ paths: application/json: schema: type: array - items: *83 + items: *94 examples: - default: *84 - '500': *69 + default: *95 + '500': *80 '403': *27 '404': *6 - '422': *85 + '422': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40323,8 +40841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *117 - - *224 + - *128 + - *235 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -40356,10 +40874,10 @@ paths: application/json: schema: type: array - items: *86 + items: *97 examples: - default: *170 - '500': *69 + default: *181 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -40380,7 +40898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *117 + - *128 - *17 - *18 responses: @@ -40390,9 +40908,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 headers: Link: *37 '403': *27 @@ -40414,7 +40932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *117 + - *128 requestBody: required: true content: @@ -40486,7 +41004,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &286 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -40560,7 +41078,7 @@ paths: parent: anyOf: - type: 'null' - - *225 + - *236 members_count: type: integer examples: @@ -40866,7 +41384,7 @@ paths: - repos_count - organization examples: - default: &276 + default: &287 value: id: 1 node_id: MDQ6VGVhbTE= @@ -40936,16 +41454,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *117 - - *224 + - *128 + - *235 responses: '200': description: Response content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -40966,8 +41484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *117 - - *224 + - *128 + - *235 requestBody: required: false content: @@ -41030,16 +41548,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '201': description: Response content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '404': *6 '422': *15 '403': *27 @@ -41064,8 +41582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -41091,9 +41609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *117 - - *224 - - *65 + - *128 + - *235 + - *76 - *17 - *18 - name: pinned @@ -41109,7 +41627,7 @@ paths: application/json: schema: type: array - items: &277 + items: &288 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -41200,7 +41718,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *89 + reactions: *100 required: - author - body @@ -41220,7 +41738,7 @@ paths: - updated_at - url examples: - default: &606 + default: &617 value: - author: login: octocat @@ -41294,8 +41812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *117 - - *224 + - *128 + - *235 requestBody: required: true content: @@ -41329,9 +41847,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: &278 + default: &289 value: author: login: octocat @@ -41403,9 +41921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *117 - - *224 - - &279 + - *128 + - *235 + - &290 name: discussion_number description: The number that identifies the discussion. in: path @@ -41417,9 +41935,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: *278 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41441,9 +41959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 requestBody: required: false content: @@ -41466,9 +41984,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: &607 + default: &618 value: author: login: octocat @@ -41538,9 +42056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 responses: '204': description: Response @@ -41566,10 +42084,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *117 - - *224 - - *279 - - *65 + - *128 + - *235 + - *290 + - *76 - *17 - *18 responses: @@ -41579,7 +42097,7 @@ paths: application/json: schema: type: array - items: &280 + items: &291 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -41644,7 +42162,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *89 + reactions: *100 required: - author - body @@ -41659,7 +42177,7 @@ paths: - updated_at - url examples: - default: &608 + default: &619 value: - author: login: octocat @@ -41727,9 +42245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 requestBody: required: true content: @@ -41751,9 +42269,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: &281 + default: &292 value: author: login: octocat @@ -41819,10 +42337,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *117 - - *224 - - *279 - - &282 + - *128 + - *235 + - *290 + - &293 name: comment_number description: The number that identifies the comment. in: path @@ -41834,9 +42352,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *281 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41858,10 +42376,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *117 - - *224 - - *279 - - *282 + - *128 + - *235 + - *290 + - *293 requestBody: required: true content: @@ -41883,9 +42401,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: &609 + default: &620 value: author: login: octocat @@ -41949,10 +42467,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *117 - - *224 - - *279 - - *282 + - *128 + - *235 + - *290 + - *293 responses: '204': description: Response @@ -41978,10 +42496,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *117 - - *224 - - *279 - - *282 + - *128 + - *235 + - *290 + - *293 - 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 team discussion comment. @@ -42007,7 +42525,7 @@ paths: application/json: schema: type: array - items: &283 + items: &294 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -42051,7 +42569,7 @@ paths: - content - created_at examples: - default: &285 + default: &296 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42101,10 +42619,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *117 - - *224 - - *279 - - *282 + - *128 + - *235 + - *290 + - *293 requestBody: required: true content: @@ -42137,9 +42655,9 @@ paths: team discussion comment content: application/json: - schema: *283 + schema: *294 examples: - default: &284 + default: &295 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42168,9 +42686,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42193,11 +42711,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *117 - - *224 - - *279 - - *282 - - &286 + - *128 + - *235 + - *290 + - *293 + - &297 name: reaction_id description: The unique identifier of the reaction. in: path @@ -42229,9 +42747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 - 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 team discussion. @@ -42257,9 +42775,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 x-github: @@ -42285,9 +42803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 requestBody: required: true content: @@ -42319,16 +42837,16 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42351,10 +42869,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *117 - - *224 - - *279 - - *286 + - *128 + - *235 + - *290 + - *297 responses: '204': description: Response @@ -42377,16 +42895,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '200': description: Response content: application/json: - schema: *287 + schema: *298 examples: - default: *288 + default: *299 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42405,8 +42923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *117 - - *224 + - *128 + - *235 requestBody: required: true content: @@ -42430,9 +42948,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *300 examples: - default: *290 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -42451,8 +42969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -42476,8 +42994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *117 - - *224 + - *128 + - *235 - *17 - *18 responses: @@ -42487,9 +43005,9 @@ paths: application/json: schema: type: array - items: *209 + items: *220 examples: - default: *210 + default: *221 headers: Link: *37 x-github: @@ -42511,8 +43029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *117 - - *224 + - *128 + - *235 - name: role description: Filters members returned by their role in the team. in: query @@ -42535,7 +43053,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -42565,15 +43083,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *117 - - *224 - - *157 + - *128 + - *235 + - *168 responses: '200': description: Response content: application/json: - schema: &291 + schema: &302 title: Team Membership description: Team Membership type: object @@ -42601,7 +43119,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &610 + response-if-user-is-a-team-maintainer: &621 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42637,9 +43155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *117 - - *224 - - *157 + - *128 + - *235 + - *168 requestBody: required: false content: @@ -42664,9 +43182,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *302 examples: - response-if-users-membership-with-team-is-now-pending: &611 + response-if-users-membership-with-team-is-now-pending: &622 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42701,9 +43219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *117 - - *224 - - *157 + - *128 + - *235 + - *168 responses: '204': description: Response @@ -42729,8 +43247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *117 - - *224 + - *128 + - *235 - *17 - *18 responses: @@ -42740,7 +43258,7 @@ paths: application/json: schema: type: array - items: &292 + items: &303 title: Team Project description: A team's access to a project. type: object @@ -42809,7 +43327,7 @@ paths: - updated_at - permissions examples: - default: &612 + default: &623 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42870,9 +43388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *117 - - *224 - - &293 + - *128 + - *235 + - &304 name: project_id description: The unique identifier of the project. in: path @@ -42884,9 +43402,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *303 examples: - default: &613 + default: &624 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42946,9 +43464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *117 - - *224 - - *293 + - *128 + - *235 + - *304 requestBody: required: false content: @@ -43013,9 +43531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *117 - - *224 - - *293 + - *128 + - *235 + - *304 responses: '204': description: Response @@ -43039,8 +43557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *117 - - *224 + - *128 + - *235 - *17 - *18 responses: @@ -43050,9 +43568,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -43081,16 +43599,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *117 - - *224 - - *294 - - *295 + - *128 + - *235 + - *305 + - *306 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &614 + schema: &625 title: Team Repository description: A team's access to a repository. type: object @@ -43116,7 +43634,7 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 forks: type: integer permissions: @@ -43731,10 +44249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *117 - - *224 - - *294 - - *295 + - *128 + - *235 + - *305 + - *306 requestBody: required: false content: @@ -43779,10 +44297,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *117 - - *224 - - *294 - - *295 + - *128 + - *235 + - *305 + - *306 responses: '204': description: Response @@ -43808,16 +44326,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '200': description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *297 + default: *308 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43839,8 +44357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *117 - - *224 + - *128 + - *235 requestBody: required: true content: @@ -43883,7 +44401,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: default: value: @@ -43915,8 +44433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *117 - - *224 + - *128 + - *235 - *17 - *18 responses: @@ -43926,9 +44444,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - response-if-child-teams-exist: &615 + response-if-child-teams-exist: &626 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -43981,7 +44499,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *117 + - *128 - name: security_product in: path description: The security feature to enable or disable. @@ -44052,7 +44570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &298 + - &309 name: card_id description: The unique identifier of the card. in: path @@ -44064,7 +44582,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &310 title: Project Card description: Project cards represent a scope of work. type: object @@ -44139,7 +44657,7 @@ paths: - created_at - updated_at examples: - default: &300 + default: &311 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -44189,7 +44707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *298 + - *309 requestBody: required: false content: @@ -44219,9 +44737,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *310 examples: - default: *300 + default: *311 '304': *35 '403': *27 '401': *23 @@ -44242,7 +44760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *298 + - *309 responses: '204': description: Response @@ -44280,7 +44798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *298 + - *309 requestBody: required: true content: @@ -44387,7 +44905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &301 + - &312 name: column_id description: The unique identifier of the column. in: path @@ -44399,7 +44917,7 @@ paths: description: Response content: application/json: - schema: &302 + schema: &313 title: Project Column description: Project columns contain cards of work. type: object @@ -44453,7 +44971,7 @@ paths: - created_at - updated_at examples: - default: &303 + default: &314 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -44482,7 +45000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *301 + - *312 requestBody: required: true content: @@ -44507,9 +45025,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *313 examples: - default: *303 + default: *314 '304': *35 '403': *27 '401': *23 @@ -44528,7 +45046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *301 + - *312 responses: '204': description: Response @@ -44551,7 +45069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *301 + - *312 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -44572,7 +45090,7 @@ paths: application/json: schema: type: array - items: *299 + items: *310 examples: default: value: @@ -44625,7 +45143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *301 + - *312 requestBody: required: true content: @@ -44669,9 +45187,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *310 examples: - default: *300 + default: *311 '304': *35 '403': *27 '401': *23 @@ -44681,8 +45199,8 @@ paths: application/json: schema: oneOf: - - *120 - - *121 + - *131 + - *132 '503': description: Response content: @@ -44721,7 +45239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *301 + - *312 requestBody: required: true content: @@ -44778,15 +45296,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *293 + - *304 responses: '200': description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: &304 + default: &315 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44839,7 +45357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *293 + - *304 requestBody: required: false content: @@ -44888,9 +45406,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: *304 + default: *315 '404': description: Not Found if the authenticated user does not have access to the project @@ -44911,7 +45429,7 @@ paths: items: type: string '401': *23 - '410': *305 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -44929,7 +45447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *293 + - *304 responses: '204': description: Delete Success @@ -44950,7 +45468,7 @@ paths: items: type: string '401': *23 - '410': *305 + '410': *316 '404': *6 x-github: githubCloudOnly: false @@ -44973,7 +45491,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *293 + - *304 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -45000,7 +45518,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '404': *6 @@ -45025,8 +45543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *293 - - *157 + - *304 + - *168 requestBody: required: false content: @@ -45075,8 +45593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *293 - - *157 + - *304 + - *168 responses: '204': description: Response @@ -45104,8 +45622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *293 - - *157 + - *304 + - *168 responses: '200': description: Response @@ -45169,7 +45687,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *293 + - *304 - *17 - *18 responses: @@ -45179,7 +45697,7 @@ paths: application/json: schema: type: array - items: *302 + items: *313 examples: default: value: @@ -45211,7 +45729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *293 + - *304 requestBody: required: true content: @@ -45235,7 +45753,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *313 examples: default: value: @@ -45296,7 +45814,7 @@ paths: resources: type: object properties: - core: &306 + core: &317 title: Rate Limit type: object properties: @@ -45313,19 +45831,19 @@ paths: - remaining - reset - used - graphql: *306 - search: *306 - code_search: *306 - source_import: *306 - integration_manifest: *306 - code_scanning_upload: *306 - actions_runner_registration: *306 - scim: *306 - dependency_snapshots: *306 + graphql: *317 + search: *317 + code_search: *317 + source_import: *317 + integration_manifest: *317 + code_scanning_upload: *317 + actions_runner_registration: *317 + scim: *317 + dependency_snapshots: *317 required: - core - search - rate: *306 + rate: *317 required: - rate - resources @@ -45424,14 +45942,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *307 + schema: *318 examples: default-response: summary: Default response @@ -45936,7 +46454,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *308 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45954,8 +46472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -46202,10 +46720,10 @@ paths: description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 - '307': &310 + default: *320 + '307': &321 description: Temporary Redirect content: application/json: @@ -46234,8 +46752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -46257,7 +46775,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': *310 + '307': *321 '404': *6 x-github: githubCloudOnly: false @@ -46280,11 +46798,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 - - &325 + - &336 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46307,7 +46825,7 @@ paths: type: integer artifacts: type: array - items: &311 + items: &322 title: Artifact description: An artifact type: object @@ -46393,7 +46911,7 @@ paths: - expires_at - updated_at examples: - default: &326 + default: &337 value: total_count: 2 artifacts: @@ -46452,9 +46970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *294 - - *295 - - &312 + - *305 + - *306 + - &323 name: artifact_id description: The unique identifier of the artifact. in: path @@ -46466,7 +46984,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *322 examples: default: value: @@ -46503,9 +47021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *294 - - *295 - - *312 + - *305 + - *306 + - *323 responses: '204': description: Response @@ -46529,9 +47047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *294 - - *295 - - *312 + - *305 + - *306 + - *323 - name: archive_format in: path required: true @@ -46545,7 +47063,7 @@ paths: 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 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46568,14 +47086,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *313 + schema: *324 examples: default: value: @@ -46601,11 +47119,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: - - *294 - - *295 + - *305 + - *306 - *17 - *18 - - &314 + - &325 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 @@ -46633,13 +47151,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *65 + - *76 responses: '200': description: Response content: application/json: - schema: &315 + schema: &326 title: Repository actions caches description: Repository actions caches type: object @@ -46689,7 +47207,7 @@ paths: - total_count - actions_caches examples: - default: &316 + default: &327 value: total_count: 1 actions_caches: @@ -46721,23 +47239,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: - - *294 - - *295 + - *305 + - *306 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *314 + - *325 responses: '200': description: Response content: application/json: - schema: *315 + schema: *326 examples: - default: *316 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46757,8 +47275,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: - - *294 - - *295 + - *305 + - *306 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -46789,9 +47307,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: - - *294 - - *295 - - &317 + - *305 + - *306 + - &328 name: job_id description: The unique identifier of the job. in: path @@ -46803,7 +47321,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &340 title: Job description: Information of a job execution in a workflow run type: object @@ -47150,9 +47668,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: - - *294 - - *295 - - *317 + - *305 + - *306 + - *328 responses: '302': description: Response @@ -47180,9 +47698,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: - - *294 - - *295 - - *317 + - *305 + - *306 + - *328 requestBody: required: false content: @@ -47204,7 +47722,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -47228,8 +47746,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Status response @@ -47279,8 +47797,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -47314,7 +47832,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -47343,8 +47861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -47362,7 +47880,7 @@ paths: type: integer secrets: type: array - items: &331 + items: &342 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47383,7 +47901,7 @@ paths: - created_at - updated_at examples: - default: &332 + default: &343 value: total_count: 2 secrets: @@ -47416,9 +47934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *294 - - *295 - - *318 + - *305 + - *306 + - *329 - *18 responses: '200': @@ -47435,7 +47953,7 @@ paths: type: integer variables: type: array - items: &335 + items: &346 title: Actions Variable type: object properties: @@ -47469,7 +47987,7 @@ paths: - created_at - updated_at examples: - default: &336 + default: &347 value: total_count: 2 variables: @@ -47502,8 +48020,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -47512,11 +48030,11 @@ paths: schema: type: object properties: - enabled: &319 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 - selected_actions_url: *128 + selected_actions_url: *139 required: - enabled examples: @@ -47545,8 +48063,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -47557,7 +48075,7 @@ paths: schema: type: object properties: - enabled: *319 + enabled: *330 allowed_actions: *40 required: - enabled @@ -47588,14 +48106,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: &320 + schema: &331 type: object properties: access_level: @@ -47613,7 +48131,7 @@ paths: required: - access_level examples: - default: &321 + default: &332 value: access_level: organization x-github: @@ -47638,15 +48156,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: application/json: - schema: *320 + schema: *331 examples: - default: *321 + default: *332 responses: '204': description: Response @@ -47670,8 +48188,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -47702,8 +48220,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -47735,14 +48253,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *131 + schema: *142 examples: default: *46 x-github: @@ -47765,8 +48283,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Success response @@ -47777,7 +48295,7 @@ paths: required: true content: application/json: - schema: *132 + schema: *143 examples: default: *46 x-github: @@ -47806,8 +48324,8 @@ paths: in: query schema: type: string - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -47851,8 +48369,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -47860,9 +48378,9 @@ paths: application/json: schema: type: array - items: *136 + items: *147 examples: - default: *137 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47884,8 +48402,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -47928,7 +48446,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *138 + '201': *149 '404': *6 '422': *7 x-github: @@ -47958,8 +48476,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: - - *294 - - *295 + - *305 + - *306 responses: '201': description: Response @@ -47967,7 +48485,7 @@ paths: application/json: schema: *56 examples: - default: *139 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47995,8 +48513,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: - - *294 - - *295 + - *305 + - *306 responses: '201': description: Response @@ -48004,7 +48522,7 @@ paths: application/json: schema: *56 examples: - default: *140 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48026,8 +48544,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: - - *294 - - *295 + - *305 + - *306 - *52 responses: '200': @@ -48036,7 +48554,7 @@ paths: application/json: schema: *53 examples: - default: *141 + default: *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48057,8 +48575,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: - - *294 - - *295 + - *305 + - *306 - *52 responses: '204': @@ -48084,8 +48602,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: - - *294 - - *295 + - *305 + - *306 - *52 responses: '200': *58 @@ -48110,8 +48628,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: - - *294 - - *295 + - *305 + - *306 - *52 requestBody: required: true @@ -48160,8 +48678,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: - - *294 - - *295 + - *305 + - *306 - *52 requestBody: required: true @@ -48211,11 +48729,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: - - *294 - - *295 + - *305 + - *306 - *52 responses: - '200': *142 + '200': *153 '404': *6 x-github: githubCloudOnly: false @@ -48242,10 +48760,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: - - *294 - - *295 + - *305 + - *306 - *52 - - *143 + - *154 responses: '200': *58 '404': *6 @@ -48273,9 +48791,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: - - *294 - - *295 - - &339 + - *305 + - *306 + - &350 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. @@ -48283,7 +48801,7 @@ paths: required: false schema: type: string - - &340 + - &351 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48291,7 +48809,7 @@ paths: required: false schema: type: string - - &341 + - &352 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48300,7 +48818,7 @@ paths: required: false schema: type: string - - &342 + - &353 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 @@ -48327,7 +48845,7 @@ paths: - pending - *17 - *18 - - &343 + - &354 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)." @@ -48336,7 +48854,7 @@ paths: schema: type: string format: date-time - - &322 + - &333 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48345,13 +48863,13 @@ paths: schema: type: boolean default: false - - &344 + - &355 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &345 + - &356 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -48374,7 +48892,7 @@ paths: type: integer workflow_runs: type: array - items: &323 + items: &334 title: Workflow Run description: An invocation of a workflow type: object @@ -48491,7 +49009,7 @@ paths: type: - array - 'null' - items: &364 + items: &375 title: Pull Request Minimal type: object properties: @@ -48618,7 +49136,7 @@ paths: head_commit: anyOf: - type: 'null' - - &368 + - &379 title: Simple Commit description: A commit. type: object @@ -48692,8 +49210,8 @@ paths: - timestamp - author - committer - repository: *135 - head_repository: *135 + repository: *146 + head_repository: *146 head_repository_id: type: integer examples: @@ -48733,7 +49251,7 @@ paths: - workflow_url - pull_requests examples: - default: &346 + default: &357 value: total_count: 1 workflow_runs: @@ -48969,24 +49487,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *294 - - *295 - - &324 + - *305 + - *306 + - &335 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *322 + - *333 responses: '200': description: Response content: application/json: - schema: *323 + schema: *334 examples: - default: &327 + default: &338 value: id: 30433642 name: Build @@ -49227,9 +49745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '204': description: Response @@ -49252,9 +49770,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '200': description: Response @@ -49382,15 +49900,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '201': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -49417,12 +49935,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 - *17 - *18 - - *325 + - *336 responses: '200': description: Response @@ -49438,9 +49956,9 @@ paths: type: integer artifacts: type: array - items: *311 + items: *322 examples: - default: *326 + default: *337 headers: Link: *37 x-github: @@ -49464,25 +49982,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *294 - - *295 - - *324 - - &328 + - *305 + - *306 + - *335 + - &339 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *322 + - *333 responses: '200': description: Response content: application/json: - schema: *323 + schema: *334 examples: - default: *327 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49505,10 +50023,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: - - *294 - - *295 - - *324 - - *328 + - *305 + - *306 + - *335 + - *339 - *17 - *18 responses: @@ -49526,9 +50044,9 @@ paths: type: integer jobs: type: array - items: *329 + items: *340 examples: - default: &330 + default: &341 value: total_count: 1 jobs: @@ -49641,10 +50159,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *294 - - *295 - - *324 - - *328 + - *305 + - *306 + - *335 + - *339 responses: '302': description: Response @@ -49672,19 +50190,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '202': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49707,9 +50225,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 requestBody: required: true content: @@ -49776,19 +50294,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '202': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49811,9 +50329,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 - 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 @@ -49843,9 +50361,9 @@ paths: type: integer jobs: type: array - items: *329 + items: *340 examples: - default: *330 + default: *341 headers: Link: *37 x-github: @@ -49870,9 +50388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '302': description: Response @@ -49899,14 +50417,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '204': description: Response '403': *27 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49928,9 +50446,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '200': description: Response @@ -49999,7 +50517,7 @@ paths: items: type: object properties: - type: &436 + type: &447 type: string description: The type of reviewer. enum: @@ -50010,7 +50528,7 @@ paths: reviewer: anyOf: - *4 - - *212 + - *223 required: - environment - wait_timer @@ -50085,9 +50603,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 requestBody: required: true content: @@ -50137,7 +50655,7 @@ paths: application/json: schema: type: array - items: &431 + items: &442 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50249,7 +50767,7 @@ paths: - created_at - updated_at examples: - default: &432 + default: &443 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50305,9 +50823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 requestBody: required: false content: @@ -50329,7 +50847,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -50352,9 +50870,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 requestBody: required: false content: @@ -50376,7 +50894,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -50401,9 +50919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '200': description: Response @@ -50540,8 +51058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -50559,9 +51077,9 @@ paths: type: integer secrets: type: array - items: *331 + items: *342 examples: - default: *332 + default: *343 headers: Link: *37 x-github: @@ -50586,16 +51104,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *333 + schema: *344 examples: - default: *334 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50617,17 +51135,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '200': description: Response content: application/json: - schema: *331 + schema: *342 examples: - default: &449 + default: &460 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -50653,9 +51171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 requestBody: required: true content: @@ -50683,7 +51201,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -50709,9 +51227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '204': description: Response @@ -50736,9 +51254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *294 - - *295 - - *318 + - *305 + - *306 + - *329 - *18 responses: '200': @@ -50755,9 +51273,9 @@ paths: type: integer variables: type: array - items: *335 + items: *346 examples: - default: *336 + default: *347 headers: Link: *37 x-github: @@ -50780,8 +51298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -50808,7 +51326,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -50833,17 +51351,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *294 - - *295 - - *148 + - *305 + - *306 + - *159 responses: '200': description: Response content: application/json: - schema: *335 + schema: *346 examples: - default: &450 + default: &461 value: name: USERNAME value: octocat @@ -50869,9 +51387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *294 - - *295 - - *148 + - *305 + - *306 + - *159 requestBody: required: true content: @@ -50913,9 +51431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *294 - - *295 - - *148 + - *305 + - *306 + - *159 responses: '204': description: Response @@ -50940,8 +51458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -50959,7 +51477,7 @@ paths: type: integer workflows: type: array - items: &337 + items: &348 title: Workflow description: A GitHub Actions workflow type: object @@ -51077,9 +51595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *294 - - *295 - - &338 + - *305 + - *306 + - &349 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51094,7 +51612,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *348 examples: default: value: @@ -51127,9 +51645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *294 - - *295 - - *338 + - *305 + - *306 + - *349 responses: '204': description: Response @@ -51154,9 +51672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *294 - - *295 - - *338 + - *305 + - *306 + - *349 responses: '204': description: Response @@ -51207,9 +51725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *294 - - *295 - - *338 + - *305 + - *306 + - *349 responses: '204': description: Response @@ -51234,19 +51752,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: - - *294 - - *295 - - *338 - - *339 - - *340 - - *341 - - *342 + - *305 + - *306 + - *349 + - *350 + - *351 + - *352 + - *353 - *17 - *18 - - *343 - - *322 - - *344 - - *345 + - *354 + - *333 + - *355 + - *356 responses: '200': description: Response @@ -51262,9 +51780,9 @@ paths: type: integer workflow_runs: type: array - items: *323 + items: *334 examples: - default: *346 + default: *357 headers: Link: *37 x-github: @@ -51290,9 +51808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *294 - - *295 - - *338 + - *305 + - *306 + - *349 responses: '200': description: Response @@ -51353,12 +51871,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *294 - - *295 - - *65 + - *305 + - *306 + - *76 - *17 - - *63 - - *64 + - *74 + - *75 - name: ref description: |- The Git reference for the activities you want to list. @@ -51522,8 +52040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -51535,7 +52053,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '404': *6 @@ -51560,8 +52078,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: - - *294 - - *295 + - *305 + - *306 - name: assignee in: path required: true @@ -51597,8 +52115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -51710,11 +52228,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *294 - - *295 + - *305 + - *306 - *17 - - *63 - - *64 + - *74 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -51755,7 +52273,7 @@ paths: repository_id: type: integer examples: - default: *347 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51775,8 +52293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -51784,7 +52302,7 @@ paths: application/json: schema: type: array - items: &348 + items: &359 title: Autolink reference description: An autolink reference. type: object @@ -51838,8 +52356,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -51878,9 +52396,9 @@ paths: description: response content: application/json: - schema: *348 + schema: *359 examples: - default: &349 + default: &360 value: id: 1 key_prefix: TICKET- @@ -51911,9 +52429,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: - - *294 - - *295 - - &350 + - *305 + - *306 + - &361 name: autolink_id description: The unique identifier of the autolink. in: path @@ -51925,9 +52443,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *359 examples: - default: *349 + default: *360 '404': *6 x-github: githubCloudOnly: false @@ -51947,9 +52465,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: - - *294 - - *295 - - *350 + - *305 + - *306 + - *361 responses: '204': description: Response @@ -51973,8 +52491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response if Dependabot is enabled @@ -52024,8 +52542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -52046,8 +52564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -52067,8 +52585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *294 - - *295 + - *305 + - *306 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -52106,7 +52624,7 @@ paths: - url protected: type: boolean - protection: &352 + protection: &363 title: Branch Protection description: Branch Protection type: object @@ -52149,7 +52667,7 @@ paths: required: - contexts - checks - enforce_admins: &355 + enforce_admins: &366 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52166,7 +52684,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &357 + required_pull_request_reviews: &368 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52188,7 +52706,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *212 + items: *223 apps: description: The list of apps with review dismissal access. @@ -52220,7 +52738,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *212 + items: *223 apps: description: The list of apps allowed to bypass pull request requirements. @@ -52250,7 +52768,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &354 + restrictions: &365 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -52575,9 +53093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *294 - - *295 - - &353 + - *305 + - *306 + - &364 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). @@ -52591,14 +53109,14 @@ paths: description: Response content: application/json: - schema: &363 + schema: &374 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &407 + commit: &418 title: Commit description: Commit type: object @@ -52637,7 +53155,7 @@ paths: author: anyOf: - type: 'null' - - &351 + - &362 title: Git User description: Metaproperties for Git author/committer information. @@ -52658,7 +53176,7 @@ paths: committer: anyOf: - type: 'null' - - *351 + - *362 message: type: string examples: @@ -52682,7 +53200,7 @@ paths: required: - sha - url - verification: &456 + verification: &467 title: Verification type: object properties: @@ -52713,14 +53231,14 @@ paths: author: oneOf: - *4 - - *146 + - *157 type: - 'null' - object committer: oneOf: - *4 - - *146 + - *157 type: - 'null' - object @@ -52757,7 +53275,7 @@ paths: type: integer files: type: array - items: &419 + items: &430 title: Diff Entry description: Diff Entry type: object @@ -52851,7 +53369,7 @@ paths: - self protected: type: boolean - protection: *352 + protection: *363 protection_url: type: string format: uri @@ -52959,7 +53477,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *308 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -52981,15 +53499,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *352 + schema: *363 examples: default: value: @@ -53183,9 +53701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -53445,7 +53963,7 @@ paths: url: type: string format: uri - required_status_checks: &360 + required_status_checks: &371 title: Status Check Policy description: Status Check Policy type: object @@ -53526,7 +54044,7 @@ paths: items: *4 teams: type: array - items: *212 + items: *223 apps: type: array items: *5 @@ -53544,7 +54062,7 @@ paths: items: *4 teams: type: array - items: *212 + items: *223 apps: type: array items: *5 @@ -53604,7 +54122,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *354 + restrictions: *365 required_conversation_resolution: type: object properties: @@ -53716,9 +54234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -53743,17 +54261,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: &356 + default: &367 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -53775,17 +54293,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: *356 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53804,9 +54322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -53831,17 +54349,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *357 + schema: *368 examples: - default: &358 + default: &369 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -53937,9 +54455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54037,9 +54555,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *368 examples: - default: *358 + default: *369 '422': *15 x-github: githubCloudOnly: false @@ -54060,9 +54578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -54089,17 +54607,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: &359 + default: &370 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54122,17 +54640,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: *359 + default: *370 '404': *6 x-github: githubCloudOnly: false @@ -54152,9 +54670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -54179,17 +54697,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *360 + schema: *371 examples: - default: &361 + default: &372 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54215,9 +54733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54269,9 +54787,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *371 examples: - default: *361 + default: *372 '404': *6 '422': *15 x-github: @@ -54293,9 +54811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -54319,9 +54837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response @@ -54355,9 +54873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54424,9 +54942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54490,9 +55008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: content: application/json: @@ -54558,15 +55076,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *354 + schema: *365 examples: default: value: @@ -54657,9 +55175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -54682,9 +55200,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: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response @@ -54694,7 +55212,7 @@ paths: type: array items: *5 examples: - default: &362 + default: &373 value: - id: 1 slug: octoapp @@ -54751,9 +55269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -54787,7 +55305,7 @@ paths: type: array items: *5 examples: - default: *362 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -54808,9 +55326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -54844,7 +55362,7 @@ paths: type: array items: *5 examples: - default: *362 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -54865,9 +55383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -54901,7 +55419,7 @@ paths: type: array items: *5 examples: - default: *362 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -54923,9 +55441,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: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response @@ -54933,9 +55451,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 '404': *6 x-github: githubCloudOnly: false @@ -54955,9 +55473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54993,9 +55511,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55016,9 +55534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -55054,9 +55572,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55077,9 +55595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: content: application/json: @@ -55114,9 +55632,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55138,9 +55656,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: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response @@ -55150,7 +55668,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '404': *6 x-github: githubCloudOnly: false @@ -55174,9 +55692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -55209,7 +55727,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -55234,9 +55752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -55269,7 +55787,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -55294,9 +55812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -55329,7 +55847,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -55356,9 +55874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -55380,7 +55898,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *374 examples: default: value: @@ -55495,8 +56013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -55775,7 +56293,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &376 title: CheckRun description: A check performed on the code of a given code change type: object @@ -55910,8 +56428,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *364 - deployment: &665 + items: *375 + deployment: &676 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56198,9 +56716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *294 - - *295 - - &366 + - *305 + - *306 + - &377 name: check_run_id description: The unique identifier of the check run. in: path @@ -56212,9 +56730,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *376 examples: - default: &367 + default: &378 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56314,9 +56832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *294 - - *295 - - *366 + - *305 + - *306 + - *377 requestBody: required: true content: @@ -56556,9 +57074,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *376 examples: - default: *367 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56578,9 +57096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *294 - - *295 - - *366 + - *305 + - *306 + - *377 - *17 - *18 responses: @@ -56692,15 +57210,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *294 - - *295 - - *366 + - *305 + - *306 + - *377 responses: '201': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -56738,8 +57256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -56761,7 +57279,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &369 + schema: &380 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -56843,12 +57361,12 @@ paths: type: - array - 'null' - items: *364 + items: *375 app: anyOf: - type: 'null' - *5 - repository: *135 + repository: *146 created_at: type: - string @@ -56859,7 +57377,7 @@ paths: - string - 'null' format: date-time - head_commit: *368 + head_commit: *379 latest_check_runs_count: type: integer check_runs_url: @@ -56887,7 +57405,7 @@ paths: - check_runs_url - pull_requests examples: - default: &370 + default: &381 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57178,9 +57696,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *369 + schema: *380 examples: - default: *370 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57199,8 +57717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -57261,7 +57779,7 @@ paths: required: - app_id - setting - repository: *135 + repository: *146 examples: default: value: @@ -57509,9 +58027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *294 - - *295 - - &371 + - *305 + - *306 + - &382 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -57523,9 +58041,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *380 examples: - default: *370 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57548,17 +58066,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: - - *294 - - *295 - - *371 - - &414 + - *305 + - *306 + - *382 + - &425 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &415 + - &426 name: status description: Returns check runs with the specified `status`. in: query @@ -57597,9 +58115,9 @@ paths: type: integer check_runs: type: array - items: *365 + items: *376 examples: - default: &416 + default: &427 value: total_count: 1 check_runs: @@ -57701,15 +58219,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *294 - - *295 - - *371 + - *305 + - *306 + - *382 responses: '201': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -57736,30 +58254,30 @@ 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: - - *294 - - *295 - - *158 - - *159 + - *305 + - *306 + - *169 + - *170 - *18 - *17 - - &383 + - &394 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: *372 - - &384 + schema: *383 + - &395 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *65 - - *63 - - *64 + - *76 + - *74 + - *75 - name: sort description: The property by which to sort the results. in: query @@ -57775,13 +58293,13 @@ paths: be returned. in: query required: false - schema: *160 + schema: *171 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *373 + schema: *384 responses: '200': description: Response @@ -57792,24 +58310,24 @@ paths: items: type: object properties: - number: *70 - created_at: *76 - updated_at: *77 - url: *74 - html_url: *75 - instances_url: *374 - state: *68 - fixed_at: *79 + number: *81 + created_at: *87 + updated_at: *88 + url: *85 + html_url: *86 + instances_url: *385 + state: *79 + fixed_at: *90 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *78 - dismissed_reason: *375 - dismissed_comment: *376 - rule: *377 - tool: *378 - most_recent_instance: *379 + dismissed_at: *89 + dismissed_reason: *386 + dismissed_comment: *387 + rule: *388 + tool: *389 + most_recent_instance: *390 required: - number - created_at @@ -57925,14 +58443,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &380 + '403': &391 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57952,9 +58470,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: - - *294 - - *295 - - &381 + - *305 + - *306 + - &392 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -57962,30 +58480,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *70 + schema: *81 responses: '200': description: Response content: application/json: - schema: &382 + schema: &393 type: object properties: - number: *70 - created_at: *76 - updated_at: *77 - url: *74 - html_url: *75 - instances_url: *374 - state: *68 - fixed_at: *79 + number: *81 + created_at: *87 + updated_at: *88 + url: *85 + html_url: *86 + instances_url: *385 + state: *79 + fixed_at: *90 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *78 - dismissed_reason: *375 - dismissed_comment: *376 + dismissed_at: *89 + dismissed_reason: *386 + dismissed_comment: *387 rule: type: object properties: @@ -58047,8 +58565,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *378 - most_recent_instance: *379 + tool: *389 + most_recent_instance: *390 required: - number - created_at @@ -58137,9 +58655,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58157,9 +58675,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: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 requestBody: required: true content: @@ -58174,8 +58692,8 @@ paths: enum: - open - dismissed - dismissed_reason: *375 - dismissed_comment: *376 + dismissed_reason: *386 + dismissed_comment: *387 required: - state examples: @@ -58190,7 +58708,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *393 examples: default: value: @@ -58265,14 +58783,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &389 + '403': &400 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58292,13 +58810,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: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 - *18 - *17 - - *383 - - *384 + - *394 + - *395 responses: '200': description: Response @@ -58306,7 +58824,7 @@ paths: application/json: schema: type: array - items: *379 + items: *390 examples: default: value: @@ -58345,9 +58863,9 @@ paths: end_column: 50 classifications: - source - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58379,30 +58897,30 @@ 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: - - *294 - - *295 - - *158 - - *159 + - *305 + - *306 + - *169 + - *170 - *18 - *17 - - *384 + - *395 - 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: *372 + schema: *383 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &387 + schema: &398 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *65 + - *76 - name: sort description: The property by which to sort the results. in: query @@ -58419,23 +58937,23 @@ paths: application/json: schema: type: array - items: &388 + items: &399 type: object properties: - ref: *372 - commit_sha: &397 + ref: *383 + commit_sha: &408 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *385 + analysis_key: *396 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *386 + category: *397 error: type: string examples: @@ -58460,8 +58978,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *387 - tool: *378 + sarif_id: *398 + tool: *389 deletable: type: boolean warning: @@ -58523,9 +59041,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58559,8 +59077,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: - - *294 - - *295 + - *305 + - *306 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -58573,7 +59091,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *399 examples: response: summary: application/json response @@ -58627,9 +59145,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58709,8 +59227,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: - - *294 - - *295 + - *305 + - *306 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -58766,9 +59284,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': *389 + '403': *400 '404': *6 - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58788,8 +59306,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -58797,7 +59315,7 @@ paths: application/json: schema: type: array - items: &390 + items: &401 title: CodeQL Database description: A CodeQL database. type: object @@ -58909,9 +59427,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': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58938,8 +59456,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: - - *294 - - *295 + - *305 + - *306 - name: language in: path description: The language of the CodeQL database. @@ -58951,7 +59469,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: default: value: @@ -58983,11 +59501,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': &421 + '302': &432 description: Found - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59007,8 +59525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *294 - - *295 + - *305 + - *306 - name: language in: path description: The language of the CodeQL database. @@ -59018,9 +59536,9 @@ paths: responses: '204': description: Response - '403': *389 + '403': *400 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59046,8 +59564,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -59056,7 +59574,7 @@ paths: type: object additionalProperties: false properties: - language: &391 + language: &402 type: string description: The language targeted by the CodeQL query enum: @@ -59134,7 +59652,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &395 + schema: &406 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59142,9 +59660,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *80 + controller_repo: *91 actor: *4 - query_language: *391 + query_language: *402 query_pack_url: type: string description: The download url for the query pack. @@ -59192,7 +59710,7 @@ paths: items: type: object properties: - repository: &392 + repository: &403 title: Repository Identifier description: Repository Identifier type: object @@ -59234,7 +59752,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &396 + analysis_status: &407 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59266,7 +59784,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &393 + access_mismatch_repos: &404 type: object properties: repository_count: @@ -59281,7 +59799,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: *392 + items: *403 required: - repository_count - repositories @@ -59304,8 +59822,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *393 - over_limit_repos: *393 + no_codeql_db_repos: *404 + over_limit_repos: *404 required: - access_mismatch_repos - not_found_repos @@ -59321,7 +59839,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &394 + value: &405 summary: Default response value: id: 1 @@ -59473,17 +59991,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *394 + value: *405 repository_lists: summary: Response for a successful variant analysis submission - value: *394 + value: *405 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59504,8 +60022,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: - - *294 - - *295 + - *305 + - *306 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -59517,11 +60035,11 @@ paths: description: Response content: application/json: - schema: *395 + schema: *406 examples: - default: *394 + default: *405 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59542,7 +60060,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: - - *294 + - *305 - name: repo in: path description: The name of the controller repository. @@ -59576,8 +60094,8 @@ paths: schema: type: object properties: - repository: *80 - analysis_status: *396 + repository: *91 + analysis_status: *407 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -59681,7 +60199,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59702,8 +60220,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -59768,9 +60286,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59789,8 +60307,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -59835,7 +60353,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -59860,7 +60378,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *389 + '403': *400 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -59868,7 +60386,7 @@ paths: content: application/json: schema: *3 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59925,8 +60443,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -59934,7 +60452,7 @@ paths: schema: type: object properties: - commit_sha: *397 + commit_sha: *408 ref: type: string description: |- @@ -59994,7 +60512,7 @@ paths: schema: type: object properties: - id: *387 + id: *398 url: type: string description: The REST API URL for checking the status of the upload. @@ -60008,11 +60526,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': *389 + '403': *400 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60031,8 +60549,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: - - *294 - - *295 + - *305 + - *306 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60080,10 +60598,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': *380 + '403': *391 '404': description: Not Found if the sarif id does not match any upload - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60105,8 +60623,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -60130,7 +60648,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *163 + configuration: *174 examples: default: value: @@ -60159,7 +60677,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *166 + '204': *177 '304': *35 '403': *27 '404': *6 @@ -60184,8 +60702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *294 - - *295 + - *305 + - *306 - 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 @@ -60313,8 +60831,8 @@ paths: parameters: - *17 - *18 - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -60330,7 +60848,7 @@ paths: type: integer codespaces: type: array - items: *216 + items: *227 examples: default: value: @@ -60606,7 +61124,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -60628,8 +61146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -60693,22 +61211,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60732,8 +61250,8 @@ paths: parameters: - *17 - *18 - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -60773,7 +61291,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *69 + '500': *80 '400': *14 '401': *23 '403': *27 @@ -60797,8 +61315,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: - - *294 - - *295 + - *305 + - *306 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -60835,9 +61353,9 @@ paths: type: integer machines: type: array - items: *399 + items: *410 examples: - default: &622 + default: &633 value: total_count: 2 machines: @@ -60854,7 +61372,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -60877,8 +61395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *294 - - *295 + - *305 + - *306 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -60965,8 +61483,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: - - *294 - - *295 + - *305 + - *306 - 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 @@ -61014,7 +61532,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61035,8 +61553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -61054,7 +61572,7 @@ paths: type: integer secrets: type: array - items: &403 + items: &414 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61075,7 +61593,7 @@ paths: - created_at - updated_at examples: - default: *400 + default: *411 headers: Link: *37 x-github: @@ -61098,16 +61616,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *401 + schema: *412 examples: - default: *402 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61127,17 +61645,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '200': description: Response content: application/json: - schema: *403 + schema: *414 examples: - default: *404 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61157,9 +61675,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: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 requestBody: required: true content: @@ -61187,7 +61705,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -61211,9 +61729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '204': description: Response @@ -61241,8 +61759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *294 - - *295 + - *305 + - *306 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61280,7 +61798,7 @@ paths: application/json: schema: type: array - items: &405 + items: &416 title: Collaborator description: Collaborator type: object @@ -61473,9 +61991,9 @@ 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: - - *294 - - *295 - - *157 + - *305 + - *306 + - *168 responses: '204': description: Response if user is a collaborator @@ -61517,9 +62035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *294 - - *295 - - *157 + - *305 + - *306 + - *168 requestBody: required: false content: @@ -61545,7 +62063,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &469 + schema: &480 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -61557,7 +62075,7 @@ paths: format: int64 examples: - 42 - repository: *135 + repository: *146 invitee: anyOf: - type: 'null' @@ -61766,9 +62284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *294 - - *295 - - *157 + - *305 + - *306 + - *168 responses: '204': description: No Content when collaborator was removed from the repository. @@ -61797,9 +62315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *294 - - *295 - - *157 + - *305 + - *306 + - *168 responses: '200': description: if user has admin permissions @@ -61819,7 +62337,7 @@ paths: user: anyOf: - type: 'null' - - *405 + - *416 required: - permission - role_name @@ -61873,8 +62391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -61884,7 +62402,7 @@ paths: application/json: schema: type: array - items: &406 + items: &417 title: Commit Comment description: Commit Comment type: object @@ -61925,8 +62443,8 @@ paths: updated_at: type: string format: date-time - author_association: *88 - reactions: *89 + author_association: *99 + reactions: *100 required: - url - html_url @@ -61942,7 +62460,7 @@ paths: - created_at - updated_at examples: - default: &409 + default: &420 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62001,17 +62519,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '200': description: Response content: application/json: - schema: *406 + schema: *417 examples: - default: &410 + default: &421 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62068,9 +62586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -62092,7 +62610,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *417 examples: default: value: @@ -62143,9 +62661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '204': description: Response @@ -62166,9 +62684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 - 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. @@ -62194,9 +62712,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 @@ -62217,9 +62735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -62251,16 +62769,16 @@ paths: description: Reaction exists content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Reaction created content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -62282,10 +62800,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *294 - - *295 - - *100 - - *286 + - *305 + - *306 + - *111 + - *297 responses: '204': description: Response @@ -62333,8 +62851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *294 - - *295 + - *305 + - *306 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -62390,9 +62908,9 @@ paths: application/json: schema: type: array - items: *407 + items: *418 examples: - default: &516 + default: &527 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62462,10 +62980,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *37 - '500': *69 + '500': *80 '400': *14 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +63003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *294 - - *295 - - &408 + - *305 + - *306 + - &419 name: commit_sha description: The SHA of the commit. in: path @@ -62534,7 +63052,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62559,9 +63077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *294 - - *295 - - *408 + - *305 + - *306 + - *419 - *17 - *18 responses: @@ -62571,9 +63089,9 @@ paths: application/json: schema: type: array - items: *406 + items: *417 examples: - default: *409 + default: *420 headers: Link: *37 x-github: @@ -62601,9 +63119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *294 - - *295 - - *408 + - *305 + - *306 + - *419 requestBody: required: true content: @@ -62638,9 +63156,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *417 examples: - default: *410 + default: *421 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62668,9 +63186,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: - - *294 - - *295 - - *408 + - *305 + - *306 + - *419 - *17 - *18 responses: @@ -62680,7 +63198,7 @@ paths: application/json: schema: type: array - items: &507 + items: &518 title: Pull Request Simple description: Pull Request Simple type: object @@ -62800,7 +63318,7 @@ paths: milestone: anyOf: - type: 'null' - - *411 + - *422 active_lock_reason: type: - string @@ -62855,7 +63373,7 @@ paths: type: - array - 'null' - items: *212 + items: *223 head: type: object properties: @@ -62899,7 +63417,7 @@ paths: _links: type: object properties: - comments: &412 + comments: &423 title: Link description: Hypermedia Link type: object @@ -62908,13 +63426,13 @@ paths: type: string required: - href - commits: *412 - statuses: *412 - html: *412 - issue: *412 - review_comments: *412 - review_comment: *412 - self: *412 + commits: *423 + statuses: *423 + html: *423 + issue: *423 + review_comments: *423 + review_comment: *423 + self: *423 required: - comments - commits @@ -62924,8 +63442,8 @@ paths: - review_comments - review_comment - self - author_association: *88 - auto_merge: &509 + author_association: *99 + auto_merge: &520 title: Auto merge description: The status of auto merging a pull request. type: @@ -62990,7 +63508,7 @@ paths: - author_association - auto_merge examples: - default: &508 + default: &519 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -63470,7 +63988,7 @@ paths: draft: false headers: Link: *37 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63526,11 +64044,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *294 - - *295 + - *305 + - *306 - *18 - *17 - - &413 + - &424 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)" @@ -63545,9 +64063,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *418 examples: - default: &495 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63632,9 +64150,9 @@ paths: ..... '422': *15 '404': *6 - '500': *69 - '503': *81 - '409': *122 + '500': *80 + '503': *92 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63659,11 +64177,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: - - *294 - - *295 - - *413 - - *414 - - *415 + - *305 + - *306 + - *424 + - *425 + - *426 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -63697,9 +64215,9 @@ paths: type: integer check_runs: type: array - items: *365 + items: *376 examples: - default: *416 + default: *427 headers: Link: *37 x-github: @@ -63724,9 +64242,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: - - *294 - - *295 - - *413 + - *305 + - *306 + - *424 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -63734,7 +64252,7 @@ paths: schema: type: integer example: 1 - - *414 + - *425 - *17 - *18 responses: @@ -63752,7 +64270,7 @@ paths: type: integer check_suites: type: array - items: *369 + items: *380 examples: default: value: @@ -63952,9 +64470,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: - - *294 - - *295 - - *413 + - *305 + - *306 + - *424 - *17 - *18 responses: @@ -64025,7 +64543,7 @@ paths: type: string total_count: type: integer - repository: *135 + repository: *146 commit_url: type: string format: uri @@ -64156,9 +64674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *294 - - *295 - - *413 + - *305 + - *306 + - *424 - *17 - *18 responses: @@ -64168,7 +64686,7 @@ paths: application/json: schema: type: array - items: &570 + items: &581 title: Status description: The status of a commit. type: object @@ -64249,7 +64767,7 @@ paths: site_admin: false headers: Link: *37 - '301': *308 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64277,8 +64795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -64311,11 +64829,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *417 + - *428 code_of_conduct_file: anyOf: - type: 'null' - - &418 + - &429 title: Community Health File type: object properties: @@ -64331,23 +64849,23 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 contributing: anyOf: - type: 'null' - - *418 + - *429 readme: anyOf: - type: 'null' - - *418 + - *429 issue_template: anyOf: - type: 'null' - - *418 + - *429 pull_request_template: anyOf: - type: 'null' - - *418 + - *429 required: - code_of_conduct - code_of_conduct_file @@ -64475,8 +64993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *294 - - *295 + - *305 + - *306 - *18 - *17 - name: basehead @@ -64524,8 +65042,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *407 - merge_base_commit: *407 + base_commit: *418 + merge_base_commit: *418 status: type: string enum: @@ -64549,10 +65067,10 @@ paths: - 6 commits: type: array - items: *407 + items: *418 files: type: array - items: *419 + items: *430 required: - url - html_url @@ -64792,8 +65310,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64835,8 +65353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *294 - - *295 + - *305 + - *306 - name: path description: path parameter in: path @@ -64987,7 +65505,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &420 + response-if-content-is-a-file: &431 summary: Response if content is a file value: type: file @@ -65124,7 +65642,7 @@ paths: - size - type - url - - &521 + - &532 title: Content File description: Content File type: object @@ -65342,7 +65860,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *420 + response-if-content-is-a-file: *431 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -65411,7 +65929,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *421 + '302': *432 '304': *35 x-github: githubCloudOnly: false @@ -65434,8 +65952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *294 - - *295 + - *305 + - *306 - name: path description: path parameter in: path @@ -65530,7 +66048,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &433 title: File Commit description: File Commit type: object @@ -65681,7 +66199,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *433 examples: example-for-creating-a-file: value: @@ -65734,7 +66252,7 @@ paths: schema: oneOf: - *3 - - &451 + - &462 description: Repository rule violation was detected type: object properties: @@ -65755,7 +66273,7 @@ paths: items: type: object properties: - placeholder_id: &563 + placeholder_id: &574 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -65787,8 +66305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *294 - - *295 + - *305 + - *306 - name: path description: path parameter in: path @@ -65849,7 +66367,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *433 examples: default: value: @@ -65882,8 +66400,8 @@ paths: payload: '422': *15 '404': *6 - '409': *122 - '503': *81 + '409': *133 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65903,8 +66421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *294 - - *295 + - *305 + - *306 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66028,21 +66546,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *294 - - *295 - - *176 - - *177 - - *178 - - *179 + - *305 + - *306 + - *187 + - *188 + - *189 + - *190 - 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 - - *180 - - *181 - - *65 + - *191 + - *192 + - *76 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -66059,10 +66577,10 @@ paths: schema: type: integer default: 30 - - *63 - - *64 - - *182 - - *183 + - *74 + - *75 + - *193 + - *194 responses: '200': description: Response @@ -66070,11 +66588,11 @@ paths: application/json: schema: type: array - items: &425 + items: &436 type: object description: A Dependabot alert. properties: - number: *70 + number: *81 state: type: string description: The state of the Dependabot alert. @@ -66089,7 +66607,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *71 + package: *82 manifest_path: type: string description: The full path to the dependency manifest file, @@ -66105,13 +66623,13 @@ paths: - development - runtime - - security_advisory: *423 - security_vulnerability: *73 - url: *74 - html_url: *75 - created_at: *76 - updated_at: *77 - dismissed_at: *78 + security_advisory: *434 + security_vulnerability: *84 + url: *85 + html_url: *86 + created_at: *87 + updated_at: *88 + dismissed_at: *89 dismissed_by: anyOf: - type: 'null' @@ -66135,8 +66653,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *79 - auto_dismissed_at: *424 + fixed_at: *90 + auto_dismissed_at: *435 required: - number - state @@ -66363,9 +66881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *294 - - *295 - - &426 + - *305 + - *306 + - &437 name: alert_number in: path description: |- @@ -66374,13 +66892,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *70 + schema: *81 responses: '200': description: Response content: application/json: - schema: *425 + schema: *436 examples: default: value: @@ -66490,9 +67008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *294 - - *295 - - *426 + - *305 + - *306 + - *437 requestBody: required: true content: @@ -66537,7 +67055,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *436 examples: default: value: @@ -66643,7 +67161,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *122 + '409': *133 '422': *7 x-github: githubCloudOnly: false @@ -66666,8 +67184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -66685,7 +67203,7 @@ paths: type: integer secrets: type: array - items: &429 + items: &440 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -66739,16 +67257,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *427 + schema: *438 examples: - default: *428 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66768,15 +67286,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '200': description: Response content: application/json: - schema: *429 + schema: *440 examples: default: value: @@ -66802,9 +67320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 requestBody: required: true content: @@ -66832,7 +67350,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -66856,9 +67374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '204': description: Response @@ -66880,8 +67398,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: - - *294 - - *295 + - *305 + - *306 - 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 @@ -67055,8 +67573,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -67316,8 +67834,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -67400,7 +67918,7 @@ paths: - version - url additionalProperties: false - metadata: &430 + metadata: &441 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -67439,7 +67957,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *430 + metadata: *441 resolved: type: object description: A collection of resolved package dependencies. @@ -67453,7 +67971,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *430 + metadata: *441 relationship: type: string description: A notation of whether a dependency is requested @@ -67586,8 +68104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *294 - - *295 + - *305 + - *306 - name: sha description: The SHA recorded at creation time. in: query @@ -67628,9 +68146,9 @@ paths: application/json: schema: type: array - items: *431 + items: *442 examples: - default: *432 + default: *443 headers: Link: *37 x-github: @@ -67696,8 +68214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -67779,7 +68297,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: simple-example: summary: Simple example @@ -67852,9 +68370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *294 - - *295 - - &433 + - *305 + - *306 + - &444 name: deployment_id description: deployment_id parameter in: path @@ -67866,7 +68384,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: default: value: @@ -67931,9 +68449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *294 - - *295 - - *433 + - *305 + - *306 + - *444 responses: '204': description: Response @@ -67955,9 +68473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *294 - - *295 - - *433 + - *305 + - *306 + - *444 - *17 - *18 responses: @@ -67967,7 +68485,7 @@ paths: application/json: schema: type: array - items: &434 + items: &445 title: Deployment Status description: The status of a deployment. type: object @@ -68131,9 +68649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *294 - - *295 - - *433 + - *305 + - *306 + - *444 requestBody: required: true content: @@ -68208,9 +68726,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *445 examples: - default: &435 + default: &446 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68266,9 +68784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *294 - - *295 - - *433 + - *305 + - *306 + - *444 - name: status_id in: path required: true @@ -68279,9 +68797,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *445 examples: - default: *435 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -68306,8 +68824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -68364,8 +68882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -68383,7 +68901,7 @@ paths: - 5 environments: type: array - items: &437 + items: &448 title: Environment description: Details of a deployment environment type: object @@ -68445,7 +68963,7 @@ paths: type: string examples: - wait_timer - wait_timer: &439 + wait_timer: &450 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -68487,11 +69005,11 @@ paths: items: type: object properties: - type: *436 + type: *447 reviewer: anyOf: - *4 - - *212 + - *223 required: - id - node_id @@ -68514,7 +69032,7 @@ paths: - id - node_id - type - deployment_branch_policy: &440 + deployment_branch_policy: &451 type: - object - 'null' @@ -68631,9 +69149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *294 - - *295 - - &438 + - *305 + - *306 + - &449 name: environment_name in: path required: true @@ -68646,9 +69164,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *448 examples: - default: &441 + default: &452 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -68732,9 +69250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 requestBody: required: false content: @@ -68744,7 +69262,7 @@ paths: - object - 'null' properties: - wait_timer: *439 + wait_timer: *450 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -68763,14 +69281,14 @@ paths: items: type: object properties: - type: *436 + type: *447 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *440 + deployment_branch_policy: *451 additionalProperties: false examples: default: @@ -68790,9 +69308,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *448 examples: - default: *441 + default: *452 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -68816,9 +69334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 responses: '204': description: Default response @@ -68843,9 +69361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 - *17 - *18 responses: @@ -68864,7 +69382,7 @@ paths: - 2 branch_policies: type: array - items: &442 + items: &453 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -68925,9 +69443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 requestBody: required: true content: @@ -68975,9 +69493,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *453 examples: - example-wildcard: &443 + example-wildcard: &454 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69019,10 +69537,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *294 - - *295 - - *438 - - &444 + - *305 + - *306 + - *449 + - &455 name: branch_policy_id in: path required: true @@ -69034,9 +69552,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *453 examples: - default: *443 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69055,10 +69573,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *294 - - *295 - - *438 - - *444 + - *305 + - *306 + - *449 + - *455 requestBody: required: true content: @@ -69087,9 +69605,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *453 examples: - default: *443 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69108,10 +69626,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *294 - - *295 - - *438 - - *444 + - *305 + - *306 + - *449 + - *455 responses: '204': description: Response @@ -69136,9 +69654,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: - - *438 - - *295 - - *294 + - *449 + - *306 + - *305 responses: '200': description: List of deployment protection rules @@ -69155,7 +69673,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &445 + items: &456 title: Deployment protection rule description: Deployment protection rule type: object @@ -69177,7 +69695,7 @@ paths: for the environment. examples: - true - app: &446 + app: &457 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69280,9 +69798,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: - - *438 - - *295 - - *294 + - *449 + - *306 + - *305 requestBody: content: application/json: @@ -69303,9 +69821,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *445 + schema: *456 examples: - default: &447 + default: &458 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69340,9 +69858,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: - - *438 - - *295 - - *294 + - *449 + - *306 + - *305 - *18 - *17 responses: @@ -69362,7 +69880,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *446 + items: *457 examples: default: value: @@ -69397,10 +69915,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: - - *294 - - *295 - - *438 - - &448 + - *305 + - *306 + - *449 + - &459 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -69412,9 +69930,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *456 examples: - default: *447 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69435,10 +69953,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: - - *438 - - *295 - - *294 - - *448 + - *449 + - *306 + - *305 + - *459 responses: '204': description: Response @@ -69464,9 +69982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 - *17 - *18 responses: @@ -69484,9 +70002,9 @@ paths: type: integer secrets: type: array - items: *331 + items: *342 examples: - default: *332 + default: *343 headers: Link: *37 x-github: @@ -69511,17 +70029,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 responses: '200': description: Response content: application/json: - schema: *333 + schema: *344 examples: - default: *334 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69543,18 +70061,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *294 - - *295 - - *438 - - *145 + - *305 + - *306 + - *449 + - *156 responses: '200': description: Response content: application/json: - schema: *331 + schema: *342 examples: - default: *449 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69576,10 +70094,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *294 - - *295 - - *438 - - *145 + - *305 + - *306 + - *449 + - *156 requestBody: required: true content: @@ -69610,7 +70128,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -69636,10 +70154,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *294 - - *295 - - *438 - - *145 + - *305 + - *306 + - *449 + - *156 responses: '204': description: Default response @@ -69664,10 +70182,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *294 - - *295 - - *438 - - *318 + - *305 + - *306 + - *449 + - *329 - *18 responses: '200': @@ -69684,9 +70202,9 @@ paths: type: integer variables: type: array - items: *335 + items: *346 examples: - default: *336 + default: *347 headers: Link: *37 x-github: @@ -69709,9 +70227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 requestBody: required: true content: @@ -69738,7 +70256,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -69763,18 +70281,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *294 - - *295 - - *438 - - *148 + - *305 + - *306 + - *449 + - *159 responses: '200': description: Response content: application/json: - schema: *335 + schema: *346 examples: - default: *450 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69795,10 +70313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *294 - - *295 - - *148 - - *438 + - *305 + - *306 + - *159 + - *449 requestBody: required: true content: @@ -69840,10 +70358,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *294 - - *295 - - *148 - - *438 + - *305 + - *306 + - *159 + - *449 responses: '204': description: Response @@ -69865,8 +70383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -69876,7 +70394,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: 200-response: value: @@ -69943,8 +70461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *294 - - *295 + - *305 + - *306 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -69966,7 +70484,7 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: default: value: @@ -70103,8 +70621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -70137,9 +70655,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 + default: *320 '400': *14 '422': *15 '403': *27 @@ -70160,8 +70678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -70212,7 +70730,7 @@ paths: schema: type: string '404': *6 - '409': *122 + '409': *133 '403': *27 '422': description: Validation failed @@ -70220,8 +70738,8 @@ paths: application/json: schema: oneOf: - - *120 - - *451 + - *131 + - *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70246,8 +70764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *294 - - *295 + - *305 + - *306 - name: file_sha in: path required: true @@ -70299,7 +70817,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70346,8 +70864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -70456,7 +70974,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &463 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -70627,7 +71145,7 @@ paths: type: string '422': *15 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70676,15 +71194,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *294 - - *295 - - *408 + - *305 + - *306 + - *419 responses: '200': description: Response content: application/json: - schema: *452 + schema: *463 examples: default: value: @@ -70714,7 +71232,7 @@ paths: signature: payload: '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70739,9 +71257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *294 - - *295 - - &453 + - *305 + - *306 + - &464 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. @@ -70758,7 +71276,7 @@ paths: application/json: schema: type: array - items: &454 + items: &465 title: Git Reference description: Git references within a repository type: object @@ -70813,7 +71331,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *37 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70834,17 +71352,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *294 - - *295 - - *453 + - *305 + - *306 + - *464 responses: '200': description: Response content: application/json: - schema: *454 + schema: *465 examples: - default: &455 + default: &466 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -70854,7 +71372,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70873,8 +71391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -70903,16 +71421,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *465 examples: - default: *455 + default: *466 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70931,9 +71449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *294 - - *295 - - *453 + - *305 + - *306 + - *464 requestBody: required: true content: @@ -70962,11 +71480,11 @@ paths: description: Response content: application/json: - schema: *454 + schema: *465 examples: - default: *455 + default: *466 '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70982,14 +71500,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *294 - - *295 - - *453 + - *305 + - *306 + - *464 responses: '204': description: Response '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71036,8 +71554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -71104,7 +71622,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &468 title: Git Tag description: Metadata for a Git tag type: object @@ -71160,7 +71678,7 @@ paths: - sha - type - url - verification: *456 + verification: *467 required: - sha - url @@ -71170,7 +71688,7 @@ paths: - tag - message examples: - default: &458 + default: &469 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71196,7 +71714,7 @@ paths: schema: type: string '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71241,8 +71759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *294 - - *295 + - *305 + - *306 - name: tag_sha in: path required: true @@ -71253,11 +71771,11 @@ paths: description: Response content: application/json: - schema: *457 + schema: *468 examples: - default: *458 + default: *469 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71279,8 +71797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -71354,7 +71872,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &470 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -71449,7 +71967,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71472,8 +71990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *294 - - *295 + - *305 + - *306 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -71496,7 +72014,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: default-response: summary: Default response @@ -71537,7 +72055,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71555,8 +72073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -71566,7 +72084,7 @@ paths: application/json: schema: type: array - items: &460 + items: &471 title: Webhook description: Webhooks for repositories. type: object @@ -71629,7 +72147,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &696 + last_response: &707 title: Hook Response type: object properties: @@ -71706,8 +72224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -71760,9 +72278,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *471 examples: - default: &461 + default: &472 value: type: Repository id: 12345678 @@ -71810,17 +72328,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '200': description: Response content: application/json: - schema: *460 + schema: *471 examples: - default: *461 + default: *472 '404': *6 x-github: githubCloudOnly: false @@ -71840,9 +72358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 requestBody: required: true content: @@ -71887,9 +72405,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *471 examples: - default: *461 + default: *472 '422': *15 '404': *6 x-github: @@ -71907,9 +72425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '204': description: Response @@ -71933,9 +72451,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: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '200': description: Response @@ -71962,9 +72480,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: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 requestBody: required: false content: @@ -72008,11 +72526,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 - *17 - - *190 + - *201 responses: '200': description: Response @@ -72020,9 +72538,9 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: - default: *192 + default: *203 '400': *14 '422': *15 x-github: @@ -72041,18 +72559,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: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 - *16 responses: '200': description: Response content: application/json: - schema: *193 + schema: *204 examples: - default: *194 + default: *205 '400': *14 '422': *15 x-github: @@ -72071,12 +72589,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 - *16 responses: - '202': *123 + '202': *134 '400': *14 '422': *15 x-github: @@ -72096,9 +72614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '204': description: Response @@ -72123,9 +72641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '204': description: Response @@ -72183,14 +72701,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: &462 + schema: &473 title: Import description: A repository import from an external source. type: object @@ -72297,7 +72815,7 @@ paths: - html_url - authors_url examples: - default: &465 + default: &476 value: vcs: subversion use_lfs: true @@ -72313,7 +72831,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': &463 + '503': &474 description: Unavailable due to service under maintenance. content: application/json: @@ -72342,8 +72860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -72391,7 +72909,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *473 examples: default: value: @@ -72416,7 +72934,7 @@ paths: type: string '422': *15 '404': *6 - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72444,8 +72962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -72497,7 +73015,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *473 examples: example-1: summary: Example 1 @@ -72545,7 +73063,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': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72568,12 +73086,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72599,9 +73117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *294 - - *295 - - &645 + - *305 + - *306 + - &656 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -72615,7 +73133,7 @@ paths: application/json: schema: type: array - items: &464 + items: &475 title: Porter Author description: Porter Author type: object @@ -72669,7 +73187,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': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72694,8 +73212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *294 - - *295 + - *305 + - *306 - name: author_id in: path required: true @@ -72725,7 +73243,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: default: value: @@ -72738,7 +73256,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72762,8 +73280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -72804,7 +73322,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72832,8 +73350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -72860,11 +73378,11 @@ paths: description: Response content: application/json: - schema: *462 + schema: *473 examples: - default: *465 + default: *476 '422': *15 - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72887,8 +73405,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -72896,8 +73414,8 @@ paths: application/json: schema: *20 examples: - default: *466 - '301': *308 + default: *477 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -72917,8 +73435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -72926,12 +73444,12 @@ paths: application/json: schema: anyOf: - - *207 + - *218 - type: object properties: {} additionalProperties: false examples: - default: &468 + default: &479 value: limit: collaborators_only origin: repository @@ -72956,13 +73474,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: application/json: - schema: *467 + schema: *478 examples: default: summary: Example request body @@ -72974,9 +73492,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *218 examples: - default: *468 + default: *479 '409': description: Response x-github: @@ -72998,8 +73516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -73022,8 +73540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -73033,9 +73551,9 @@ paths: application/json: schema: type: array - items: *469 + items: *480 examples: - default: &638 + default: &649 value: - id: 1 repository: @@ -73166,9 +73684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *294 - - *295 - - *211 + - *305 + - *306 + - *222 requestBody: required: false content: @@ -73197,7 +73715,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: default: value: @@ -73328,9 +73846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *294 - - *295 - - *211 + - *305 + - *306 + - *222 responses: '204': description: Response @@ -73361,8 +73879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *294 - - *295 + - *305 + - *306 - 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 @@ -73402,7 +73920,7 @@ paths: required: false schema: type: string - - *213 + - *224 - name: sort description: What to sort results by. in: query @@ -73414,8 +73932,8 @@ paths: - updated - comments default: created - - *65 - - *91 + - *76 + - *102 - *17 - *18 responses: @@ -73425,7 +73943,7 @@ paths: application/json: schema: type: array - items: *101 + items: *112 examples: default: value: @@ -73575,7 +74093,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *308 + '301': *319 '422': *15 '404': *6 x-github: @@ -73604,8 +74122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -73686,9 +74204,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: &473 + default: &484 value: id: 1 node_id: MDU6SXNzdWUx @@ -73842,9 +74360,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *81 + '503': *92 '404': *6 - '410': *305 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -73872,9 +74390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *294 - - *295 - - *110 + - *305 + - *306 + - *121 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -73884,7 +74402,7 @@ paths: enum: - asc - desc - - *91 + - *102 - *17 - *18 responses: @@ -73894,9 +74412,9 @@ paths: application/json: schema: type: array - items: *470 + items: *481 examples: - default: &475 + default: &486 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73954,17 +74472,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '200': description: Response content: application/json: - schema: *470 + schema: *481 examples: - default: &471 + default: &482 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74018,9 +74536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -74042,9 +74560,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *481 examples: - default: *471 + default: *482 '422': *15 x-github: githubCloudOnly: false @@ -74062,9 +74580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '204': description: Response @@ -74084,9 +74602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 - 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. @@ -74112,9 +74630,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 @@ -74135,9 +74653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -74169,16 +74687,16 @@ paths: description: Reaction exists content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Reaction created content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -74200,10 +74718,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *294 - - *295 - - *100 - - *286 + - *305 + - *306 + - *111 + - *297 responses: '204': description: Response @@ -74223,8 +74741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -74234,7 +74752,7 @@ paths: application/json: schema: type: array - items: &472 + items: &483 title: Issue Event description: Issue Event type: object @@ -74281,7 +74799,7 @@ paths: issue: anyOf: - type: 'null' - - *101 + - *112 label: title: Issue Event Label description: Issue Event Label @@ -74314,7 +74832,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *212 + requested_team: *223 dismissed_review: title: Issue Event Dismissed Review type: object @@ -74381,7 +74899,7 @@ paths: required: - from - to - author_association: *88 + author_association: *99 lock_reason: type: - string @@ -74573,8 +75091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *294 - - *295 + - *305 + - *306 - name: event_id in: path required: true @@ -74585,7 +75103,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *483 examples: default: value: @@ -74778,7 +75296,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *305 + '410': *316 '403': *27 x-github: githubCloudOnly: false @@ -74812,9 +75330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *294 - - *295 - - &474 + - *305 + - *306 + - &485 name: issue_number description: The number that identifies the issue. in: path @@ -74826,12 +75344,12 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: *473 - '301': *308 + default: *484 + '301': *319 '404': *6 - '410': *305 + '410': *316 '304': *35 x-github: githubCloudOnly: false @@ -74856,9 +75374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -74966,15 +75484,15 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: *473 + default: *484 '422': *15 - '503': *81 + '503': *92 '403': *27 - '301': *308 + '301': *319 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74992,9 +75510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -75020,9 +75538,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: *473 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75038,9 +75556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: content: application/json: @@ -75065,9 +75583,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: *473 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75089,9 +75607,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: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - name: assignee in: path required: true @@ -75131,10 +75649,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *294 - - *295 - - *474 - - *91 + - *305 + - *306 + - *485 + - *102 - *17 - *18 responses: @@ -75144,13 +75662,13 @@ paths: application/json: schema: type: array - items: *470 + items: *481 examples: - default: *475 + default: *486 headers: Link: *37 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75179,9 +75697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: true content: @@ -75203,16 +75721,16 @@ paths: description: Response content: application/json: - schema: *470 + schema: *481 examples: - default: *471 + default: *482 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *305 + '410': *316 '422': *15 '404': *6 x-github: @@ -75232,9 +75750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - *17 - *18 responses: @@ -75248,7 +75766,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &478 + - &489 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75297,7 +75815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &479 + - &490 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -75425,7 +75943,7 @@ paths: - performed_via_github_app - assignee - assigner - - &480 + - &491 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -75471,7 +75989,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &481 + - &492 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -75517,7 +76035,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &482 + - &493 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -75566,7 +76084,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &483 + - &494 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -75595,7 +76113,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *212 + requested_team: *223 requested_reviewer: *4 required: - review_requester @@ -75608,7 +76126,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &484 + - &495 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -75637,7 +76155,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *212 + requested_team: *223 requested_reviewer: *4 required: - review_requester @@ -75650,7 +76168,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &496 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -75706,7 +76224,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &497 title: Locked Issue Event description: Locked Issue Event type: object @@ -75751,7 +76269,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &498 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -75812,7 +76330,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &499 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -75873,7 +76391,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &500 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -75934,7 +76452,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &501 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76027,7 +76545,7 @@ paths: color: red headers: Link: *37 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76044,9 +76562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - *17 - *18 responses: @@ -76056,7 +76574,7 @@ paths: application/json: schema: type: array - items: &476 + items: &487 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -76111,7 +76629,7 @@ paths: - color - default examples: - default: &477 + default: &488 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76129,9 +76647,9 @@ paths: default: false headers: Link: *37 - '301': *308 + '301': *319 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76148,9 +76666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -76209,12 +76727,12 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 - '301': *308 + default: *488 + '301': *319 '404': *6 - '410': *305 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -76231,9 +76749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -76293,12 +76811,12 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 - '301': *308 + default: *488 + '301': *319 '404': *6 - '410': *305 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -76315,15 +76833,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 responses: '204': description: Response - '301': *308 + '301': *319 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76342,9 +76860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - name: name in: path required: true @@ -76357,7 +76875,7 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: default: value: @@ -76368,9 +76886,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *308 + '301': *319 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76390,9 +76908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -76421,7 +76939,7 @@ paths: '204': description: Response '403': *27 - '410': *305 + '410': *316 '404': *6 '422': *15 x-github: @@ -76439,9 +76957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 responses: '204': description: Response @@ -76463,9 +76981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - 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. @@ -76491,13 +77009,13 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76515,9 +77033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: true content: @@ -76549,16 +77067,16 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -76580,10 +77098,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *294 - - *295 - - *474 - - *286 + - *305 + - *306 + - *485 + - *297 responses: '204': description: Response @@ -76603,9 +77121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - *17 - *18 responses: @@ -76620,19 +77138,19 @@ paths: description: Timeline Event type: object anyOf: - - *478 - - *479 - - *480 - - *481 - - *482 - - *483 - - *484 - - *485 - - *486 - - *487 - - *488 - *489 - *490 + - *491 + - *492 + - *493 + - *494 + - *495 + - *496 + - *497 + - *498 + - *499 + - *500 + - *501 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -76680,12 +77198,12 @@ paths: issue_url: type: string format: uri - author_association: *88 + author_association: *99 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *89 + reactions: *100 required: - event - actor @@ -76716,7 +77234,7 @@ paths: properties: type: type: string - issue: *101 + issue: *112 required: - event - created_at @@ -76928,7 +77446,7 @@ paths: type: string body_text: type: string - author_association: *88 + author_association: *99 required: - event - id @@ -76951,7 +77469,7 @@ paths: type: string comments: type: array - items: &510 + items: &521 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -77056,7 +77574,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *88 + author_association: *99 _links: type: object properties: @@ -77151,7 +77669,7 @@ paths: enum: - line - file - reactions: *89 + reactions: *100 body_html: type: string examples: @@ -77189,7 +77707,7 @@ paths: type: string comments: type: array - items: *406 + items: *417 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -77464,7 +77982,7 @@ paths: headers: Link: *37 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77481,8 +77999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -77492,7 +78010,7 @@ paths: application/json: schema: type: array - items: &491 + items: &502 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -77559,8 +78077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -77596,9 +78114,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: &492 + default: &503 value: id: 1 key: ssh-rsa AAA... @@ -77632,9 +78150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *294 - - *295 - - &493 + - *305 + - *306 + - &504 name: key_id description: The unique identifier of the key. in: path @@ -77646,9 +78164,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: *492 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -77666,9 +78184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *294 - - *295 - - *493 + - *305 + - *306 + - *504 responses: '204': description: Response @@ -77688,8 +78206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -77699,9 +78217,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 + default: *488 headers: Link: *37 '404': *6 @@ -77722,8 +78240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -77759,9 +78277,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: - default: &494 + default: &505 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77793,8 +78311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *294 - - *295 + - *305 + - *306 - name: name in: path required: true @@ -77805,9 +78323,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: - default: *494 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -77824,8 +78342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *294 - - *295 + - *305 + - *306 - name: name in: path required: true @@ -77864,7 +78382,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: default: value: @@ -77890,8 +78408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *294 - - *295 + - *305 + - *306 - name: name in: path required: true @@ -77917,8 +78435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -77954,10 +78472,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: - '202': *123 + '202': *134 '403': description: |- We will return a 403 with one of the following messages: @@ -77983,8 +78501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -78010,9 +78528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *294 - - *295 - - *383 + - *305 + - *306 + - *394 responses: '200': description: Response @@ -78078,7 +78596,7 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 required: - _links - git_url @@ -78159,8 +78677,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -78225,8 +78743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -78260,9 +78778,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *407 + schema: *418 examples: - default: *495 + default: *506 '204': description: Response when already merged '404': @@ -78287,8 +78805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *294 - - *295 + - *305 + - *306 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -78329,7 +78847,7 @@ paths: application/json: schema: type: array - items: *411 + items: *422 examples: default: value: @@ -78385,8 +78903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -78426,9 +78944,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: &496 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -78487,9 +79005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *294 - - *295 - - &497 + - *305 + - *306 + - &508 name: milestone_number description: The number that identifies the milestone. in: path @@ -78501,9 +79019,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: *496 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -78520,9 +79038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *294 - - *295 - - *497 + - *305 + - *306 + - *508 requestBody: required: false content: @@ -78560,9 +79078,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: *496 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78578,9 +79096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *294 - - *295 - - *497 + - *305 + - *306 + - *508 responses: '204': description: Response @@ -78601,9 +79119,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: - - *294 - - *295 - - *497 + - *305 + - *306 + - *508 - *17 - *18 responses: @@ -78613,9 +79131,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 + default: *488 headers: Link: *37 x-github: @@ -78634,12 +79152,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: - - *294 - - *295 - - *498 - - *499 - - *91 - - *500 + - *305 + - *306 + - *509 + - *510 + - *102 + - *511 - *17 - *18 responses: @@ -78649,9 +79167,9 @@ paths: application/json: schema: type: array - items: *113 + items: *124 examples: - default: *501 + default: *512 headers: Link: *37 x-github: @@ -78675,8 +79193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -78734,14 +79252,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: &502 + schema: &513 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -78885,7 +79403,7 @@ paths: - custom_404 - public examples: - default: &503 + default: &514 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -78926,8 +79444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -78982,11 +79500,11 @@ paths: description: Response content: application/json: - schema: *502 + schema: *513 examples: - default: *503 + default: *514 '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79007,8 +79525,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -79095,7 +79613,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79116,14 +79634,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response '422': *15 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79143,8 +79661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -79154,7 +79672,7 @@ paths: application/json: schema: type: array - items: &504 + items: &515 title: Page Build description: Page Build type: object @@ -79246,8 +79764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *294 - - *295 + - *305 + - *306 responses: '201': description: Response @@ -79294,16 +79812,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *504 + schema: *515 examples: - default: &505 + default: &516 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -79351,8 +79869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *294 - - *295 + - *305 + - *306 - name: build_id in: path required: true @@ -79363,9 +79881,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *515 examples: - default: *505 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79385,8 +79903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -79495,9 +80013,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: - - *294 - - *295 - - &506 + - *305 + - *306 + - &517 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -79555,11 +80073,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *294 - - *295 - - *506 + - *305 + - *306 + - *517 responses: - '204': *166 + '204': *177 '404': *6 x-github: githubCloudOnly: false @@ -79584,8 +80102,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -79853,7 +80371,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -79880,8 +80398,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Private vulnerability reporting status @@ -79918,10 +80436,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: - '204': *166 + '204': *177 '422': *14 x-github: githubCloudOnly: false @@ -79940,10 +80458,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: - '204': *166 + '204': *177 '422': *14 x-github: githubCloudOnly: false @@ -79964,8 +80482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *294 - - *295 + - *305 + - *306 - name: state description: Indicates the state of the projects to return. in: query @@ -79986,7 +80504,7 @@ paths: application/json: schema: type: array - items: *240 + items: *251 examples: default: value: @@ -80026,7 +80544,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *305 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -80046,8 +80564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -80073,13 +80591,13 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: *304 + default: *315 '401': *23 '403': *27 '404': *6 - '410': *305 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -80099,8 +80617,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -80108,7 +80626,7 @@ paths: application/json: schema: type: array - items: *245 + items: *256 examples: default: value: @@ -80139,8 +80657,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -80152,7 +80670,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *245 + items: *256 required: - properties examples: @@ -80202,8 +80720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *294 - - *295 + - *305 + - *306 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -80263,9 +80781,9 @@ paths: application/json: schema: type: array - items: *507 + items: *518 examples: - default: *508 + default: *519 headers: Link: *37 '304': *35 @@ -80297,8 +80815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -80365,7 +80883,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &523 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -80494,7 +81012,7 @@ paths: milestone: anyOf: - type: 'null' - - *411 + - *422 active_lock_reason: type: - string @@ -80549,7 +81067,7 @@ paths: type: - array - 'null' - items: *225 + items: *236 head: type: object properties: @@ -80587,14 +81105,14 @@ paths: _links: type: object properties: - comments: *412 - commits: *412 - statuses: *412 - html: *412 - issue: *412 - review_comments: *412 - review_comment: *412 - self: *412 + comments: *423 + commits: *423 + statuses: *423 + html: *423 + issue: *423 + review_comments: *423 + review_comment: *423 + self: *423 required: - comments - commits @@ -80604,8 +81122,8 @@ paths: - review_comments - review_comment - self - author_association: *88 - auto_merge: *509 + author_association: *99 + auto_merge: *520 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -80707,7 +81225,7 @@ paths: - merged_by - review_comments examples: - default: &513 + default: &524 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81234,8 +81752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - name: sort in: query required: false @@ -81254,7 +81772,7 @@ paths: enum: - asc - desc - - *91 + - *102 - *17 - *18 responses: @@ -81264,9 +81782,9 @@ paths: application/json: schema: type: array - items: *510 + items: *521 examples: - default: &515 + default: &526 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81343,17 +81861,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '200': description: Response content: application/json: - schema: *510 + schema: *521 examples: - default: &511 + default: &522 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81428,9 +81946,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -81452,9 +81970,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: - default: *511 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81470,9 +81988,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '204': description: Response @@ -81493,9 +82011,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 - 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. @@ -81521,9 +82039,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 @@ -81544,9 +82062,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -81578,16 +82096,16 @@ paths: description: Reaction exists content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Reaction created content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -81609,10 +82127,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *294 - - *295 - - *100 - - *286 + - *305 + - *306 + - *111 + - *297 responses: '204': description: Response @@ -81655,9 +82173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *294 - - *295 - - &514 + - *305 + - *306 + - &525 name: pull_number description: The number that identifies the pull request. in: path @@ -81670,9 +82188,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *512 + schema: *523 examples: - default: *513 + default: *524 '304': *35 '404': *6 '406': @@ -81680,8 +82198,8 @@ paths: content: application/json: schema: *3 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81707,9 +82225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -81751,9 +82269,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *513 + default: *524 '422': *15 '403': *27 x-github: @@ -81775,9 +82293,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: true content: @@ -81838,21 +82356,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '401': *23 '403': *27 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81878,10 +82396,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: - - *294 - - *295 - - *514 - - *110 + - *305 + - *306 + - *525 + - *121 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -81891,7 +82409,7 @@ paths: enum: - asc - desc - - *91 + - *102 - *17 - *18 responses: @@ -81901,9 +82419,9 @@ paths: application/json: schema: type: array - items: *510 + items: *521 examples: - default: *515 + default: *526 headers: Link: *37 x-github: @@ -81936,9 +82454,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: true content: @@ -82044,7 +82562,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: example-for-a-multi-line-comment: value: @@ -82132,10 +82650,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: - - *294 - - *295 - - *514 - - *100 + - *305 + - *306 + - *525 + - *111 requestBody: required: true content: @@ -82157,7 +82675,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: default: value: @@ -82243,9 +82761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 - *17 - *18 responses: @@ -82255,9 +82773,9 @@ paths: application/json: schema: type: array - items: *407 + items: *418 examples: - default: *516 + default: *527 headers: Link: *37 x-github: @@ -82287,9 +82805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 - *17 - *18 responses: @@ -82299,7 +82817,7 @@ paths: application/json: schema: type: array - items: *419 + items: *430 examples: default: value: @@ -82317,8 +82835,8 @@ paths: headers: Link: *37 '422': *15 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82337,9 +82855,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 responses: '204': description: Response if pull request has been merged @@ -82362,9 +82880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -82476,9 +82994,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 responses: '200': description: Response @@ -82494,7 +83012,7 @@ paths: items: *4 teams: type: array - items: *212 + items: *223 required: - users - teams @@ -82553,9 +83071,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -82592,7 +83110,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *518 examples: default: value: @@ -83128,9 +83646,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: true content: @@ -83164,7 +83682,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *518 examples: default: value: @@ -83669,9 +84187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 - *17 - *18 responses: @@ -83681,7 +84199,7 @@ paths: application/json: schema: type: array - items: &517 + items: &528 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -83755,7 +84273,7 @@ paths: type: string body_text: type: string - author_association: *88 + author_association: *99 required: - id - node_id @@ -83837,9 +84355,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -83929,9 +84447,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: - default: &519 + default: &530 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83994,10 +84512,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: - - *294 - - *295 - - *514 - - &518 + - *305 + - *306 + - *525 + - &529 name: review_id description: The unique identifier of the review. in: path @@ -84009,9 +84527,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: - default: &520 + default: &531 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84070,10 +84588,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 requestBody: required: true content: @@ -84096,7 +84614,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: default: value: @@ -84158,18 +84676,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 responses: '200': description: Response content: application/json: - schema: *517 + schema: *528 examples: - default: *519 + default: *530 '422': *7 '404': *6 x-github: @@ -84196,10 +84714,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 - *17 - *18 responses: @@ -84293,13 +84811,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *88 + author_association: *99 _links: type: object properties: - self: *412 - html: *412 - pull_request: *412 + self: *423 + html: *423 + pull_request: *423 required: - self - html @@ -84308,7 +84826,7 @@ paths: type: string body_html: type: string - reactions: *89 + reactions: *100 side: description: The side of the first line of the range for a multi-line comment. @@ -84450,10 +84968,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 requestBody: required: true content: @@ -84482,7 +85000,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: default: value: @@ -84545,10 +85063,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 requestBody: required: true content: @@ -84583,9 +85101,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: - default: *520 + default: *531 '404': *6 '422': *7 '403': *27 @@ -84607,9 +85125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -84673,8 +85191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *294 - - *295 + - *305 + - *306 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -84687,9 +85205,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: &522 + default: &533 value: type: file encoding: base64 @@ -84731,8 +85249,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: - - *294 - - *295 + - *305 + - *306 - name: dir description: The alternate path to look for a README file in: path @@ -84752,9 +85270,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: *522 + default: *533 '404': *6 '422': *15 x-github: @@ -84776,8 +85294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -84787,7 +85305,7 @@ paths: application/json: schema: type: array - items: &523 + items: &534 title: Release description: A release. type: object @@ -84859,7 +85377,7 @@ paths: author: *4 assets: type: array - items: &524 + items: &535 title: Release Asset description: Data related to a release. type: object @@ -84929,7 +85447,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *89 + reactions: *100 required: - assets_url - upload_url @@ -85039,8 +85557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -85116,9 +85634,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: &527 + default: &538 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -85221,9 +85739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *294 - - *295 - - &525 + - *305 + - *306 + - &536 name: asset_id description: The unique identifier of the asset. in: path @@ -85235,9 +85753,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *535 examples: - default: &526 + default: &537 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 @@ -85271,7 +85789,7 @@ paths: type: User site_admin: false '404': *6 - '302': *421 + '302': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85287,9 +85805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *294 - - *295 - - *525 + - *305 + - *306 + - *536 requestBody: required: false content: @@ -85318,9 +85836,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *535 examples: - default: *526 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85336,9 +85854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *294 - - *295 - - *525 + - *305 + - *306 + - *536 responses: '204': description: Response @@ -85362,8 +85880,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -85449,16 +85967,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: *527 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85475,8 +85993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *294 - - *295 + - *305 + - *306 - name: tag description: tag parameter in: path @@ -85489,9 +86007,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: *527 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -85513,9 +86031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *294 - - *295 - - &528 + - *305 + - *306 + - &539 name: release_id description: The unique identifier of the release. in: path @@ -85529,9 +86047,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: *523 + schema: *534 examples: - default: *527 + default: *538 '401': description: Unauthorized x-github: @@ -85549,9 +86067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 requestBody: required: false content: @@ -85615,9 +86133,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: *527 + default: *538 '404': description: Not Found if the discussion category name is invalid content: @@ -85638,9 +86156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 responses: '204': description: Response @@ -85660,9 +86178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 - *17 - *18 responses: @@ -85672,7 +86190,7 @@ paths: application/json: schema: type: array - items: *524 + items: *535 examples: default: value: @@ -85753,9 +86271,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: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 - name: name in: query required: true @@ -85781,7 +86299,7 @@ paths: description: Response for successful upload content: application/json: - schema: *524 + schema: *535 examples: response-for-successful-upload: value: @@ -85835,9 +86353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 - 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. @@ -85861,9 +86379,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 @@ -85884,9 +86402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 requestBody: required: true content: @@ -85916,16 +86434,16 @@ paths: description: Reaction exists content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Reaction created content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -85947,10 +86465,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *294 - - *295 - - *528 - - *286 + - *305 + - *306 + - *539 + - *297 responses: '204': description: Response @@ -85974,9 +86492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 - *17 - *18 responses: @@ -85992,8 +86510,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *529 - - &531 + - *540 + - &542 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86013,53 +86531,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *530 - - *531 + - *541 + - *542 - allOf: - - *532 - - *531 + - *543 + - *542 - allOf: - - *533 - - *531 + - *544 + - *542 - allOf: - - *534 - - *531 + - *545 + - *542 - allOf: - - *535 - - *531 + - *546 + - *542 - allOf: - - *536 - - *531 + - *547 + - *542 - allOf: - - *537 - - *531 + - *548 + - *542 - allOf: - - *538 - - *531 + - *549 + - *542 - allOf: - - *539 - - *531 + - *550 + - *542 - allOf: - - *540 - - *531 + - *551 + - *542 - allOf: - - *541 - - *531 + - *552 + - *542 - allOf: + - *553 - *542 - - *531 - allOf: - - *543 - - *531 + - *554 + - *542 - allOf: - - *544 - - *531 + - *555 + - *542 - allOf: - - *545 - - *531 + - *556 + - *542 - allOf: - - *546 - - *531 + - *557 + - *542 examples: default: value: @@ -86098,8 +86616,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 - name: includes_parents @@ -86110,7 +86628,7 @@ paths: schema: type: boolean default: true - - *547 + - *558 responses: '200': description: Response @@ -86118,7 +86636,7 @@ paths: application/json: schema: type: array - items: *255 + items: *266 examples: default: value: @@ -86149,7 +86667,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *69 + '500': *80 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -86165,8 +86683,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 requestBody: description: Request body required: true @@ -86186,16 +86704,16 @@ paths: - tag - push default: branch - enforcement: *251 + enforcement: *262 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *252 - conditions: *249 + items: *263 + conditions: *260 rules: type: array description: An array of rules within the ruleset. - items: *254 + items: *265 required: - name - enforcement @@ -86226,9 +86744,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: &557 + default: &568 value: id: 42 name: super cool ruleset @@ -86261,7 +86779,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *69 + '500': *80 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -86275,12 +86793,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *294 - - *295 - - *548 - - *549 - - *550 - - *551 + - *305 + - *306 + - *559 + - *560 + - *561 + - *562 - *17 - *18 responses: @@ -86288,11 +86806,11 @@ paths: description: Response content: application/json: - schema: *552 + schema: *563 examples: - default: *553 + default: *564 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86311,19 +86829,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *294 - - *295 - - *554 + - *305 + - *306 + - *565 responses: '200': description: Response content: application/json: - schema: *555 + schema: *566 examples: - default: *556 + default: *567 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86349,8 +86867,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86370,11 +86888,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: *557 + default: *568 '404': *6 - '500': *69 + '500': *80 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -86390,8 +86908,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86416,16 +86934,16 @@ paths: - branch - tag - push - enforcement: *251 + enforcement: *262 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *252 - conditions: *249 + items: *263 + conditions: *260 rules: description: An array of rules within the ruleset. type: array - items: *254 + items: *265 examples: default: value: @@ -86453,11 +86971,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: *557 + default: *568 '404': *6 - '500': *69 + '500': *80 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -86473,8 +86991,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86485,7 +87003,7 @@ paths: '204': description: Response '404': *6 - '500': *69 + '500': *80 "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -86502,20 +87020,20 @@ 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: - - *294 - - *295 - - *257 - - *258 - - *259 - - *260 - - *65 + - *305 + - *306 + - *268 + - *269 + - *270 + - *271 + - *76 - *18 - *17 - - *558 - - *559 - - *261 - - *262 - - *263 + - *569 + - *570 + - *272 + - *273 + - *274 responses: '200': description: Response @@ -86523,24 +87041,24 @@ paths: application/json: schema: type: array - items: &562 + items: &573 type: object properties: - number: *70 - created_at: *76 + number: *81 + created_at: *87 updated_at: anyOf: - type: 'null' - - *77 - url: *74 - html_url: *75 + - *88 + url: *85 + html_url: *86 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *560 - resolution: *561 + state: *571 + resolution: *572 resolved_at: type: - string @@ -86723,7 +87241,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86745,15 +87263,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 responses: '200': description: Response content: application/json: - schema: *562 + schema: *573 examples: default: value: @@ -86783,7 +87301,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86804,9 +87322,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: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 requestBody: required: true content: @@ -86814,8 +87332,8 @@ paths: schema: type: object properties: - state: *560 - resolution: *561 + state: *571 + resolution: *572 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -86834,7 +87352,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *573 examples: default: value: @@ -86886,7 +87404,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86908,9 +87426,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: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 - *18 - *17 responses: @@ -86921,7 +87439,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &717 + items: &728 type: object properties: type: @@ -87278,7 +87796,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87300,8 +87818,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -87309,14 +87827,14 @@ paths: schema: type: object properties: - reason: &564 + reason: &575 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *563 + placeholder_id: *574 required: - reason - placeholder_id @@ -87333,7 +87851,7 @@ paths: schema: type: object properties: - reason: *564 + reason: *575 expire_at: type: - string @@ -87357,7 +87875,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87379,9 +87897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *294 - - *295 - - *65 + - *305 + - *306 + - *76 - name: sort description: The property to sort the results by. in: query @@ -87393,8 +87911,8 @@ paths: - updated - published default: created - - *63 - - *64 + - *74 + - *75 - name: per_page description: The number of advisories to return per page. 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)." @@ -87424,9 +87942,9 @@ paths: application/json: schema: type: array - items: *565 + items: *576 examples: - default: *566 + default: *577 '400': *14 '404': *6 x-github: @@ -87449,8 +87967,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -87530,7 +88048,7 @@ paths: login: type: string description: The username of the user credited. - type: *266 + type: *277 required: - login - type @@ -87620,9 +88138,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *576 examples: - default: &568 + default: &579 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87855,8 +88373,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -87969,7 +88487,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *576 examples: default: value: @@ -88116,17 +88634,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: - - *294 - - *295 - - *567 + - *305 + - *306 + - *578 responses: '200': description: Response content: application/json: - schema: *565 + schema: *576 examples: - default: *568 + default: *579 '403': *27 '404': *6 x-github: @@ -88150,9 +88668,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: - - *294 - - *295 - - *567 + - *305 + - *306 + - *578 requestBody: required: true content: @@ -88232,7 +88750,7 @@ paths: login: type: string description: The username of the user credited. - type: *266 + type: *277 required: - login - type @@ -88323,17 +88841,17 @@ paths: description: Response content: application/json: - schema: *565 + schema: *576 examples: - default: *568 - add_credit: *568 + default: *579 + add_credit: *579 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *120 + schema: *131 examples: invalid_state_transition: value: @@ -88364,11 +88882,11 @@ 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: - - *294 - - *295 - - *567 + - *305 + - *306 + - *578 responses: - '202': *123 + '202': *134 '400': *14 '403': *27 '404': *6 @@ -88393,17 +88911,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: - - *294 - - *295 - - *567 + - *305 + - *306 + - *578 responses: '202': description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 + default: *320 '400': *14 '422': *15 '403': *27 @@ -88429,8 +88947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -88526,8 +89044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -88536,7 +89054,7 @@ paths: application/json: schema: type: array - items: &569 + items: &580 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88548,8 +89066,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *123 - '204': *166 + '202': *134 + '204': *177 '422': description: Repository contains more than 10,000 commits x-github: @@ -88569,8 +89087,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -88620,8 +89138,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *123 - '204': *166 + '202': *134 + '204': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88648,8 +89166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -88720,8 +89238,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *123 - '204': *166 + '202': *134 + '204': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88743,8 +89261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -88898,8 +89416,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -88909,7 +89427,7 @@ paths: application/json: schema: type: array - items: *569 + items: *580 examples: default: value: @@ -88922,7 +89440,7 @@ paths: - - 0 - 2 - 21 - '204': *166 + '204': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88942,8 +89460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *294 - - *295 + - *305 + - *306 - name: sha in: path required: true @@ -88999,7 +89517,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *581 examples: default: value: @@ -89053,8 +89571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -89066,7 +89584,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -89086,14 +89604,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &571 + schema: &582 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89166,8 +89684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -89193,7 +89711,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *582 examples: default: value: @@ -89220,8 +89738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -89241,8 +89759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -89324,8 +89842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -89333,7 +89851,7 @@ paths: application/json: schema: type: array - items: &572 + items: &583 title: Tag protection description: Tag protection type: object @@ -89390,8 +89908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -89414,7 +89932,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *583 examples: default: value: @@ -89445,8 +89963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -89483,8 +90001,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *294 - - *295 + - *305 + - *306 - name: ref in: path required: true @@ -89520,8 +90038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -89531,9 +90049,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 headers: Link: *37 '404': *6 @@ -89553,8 +90071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *294 - - *295 + - *305 + - *306 - *18 - *17 responses: @@ -89562,7 +90080,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &584 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -89574,7 +90092,7 @@ paths: required: - names examples: - default: &574 + default: &585 value: names: - octocat @@ -89597,8 +90115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -89629,9 +90147,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *584 examples: - default: *574 + default: *585 '404': *6 '422': *7 x-github: @@ -89652,9 +90170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *294 - - *295 - - &575 + - *305 + - *306 + - &586 name: per description: The time frame to display results for. in: query @@ -89685,7 +90203,7 @@ paths: - 128 clones: type: array - items: &576 + items: &587 title: Traffic type: object properties: @@ -89772,8 +90290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -89867,8 +90385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -89931,9 +90449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *294 - - *295 - - *575 + - *305 + - *306 + - *586 responses: '200': description: Response @@ -89954,7 +90472,7 @@ paths: - 3782 views: type: array - items: *576 + items: *587 required: - uniques - count @@ -90031,8 +90549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -90068,7 +90586,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *146 examples: default: value: @@ -90306,8 +90824,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -90330,8 +90848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -90353,8 +90871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -90380,8 +90898,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *294 - - *295 + - *305 + - *306 - name: ref in: path required: true @@ -90473,9 +90991,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -90516,7 +91034,7 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: default: value: @@ -90629,7 +91147,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &584 + - &595 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -90639,7 +91157,7 @@ paths: type: string examples: - members - - &589 + - &600 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -90651,7 +91169,7 @@ paths: format: int32 examples: - 1 - - &590 + - &601 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -90695,7 +91213,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &578 + items: &589 allOf: - type: object required: @@ -90777,7 +91295,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: &591 + meta: &602 type: object description: The metadata associated with the creation/updates to the user. @@ -90842,31 +91360,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &579 + '400': &590 description: Bad request content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '401': &580 + schema: *588 + '401': &591 description: Authorization failure - '403': &581 + '403': &592 description: Permission denied - '429': &582 + '429': &593 description: Too many requests content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '500': &583 + schema: *588 + '500': &594 description: Internal server error content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 + schema: *588 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90893,7 +91411,7 @@ paths: required: true content: application/json: - schema: &587 + schema: &598 type: object required: - schemas @@ -90953,9 +91471,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *578 + schema: *589 examples: - group: &585 + group: &596 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -90974,13 +91492,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': *579 - '401': *580 - '403': *581 - '409': &588 + '400': *590 + '401': *591 + '403': *592 + '409': &599 description: Duplicate record detected - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91001,7 +91519,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: - - &586 + - &597 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -91010,22 +91528,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *584 + - *595 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *578 + schema: *589 examples: - default: *585 - '400': *579 - '401': *580 - '403': *581 + default: *596 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91047,13 +91565,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: - - *586 + - *597 - *38 requestBody: required: true content: application/json: - schema: *587 + schema: *598 examples: group: summary: Group @@ -91079,17 +91597,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *578 + schema: *589 examples: - group: *585 - groupWithMembers: *585 - '400': *579 - '401': *580 - '403': *581 + group: *596 + groupWithMembers: *596 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '409': *588 - '429': *582 - '500': *583 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91116,13 +91634,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: - - *586 + - *597 - *38 requestBody: required: true content: application/json: - schema: &598 + schema: &609 type: object required: - Operations @@ -91182,17 +91700,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *578 + schema: *589 examples: - updateGroup: *585 - addMembers: *585 - '400': *579 - '401': *580 - '403': *581 + updateGroup: *596 + addMembers: *596 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '409': *588 - '429': *582 - '500': *583 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91212,17 +91730,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: - - *586 + - *597 - *38 responses: '204': description: Group was deleted, no content - '400': *579 - '401': *580 - '403': *581 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91259,8 +91777,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *589 - - *590 + - *600 + - *601 - *38 responses: '200': @@ -91294,7 +91812,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &593 + items: &604 allOf: - type: object required: @@ -91386,7 +91904,7 @@ paths: address. examples: - true - roles: &592 + roles: &603 type: array description: The roles assigned to the user. items: @@ -91445,7 +91963,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *591 + meta: *602 startIndex: type: integer description: A starting index for the returned page @@ -91484,11 +92002,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *579 - '401': *580 - '403': *581 - '429': *582 - '500': *583 + '400': *590 + '401': *591 + '403': *592 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91515,7 +92033,7 @@ paths: required: true content: application/json: - schema: &596 + schema: &607 type: object required: - schemas @@ -91608,9 +92126,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *592 + roles: *603 examples: - user: &597 + user: &608 summary: User value: schemas: @@ -91657,9 +92175,9 @@ paths: description: User has been created content: application/scim+json: - schema: *593 + schema: *604 examples: - user: &594 + user: &605 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -91685,13 +92203,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: *594 - '400': *579 - '401': *580 - '403': *581 - '409': *588 - '429': *582 - '500': *583 + enterpriseOwner: *605 + '400': *590 + '401': *591 + '403': *592 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91712,7 +92230,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: - - &595 + - &606 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -91725,15 +92243,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *593 + schema: *604 examples: - default: *594 - '400': *579 - '401': *580 - '403': *581 + default: *605 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91758,30 +92276,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: - - *595 + - *606 - *38 requestBody: required: true content: application/json: - schema: *596 + schema: *607 examples: - user: *597 + user: *608 responses: '200': description: User was updated content: application/scim+json: - schema: *593 + schema: *604 examples: - user: *594 - '400': *579 - '401': *580 - '403': *581 + user: *605 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '409': *588 - '429': *582 - '500': *583 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91819,13 +92337,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: - - *595 + - *606 - *38 requestBody: required: true content: application/json: - schema: *598 + schema: *609 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -91865,18 +92383,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *593 - examples: - userMultiValuedProperties: *594 - userSingleValuedProperties: *594 - disableUser: *594 - '400': *579 - '401': *580 - '403': *581 + schema: *604 + examples: + userMultiValuedProperties: *605 + userSingleValuedProperties: *605 + disableUser: *605 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '409': *588 - '429': *582 - '500': *583 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91896,17 +92414,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: - - *595 + - *606 - *38 responses: '204': description: User was deleted, no content - '400': *579 - '401': *580 - '403': *581 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91939,7 +92457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *117 + - *128 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -91997,7 +92515,7 @@ paths: - 1 Resources: type: array - items: &599 + items: &610 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -92244,22 +92762,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': *35 - '404': &600 + '404': &611 description: Resource not found content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '403': &601 + schema: *588 + '403': &612 description: Forbidden content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '400': *579 - '429': *582 + schema: *588 + '400': *590 + '429': *593 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -92279,15 +92797,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *117 + - *128 responses: '201': description: Response content: application/scim+json: - schema: *599 + schema: *610 examples: - default: &602 + default: &613 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92310,17 +92828,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': *35 - '404': *600 - '403': *601 - '500': *583 + '404': *611 + '403': *612 + '500': *594 '409': description: Conflict content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '400': *579 + schema: *588 + '400': *590 requestBody: required: true content: @@ -92414,18 +92932,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *117 - - *595 + - *128 + - *606 responses: '200': description: Response content: application/scim+json: - schema: *599 + schema: *610 examples: - default: *602 - '404': *600 - '403': *601 + default: *613 + '404': *611 + '403': *612 '304': *35 x-github: githubCloudOnly: true @@ -92448,19 +92966,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *117 - - *595 + - *128 + - *606 responses: '200': description: Response content: application/scim+json: - schema: *599 + schema: *610 examples: - default: *602 + default: *613 '304': *35 - '404': *600 - '403': *601 + '404': *611 + '403': *612 requestBody: required: true content: @@ -92570,20 +93088,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *117 - - *595 + - *128 + - *606 responses: '200': description: Response content: application/scim+json: - schema: *599 + schema: *610 examples: - default: *602 + default: *613 '304': *35 - '404': *600 - '403': *601 - '400': *579 + '404': *611 + '403': *612 + '400': *590 '429': description: Response content: @@ -92678,13 +93196,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *117 - - *595 + - *128 + - *606 responses: '204': description: Response - '404': *600 - '403': *601 + '404': *611 + '403': *612 '304': *35 x-github: githubCloudOnly: true @@ -92799,7 +93317,7 @@ paths: html_url: type: string format: uri - repository: *135 + repository: *146 score: type: number file_size: @@ -92818,7 +93336,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &603 + text_matches: &614 title: Search Result Text Matches type: array items: @@ -92933,7 +93451,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *81 + '503': *92 '422': *15 '403': *27 x-github: @@ -92982,7 +93500,7 @@ paths: enum: - author-date - committer-date - - &604 + - &615 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 @@ -93051,7 +93569,7 @@ paths: committer: anyOf: - type: 'null' - - *351 + - *362 comment_count: type: integer message: @@ -93070,7 +93588,7 @@ paths: url: type: string format: uri - verification: *456 + verification: *467 required: - author - committer @@ -93085,7 +93603,7 @@ paths: committer: anyOf: - type: 'null' - - *351 + - *362 parents: type: array items: @@ -93097,12 +93615,12 @@ paths: type: string sha: type: string - repository: *135 + repository: *146 score: type: number node_id: type: string - text_matches: *603 + text_matches: *614 required: - sha - node_id @@ -93295,7 +93813,7 @@ paths: - interactions - created - updated - - *604 + - *615 - *17 - *18 responses: @@ -93397,7 +93915,7 @@ paths: milestone: anyOf: - type: 'null' - - *411 + - *422 comments: type: integer created_at: @@ -93411,7 +93929,7 @@ paths: - string - 'null' format: date-time - text_matches: *603 + text_matches: *614 pull_request: type: object properties: @@ -93449,7 +93967,7 @@ paths: type: string score: type: number - author_association: *88 + author_association: *99 draft: type: boolean repository: *55 @@ -93464,7 +93982,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *89 + reactions: *100 required: - assignee - closed_at @@ -93580,7 +94098,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *81 + '503': *92 '422': *15 '304': *35 '403': *27 @@ -93633,7 +94151,7 @@ paths: enum: - created - updated - - *604 + - *615 - *17 - *18 responses: @@ -93678,7 +94196,7 @@ paths: - 'null' score: type: number - text_matches: *603 + text_matches: *614 required: - id - node_id @@ -93764,7 +94282,7 @@ paths: - forks - help-wanted-issues - updated - - *604 + - *615 - *17 - *18 responses: @@ -93983,7 +94501,7 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 permissions: type: object properties: @@ -94001,7 +94519,7 @@ paths: - admin - pull - push - text_matches: *603 + text_matches: *614 temp_clone_token: type: string allow_merge_commit: @@ -94204,7 +94722,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *81 + '503': *92 '422': *15 '304': *35 x-github: @@ -94310,7 +94828,7 @@ paths: - string - 'null' format: uri - text_matches: *603 + text_matches: *614 related: type: - array @@ -94505,7 +95023,7 @@ paths: - followers - repositories - joined - - *604 + - *615 - *17 - *18 responses: @@ -94615,7 +95133,7 @@ paths: type: - boolean - 'null' - text_matches: *603 + text_matches: *614 blog: type: - string @@ -94677,7 +95195,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *81 + '503': *92 '422': *15 x-github: githubCloudOnly: false @@ -94697,7 +95215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &605 + - &616 name: team_id description: The unique identifier of the team. in: path @@ -94709,9 +95227,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -94738,7 +95256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *605 + - *616 requestBody: required: true content: @@ -94802,16 +95320,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '201': description: Response content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '404': *6 '422': *15 '403': *27 @@ -94839,7 +95357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *605 + - *616 responses: '204': description: Response @@ -94870,8 +95388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *605 - - *65 + - *616 + - *76 - *17 - *18 responses: @@ -94881,9 +95399,9 @@ paths: application/json: schema: type: array - items: *277 + items: *288 examples: - default: *606 + default: *617 headers: Link: *37 x-github: @@ -94912,7 +95430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *605 + - *616 requestBody: required: true content: @@ -94946,9 +95464,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: *278 + default: *289 x-github: triggersNotification: true githubCloudOnly: false @@ -94975,16 +95493,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 responses: '200': description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: *278 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95009,8 +95527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 requestBody: required: false content: @@ -95033,9 +95551,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: *607 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95060,8 +95578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 responses: '204': description: Response @@ -95090,9 +95608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *605 - - *279 - - *65 + - *616 + - *290 + - *76 - *17 - *18 responses: @@ -95102,9 +95620,9 @@ paths: application/json: schema: type: array - items: *280 + items: *291 examples: - default: *608 + default: *619 headers: Link: *37 x-github: @@ -95133,8 +95651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *605 - - *279 + - *616 + - *290 requestBody: required: true content: @@ -95156,9 +95674,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *281 + default: *292 x-github: triggersNotification: true githubCloudOnly: false @@ -95185,17 +95703,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *281 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95220,9 +95738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 requestBody: required: true content: @@ -95244,9 +95762,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *609 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95271,9 +95789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 responses: '204': description: Response @@ -95302,9 +95820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 - 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 team discussion comment. @@ -95330,9 +95848,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 x-github: @@ -95361,9 +95879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 requestBody: required: true content: @@ -95395,9 +95913,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95423,8 +95941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 - 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 team discussion. @@ -95450,9 +95968,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 x-github: @@ -95481,8 +95999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 requestBody: required: true content: @@ -95514,9 +96032,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95540,7 +96058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *605 + - *616 - *17 - *18 responses: @@ -95550,9 +96068,9 @@ paths: application/json: schema: type: array - items: *209 + items: *220 examples: - default: *210 + default: *221 headers: Link: *37 x-github: @@ -95578,7 +96096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *605 + - *616 - name: role description: Filters members returned by their role in the team. in: query @@ -95601,7 +96119,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '404': *6 @@ -95629,8 +96147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *605 - - *157 + - *616 + - *168 responses: '204': description: if user is a member @@ -95666,8 +96184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *605 - - *157 + - *616 + - *168 responses: '204': description: Response @@ -95706,8 +96224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *605 - - *157 + - *616 + - *168 responses: '204': description: Response @@ -95743,16 +96261,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: - - *605 - - *157 + - *616 + - *168 responses: '200': description: Response content: application/json: - schema: *291 + schema: *302 examples: - response-if-user-is-a-team-maintainer: *610 + response-if-user-is-a-team-maintainer: *621 '404': *6 x-github: githubCloudOnly: false @@ -95785,8 +96303,8 @@ 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: - - *605 - - *157 + - *616 + - *168 requestBody: required: false content: @@ -95811,9 +96329,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *302 examples: - response-if-users-membership-with-team-is-now-pending: *611 + response-if-users-membership-with-team-is-now-pending: *622 '403': description: Forbidden if team synchronization is set up '422': @@ -95847,8 +96365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *605 - - *157 + - *616 + - *168 responses: '204': description: Response @@ -95877,7 +96395,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *605 + - *616 - *17 - *18 responses: @@ -95887,9 +96405,9 @@ paths: application/json: schema: type: array - items: *292 + items: *303 examples: - default: *612 + default: *623 headers: Link: *37 '404': *6 @@ -95916,16 +96434,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *605 - - *293 + - *616 + - *304 responses: '200': description: Response content: application/json: - schema: *292 + schema: *303 examples: - default: *613 + default: *624 '404': description: Not Found if project is not managed by this team x-github: @@ -95950,8 +96468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *605 - - *293 + - *616 + - *304 requestBody: required: false content: @@ -96019,8 +96537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *605 - - *293 + - *616 + - *304 responses: '204': description: Response @@ -96047,7 +96565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *605 + - *616 - *17 - *18 responses: @@ -96057,9 +96575,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 '404': *6 @@ -96089,15 +96607,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: - - *605 - - *294 - - *295 + - *616 + - *305 + - *306 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *614 + schema: *625 examples: alternative-response-with-extra-repository-information: value: @@ -96248,9 +96766,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: - - *605 - - *294 - - *295 + - *616 + - *305 + - *306 requestBody: required: false content: @@ -96300,9 +96818,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: - - *605 - - *294 - - *295 + - *616 + - *305 + - *306 responses: '204': description: Response @@ -96331,15 +96849,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: - - *605 + - *616 responses: '200': description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *297 + default: *308 '403': *27 '404': *6 x-github: @@ -96366,7 +96884,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: - - *605 + - *616 requestBody: required: true content: @@ -96427,7 +96945,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: default: value: @@ -96458,7 +96976,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *605 + - *616 - *17 - *18 responses: @@ -96468,9 +96986,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - response-if-child-teams-exist: *615 + response-if-child-teams-exist: *626 headers: Link: *37 '404': *6 @@ -96503,7 +97021,7 @@ paths: application/json: schema: oneOf: - - &617 + - &628 title: Private User description: Private User type: object @@ -96753,7 +97271,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *616 + - *627 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96913,7 +97431,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *628 examples: default: value: @@ -96992,7 +97510,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '304': *35 '404': *6 '403': *27 @@ -97015,7 +97533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *157 + - *168 responses: '204': description: If the user is blocked @@ -97043,7 +97561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *157 + - *168 responses: '204': description: Response @@ -97067,7 +97585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *157 + - *168 responses: '204': description: Response @@ -97116,11 +97634,11 @@ paths: type: integer codespaces: type: array - items: *216 + items: *227 examples: - default: *217 + default: *228 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -97257,21 +97775,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '401': *23 '403': *27 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97311,7 +97829,7 @@ paths: type: integer secrets: type: array - items: &618 + items: &629 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97353,7 +97871,7 @@ paths: - visibility - selected_repositories_url examples: - default: *400 + default: *411 headers: Link: *37 x-github: @@ -97425,13 +97943,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: - - *145 + - *156 responses: '200': description: Response content: application/json: - schema: *618 + schema: *629 examples: default: value: @@ -97461,7 +97979,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: - - *145 + - *156 requestBody: required: true content: @@ -97506,7 +98024,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -97534,7 +98052,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: - - *145 + - *156 responses: '204': description: Response @@ -97559,7 +98077,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: - - *145 + - *156 responses: '200': description: Response @@ -97575,13 +98093,13 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: *619 + default: *630 '401': *23 '403': *27 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97602,7 +98120,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: - - *145 + - *156 requestBody: required: true content: @@ -97634,7 +98152,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97656,7 +98174,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: - - *145 + - *156 - name: repository_id in: path required: true @@ -97668,7 +98186,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97689,7 +98207,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: - - *145 + - *156 - name: repository_id in: path required: true @@ -97701,7 +98219,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97721,17 +98239,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *218 + - *229 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -97755,7 +98273,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: - - *218 + - *229 requestBody: required: false content: @@ -97785,9 +98303,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '401': *23 '403': *27 '404': *6 @@ -97809,11 +98327,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *218 + - *229 responses: - '202': *123 + '202': *134 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -97838,13 +98356,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: - - *218 + - *229 responses: '202': description: Response content: application/json: - schema: &620 + schema: &631 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97897,7 +98415,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &621 + default: &632 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97905,7 +98423,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -97929,7 +98447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *218 + - *229 - name: export_id in: path required: true @@ -97942,9 +98460,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *631 examples: - default: *621 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -97965,7 +98483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *218 + - *229 responses: '200': description: Response @@ -97981,11 +98499,11 @@ paths: type: integer machines: type: array - items: *399 + items: *410 examples: - default: *622 + default: *633 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -98012,7 +98530,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: - - *218 + - *229 requestBody: required: true content: @@ -98068,11 +98586,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *307 + repository: *318 machine: anyOf: - type: 'null' - - *399 + - *410 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -98869,17 +99387,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *218 + - *229 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '304': *35 - '500': *69 + '500': *80 '400': *14 '401': *23 '402': @@ -98889,7 +99407,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98909,16 +99427,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *218 + - *229 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *398 - '500': *69 + default: *409 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -98947,9 +99465,9 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: &635 + default: &646 value: - id: 197 name: hello_docker @@ -99050,7 +99568,7 @@ paths: application/json: schema: type: array - items: &623 + items: &634 title: Email description: Email type: object @@ -99120,9 +99638,9 @@ paths: application/json: schema: type: array - items: *623 + items: *634 examples: - default: &637 + default: &648 value: - email: octocat@github.com verified: true @@ -99199,7 +99717,7 @@ paths: application/json: schema: type: array - items: *623 + items: *634 examples: default: value: @@ -99311,7 +99829,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '304': *35 @@ -99344,7 +99862,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '304': *35 @@ -99366,7 +99884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *157 + - *168 responses: '204': description: if the person is followed by the authenticated user @@ -99396,7 +99914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *157 + - *168 responses: '204': description: Response @@ -99421,7 +99939,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *157 + - *168 responses: '204': description: Response @@ -99457,7 +99975,7 @@ paths: application/json: schema: type: array - items: &624 + items: &635 title: GPG Key description: A unique encryption key type: object @@ -99602,7 +100120,7 @@ paths: - subkeys - revoked examples: - default: &648 + default: &659 value: - id: 3 name: Octocat's GPG Key @@ -99687,9 +100205,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *635 examples: - default: &625 + default: &636 value: id: 3 name: Octocat's GPG Key @@ -99746,7 +100264,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: - - &626 + - &637 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99758,9 +100276,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *635 examples: - default: *625 + default: *636 '404': *6 '304': *35 '403': *27 @@ -99783,7 +100301,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: - - *626 + - *637 responses: '204': description: Response @@ -99974,7 +100492,7 @@ paths: type: array items: *55 examples: - default: *627 + default: *638 headers: Link: *37 '404': *6 @@ -99999,7 +100517,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *130 + - *141 responses: '204': description: Response @@ -100025,7 +100543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *130 + - *141 responses: '204': description: Response @@ -100059,12 +100577,12 @@ paths: application/json: schema: anyOf: - - *207 + - *218 - type: object properties: {} additionalProperties: false examples: - default: *208 + default: *219 '204': description: Response when there are no restrictions x-github: @@ -100088,7 +100606,7 @@ paths: required: true content: application/json: - schema: *467 + schema: *478 examples: default: value: @@ -100099,7 +100617,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *218 examples: default: value: @@ -100180,7 +100698,7 @@ paths: - closed - all default: open - - *213 + - *224 - name: sort description: What to sort results by. in: query @@ -100192,8 +100710,8 @@ paths: - updated - comments default: created - - *65 - - *91 + - *76 + - *102 - *17 - *18 responses: @@ -100203,9 +100721,9 @@ paths: application/json: schema: type: array - items: *101 + items: *112 examples: - default: *214 + default: *225 headers: Link: *37 '404': *6 @@ -100238,7 +100756,7 @@ paths: application/json: schema: type: array - items: &628 + items: &639 title: Key description: Key type: object @@ -100336,9 +100854,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *639 examples: - default: &629 + default: &640 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100371,15 +100889,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: - - *493 + - *504 responses: '200': description: Response content: application/json: - schema: *628 + schema: *639 examples: - default: *629 + default: *640 '404': *6 '304': *35 '403': *27 @@ -100402,7 +100920,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: - - *493 + - *504 responses: '204': description: Response @@ -100435,7 +100953,7 @@ paths: application/json: schema: type: array - items: &630 + items: &641 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100503,7 +101021,7 @@ paths: - id - type - login - plan: *104 + plan: *115 required: - billing_cycle - next_billing_date @@ -100514,7 +101032,7 @@ paths: - account - plan examples: - default: &631 + default: &642 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100576,9 +101094,9 @@ paths: application/json: schema: type: array - items: *630 + items: *641 examples: - default: *631 + default: *642 headers: Link: *37 '304': *35 @@ -100618,7 +101136,7 @@ paths: application/json: schema: type: array - items: *219 + items: *230 examples: default: value: @@ -100720,13 +101238,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -100784,7 +101302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *117 + - *128 requestBody: required: true content: @@ -100809,7 +101327,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -100877,7 +101395,7 @@ paths: application/json: schema: type: array - items: *221 + items: *232 examples: default: value: @@ -101139,7 +101657,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -101319,7 +101837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *222 + - *233 - name: exclude in: query required: false @@ -101332,7 +101850,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -101526,7 +102044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *222 + - *233 responses: '302': description: Response @@ -101552,7 +102070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *222 + - *233 responses: '204': description: Response @@ -101581,8 +102099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *222 - - *632 + - *233 + - *643 responses: '204': description: Response @@ -101606,7 +102124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *222 + - *233 - *17 - *18 responses: @@ -101616,9 +102134,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 '404': *6 @@ -101655,7 +102173,7 @@ paths: type: array items: *50 examples: - default: *633 + default: *644 headers: Link: *37 '304': *35 @@ -101697,7 +102215,7 @@ paths: - docker - nuget - container - - *634 + - *645 - *18 - *17 responses: @@ -101707,10 +102225,10 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: *635 - '400': *636 + default: *646 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101730,16 +102248,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: - - *229 - - *230 + - *240 + - *241 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: &649 + default: &660 value: id: 40201 name: octo-name @@ -101852,8 +102370,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: - - *229 - - *230 + - *240 + - *241 responses: '204': description: Response @@ -101883,8 +102401,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: - - *229 - - *230 + - *240 + - *241 - name: token description: package token schema: @@ -101916,8 +102434,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: - - *229 - - *230 + - *240 + - *241 - *18 - *17 - name: state @@ -101937,7 +102455,7 @@ paths: application/json: schema: type: array - items: *231 + items: *242 examples: default: value: @@ -101986,15 +102504,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: - - *229 - - *230 - - *232 + - *240 + - *241 + - *243 responses: '200': description: Response content: application/json: - schema: *231 + schema: *242 examples: default: value: @@ -102030,9 +102548,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: - - *229 - - *230 - - *232 + - *240 + - *241 + - *243 responses: '204': description: Response @@ -102062,9 +102580,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: - - *229 - - *230 - - *232 + - *240 + - *241 + - *243 responses: '204': description: Response @@ -102122,7 +102640,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: default: value: @@ -102191,9 +102709,9 @@ paths: application/json: schema: type: array - items: *623 + items: *634 examples: - default: *637 + default: *648 headers: Link: *37 '304': *35 @@ -102306,7 +102824,7 @@ paths: type: array items: *55 examples: - default: &644 + default: &655 summary: Default response value: - id: 1296269 @@ -102622,9 +103140,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102662,9 +103180,9 @@ paths: application/json: schema: type: array - items: *469 + items: *480 examples: - default: *638 + default: *649 headers: Link: *37 '304': *35 @@ -102687,12 +103205,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *211 + - *222 responses: '204': description: Response '403': *27 - '409': *122 + '409': *133 '404': *6 '304': *35 x-github: @@ -102710,11 +103228,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *211 + - *222 responses: '204': description: Response - '409': *122 + '409': *133 '304': *35 '404': *6 '403': *27 @@ -102743,7 +103261,7 @@ paths: application/json: schema: type: array - items: &639 + items: &650 title: Social account description: Social media account type: object @@ -102760,7 +103278,7 @@ paths: - provider - url examples: - default: &640 + default: &651 value: - provider: twitter url: https://twitter.com/github @@ -102823,9 +103341,9 @@ paths: application/json: schema: type: array - items: *639 + items: *650 examples: - default: *640 + default: *651 '422': *15 '304': *35 '404': *6 @@ -102913,7 +103431,7 @@ paths: application/json: schema: type: array - items: &641 + items: &652 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102933,7 +103451,7 @@ paths: - title - created_at examples: - default: &650 + default: &661 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103000,9 +103518,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *652 examples: - default: &642 + default: &653 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103033,7 +103551,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: - - &643 + - &654 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103045,9 +103563,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *652 examples: - default: *642 + default: *653 '404': *6 '304': *35 '403': *27 @@ -103070,7 +103588,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: - - *643 + - *654 responses: '204': description: Response @@ -103099,7 +103617,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: - - &651 + - &662 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 @@ -103112,7 +103630,7 @@ paths: - created - updated default: created - - *65 + - *76 - *17 - *18 responses: @@ -103124,11 +103642,11 @@ paths: type: array items: *55 examples: - default-response: *644 + default-response: *655 application/vnd.github.v3.star+json: schema: type: array - items: &652 + items: &663 title: Starred Repository description: Starred Repository type: object @@ -103284,8 +103802,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response if this repository is starred by you @@ -103313,8 +103831,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -103338,8 +103856,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -103372,9 +103890,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 '304': *35 @@ -103411,7 +103929,7 @@ paths: application/json: schema: type: array - items: *275 + items: *286 examples: default: value: @@ -103487,7 +104005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *106 + - *117 responses: '200': description: Response @@ -103495,10 +104013,10 @@ paths: application/json: schema: oneOf: - - *617 - - *616 + - *628 + - *627 examples: - default-response: &646 + default-response: &657 summary: Default response value: login: octocat @@ -103533,7 +104051,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &647 + response-with-git-hub-plan-information: &658 summary: Response with GitHub plan information value: login: octocat @@ -103593,7 +104111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *645 + - *656 - *17 responses: '200': @@ -103604,7 +104122,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: example: ; rel="next" @@ -103632,7 +104150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *157 + - *168 responses: '200': description: Response @@ -103640,11 +104158,11 @@ paths: application/json: schema: oneOf: - - *617 - - *616 + - *628 + - *627 examples: - default-response: *646 - response-with-git-hub-plan-information: *647 + default-response: *657 + response-with-git-hub-plan-information: *658 '404': *6 x-github: githubCloudOnly: false @@ -103668,9 +104186,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *63 - - *64 - - *157 + - *74 + - *75 + - *168 - name: subject_digest description: Subject Digest in: path @@ -103772,7 +104290,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -103798,7 +104316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *157 + - *168 responses: '200': description: Response @@ -103806,9 +104324,9 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: *635 + default: *646 '403': *27 '401': *23 x-github: @@ -103831,7 +104349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -103841,7 +104359,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -103912,8 +104430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *157 - - *117 + - *168 + - *128 - *17 - *18 responses: @@ -103923,7 +104441,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -104002,7 +104520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104012,7 +104530,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -104079,7 +104597,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104091,7 +104609,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -104110,7 +104628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104122,7 +104640,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -104141,7 +104659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *157 + - *168 - name: target_user in: path required: true @@ -104168,8 +104686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *157 - - *91 + - *168 + - *102 - *17 - *18 responses: @@ -104179,9 +104697,9 @@ paths: application/json: schema: type: array - items: *92 + items: *103 examples: - default: *93 + default: *104 headers: Link: *37 '422': *15 @@ -104202,7 +104720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104212,9 +104730,9 @@ paths: application/json: schema: type: array - items: *624 + items: *635 examples: - default: *648 + default: *659 headers: Link: *37 x-github: @@ -104238,7 +104756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *157 + - *168 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104310,7 +104828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *157 + - *168 responses: '200': description: Response @@ -104318,7 +104836,7 @@ paths: application/json: schema: *20 examples: - default: *466 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104336,7 +104854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104384,7 +104902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104396,7 +104914,7 @@ paths: type: array items: *50 examples: - default: *633 + default: *644 headers: Link: *37 x-github: @@ -104435,8 +104953,8 @@ paths: - docker - nuget - container - - *634 - - *157 + - *645 + - *168 - *18 - *17 responses: @@ -104446,12 +104964,12 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: *635 + default: *646 '403': *27 '401': *23 - '400': *636 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104471,17 +104989,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *229 - - *230 - - *157 + - *240 + - *241 + - *168 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *649 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104502,9 +105020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *229 - - *230 - - *157 + - *240 + - *241 + - *168 responses: '204': description: Response @@ -104536,9 +105054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *229 - - *230 - - *157 + - *240 + - *241 + - *168 - name: token description: package token schema: @@ -104570,9 +105088,9 @@ 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: - - *229 - - *230 - - *157 + - *240 + - *241 + - *168 responses: '200': description: Response @@ -104580,7 +105098,7 @@ paths: application/json: schema: type: array - items: *231 + items: *242 examples: default: value: @@ -104638,16 +105156,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: - - *229 - - *230 - - *232 - - *157 + - *240 + - *241 + - *243 + - *168 responses: '200': description: Response content: application/json: - schema: *231 + schema: *242 examples: default: value: @@ -104682,10 +105200,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *229 - - *230 - - *157 - - *232 + - *240 + - *241 + - *168 + - *243 responses: '204': description: Response @@ -104717,10 +105235,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *229 - - *230 - - *157 - - *232 + - *240 + - *241 + - *168 + - *243 responses: '204': description: Response @@ -104743,7 +105261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *157 + - *168 - name: state description: Indicates the state of the projects to return. in: query @@ -104764,7 +105282,7 @@ paths: application/json: schema: type: array - items: *240 + items: *251 examples: default: value: @@ -104823,7 +105341,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104833,7 +105351,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -104912,7 +105430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104922,7 +105440,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -104999,7 +105517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *157 + - *168 - name: type description: Limit results to repositories of the specified type. in: query @@ -105042,9 +105560,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -105068,15 +105586,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *157 + - *168 responses: '200': description: Response content: application/json: - schema: *267 + schema: *278 examples: - default: *268 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105098,15 +105616,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *157 + - *168 responses: '200': description: Response content: application/json: - schema: *271 + schema: *282 examples: - default: *272 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105128,15 +105646,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *157 + - *168 responses: '200': description: Response content: application/json: - schema: *273 + schema: *284 examples: - default: *274 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105154,7 +105672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -105164,9 +105682,9 @@ paths: application/json: schema: type: array - items: *639 + items: *650 examples: - default: *640 + default: *651 headers: Link: *37 x-github: @@ -105186,7 +105704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -105196,9 +105714,9 @@ paths: application/json: schema: type: array - items: *641 + items: *652 examples: - default: *650 + default: *661 headers: Link: *37 x-github: @@ -105222,9 +105740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *157 - - *651 - - *65 + - *168 + - *662 + - *76 - *17 - *18 responses: @@ -105235,11 +105753,11 @@ paths: schema: anyOf: - type: array - items: *652 + items: *663 - type: array items: *55 examples: - default-response: *644 + default-response: *655 headers: Link: *37 x-github: @@ -105258,7 +105776,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -105268,9 +105786,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -105399,7 +105917,7 @@ webhooks: type: string enum: - disabled - enterprise: &653 + enterprise: &664 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -105468,7 +105986,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &654 + installation: &665 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -105489,7 +106007,7 @@ webhooks: required: - id - node_id - organization: &655 + organization: &666 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -105562,7 +106080,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &656 + repository: &667 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -105591,7 +106109,7 @@ webhooks: license: anyOf: - type: 'null' - - *102 + - *113 organization: anyOf: - type: 'null' @@ -106475,10 +106993,10 @@ webhooks: type: string enum: - enabled - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -106554,11 +107072,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - rule: &657 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + rule: &668 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) @@ -106781,11 +107299,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - rule: *657 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + rule: *668 sender: *4 required: - action @@ -106973,11 +107491,11 @@ webhooks: - everyone required: - from - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - rule: *657 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + rule: *668 sender: *4 required: - action @@ -107050,7 +107568,7 @@ webhooks: required: true content: application/json: - schema: &660 + schema: &671 title: Exemption request cancellation event type: object properties: @@ -107058,11 +107576,11 @@ webhooks: type: string enum: - cancelled - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: &658 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: &669 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -107216,7 +107734,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &659 + items: &670 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -107322,7 +107840,7 @@ webhooks: required: true content: application/json: - schema: &661 + schema: &672 title: Exemption request completed event type: object properties: @@ -107330,11 +107848,11 @@ webhooks: type: string enum: - completed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: *658 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: *669 sender: *4 required: - action @@ -107406,7 +107924,7 @@ webhooks: required: true content: application/json: - schema: &662 + schema: &673 title: Exemption request created event type: object properties: @@ -107414,11 +107932,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: *658 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: *669 sender: *4 required: - action @@ -107490,7 +108008,7 @@ webhooks: required: true content: application/json: - schema: &663 + schema: &674 title: Exemption response dismissed event type: object properties: @@ -107498,12 +108016,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: *658 - exemption_response: *659 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: *669 + exemption_response: *670 sender: *4 required: - action @@ -107577,7 +108095,7 @@ webhooks: required: true content: application/json: - schema: &664 + schema: &675 title: Exemption response submitted event type: object properties: @@ -107585,12 +108103,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: *658 - exemption_response: *659 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: *669 + exemption_response: *670 sender: *4 required: - action @@ -107663,7 +108181,7 @@ webhooks: required: true content: application/json: - schema: *660 + schema: *671 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107730,7 +108248,7 @@ webhooks: required: true content: application/json: - schema: *661 + schema: *672 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107797,7 +108315,7 @@ webhooks: required: true content: application/json: - schema: *662 + schema: *673 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107864,7 +108382,7 @@ webhooks: required: true content: application/json: - schema: *663 + schema: *674 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107932,7 +108450,7 @@ webhooks: required: true content: application/json: - schema: *664 + schema: *675 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108010,7 +108528,7 @@ webhooks: type: string enum: - completed - check_run: &666 + check_run: &677 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108078,8 +108596,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *364 - repository: *135 + items: *375 + repository: *146 status: type: string enum: @@ -108123,7 +108641,7 @@ webhooks: - examples: - neutral - deployment: *665 + deployment: *676 details_url: type: string examples: @@ -108183,7 +108701,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *364 + items: *375 started_at: type: string format: date-time @@ -108221,9 +108739,9 @@ webhooks: - output - app - pull_requests - installation: *654 - organization: *655 - repository: *656 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - check_run @@ -108616,10 +109134,10 @@ webhooks: type: string enum: - created - check_run: *666 - installation: *654 - organization: *655 - repository: *656 + check_run: *677 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - check_run @@ -109015,10 +109533,10 @@ webhooks: type: string enum: - requested_action - check_run: *666 - installation: *654 - organization: *655 - repository: *656 + check_run: *677 + installation: *665 + organization: *666 + repository: *667 requested_action: description: The action requested by the user. type: object @@ -109423,10 +109941,10 @@ webhooks: type: string enum: - rerequested - check_run: *666 - installation: *654 - organization: *655 - repository: *656 + check_run: *677 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - check_run @@ -110418,10 +110936,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -111106,10 +111624,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -111788,10 +112306,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -112098,20 +112616,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &667 + commit_oid: &678 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: *653 - installation: *654 - organization: *655 - ref: &668 + enterprise: *664 + installation: *665 + organization: *666 + ref: &679 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: *656 + repository: *667 sender: *4 required: - action @@ -112439,12 +112957,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *667 - enterprise: *653 - installation: *654 - organization: *655 - ref: *668 - repository: *656 + commit_oid: *678 + enterprise: *664 + installation: *665 + organization: *666 + ref: *679 + repository: *667 sender: *4 required: - action @@ -112542,7 +113060,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *376 + dismissed_comment: *387 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112717,12 +113235,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *667 - enterprise: *653 - installation: *654 - organization: *655 - ref: *668 - repository: *656 + commit_oid: *678 + enterprise: *664 + installation: *665 + organization: *666 + ref: *679 + repository: *667 sender: *4 required: - action @@ -113054,12 +113572,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *667 - enterprise: *653 - installation: *654 - organization: *655 - ref: *668 - repository: *656 + commit_oid: *678 + enterprise: *664 + installation: *665 + organization: *666 + ref: *679 + repository: *667 sender: *4 required: - action @@ -113328,9 +113846,9 @@ webhooks: type: - string - 'null' - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -113338,7 +113856,7 @@ webhooks: type: - string - 'null' - repository: *656 + repository: *667 sender: *4 required: - action @@ -113570,12 +114088,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *667 - enterprise: *653 - installation: *654 - organization: *655 - ref: *668 - repository: *656 + commit_oid: *678 + enterprise: *664 + installation: *665 + organization: *666 + ref: *679 + repository: *667 sender: *4 required: - action @@ -113837,10 +114355,10 @@ webhooks: - updated_at - author_association - body - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -113921,18 +114439,18 @@ webhooks: type: - string - 'null' - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *655 - pusher_type: &669 + organization: *666 + pusher_type: &680 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &670 + ref: &681 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -113942,7 +114460,7 @@ webhooks: enum: - tag - branch - repository: *656 + repository: *667 sender: *4 required: - ref @@ -114024,10 +114542,10 @@ webhooks: type: string enum: - created - definition: *241 - enterprise: *653 - installation: *654 - organization: *655 + definition: *252 + enterprise: *664 + installation: *665 + organization: *666 sender: *4 required: - action @@ -114112,9 +114630,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 sender: *4 required: - action @@ -114191,10 +114709,10 @@ webhooks: type: string enum: - updated - definition: *241 - enterprise: *653 - installation: *654 - organization: *655 + definition: *252 + enterprise: *664 + installation: *665 + organization: *666 sender: *4 required: - action @@ -114271,19 +114789,19 @@ webhooks: type: string enum: - updated - enterprise: *653 - installation: *654 - repository: *656 - organization: *655 + enterprise: *664 + installation: *665 + repository: *667 + organization: *666 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *245 + items: *256 old_property_values: type: array description: The old custom property values for the repository. - items: *245 + items: *256 required: - action - repository @@ -114359,18 +114877,18 @@ webhooks: title: delete event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 - pusher_type: *669 - ref: *670 + enterprise: *664 + installation: *665 + organization: *666 + pusher_type: *680 + ref: *681 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *656 + repository: *667 sender: *4 required: - ref @@ -114454,11 +114972,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114542,11 +115060,11 @@ webhooks: type: string enum: - auto_reopened - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114630,11 +115148,11 @@ webhooks: type: string enum: - created - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114716,11 +115234,11 @@ webhooks: type: string enum: - dismissed - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114802,11 +115320,11 @@ webhooks: type: string enum: - fixed - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114889,11 +115407,11 @@ webhooks: type: string enum: - reintroduced - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114975,11 +115493,11 @@ webhooks: type: string enum: - reopened - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -115056,9 +115574,9 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - key: &671 + enterprise: *664 + installation: *665 + key: &682 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115096,8 +115614,8 @@ webhooks: - verified - created_at - read_only - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -115174,11 +115692,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - key: *671 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + key: *682 + organization: *666 + repository: *667 sender: *4 required: - action @@ -115750,12 +116268,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: &675 + workflow: &686 title: Workflow type: - object @@ -116493,13 +117011,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *431 + deployment: *442 pull_requests: type: array - items: *512 - repository: *656 - organization: *655 - installation: *654 + items: *523 + repository: *667 + organization: *666 + installation: *665 sender: *4 responses: '200': @@ -116570,7 +117088,7 @@ webhooks: type: string enum: - approved - approver: &672 + approver: &683 type: object properties: avatar_url: @@ -116613,11 +117131,11 @@ webhooks: type: string comment: type: string - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - reviewers: &673 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + reviewers: &684 type: array items: type: object @@ -116698,7 +117216,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &674 + workflow_job_run: &685 type: object properties: conclusion: @@ -117444,18 +117962,18 @@ webhooks: type: string enum: - rejected - approver: *672 + approver: *683 comment: type: string - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - reviewers: *673 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + reviewers: *684 sender: *4 since: type: string - workflow_job_run: *674 + workflow_job_run: *685 workflow_job_runs: type: array items: @@ -118172,13 +118690,13 @@ webhooks: type: string enum: - requested - enterprise: *653 + enterprise: *664 environment: type: string - installation: *654 - organization: *655 - repository: *656 - requestor: &680 + installation: *665 + organization: *666 + repository: *667 + requestor: &691 title: User type: - object @@ -120121,12 +120639,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: *675 + workflow: *686 workflow_run: title: Deployment Workflow Run type: @@ -120817,7 +121335,7 @@ webhooks: type: string enum: - answered - answer: &678 + answer: &689 type: object properties: author_association: @@ -120977,7 +121495,7 @@ webhooks: - created_at - updated_at - body - discussion: &676 + discussion: &687 title: Discussion description: A Discussion in a repository. type: object @@ -121273,7 +121791,7 @@ webhooks: - id labels: type: array - items: *476 + items: *487 required: - repository_url - category @@ -121295,10 +121813,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121425,11 +121943,11 @@ webhooks: - from required: - category - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121512,11 +122030,11 @@ webhooks: type: string enum: - closed - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121598,7 +122116,7 @@ webhooks: type: string enum: - created - comment: &677 + comment: &688 type: object properties: author_association: @@ -121758,11 +122276,11 @@ webhooks: - updated_at - body - reactions - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121845,12 +122363,12 @@ webhooks: type: string enum: - deleted - comment: *677 - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + comment: *688 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121945,12 +122463,12 @@ webhooks: - from required: - body - comment: *677 - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + comment: *688 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122034,11 +122552,11 @@ webhooks: type: string enum: - created - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122120,11 +122638,11 @@ webhooks: type: string enum: - deleted - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122224,11 +122742,11 @@ webhooks: type: string required: - from - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122310,10 +122828,10 @@ webhooks: type: string enum: - labeled - discussion: *676 - enterprise: *653 - installation: *654 - label: &679 + discussion: *687 + enterprise: *664 + installation: *665 + label: &690 title: Label type: object properties: @@ -122346,8 +122864,8 @@ webhooks: - color - default - description - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122430,11 +122948,11 @@ webhooks: type: string enum: - locked - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122516,11 +123034,11 @@ webhooks: type: string enum: - pinned - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122602,11 +123120,11 @@ webhooks: type: string enum: - reopened - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122691,16 +123209,16 @@ webhooks: changes: type: object properties: - new_discussion: *676 - new_repository: *656 + new_discussion: *687 + new_repository: *667 required: - new_discussion - new_repository - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122783,10 +123301,10 @@ webhooks: type: string enum: - unanswered - discussion: *676 - old_answer: *678 - organization: *655 - repository: *656 + discussion: *687 + old_answer: *689 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122868,12 +123386,12 @@ webhooks: type: string enum: - unlabeled - discussion: *676 - enterprise: *653 - installation: *654 - label: *679 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122956,11 +123474,11 @@ webhooks: type: string enum: - unlocked - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -123042,11 +123560,11 @@ webhooks: type: string enum: - unpinned - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -123119,7 +123637,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *653 + enterprise: *664 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -123797,9 +124315,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *654 - organization: *655 - repository: *656 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - forkee @@ -123945,9 +124463,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pages: description: The pages that were updated. type: array @@ -123985,7 +124503,7 @@ webhooks: - action - sha - html_url - repository: *656 + repository: *667 sender: *4 required: - pages @@ -124061,10 +124579,10 @@ webhooks: type: string enum: - created - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: &681 + organization: *666 + repositories: &692 description: An array of repository objects that the installation can access. type: array @@ -124090,8 +124608,8 @@ webhooks: - name - full_name - private - repository: *656 - requester: *680 + repository: *667 + requester: *691 sender: *4 required: - action @@ -124166,11 +124684,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: *681 - repository: *656 + organization: *666 + repositories: *692 + repository: *667 requester: type: - 'null' @@ -124247,11 +124765,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: *681 - repository: *656 + organization: *666 + repositories: *692 + repository: *667 requester: type: - 'null' @@ -124328,10 +124846,10 @@ webhooks: type: string enum: - added - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories_added: &682 + organization: *666 + repositories_added: &693 description: An array of repository objects, which were added to the installation. type: array @@ -124377,15 +124895,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *656 - repository_selection: &683 + repository: *667 + repository_selection: &694 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *680 + requester: *691 sender: *4 required: - action @@ -124464,10 +124982,10 @@ webhooks: type: string enum: - removed - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories_added: *682 + organization: *666 + repositories_added: *693 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124494,9 +125012,9 @@ webhooks: - name - full_name - private - repository: *656 - repository_selection: *683 - requester: *680 + repository: *667 + repository_selection: *694 + requester: *691 sender: *4 required: - action @@ -124575,11 +125093,11 @@ webhooks: type: string enum: - suspend - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: *681 - repository: *656 + organization: *666 + repositories: *692 + repository: *667 requester: type: - 'null' @@ -124762,10 +125280,10 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 target_type: type: string @@ -124844,11 +125362,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: *681 - repository: *656 + organization: *666 + repositories: *692 + repository: *667 requester: type: - 'null' @@ -125096,8 +125614,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126273,8 +126791,8 @@ webhooks: - state - locked - assignee - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -126354,7 +126872,7 @@ webhooks: type: string enum: - deleted - comment: &684 + comment: &695 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -126521,8 +127039,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -127696,8 +128214,8 @@ webhooks: - state - locked - assignee - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -127777,7 +128295,7 @@ webhooks: type: string enum: - edited - changes: &709 + changes: &720 description: The changes to the comment. type: object properties: @@ -127789,9 +128307,9 @@ webhooks: type: string required: - from - comment: *684 - enterprise: *653 - installation: *654 + comment: *695 + enterprise: *664 + installation: *665 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128966,8 +129484,8 @@ webhooks: - state - locked - assignee - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -129049,10 +129567,10 @@ webhooks: type: string enum: - assigned - assignee: *680 - enterprise: *653 - installation: *654 - issue: &687 + assignee: *691 + enterprise: *664 + installation: *665 + issue: &698 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -129982,8 +130500,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -130063,8 +130581,8 @@ webhooks: type: string enum: - closed - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -131142,8 +131660,8 @@ webhooks: required: - state - closed_at - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -131222,8 +131740,8 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132146,8 +132664,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -132226,8 +132744,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133154,7 +133672,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &685 + milestone: &696 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133297,8 +133815,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -133397,8 +133915,8 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134328,9 +134846,9 @@ webhooks: - active_lock_reason - body - reactions - label: *679 - organization: *655 - repository: *656 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -134410,8 +134928,8 @@ webhooks: type: string enum: - labeled - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135340,9 +135858,9 @@ webhooks: - active_lock_reason - body - reactions - label: *679 - organization: *655 - repository: *656 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -135422,8 +135940,8 @@ webhooks: type: string enum: - locked - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136354,8 +136872,8 @@ webhooks: format: uri user_view_type: type: string - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -136434,8 +136952,8 @@ webhooks: type: string enum: - milestoned - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137360,9 +137878,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *685 - organization: *655 - repository: *656 + milestone: *696 + organization: *666 + repository: *667 sender: *4 required: - action @@ -138848,8 +139366,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139778,8 +140296,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -139859,9 +140377,9 @@ webhooks: type: string enum: - pinned - enterprise: *653 - installation: *654 - issue: &686 + enterprise: *664 + installation: *665 + issue: &697 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -140784,8 +141302,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -140864,8 +141382,8 @@ webhooks: type: string enum: - reopened - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141795,8 +142313,8 @@ webhooks: format: uri user_view_type: type: string - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -143282,11 +143800,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *653 - installation: *654 - issue: *686 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + issue: *697 + organization: *666 + repository: *667 sender: *4 required: - action @@ -143367,7 +143885,7 @@ webhooks: type: string enum: - unassigned - assignee: &712 + assignee: &723 title: User type: - object @@ -143439,11 +143957,11 @@ webhooks: required: - login - id - enterprise: *653 - installation: *654 - issue: *687 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + issue: *698 + organization: *666 + repository: *667 sender: *4 required: - action @@ -143522,12 +144040,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *653 - installation: *654 - issue: *687 - label: *679 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + issue: *698 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -143607,8 +144125,8 @@ webhooks: type: string enum: - unlocked - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144537,8 +145055,8 @@ webhooks: format: uri user_view_type: type: string - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144618,11 +145136,11 @@ webhooks: type: string enum: - unpinned - enterprise: *653 - installation: *654 - issue: *686 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + issue: *697 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144701,11 +145219,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - label: *679 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144783,11 +145301,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - label: *679 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144897,11 +145415,11 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - label: *679 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144983,9 +145501,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *653 - installation: *654 - marketplace_purchase: &688 + enterprise: *664 + installation: *665 + marketplace_purchase: &699 title: Marketplace Purchase type: object required: @@ -145073,8 +145591,8 @@ webhooks: type: integer unit_count: type: integer - organization: *655 - previous_marketplace_purchase: &689 + organization: *666 + previous_marketplace_purchase: &700 title: Marketplace Purchase type: object properties: @@ -145158,7 +145676,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *656 + repository: *667 sender: *4 required: - action @@ -145238,10 +145756,10 @@ webhooks: - changed effective_date: type: string - enterprise: *653 - installation: *654 - marketplace_purchase: *688 - organization: *655 + enterprise: *664 + installation: *665 + marketplace_purchase: *699 + organization: *666 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145329,7 +145847,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *656 + repository: *667 sender: *4 required: - action @@ -145411,10 +145929,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *653 - installation: *654 - marketplace_purchase: *688 - organization: *655 + enterprise: *664 + installation: *665 + marketplace_purchase: *699 + organization: *666 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145500,7 +146018,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *656 + repository: *667 sender: *4 required: - action @@ -145581,8 +146099,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 marketplace_purchase: title: Marketplace Purchase type: object @@ -145668,9 +146186,9 @@ webhooks: type: integer unit_count: type: integer - organization: *655 - previous_marketplace_purchase: *689 - repository: *656 + organization: *666 + previous_marketplace_purchase: *700 + repository: *667 sender: *4 required: - action @@ -145750,12 +146268,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *653 - installation: *654 - marketplace_purchase: *688 - organization: *655 - previous_marketplace_purchase: *689 - repository: *656 + enterprise: *664 + installation: *665 + marketplace_purchase: *699 + organization: *666 + previous_marketplace_purchase: *700 + repository: *667 sender: *4 required: - action @@ -145857,11 +146375,11 @@ webhooks: type: string required: - to - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 sender: *4 required: - action @@ -145963,11 +146481,11 @@ webhooks: type: - string - 'null' - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 sender: *4 required: - action @@ -146046,11 +146564,11 @@ webhooks: type: string enum: - removed - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 sender: *4 required: - action @@ -146128,11 +146646,11 @@ webhooks: type: string enum: - added - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146210,7 +146728,7 @@ webhooks: required: - login - id - team: &690 + team: &701 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146403,11 +146921,11 @@ webhooks: type: string enum: - removed - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146486,7 +147004,7 @@ webhooks: required: - login - id - team: *690 + team: *701 required: - action - scope @@ -146568,8 +147086,8 @@ webhooks: type: string enum: - checks_requested - installation: *654 - merge_group: &691 + installation: *665 + merge_group: &702 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146588,15 +147106,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *368 + head_commit: *379 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -146682,10 +147200,10 @@ webhooks: - merged - invalidated - dequeued - installation: *654 - merge_group: *691 - organization: *655 - repository: *656 + installation: *665 + merge_group: *702 + organization: *666 + repository: *667 sender: *4 required: - action @@ -146758,7 +147276,7 @@ webhooks: type: string enum: - deleted - enterprise: *653 + enterprise: *664 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146866,12 +147384,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *654 - organization: *655 + installation: *665 + organization: *666 repository: anyOf: - type: 'null' - - *656 + - *667 sender: *4 required: - action @@ -146951,11 +147469,11 @@ webhooks: type: string enum: - closed - enterprise: *653 - installation: *654 - milestone: *685 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + milestone: *696 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147034,9 +147552,9 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - milestone: &692 + enterprise: *664 + installation: *665 + milestone: &703 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147178,8 +147696,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147258,11 +147776,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - milestone: *685 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + milestone: *696 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147372,11 +147890,11 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - milestone: *685 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + milestone: *696 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147456,11 +147974,11 @@ webhooks: type: string enum: - opened - enterprise: *653 - installation: *654 - milestone: *692 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + milestone: *703 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147539,11 +148057,11 @@ webhooks: type: string enum: - blocked - blocked_user: *680 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + blocked_user: *691 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147622,11 +148140,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *680 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + blocked_user: *691 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147705,9 +148223,9 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - membership: &693 + enterprise: *664 + installation: *665 + membership: &704 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147801,8 +148319,8 @@ webhooks: - role - organization_url - user - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147880,11 +148398,11 @@ webhooks: type: string enum: - member_added - enterprise: *653 - installation: *654 - membership: *693 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + membership: *704 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147963,8 +148481,8 @@ webhooks: type: string enum: - member_invited - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148086,10 +148604,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 - user: *680 + user: *691 required: - action - invitation @@ -148167,11 +148685,11 @@ webhooks: type: string enum: - member_removed - enterprise: *653 - installation: *654 - membership: *693 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + membership: *704 + organization: *666 + repository: *667 sender: *4 required: - action @@ -148258,11 +148776,11 @@ webhooks: properties: from: type: string - enterprise: *653 - installation: *654 - membership: *693 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + membership: *704 + organization: *666 + repository: *667 sender: *4 required: - action @@ -148338,9 +148856,9 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 package: description: Information about the package. type: object @@ -148863,7 +149381,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &694 + items: &705 title: Ruby Gems metadata type: object properties: @@ -148960,7 +149478,7 @@ webhooks: - owner - package_version - registry - repository: *656 + repository: *667 sender: *4 required: - action @@ -149036,9 +149554,9 @@ webhooks: type: string enum: - updated - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 package: description: Information about the package. type: object @@ -149400,7 +149918,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *705 source_url: type: string format: uri @@ -149471,7 +149989,7 @@ webhooks: - owner - package_version - registry - repository: *656 + repository: *667 sender: *4 required: - action @@ -149652,12 +150170,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *653 + enterprise: *664 id: type: integer - installation: *654 - organization: *655 - repository: *656 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - id @@ -149737,7 +150255,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &695 + personal_access_token_request: &706 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149887,10 +150405,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *653 - organization: *655 + enterprise: *664 + organization: *666 sender: *4 - installation: *654 + installation: *665 required: - action - personal_access_token_request @@ -149969,11 +150487,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *695 - enterprise: *653 - organization: *655 + personal_access_token_request: *706 + enterprise: *664 + organization: *666 sender: *4 - installation: *654 + installation: *665 required: - action - personal_access_token_request @@ -150051,11 +150569,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *695 - enterprise: *653 - organization: *655 + personal_access_token_request: *706 + enterprise: *664 + organization: *666 sender: *4 - installation: *654 + installation: *665 required: - action - personal_access_token_request @@ -150132,11 +150650,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *695 - organization: *655 - enterprise: *653 + personal_access_token_request: *706 + organization: *666 + enterprise: *664 sender: *4 - installation: *654 + installation: *665 required: - action - personal_access_token_request @@ -150240,7 +150758,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *696 + last_response: *707 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150272,8 +150790,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 zen: description: Random string of GitHub zen. @@ -150518,10 +151036,10 @@ webhooks: - from required: - note - enterprise: *653 - installation: *654 - organization: *655 - project_card: &697 + enterprise: *664 + installation: *665 + organization: *666 + project_card: &708 title: Project Card type: object properties: @@ -150644,7 +151162,7 @@ webhooks: - creator - created_at - updated_at - repository: *656 + repository: *667 sender: *4 required: - action @@ -150725,11 +151243,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - project_card: *697 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project_card: *708 + repository: *667 sender: *4 required: - action @@ -150809,9 +151327,9 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 project_card: title: Project Card type: object @@ -150941,7 +151459,7 @@ webhooks: repository: anyOf: - type: 'null' - - *656 + - *667 sender: *4 required: - action @@ -151035,11 +151553,11 @@ webhooks: - from required: - note - enterprise: *653 - installation: *654 - organization: *655 - project_card: *697 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project_card: *708 + repository: *667 sender: *4 required: - action @@ -151133,9 +151651,9 @@ webhooks: - from required: - column_id - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 project_card: allOf: - title: Project Card @@ -151332,7 +151850,7 @@ webhooks: type: string required: - after_id - repository: *656 + repository: *667 sender: *4 required: - action @@ -151412,10 +151930,10 @@ webhooks: type: string enum: - closed - enterprise: *653 - installation: *654 - organization: *655 - project: &699 + enterprise: *664 + installation: *665 + organization: *666 + project: &710 title: Project type: object properties: @@ -151542,7 +152060,7 @@ webhooks: - creator - created_at - updated_at - repository: *656 + repository: *667 sender: *4 required: - action @@ -151622,10 +152140,10 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - project_column: &698 + enterprise: *664 + installation: *665 + organization: *666 + project_column: &709 title: Project Column type: object properties: @@ -151665,7 +152183,7 @@ webhooks: - name - created_at - updated_at - repository: *656 + repository: *667 sender: *4 required: - action @@ -151744,14 +152262,14 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - project_column: *698 + enterprise: *664 + installation: *665 + organization: *666 + project_column: *709 repository: anyOf: - type: 'null' - - *656 + - *667 sender: *4 required: - action @@ -151840,11 +152358,11 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 - project_column: *698 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project_column: *709 + repository: *667 sender: *4 required: - action @@ -151924,11 +152442,11 @@ webhooks: type: string enum: - moved - enterprise: *653 - installation: *654 - organization: *655 - project_column: *698 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project_column: *709 + repository: *667 sender: *4 required: - action @@ -152008,11 +152526,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - project: *699 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project: *710 + repository: *667 sender: *4 required: - action @@ -152092,14 +152610,14 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - project: *699 + enterprise: *664 + installation: *665 + organization: *666 + project: *710 repository: anyOf: - type: 'null' - - *656 + - *667 sender: *4 required: - action @@ -152200,11 +152718,11 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 - project: *699 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project: *710 + repository: *667 sender: *4 required: - action @@ -152283,11 +152801,11 @@ webhooks: type: string enum: - reopened - enterprise: *653 - installation: *654 - organization: *655 - project: *699 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project: *710 + repository: *667 sender: *4 required: - action @@ -152368,9 +152886,9 @@ webhooks: type: string enum: - closed - installation: *654 - organization: *655 - projects_v2: &700 + installation: *665 + organization: *666 + projects_v2: &711 title: Projects v2 Project description: A projects v2 project type: object @@ -152518,9 +153036,9 @@ webhooks: type: string enum: - created - installation: *654 - organization: *655 - projects_v2: *700 + installation: *665 + organization: *666 + projects_v2: *711 sender: *4 required: - action @@ -152601,9 +153119,9 @@ webhooks: type: string enum: - deleted - installation: *654 - organization: *655 - projects_v2: *700 + installation: *665 + organization: *666 + projects_v2: *711 sender: *4 required: - action @@ -152724,9 +153242,9 @@ webhooks: type: string to: type: string - installation: *654 - organization: *655 - projects_v2: *700 + installation: *665 + organization: *666 + projects_v2: *711 sender: *4 required: - action @@ -152809,7 +153327,7 @@ webhooks: type: string enum: - archived - changes: &704 + changes: &715 type: object properties: archived_at: @@ -152825,9 +153343,9 @@ webhooks: - string - 'null' format: date-time - installation: *654 - organization: *655 - projects_v2_item: &701 + installation: *665 + organization: *666 + projects_v2_item: &712 title: Projects v2 Item description: An item belonging to a project type: object @@ -152966,9 +153484,9 @@ webhooks: - 'null' to: type: string - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153050,9 +153568,9 @@ webhooks: type: string enum: - created - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153133,9 +153651,9 @@ webhooks: type: string enum: - deleted - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153240,7 +153758,7 @@ webhooks: oneOf: - type: string - type: integer - - &702 + - &713 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153260,7 +153778,7 @@ webhooks: required: - id - name - - &703 + - &714 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153289,8 +153807,8 @@ webhooks: oneOf: - type: string - type: integer - - *702 - - *703 + - *713 + - *714 type: - 'null' - string @@ -153313,9 +153831,9 @@ webhooks: - 'null' required: - body - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153412,9 +153930,9 @@ webhooks: type: - string - 'null' - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153497,10 +154015,10 @@ webhooks: type: string enum: - restored - changes: *704 - installation: *654 - organization: *655 - projects_v2_item: *701 + changes: *715 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153582,9 +154100,9 @@ webhooks: type: string enum: - reopened - installation: *654 - organization: *655 - projects_v2: *700 + installation: *665 + organization: *666 + projects_v2: *711 sender: *4 required: - action @@ -153665,9 +154183,9 @@ webhooks: type: string enum: - created - installation: *654 - organization: *655 - projects_v2_status_update: &705 + installation: *665 + organization: *666 + projects_v2_status_update: &716 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -153802,9 +154320,9 @@ webhooks: type: string enum: - deleted - installation: *654 - organization: *655 - projects_v2_status_update: *705 + installation: *665 + organization: *666 + projects_v2_status_update: *716 sender: *4 required: - action @@ -153950,9 +154468,9 @@ webhooks: - string - 'null' format: date - installation: *654 - organization: *655 - projects_v2_status_update: *705 + installation: *665 + organization: *666 + projects_v2_status_update: *716 sender: *4 required: - action @@ -154023,10 +154541,10 @@ webhooks: title: public event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - repository @@ -154103,13 +154621,13 @@ webhooks: type: string enum: - assigned - assignee: *680 - enterprise: *653 - installation: *654 - number: &706 + assignee: *691 + enterprise: *664 + installation: *665 + number: &717 description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -156458,7 +156976,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -156540,11 +157058,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -158886,7 +159404,7 @@ webhooks: - draft reason: type: string - repository: *656 + repository: *667 sender: *4 required: - action @@ -158968,11 +159486,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -161314,7 +161832,7 @@ webhooks: - draft reason: type: string - repository: *656 + repository: *667 sender: *4 required: - action @@ -161396,13 +161914,13 @@ webhooks: type: string enum: - closed - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: &707 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: &718 allOf: - - *512 + - *523 - type: object properties: allow_auto_merge: @@ -161464,7 +161982,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *656 + repository: *667 sender: *4 required: - action @@ -161545,12 +162063,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -161630,11 +162148,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *653 - milestone: *411 - number: *706 - organization: *655 - pull_request: &708 + enterprise: *664 + milestone: *422 + number: *717 + organization: *666 + pull_request: &719 title: Pull Request type: object properties: @@ -163961,7 +164479,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -164040,11 +164558,11 @@ webhooks: type: string enum: - dequeued - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -166390,7 +166908,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *656 + repository: *667 sender: *4 required: - action @@ -166514,12 +167032,12 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -166599,11 +167117,11 @@ webhooks: type: string enum: - enqueued - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -168934,7 +169452,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -169014,11 +169532,11 @@ webhooks: type: string enum: - labeled - enterprise: *653 - installation: *654 - label: *679 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + label: *690 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -171366,7 +171884,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -171447,10 +171965,10 @@ webhooks: type: string enum: - locked - enterprise: *653 - installation: *654 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -173796,7 +174314,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -173876,12 +174394,12 @@ webhooks: type: string enum: - milestoned - enterprise: *653 - milestone: *411 - number: *706 - organization: *655 - pull_request: *708 - repository: *656 + enterprise: *664 + milestone: *422 + number: *717 + organization: *666 + pull_request: *719 + repository: *667 sender: *4 required: - action @@ -173960,12 +174478,12 @@ webhooks: type: string enum: - opened - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -174046,12 +174564,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -174131,12 +174649,12 @@ webhooks: type: string enum: - reopened - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -174511,9 +175029,9 @@ webhooks: - start_side - side - reactions - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: type: object properties: @@ -176743,7 +177261,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *656 + repository: *667 sender: *4 required: - action @@ -176823,7 +177341,7 @@ webhooks: type: string enum: - deleted - comment: &710 + comment: &721 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. @@ -177116,9 +177634,9 @@ webhooks: - start_side - side - reactions - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: type: object properties: @@ -179336,7 +179854,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *656 + repository: *667 sender: *4 required: - action @@ -179416,11 +179934,11 @@ webhooks: type: string enum: - edited - changes: *709 - comment: *710 - enterprise: *653 - installation: *654 - organization: *655 + changes: *720 + comment: *721 + enterprise: *664 + installation: *665 + organization: *666 pull_request: type: object properties: @@ -181641,7 +182159,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *656 + repository: *667 sender: *4 required: - action @@ -181722,9 +182240,9 @@ webhooks: type: string enum: - dismissed - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -183957,7 +184475,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 + repository: *667 review: description: The review that was affected. type: object @@ -184203,9 +184721,9 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -186319,8 +186837,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 - review: &711 + repository: *667 + review: &722 description: The review that was affected. type: object properties: @@ -186553,12 +187071,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -188905,7 +189423,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 requested_reviewer: title: User type: @@ -188991,12 +189509,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -191350,7 +191868,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191545,12 +192063,12 @@ webhooks: type: string enum: - review_requested - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -193899,7 +194417,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 requested_reviewer: title: User type: @@ -193986,12 +194504,12 @@ webhooks: type: string enum: - review_requested - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -196331,7 +196849,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196515,9 +197033,9 @@ webhooks: type: string enum: - submitted - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -198753,8 +199271,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 - review: *711 + repository: *667 + review: *722 sender: *4 required: - action @@ -198834,9 +199352,9 @@ webhooks: type: string enum: - resolved - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -200967,7 +201485,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 + repository: *667 sender: *4 thread: type: object @@ -201359,9 +201877,9 @@ webhooks: type: string enum: - unresolved - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -203475,7 +203993,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 + repository: *667 sender: *4 thread: type: object @@ -203869,10 +204387,10 @@ webhooks: type: string before: type: string - enterprise: *653 - installation: *654 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -206207,7 +206725,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -206289,11 +206807,11 @@ webhooks: type: string enum: - unassigned - assignee: *712 - enterprise: *653 - installation: *654 - number: *706 - organization: *655 + assignee: *723 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -208643,7 +209161,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -208722,11 +209240,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *653 - installation: *654 - label: *679 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + label: *690 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -211065,7 +211583,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -211146,10 +211664,10 @@ webhooks: type: string enum: - unlocked - enterprise: *653 - installation: *654 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -213478,7 +213996,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -213681,7 +214199,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *653 + enterprise: *664 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -213776,8 +214294,8 @@ webhooks: - url - author - committer - installation: *654 - organization: *655 + installation: *665 + organization: *666 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -214365,9 +214883,9 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 registry_package: type: object properties: @@ -214844,7 +215362,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *694 + items: *705 summary: type: string tag_name: @@ -214900,7 +215418,7 @@ webhooks: - owner - package_version - registry - repository: *656 + repository: *667 sender: *4 required: - action @@ -214978,9 +215496,9 @@ webhooks: type: string enum: - updated - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 registry_package: type: object properties: @@ -215292,7 +215810,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *705 summary: type: string tag_name: @@ -215342,7 +215860,7 @@ webhooks: - owner - package_version - registry - repository: *656 + repository: *667 sender: *4 required: - action @@ -215419,10 +215937,10 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - release: &713 + enterprise: *664 + installation: *665 + organization: *666 + release: &724 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -215738,7 +216256,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *656 + repository: *667 sender: *4 required: - action @@ -215815,11 +216333,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - release: *713 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + release: *724 + repository: *667 sender: *4 required: - action @@ -215927,11 +216445,11 @@ webhooks: type: boolean required: - to - enterprise: *653 - installation: *654 - organization: *655 - release: *713 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + release: *724 + repository: *667 sender: *4 required: - action @@ -216009,9 +216527,9 @@ webhooks: type: string enum: - prereleased - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -216332,7 +216850,7 @@ webhooks: - string - 'null' format: uri - repository: *656 + repository: *667 sender: *4 required: - action @@ -216408,10 +216926,10 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 - release: &714 + enterprise: *664 + installation: *665 + organization: *666 + release: &725 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216729,7 +217247,7 @@ webhooks: - string - 'null' format: uri - repository: *656 + repository: *667 sender: *4 required: - action @@ -216805,11 +217323,11 @@ webhooks: type: string enum: - released - enterprise: *653 - installation: *654 - organization: *655 - release: *713 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + release: *724 + repository: *667 sender: *4 required: - action @@ -216885,11 +217403,11 @@ webhooks: type: string enum: - unpublished - enterprise: *653 - installation: *654 - organization: *655 - release: *714 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + release: *725 + repository: *667 sender: *4 required: - action @@ -216965,11 +217483,11 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_advisory: *565 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_advisory: *576 sender: *4 required: - action @@ -217045,11 +217563,11 @@ webhooks: type: string enum: - reported - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_advisory: *565 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_advisory: *576 sender: *4 required: - action @@ -217125,10 +217643,10 @@ webhooks: type: string enum: - archived - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217205,10 +217723,10 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217286,10 +217804,10 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217374,10 +217892,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217492,10 +218010,10 @@ webhooks: - 'null' items: type: string - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217567,10 +218085,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 status: type: string @@ -217651,10 +218169,10 @@ webhooks: type: string enum: - privatized - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217731,10 +218249,10 @@ webhooks: type: string enum: - publicized - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217828,10 +218346,10 @@ webhooks: - name required: - repository - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217911,11 +218429,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_ruleset: *255 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_ruleset: *266 sender: *4 required: - action @@ -217993,11 +218511,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_ruleset: *255 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_ruleset: *266 sender: *4 required: - action @@ -218075,11 +218593,11 @@ webhooks: type: string enum: - edited - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_ruleset: *255 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_ruleset: *266 changes: type: object properties: @@ -218098,16 +218616,16 @@ webhooks: properties: added: type: array - items: *249 + items: *260 deleted: type: array - items: *249 + items: *260 updated: type: array items: type: object properties: - condition: *249 + condition: *260 changes: type: object properties: @@ -218140,16 +218658,16 @@ webhooks: properties: added: type: array - items: *254 + items: *265 deleted: type: array - items: *254 + items: *265 updated: type: array items: type: object properties: - rule: *254 + rule: *265 changes: type: object properties: @@ -218386,10 +218904,10 @@ webhooks: - from required: - owner - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -218467,10 +218985,10 @@ webhooks: type: string enum: - unarchived - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -218548,7 +219066,7 @@ webhooks: type: string enum: - create - alert: &715 + alert: &726 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -218672,10 +219190,10 @@ webhooks: type: string enum: - open - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -218885,10 +219403,10 @@ webhooks: type: string enum: - dismissed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -218966,11 +219484,11 @@ webhooks: type: string enum: - reopen - alert: *715 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *726 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219172,10 +219690,10 @@ webhooks: enum: - fixed - open - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219253,17 +219771,17 @@ webhooks: type: string enum: - created - alert: &716 + alert: &727 type: object properties: - number: *70 - created_at: *76 + number: *81 + created_at: *87 updated_at: anyOf: - type: 'null' - - *77 - url: *74 - html_url: *75 + - *88 + url: *85 + html_url: *86 locations_url: type: string format: uri @@ -219357,10 +219875,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219441,11 +219959,11 @@ webhooks: type: string enum: - created - alert: *716 - installation: *654 - location: *717 - organization: *655 - repository: *656 + alert: *727 + installation: *665 + location: *728 + organization: *666 + repository: *667 sender: *4 required: - location @@ -219683,11 +220201,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *716 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *727 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219765,11 +220283,11 @@ webhooks: type: string enum: - reopened - alert: *716 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *727 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219847,11 +220365,11 @@ webhooks: type: string enum: - resolved - alert: *716 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *727 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219929,11 +220447,11 @@ webhooks: type: string enum: - validated - alert: *716 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *727 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -220009,11 +220527,11 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - security_advisory: &718 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + security_advisory: &729 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220030,7 +220548,7 @@ webhooks: required: - vector_string - score - cvss_severities: *72 + cvss_severities: *83 cwes: type: array items: @@ -220199,11 +220717,11 @@ webhooks: type: string enum: - updated - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - security_advisory: *718 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + security_advisory: *729 sender: *4 required: - action @@ -220276,10 +220794,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -220297,7 +220815,7 @@ webhooks: required: - vector_string - score - cvss_severities: *72 + cvss_severities: *83 cwes: type: array items: @@ -220465,11 +220983,11 @@ webhooks: from: type: object properties: - security_and_analysis: *246 - enterprise: *653 - installation: *654 - organization: *655 - repository: *307 + security_and_analysis: *257 + enterprise: *664 + installation: *665 + organization: *666 + repository: *318 sender: *4 required: - changes @@ -220547,12 +221065,12 @@ webhooks: type: string enum: - cancelled - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: &719 + sponsorship: &730 type: object properties: created_at: @@ -220857,12 +221375,12 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - sponsorship @@ -220950,12 +221468,12 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - changes @@ -221032,17 +221550,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &720 + effective_date: &731 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: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - sponsorship @@ -221116,7 +221634,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &721 + changes: &732 type: object properties: tier: @@ -221160,13 +221678,13 @@ webhooks: - from required: - tier - effective_date: *720 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + effective_date: *731 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - changes @@ -221243,13 +221761,13 @@ webhooks: type: string enum: - tier_changed - changes: *721 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + changes: *732 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - changes @@ -221323,10 +221841,10 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221410,10 +221928,10 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221842,15 +222360,15 @@ webhooks: type: - string - 'null' - enterprise: *653 + enterprise: *664 id: description: The unique identifier of the status. type: integer - installation: *654 + installation: *665 name: type: string - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 sha: description: The Commit SHA. @@ -221960,15 +222478,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *101 + parent_issue: *112 parent_issue_repo: *55 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *101 - installation: *654 - organization: *655 - repository: *656 + sub_issue: *112 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -222052,15 +222570,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *101 + parent_issue: *112 parent_issue_repo: *55 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *101 - installation: *654 - organization: *655 - repository: *656 + sub_issue: *112 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -222144,15 +222662,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *101 + sub_issue: *112 sub_issue_repo: *55 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *101 - installation: *654 - organization: *655 - repository: *656 + parent_issue: *112 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -222236,15 +222754,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *101 + sub_issue: *112 sub_issue_repo: *55 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *101 - installation: *654 - organization: *655 - repository: *656 + parent_issue: *112 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -222321,12 +222839,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - team: &722 + team: &733 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -222519,9 +223037,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -222991,7 +223509,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - team @@ -223067,9 +223585,9 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -223539,7 +224057,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - team @@ -223616,9 +224134,9 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -224088,7 +224606,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - team @@ -224232,9 +224750,9 @@ webhooks: - from required: - permissions - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -224704,7 +225222,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - changes @@ -224782,9 +225300,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -225254,7 +225772,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - team @@ -225330,10 +225848,10 @@ webhooks: type: string enum: - started - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -225406,17 +225924,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *653 + enterprise: *664 inputs: type: - object - 'null' additionalProperties: true - installation: *654 - organization: *655 + installation: *665 + organization: *666 ref: type: string - repository: *656 + repository: *667 sender: *4 workflow: type: string @@ -225498,10 +226016,10 @@ webhooks: type: string enum: - completed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 workflow_job: allOf: @@ -225757,7 +226275,7 @@ webhooks: type: string required: - conclusion - deployment: *431 + deployment: *442 required: - action - repository @@ -225836,10 +226354,10 @@ webhooks: type: string enum: - in_progress - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 workflow_job: allOf: @@ -226121,7 +226639,7 @@ webhooks: required: - status - steps - deployment: *431 + deployment: *442 required: - action - repository @@ -226200,10 +226718,10 @@ webhooks: type: string enum: - queued - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 workflow_job: type: object @@ -226349,7 +226867,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *431 + deployment: *442 required: - action - repository @@ -226428,10 +226946,10 @@ webhooks: type: string enum: - waiting - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 workflow_job: type: object @@ -226578,7 +227096,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *431 + deployment: *442 required: - action - repository @@ -226658,12 +227176,12 @@ webhooks: type: string enum: - completed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: *675 + workflow: *686 workflow_run: title: Workflow Run type: object @@ -227682,12 +228200,12 @@ webhooks: type: string enum: - in_progress - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: *675 + workflow: *686 workflow_run: title: Workflow Run type: object @@ -228691,12 +229209,12 @@ webhooks: type: string enum: - requested - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: *675 + workflow: *686 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 0531e37180..a3d7897795 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -25136,6 +25136,1055 @@ } } }, + "/enterprises/{enterprise}/audit-log/stream-key": { + "get": { + "summary": "Get the audit log stream key for encrypting secrets", + "description": "Retrieves the audit log streaming public key for encrypting secrets.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-audit-log-stream-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The stream key for the audit log streaming configuration was retrieved successfully.", + "content": { + "application/json": { + "schema": { + "title": "stream-key", + "description": "Audit Log Streaming Public Key", + "type": "object", + "properties": { + "key_id": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "123", + "key": "actual-public-key-value" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, + "/enterprises/{enterprise}/audit-log/streams": { + "get": { + "summary": "List audit log stream configurations for an enterprise", + "description": "Lists the configured audit log streaming configurations for an enterprise.\nThis only lists configured streams for supported providers.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-audit-log-streams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "title": "List audit log streaming configurations", + "description": "Lists the audit log streaming configurations for an enterprise.", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "post": { + "summary": "Create an audit log streaming configuration for an enterprise", + "description": "Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This setting pauses or resumes a stream." + }, + "stream_type": { + "type": "string", + "description": "The audit log streaming provider. The name is case sensitive.", + "enum": [ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog" + ] + }, + "vendor_specific": { + "type": "object", + "oneOf": [ + { + "title": "AzureBlobConfig", + "description": "Azure Blob Config for audit log streaming configuration.", + "type": "object", + "properties": { + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_sas_url": { + "type": "string" + } + }, + "required": [ + "key_id", + "encrypted_sas_url" + ] + }, + { + "title": "AzureHubConfig", + "description": "Azure Event Hubs Config for audit log streaming configuration.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Instance name of Azure Event Hubs" + }, + "encrypted_connstring": { + "type": "string", + "description": "Encrypted Connection String for Azure Event Hubs" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + } + }, + "required": [ + "name", + "encrypted_connstring", + "key_id" + ] + }, + { + "title": "AmazonS3OIDCConfig", + "description": "Amazon S3 OIDC Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "AWS S3 Bucket Region." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "oidc" + ] + }, + "arn_role": { + "type": "string" + } + }, + "required": [ + "arn_role", + "authentication_type", + "bucket", + "key_id", + "region" + ] + }, + { + "title": "AmazonS3AccessKeysConfig", + "description": "Amazon S3 Access Keys Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "access_keys" + ] + }, + "encrypted_secret_key": { + "type": "string", + "description": "Encrypted AWS Secret Key." + }, + "encrypted_access_key_id": { + "type": "string", + "description": "Encrypted AWS Access Key ID." + } + }, + "required": [ + "authentication_type", + "bucket", + "encrypted_access_key_id", + "encrypted_secret_key", + "key_id", + "region" + ] + }, + { + "title": "SplunkConfig", + "description": "Splunk Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Splunk instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to Splunk.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your Splunk endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "key_id", + "port", + "ssl_verify" + ] + }, + { + "title": "GoogleCloudConfig", + "description": "Google Cloud Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Google Cloud Bucket Name" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_json_credentials": { + "type": "string" + } + }, + "required": [ + "bucket", + "key_id", + "encrypted_json_credentials" + ] + }, + { + "title": "DatadogConfig", + "description": "Datadog Config for audit log streaming configuration.", + "type": "object", + "properties": { + "encrypted_token": { + "description": "Encrypted Splunk token.", + "type": "string" + }, + "site": { + "description": "Datadog Site to use.", + "type": "string", + "enum": [ + "US", + "US3", + "US5", + "EU1", + "US1-FED", + "AP1" + ] + }, + "key_id": { + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets.", + "type": "string" + } + }, + "required": [ + "encrypted_token", + "site", + "key_id" + ] + } + ] + } + }, + "required": [ + "enabled", + "stream_type", + "vendor_specific" + ] + }, + "examples": { + "default": { + "value": { + "enabled": false, + "stream_type": "Azure Event Hubs", + "vendor_specific": { + "namespace": "newnamespace", + "shared_access_key_name": "newaccesskeyname", + "shared_access_key": "newaccesskey", + "event_hub_name": "neweventhub" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The audit log stream configuration was created successfully.", + "content": { + "application/json": { + "schema": { + "title": "Get an audit log streaming configuration", + "description": "Get an audit log streaming configuration for an enterprise.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, + "/enterprises/{enterprise}/audit-log/streams/{stream_id}": { + "get": { + "summary": "List one audit log streaming configuration via a stream ID", + "description": "Lists one audit log stream configuration via a stream ID.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-one-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "stream_id", + "description": "The ID of the audit log stream configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Lists one audit log stream configuration via stream ID.", + "content": { + "application/json": { + "schema": { + "title": "Get an audit log streaming configuration", + "description": "Get an audit log streaming configuration for an enterprise.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "put": { + "summary": "Update an existing audit log stream configuration", + "description": "Updates an existing audit log stream configuration for an enterprise.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/update-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "stream_id", + "description": "The ID of the audit log stream configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This setting pauses or resumes a stream." + }, + "stream_type": { + "type": "string", + "description": "The audit log streaming provider. The name is case sensitive.", + "enum": [ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog" + ] + }, + "vendor_specific": { + "type": "object", + "oneOf": [ + { + "title": "AzureBlobConfig", + "description": "Azure Blob Config for audit log streaming configuration.", + "type": "object", + "properties": { + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_sas_url": { + "type": "string" + } + }, + "required": [ + "key_id", + "encrypted_sas_url" + ] + }, + { + "title": "AzureHubConfig", + "description": "Azure Event Hubs Config for audit log streaming configuration.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Instance name of Azure Event Hubs" + }, + "encrypted_connstring": { + "type": "string", + "description": "Encrypted Connection String for Azure Event Hubs" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + } + }, + "required": [ + "name", + "encrypted_connstring", + "key_id" + ] + }, + { + "title": "AmazonS3OIDCConfig", + "description": "Amazon S3 OIDC Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "AWS S3 Bucket Region." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "oidc" + ] + }, + "arn_role": { + "type": "string" + } + }, + "required": [ + "arn_role", + "authentication_type", + "bucket", + "key_id", + "region" + ] + }, + { + "title": "AmazonS3AccessKeysConfig", + "description": "Amazon S3 Access Keys Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "access_keys" + ] + }, + "encrypted_secret_key": { + "type": "string", + "description": "Encrypted AWS Secret Key." + }, + "encrypted_access_key_id": { + "type": "string", + "description": "Encrypted AWS Access Key ID." + } + }, + "required": [ + "authentication_type", + "bucket", + "encrypted_access_key_id", + "encrypted_secret_key", + "key_id", + "region" + ] + }, + { + "title": "SplunkConfig", + "description": "Splunk Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Splunk instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to Splunk.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your Splunk endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "key_id", + "port", + "ssl_verify" + ] + }, + { + "title": "GoogleCloudConfig", + "description": "Google Cloud Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Google Cloud Bucket Name" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_json_credentials": { + "type": "string" + } + }, + "required": [ + "bucket", + "key_id", + "encrypted_json_credentials" + ] + }, + { + "title": "DatadogConfig", + "description": "Datadog Config for audit log streaming configuration.", + "type": "object", + "properties": { + "encrypted_token": { + "description": "Encrypted Splunk token.", + "type": "string" + }, + "site": { + "description": "Datadog Site to use.", + "type": "string", + "enum": [ + "US", + "US3", + "US5", + "EU1", + "US1-FED", + "AP1" + ] + }, + "key_id": { + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets.", + "type": "string" + } + }, + "required": [ + "encrypted_token", + "site", + "key_id" + ] + } + ] + } + }, + "required": [ + "enabled", + "stream_type", + "vendor_specific" + ] + }, + "examples": { + "default": { + "value": { + "enabled": false, + "stream_type": "Azure Event Hubs", + "vendor_specific": { + "namespace": "newnamespace", + "shared_access_key_name": "newaccesskeyname", + "shared_access_key": "newaccesskey", + "event_hub_name": "neweventhub" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful update", + "content": { + "application/json": { + "schema": { + "title": "Get an audit log streaming configuration", + "description": "Get an audit log streaming configuration for an enterprise.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + } + } + } + } + }, + "422": { + "description": "Validation error", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "delete": { + "summary": "Delete an audit log streaming configuration for an enterprise", + "description": "Deletes an existing audit log stream configuration for an enterprise. \n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/delete-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "stream_id", + "description": "The ID of the audit log stream configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "The audit log stream configuration was deleted successfully." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an enterprise", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index f63131d667..098c96d762 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -436,7 +436,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &63 + - &74 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 results before this cursor. For @@ -445,7 +445,7 @@ paths: required: false schema: type: string - - &64 + - &75 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 results after this cursor. For @@ -454,7 +454,7 @@ paths: required: false schema: type: string - - &65 + - &76 name: direction description: The direction to sort the results by. in: query @@ -693,7 +693,7 @@ paths: required: - vector_string - score - cvss_severities: &72 + cvss_severities: &83 type: - object - 'null' @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &266 + type: &277 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &121 + schema: &132 title: Validation Error Simple description: Validation Error Simple type: object @@ -1062,7 +1062,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: - - &567 + - &578 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1593,7 +1593,7 @@ paths: schema: type: integer default: 30 - - &190 + - &201 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 @@ -1609,7 +1609,7 @@ paths: application/json: schema: type: array - items: &191 + items: &202 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1702,7 +1702,7 @@ paths: - installation_id - repository_id examples: - default: &192 + default: &203 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &577 + schema: &588 title: Scim Error description: Scim Error type: object @@ -1765,7 +1765,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &120 + schema: &131 title: Validation Error description: Validation Error type: object @@ -1837,7 +1837,7 @@ paths: description: Response content: application/json: - schema: &193 + schema: &204 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1972,7 +1972,7 @@ paths: - request - response examples: - default: &194 + default: &205 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2032,7 +2032,7 @@ paths: parameters: - *16 responses: - '202': &123 + '202': &134 description: Accepted content: application/json: @@ -2241,7 +2241,7 @@ paths: parameters: - *17 - *18 - - &91 + - &102 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) @@ -3003,7 +3003,7 @@ paths: license: anyOf: - type: 'null' - - &102 + - &113 title: License Simple description: License Simple type: object @@ -7598,7 +7598,7 @@ paths: description: Response content: application/json: - schema: &124 + schema: &135 type: object properties: total_active_caches_count: @@ -7613,7 +7613,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &125 + default: &136 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7708,7 +7708,7 @@ paths: - all - local_only - selected - selected_actions_url: &128 + selected_actions_url: &139 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` @@ -8089,7 +8089,7 @@ paths: description: Success response content: application/json: - schema: &131 + schema: &142 type: object properties: default_workflow_permissions: &44 @@ -8137,7 +8137,7 @@ paths: required: true content: application/json: - schema: &132 + schema: &143 type: object properties: default_workflow_permissions: *44 @@ -8966,7 +8966,7 @@ paths: application/json: schema: type: array - items: &136 + items: &147 title: Runner Application description: Runner Application type: object @@ -8991,7 +8991,7 @@ paths: - download_url - filename examples: - default: &137 + default: &148 value: - os: osx architecture: x64 @@ -9075,7 +9075,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &138 + '201': &149 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: - token - expires_at examples: - default: &139 + default: &150 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9229,7 +9229,7 @@ paths: application/json: schema: *56 examples: - default: &140 + default: &151 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9261,7 +9261,7 @@ paths: application/json: schema: *53 examples: - default: &141 + default: &152 value: id: 23 name: MBP @@ -9475,7 +9475,7 @@ paths: - *38 - *52 responses: - '200': &142 + '200': &153 description: Response content: application/json: @@ -9531,7 +9531,7 @@ paths: parameters: - *38 - *52 - - &143 + - &154 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9628,7 +9628,7 @@ paths: required: true content: application/json: - schema: &150 + schema: &161 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9699,7 +9699,7 @@ paths: required: false schema: type: string - - &151 + - &162 name: include description: |- The event types to include: @@ -9717,7 +9717,7 @@ paths: - web - git - all - - &152 + - &163 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. @@ -9725,7 +9725,7 @@ paths: required: false schema: type: string - - &153 + - &164 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. @@ -9733,7 +9733,7 @@ paths: required: false schema: type: string - - &154 + - &165 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9755,7 +9755,7 @@ paths: application/json: schema: type: array - items: &155 + items: &166 type: object properties: "@timestamp": @@ -9877,7 +9877,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &156 + default: &167 value: - "@timestamp": 1606929874512 action: team.add_member @@ -9906,6 +9906,524 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: audit-log + "/enterprises/{enterprise}/audit-log/stream-key": + get: + summary: Get the audit log stream key for encrypting secrets + description: |- + Retrieves the audit log streaming public key for encrypting secrets. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-audit-log-stream-key + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets + parameters: + - *38 + responses: + '200': + description: The stream key for the audit log streaming configuration was + retrieved successfully. + content: + application/json: + schema: + title: stream-key + description: Audit Log Streaming Public Key + type: object + properties: + key_id: + type: string + key: + type: string + required: + - key_id + - key + examples: + default: + value: + key_id: '123' + key: actual-public-key-value + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + "/enterprises/{enterprise}/audit-log/streams": + get: + summary: List audit log stream configurations for an enterprise + description: |- + Lists the configured audit log streaming configurations for an enterprise. + This only lists configured streams for supported providers. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-audit-log-streams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise + parameters: + - *38 + responses: + '200': + description: OK + content: + application/json: + schema: + title: List audit log streaming configurations + description: Lists the audit log streaming configurations for an enterprise. + type: array + items: + type: object + properties: + id: + type: integer + stream_type: + type: string + stream_details: + type: string + enabled: + type: boolean + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + paused_at: + type: + - string + - 'null' + format: date-time + required: + - id + - stream_type + - stream_details + - enabled + - created_at + - updated_at + examples: + default: + value: + - id: 1 + stream_type: Splunk + stream_details: US + enabled: true + created_at: '2024-06-06T08:00:00Z' + updated_at: '2024-06-06T08:00:00Z' + paused_at: + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + post: + summary: Create an audit log streaming configuration for an enterprise + description: |- + Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/create-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: This setting pauses or resumes a stream. + stream_type: + type: string + description: The audit log streaming provider. The name is case + sensitive. + enum: + - Azure Blob Storage + - Azure Event Hubs + - Amazon S3 + - Splunk + - HTTPS Event Collector + - Google Cloud Storage + - Datadog + vendor_specific: + type: object + oneOf: + - &66 + title: AzureBlobConfig + description: Azure Blob Config for audit log streaming configuration. + type: object + properties: + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + encrypted_sas_url: + type: string + required: + - key_id + - encrypted_sas_url + - &67 + title: AzureHubConfig + description: Azure Event Hubs Config for audit log streaming configuration. + type: object + properties: + name: + type: string + description: Instance name of Azure Event Hubs + encrypted_connstring: + type: string + description: Encrypted Connection String for Azure Event Hubs + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + required: + - name + - encrypted_connstring + - key_id + - &68 + title: AmazonS3OIDCConfig + description: Amazon S3 OIDC Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Amazon S3 Bucket Name. + region: + type: string + description: AWS S3 Bucket Region. + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + authentication_type: + type: string + description: Authentication Type for Amazon S3. + enum: + - oidc + arn_role: + type: string + required: + - arn_role + - authentication_type + - bucket + - key_id + - region + - &69 + title: AmazonS3AccessKeysConfig + description: Amazon S3 Access Keys Config for audit log streaming + configuration. + type: object + properties: + bucket: + type: string + description: Amazon S3 Bucket Name. + region: + type: string + description: Amazon S3 Bucket Name. + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + authentication_type: + type: string + description: Authentication Type for Amazon S3. + enum: + - access_keys + encrypted_secret_key: + type: string + description: Encrypted AWS Secret Key. + encrypted_access_key_id: + type: string + description: Encrypted AWS Access Key ID. + required: + - authentication_type + - bucket + - encrypted_access_key_id + - encrypted_secret_key + - key_id + - region + - &70 + title: SplunkConfig + description: Splunk Config for Audit Log Stream Configuration + type: object + properties: + domain: + description: Domain of Splunk instance. + type: string + port: + description: The port number for connecting to Splunk. + type: integer + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + encrypted_token: + description: Encrypted Token. + type: string + ssl_verify: + description: SSL verification helps ensure your events are + sent to your Splunk endpoint securely. + type: boolean + required: + - domain + - encrypted_token + - key_id + - port + - ssl_verify + - &71 + title: GoogleCloudConfig + description: Google Cloud Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Google Cloud Bucket Name + key_id: + type: string + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + encrypted_json_credentials: + type: string + required: + - bucket + - key_id + - encrypted_json_credentials + - &72 + title: DatadogConfig + description: Datadog Config for audit log streaming configuration. + type: object + properties: + encrypted_token: + description: Encrypted Splunk token. + type: string + site: + description: Datadog Site to use. + type: string + enum: + - US + - US3 + - US5 + - EU1 + - US1-FED + - AP1 + key_id: + description: Key ID obtained from the audit log stream key + endpoint used to encrypt secrets. + type: string + required: + - encrypted_token + - site + - key_id + required: + - enabled + - stream_type + - vendor_specific + examples: + default: &73 + value: + enabled: false + stream_type: Azure Event Hubs + vendor_specific: + namespace: newnamespace + shared_access_key_name: newaccesskeyname + shared_access_key: newaccesskey + event_hub_name: neweventhub + responses: + '200': + description: The audit log stream configuration was created successfully. + content: + application/json: + schema: &63 + title: Get an audit log streaming configuration + description: Get an audit log streaming configuration for an enterprise. + type: object + properties: + id: + type: integer + stream_type: + type: string + stream_details: + type: string + enabled: + type: boolean + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + paused_at: + type: + - string + - 'null' + format: date-time + required: + - id + - stream_type + - stream_details + - enabled + - created_at + - updated_at + examples: + default: &64 + value: + id: 1 + stream_type: Splunk + stream_details: US + enabled: true + created_at: '2024-06-06T08:00:00Z' + updated_at: '2024-06-06T08:00:00Z' + paused_at: + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + "/enterprises/{enterprise}/audit-log/streams/{stream_id}": + get: + summary: List one audit log streaming configuration via a stream ID + description: |- + Lists one audit log stream configuration via a stream ID. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-one-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id + parameters: + - *38 + - &65 + name: stream_id + description: The ID of the audit log stream configuration. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Lists one audit log stream configuration via stream ID. + content: + application/json: + schema: *63 + examples: + default: *64 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + put: + summary: Update an existing audit log stream configuration + description: |- + Updates an existing audit log stream configuration for an enterprise. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/update-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration + parameters: + - *38 + - *65 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: This setting pauses or resumes a stream. + stream_type: + type: string + description: The audit log streaming provider. The name is case + sensitive. + enum: + - Azure Blob Storage + - Azure Event Hubs + - Amazon S3 + - Splunk + - HTTPS Event Collector + - Google Cloud Storage + - Datadog + vendor_specific: + type: object + oneOf: + - *66 + - *67 + - *68 + - *69 + - *70 + - *71 + - *72 + required: + - enabled + - stream_type + - vendor_specific + examples: + default: *73 + responses: + '200': + description: Successful update + content: + application/json: + schema: *63 + examples: + default: *64 + '422': + description: Validation error + content: + application/json: + schema: + type: object + properties: + errors: + type: array + items: + type: string + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + delete: + summary: Delete an audit log streaming configuration for an enterprise + description: "Deletes an existing audit log stream configuration for an enterprise. + \n\nWhen using this endpoint, you must encrypt the credentials following the + same encryption steps as outlined in the guide on encrypting secrets. See + \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"" + tags: + - enterprise-admin + operationId: enterprise-admin/delete-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise + parameters: + - *38 + - *65 + responses: + '204': + description: The audit log stream configuration was deleted successfully. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -9923,17 +10441,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &158 + - &169 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`, but not both. in: query required: false - schema: &66 + schema: &77 type: string description: The name of the tool used to generate the code scanning analysis. - - &159 + - &170 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 @@ -9941,23 +10459,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &67 + schema: &78 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *63 - - *64 + - *74 + - *75 - *18 - *17 - - *65 + - *76 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &160 + schema: &171 type: string description: State of a code scanning alert. enum: @@ -9982,42 +10500,42 @@ paths: application/json: schema: type: array - items: &161 + items: &172 type: object properties: - number: &70 + number: &81 type: integer description: The security alert number. readOnly: true - created_at: &76 + created_at: &87 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: &77 + updated_at: &88 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: &74 + url: &85 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &75 + html_url: &86 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &374 + instances_url: &385 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &68 + state: &79 type: - string - 'null' @@ -10027,7 +10545,7 @@ paths: - dismissed - fixed - - fixed_at: &79 + fixed_at: &90 type: - string - 'null' @@ -10039,7 +10557,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &78 + dismissed_at: &89 type: - string - 'null' @@ -10047,7 +10565,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &375 + dismissed_reason: &386 type: - string - 'null' @@ -10058,14 +10576,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &376 + dismissed_comment: &387 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &377 + rule: &388 type: object properties: id: @@ -10126,26 +10644,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &378 + tool: &389 type: object properties: - name: *66 + name: *77 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *67 - most_recent_instance: &379 + guid: *78 + most_recent_instance: &390 type: object properties: - ref: &372 + ref: &383 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &385 + analysis_key: &396 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10156,13 +10674,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &386 + category: &397 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *68 + state: *79 commit_sha: type: string message: @@ -10203,7 +10721,7 @@ paths: - test - library - - repository: &80 + repository: &91 title: Simple Repository description: A GitHub repository. type: object @@ -10540,7 +11058,7 @@ paths: - most_recent_instance - repository examples: - default: &162 + default: &173 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -10771,7 +11289,7 @@ paths: headers: Link: *37 '404': *6 - '503': &81 + '503': &92 description: Service unavailable content: application/json: @@ -11198,7 +11716,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &168 + items: &179 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11213,7 +11731,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &212 + - &223 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11272,7 +11790,7 @@ paths: parent: anyOf: - type: 'null' - - &225 + - &236 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -11466,7 +11984,7 @@ paths: - created_at additionalProperties: false examples: - default: &169 + default: &180 value: total_seats: 2 seats: @@ -11535,7 +12053,7 @@ paths: site_admin: false headers: Link: *37 - '500': &69 + '500': &80 description: Internal Error content: application/json: @@ -11601,7 +12119,7 @@ paths: application/json: schema: type: array - items: &83 + items: &94 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -11917,7 +12435,7 @@ paths: - date additionalProperties: true examples: - default: &84 + default: &95 value: - date: '2024-06-24' total_active_users: 24 @@ -12016,10 +12534,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *69 + '500': *80 '403': *27 '404': *6 - '422': &85 + '422': &96 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -12089,7 +12607,7 @@ paths: application/json: schema: type: array - items: &86 + items: &97 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -12241,7 +12759,7 @@ paths: lines_suggested: 1100 lines_accepted: 1000 active_users: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -12269,7 +12787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &176 + - &187 name: state in: query description: |- @@ -12278,7 +12796,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &177 + - &188 name: severity in: query description: |- @@ -12287,7 +12805,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &178 + - &189 name: ecosystem in: query description: |- @@ -12296,14 +12814,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &179 + - &190 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 - - &180 + - &191 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12313,7 +12831,7 @@ paths: enum: - development - runtime - - &181 + - &192 name: sort in: query description: |- @@ -12326,10 +12844,10 @@ paths: - created - updated default: created - - *65 - - *63 - - *64 - - &182 + - *76 + - *74 + - *75 + - &193 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12342,7 +12860,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &183 + - &194 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12362,11 +12880,11 @@ paths: application/json: schema: type: array - items: &184 + items: &195 type: object description: A Dependabot alert. properties: - number: *70 + number: *81 state: type: string description: The state of the Dependabot alert. @@ -12381,7 +12899,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &71 + package: &82 type: object description: Details for the vulnerable package. readOnly: true @@ -12414,7 +12932,7 @@ paths: - development - runtime - - security_advisory: &423 + security_advisory: &434 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12445,13 +12963,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &73 + items: &84 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *71 + package: *82 severity: type: string description: The severity of the vulnerability. @@ -12519,7 +13037,7 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *72 + cvss_severities: *83 cwes: type: array description: Details for the advisory pertaining to Common @@ -12619,12 +13137,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *73 - url: *74 - html_url: *75 - created_at: *76 - updated_at: *77 - dismissed_at: *78 + security_vulnerability: *84 + url: *85 + html_url: *86 + created_at: *87 + updated_at: *88 + dismissed_at: *89 dismissed_by: anyOf: - type: 'null' @@ -12648,8 +13166,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *79 - auto_dismissed_at: &424 + fixed_at: *90 + auto_dismissed_at: &435 type: - string - 'null' @@ -12657,7 +13175,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *80 + repository: *91 required: - number - state @@ -12676,7 +13194,7 @@ paths: - repository additionalProperties: false examples: - default: &185 + default: &196 value: - number: 2 state: dismissed @@ -13082,7 +13600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &257 + - &268 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13093,7 +13611,7 @@ paths: enum: - open - resolved - - &258 + - &269 name: secret_type in: query description: |- @@ -13103,7 +13621,7 @@ paths: required: false schema: type: string - - &259 + - &270 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13112,7 +13630,7 @@ paths: required: false schema: type: string - - &260 + - &271 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. @@ -13124,11 +13642,11 @@ paths: - created - updated default: created - - *65 + - *76 - *17 - - *63 - - *64 - - &261 + - *74 + - *75 + - &272 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13137,7 +13655,7 @@ paths: required: false schema: type: string - - &262 + - &273 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13146,7 +13664,7 @@ paths: schema: type: boolean default: false - - &263 + - &274 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13162,30 +13680,30 @@ paths: application/json: schema: type: array - items: &264 + items: &275 type: object properties: - number: *70 - created_at: *76 + number: *81 + created_at: *87 updated_at: anyOf: - type: 'null' - - *77 - url: *74 - html_url: *75 + - *88 + url: *85 + html_url: *86 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &560 + state: &571 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: &561 + resolution: &572 type: - string - 'null' @@ -13219,7 +13737,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *80 + repository: *91 push_protection_bypassed: type: - boolean @@ -13278,7 +13796,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &265 + default: &276 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13511,7 +14029,7 @@ paths: headers: Link: *37 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13539,7 +14057,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &278 type: object properties: total_minutes_used: @@ -13609,7 +14127,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &268 + default: &279 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13647,7 +14165,7 @@ paths: description: Success content: application/json: - schema: &269 + schema: &280 type: object properties: total_advanced_security_committers: @@ -13710,7 +14228,7 @@ paths: required: - repositories examples: - default: &270 + default: &281 value: total_advanced_security_committers: 2 total_count: 2 @@ -13797,8 +14315,8 @@ paths: name: Monalisa '400': *14 '403': *27 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13819,7 +14337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *38 - - &82 + - &93 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -13861,13 +14379,13 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': &122 + '409': &133 description: Conflict content: application/json: schema: *3 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13887,7 +14405,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *38 - - *82 + - *93 requestBody: required: true content: @@ -13924,8 +14442,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *27 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13953,7 +14471,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &282 type: object properties: total_gigabytes_bandwidth_used: @@ -13971,7 +14489,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &272 + default: &283 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14003,7 +14521,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &284 type: object properties: days_left_in_billing_cycle: @@ -14021,7 +14539,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &274 + default: &285 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14156,8 +14674,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14225,13 +14743,13 @@ paths: application/json: schema: type: array - items: *83 + items: *94 examples: - default: *84 - '500': *69 + default: *95 + '500': *80 '403': *27 '404': *6 - '422': *85 + '422': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14266,7 +14784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &224 + - &235 name: team_slug description: The slug of the team name. in: path @@ -14304,9 +14822,9 @@ paths: application/json: schema: type: array - items: *86 + items: *97 examples: - default: &170 + default: &181 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -14370,7 +14888,7 @@ paths: lines_suggested: 200 lines_accepted: 150 active_users: 3 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -14462,7 +14980,7 @@ paths: application/json: schema: type: array - items: &112 + items: &123 title: Event description: Event type: object @@ -14473,7 +14991,7 @@ paths: type: - string - 'null' - actor: &87 + actor: &98 title: Actor description: Actor type: object @@ -14514,13 +15032,13 @@ paths: - id - name - url - org: *87 + org: *98 payload: type: object properties: action: type: string - issue: &101 + issue: &112 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -14640,7 +15158,7 @@ paths: milestone: anyOf: - type: 'null' - - &411 + - &422 title: Milestone description: A collection of related issues and pull requests. @@ -14817,7 +15335,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &88 + author_association: &99 title: author_association type: string description: How the author is associated with the repository. @@ -14832,7 +15350,7 @@ paths: - OWNER examples: - OWNER - reactions: &89 + reactions: &100 title: Reaction Rollup type: object properties: @@ -14890,7 +15408,7 @@ paths: - author_association - created_at - updated_at - comment: &470 + comment: &481 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14940,12 +15458,12 @@ paths: issue_url: type: string format: uri - author_association: *88 + author_association: *99 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *89 + reactions: *100 required: - id - node_id @@ -15042,7 +15560,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15132,7 +15650,7 @@ paths: _links: type: object properties: - timeline: &90 + timeline: &101 title: Link With Type description: Hypermedia Link with Type type: object @@ -15144,17 +15662,17 @@ paths: required: - href - type - user: *90 - security_advisories: *90 - current_user: *90 - current_user_public: *90 - current_user_actor: *90 - current_user_organization: *90 + user: *101 + security_advisories: *101 + current_user: *101 + current_user_public: *101 + current_user_actor: *101 + current_user_organization: *101 current_user_organizations: type: array - items: *90 - repository_discussions: *90 - repository_discussions_category: *90 + items: *101 + repository_discussions: *101 + repository_discussions_category: *101 required: - timeline - user @@ -15216,7 +15734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *91 + - *102 - *17 - *18 responses: @@ -15226,7 +15744,7 @@ paths: application/json: schema: type: array - items: &92 + items: &103 title: Base Gist description: Base Gist type: object @@ -15321,7 +15839,7 @@ paths: - created_at - updated_at examples: - default: &93 + default: &104 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -15445,7 +15963,7 @@ paths: description: Response content: application/json: - schema: &94 + schema: &105 title: Gist Simple description: Gist Simple type: object @@ -15463,7 +15981,7 @@ paths: url: type: string format: uri - user: &616 + user: &627 title: Public User description: Public User type: object @@ -15833,7 +16351,7 @@ paths: truncated: type: boolean examples: - default: &95 + default: &106 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -15936,7 +16454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *91 + - *102 - *17 - *18 responses: @@ -15946,9 +16464,9 @@ paths: application/json: schema: type: array - items: *92 + items: *103 examples: - default: *93 + default: *104 headers: Link: *37 '422': *15 @@ -15970,7 +16488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *91 + - *102 - *17 - *18 responses: @@ -15980,9 +16498,9 @@ paths: application/json: schema: type: array - items: *92 + items: *103 examples: - default: *93 + default: *104 headers: Link: *37 '401': *23 @@ -16010,7 +16528,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &96 + - &107 name: gist_id description: The unique identifier of the gist. in: path @@ -16022,10 +16540,10 @@ paths: description: Response content: application/json: - schema: *94 + schema: *105 examples: - default: *95 - '403': &99 + default: *106 + '403': &110 description: Forbidden Gist content: application/json: @@ -16074,7 +16592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *96 + - *107 requestBody: required: true content: @@ -16138,9 +16656,9 @@ paths: description: Response content: application/json: - schema: *94 + schema: *105 examples: - updateGist: *95 + updateGist: *106 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -16298,7 +16816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *96 + - *107 responses: '204': description: Response @@ -16327,7 +16845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *96 + - *107 - *17 - *18 responses: @@ -16337,7 +16855,7 @@ paths: application/json: schema: type: array - items: &97 + items: &108 title: Gist Comment description: A comment made to a gist. type: object @@ -16375,7 +16893,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *88 + author_association: *99 required: - url - id @@ -16440,7 +16958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *96 + - *107 requestBody: required: true content: @@ -16466,9 +16984,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *108 examples: - default: &98 + default: &109 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -16526,8 +17044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *96 - - &100 + - *107 + - &111 name: comment_id description: The unique identifier of the comment. in: path @@ -16540,12 +17058,12 @@ paths: description: Response content: application/json: - schema: *97 + schema: *108 examples: - default: *98 + default: *109 '304': *35 '404': *6 - '403': *99 + '403': *110 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -16567,8 +17085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *96 - - *100 + - *107 + - *111 requestBody: required: true content: @@ -16594,9 +17112,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *108 examples: - default: *98 + default: *109 '404': *6 x-github: githubCloudOnly: false @@ -16613,8 +17131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *96 - - *100 + - *107 + - *111 responses: '204': description: Response @@ -16637,7 +17155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *96 + - *107 - *17 - *18 responses: @@ -16738,7 +17256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *96 + - *107 - *17 - *18 responses: @@ -16748,7 +17266,7 @@ paths: application/json: schema: type: array - items: *94 + items: *105 examples: default: value: @@ -16813,13 +17331,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *96 + - *107 responses: '201': description: Response content: application/json: - schema: *92 + schema: *103 examples: default: value: @@ -16890,7 +17408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *96 + - *107 responses: '204': description: Response if gist is starred @@ -16920,7 +17438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *96 + - *107 responses: '204': description: Response @@ -16942,7 +17460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *96 + - *107 responses: '204': description: Response @@ -16971,7 +17489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *96 + - *107 - name: sha in: path required: true @@ -16982,9 +17500,9 @@ paths: description: Response content: application/json: - schema: *94 + schema: *105 examples: - default: *95 + default: *106 '422': *15 '404': *6 '403': *27 @@ -17353,7 +17871,7 @@ paths: - closed - all default: open - - &213 + - &224 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17371,8 +17889,8 @@ paths: - updated - comments default: created - - *65 - - *91 + - *76 + - *102 - name: collab in: query required: false @@ -17402,9 +17920,9 @@ paths: application/json: schema: type: array - items: *101 + items: *112 examples: - default: &214 + default: &225 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17684,7 +18202,7 @@ paths: application/json: schema: type: array - items: *102 + items: *113 examples: default: value: @@ -17981,7 +18499,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &103 + X-CommonMarker-Version: &114 example: 0.17.4 schema: type: string @@ -18036,7 +18554,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *103 + X-CommonMarker-Version: *114 content: text/html: schema: @@ -18065,7 +18583,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: - - &106 + - &117 name: account_id description: account_id parameter in: path @@ -18077,7 +18595,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &116 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -18111,7 +18629,7 @@ paths: - 'null' id: type: integer - plan: &104 + plan: &115 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -18214,7 +18732,7 @@ paths: - 'null' updated_at: type: string - plan: *104 + plan: *115 required: - url - id @@ -18222,7 +18740,7 @@ paths: - login - marketplace_purchase examples: - default: &107 + default: &118 value: url: https://api.github.com/orgs/github type: Organization @@ -18307,9 +18825,9 @@ paths: application/json: schema: type: array - items: *104 + items: *115 examples: - default: &108 + default: &119 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -18349,14 +18867,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &109 + - &120 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &110 + - &121 name: sort description: The property to sort the results by. in: query @@ -18386,9 +18904,9 @@ paths: application/json: schema: type: array - items: *105 + items: *116 examples: - default: &111 + default: &122 value: - url: https://api.github.com/orgs/github type: Organization @@ -18462,15 +18980,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: - - *106 + - *117 responses: '200': description: Response content: application/json: - schema: *105 + schema: *116 examples: - default: *107 + default: *118 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -18502,9 +19020,9 @@ paths: application/json: schema: type: array - items: *104 + items: *115 examples: - default: *108 + default: *119 headers: Link: *37 '401': *23 @@ -18527,8 +19045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *109 - - *110 + - *120 + - *121 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -18548,9 +19066,9 @@ paths: application/json: schema: type: array - items: *105 + items: *116 examples: - default: *111 + default: *122 headers: Link: *37 '401': *23 @@ -18800,14 +19318,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: - - &294 + - &305 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &295 + - &306 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18824,7 +19342,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -18878,7 +19396,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &308 + '301': &319 description: Moved permanently content: application/json: @@ -18900,7 +19418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &498 + - &509 name: all description: If `true`, show notifications marked as read. in: query @@ -18908,7 +19426,7 @@ paths: schema: type: boolean default: false - - &499 + - &510 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18917,8 +19435,8 @@ paths: schema: type: boolean default: false - - *91 - - &500 + - *102 + - &511 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: @@ -18943,14 +19461,14 @@ paths: application/json: schema: type: array - items: &113 + items: &124 title: Thread description: Thread type: object properties: id: type: string - repository: &135 + repository: &146 title: Minimal Repository description: Minimal Repository type: object @@ -19289,7 +19807,7 @@ paths: type: boolean examples: - false - security_and_analysis: &246 + security_and_analysis: &257 type: - object - 'null' @@ -19444,7 +19962,7 @@ paths: - url - subscription_url examples: - default: &501 + default: &512 value: - id: '1' repository: @@ -19610,7 +20128,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &114 + - &125 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 @@ -19624,7 +20142,7 @@ paths: description: Response content: application/json: - schema: *113 + schema: *124 examples: default: value: @@ -19727,7 +20245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *114 + - *125 responses: '205': description: Reset Content @@ -19750,7 +20268,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *114 + - *125 responses: '204': description: No content @@ -19773,13 +20291,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: - - *114 + - *125 responses: '200': description: Response content: application/json: - schema: &115 + schema: &126 title: Thread Subscription description: Thread Subscription type: object @@ -19823,7 +20341,7 @@ paths: - url - subscribed examples: - default: &116 + default: &127 value: subscribed: true ignored: false @@ -19854,7 +20372,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *114 + - *125 requestBody: required: false content: @@ -19875,9 +20393,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *126 examples: - default: *116 + default: *127 '304': *35 '403': *27 '401': *23 @@ -19900,7 +20418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *114 + - *125 responses: '204': description: Response @@ -19997,7 +20515,7 @@ paths: type: array items: *50 examples: - default: &633 + default: &644 value: - login: github id: 1 @@ -20062,7 +20580,7 @@ paths: - 3 custom_roles: type: array - items: &171 + items: &182 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20111,7 +20629,7 @@ paths: - created_at - updated_at examples: - default: &172 + default: &183 value: id: 8030 name: Security Engineer @@ -20163,7 +20681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - &117 + - &128 name: org description: The organization name. The name is not case sensitive. in: path @@ -20175,7 +20693,7 @@ paths: description: Response content: application/json: - schema: &118 + schema: &129 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -20545,7 +21063,7 @@ paths: - updated_at - archived_at examples: - default-response: &119 + default-response: &130 value: login: github id: 1 @@ -20638,7 +21156,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *117 + - *128 requestBody: required: false content: @@ -20862,18 +21380,18 @@ paths: description: Response content: application/json: - schema: *118 + schema: *129 examples: - default: *119 + default: *130 '422': description: Validation failed content: application/json: schema: oneOf: - - *120 - - *121 - '409': *122 + - *131 + - *132 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20896,9 +21414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *117 + - *128 responses: - '202': *123 + '202': *134 '404': *6 '403': *27 x-github: @@ -20921,15 +21439,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *124 + schema: *135 examples: - default: *125 + default: *136 headers: Link: *37 x-github: @@ -20952,7 +21470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -20970,7 +21488,7 @@ paths: type: integer repository_cache_usages: type: array - items: &313 + items: &324 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21028,13 +21546,13 @@ 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-an-organization parameters: - - *117 + - *128 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &126 + schema: &137 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21048,7 +21566,7 @@ paths: required: - include_claim_keys examples: - default: &127 + default: &138 value: include_claim_keys: - repo @@ -21070,20 +21588,20 @@ 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-an-organization parameters: - - *117 + - *128 requestBody: required: true content: application/json: - schema: *126 + schema: *137 examples: - default: *127 + default: *138 responses: '201': description: Empty response content: application/json: - schema: &146 + schema: &157 title: Empty Object description: An object without any properties. type: object @@ -21113,7 +21631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -21122,7 +21640,7 @@ paths: schema: type: object properties: - enabled_repositories: &129 + enabled_repositories: &140 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21136,7 +21654,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *40 - selected_actions_url: *128 + selected_actions_url: *139 required: - enabled_repositories examples: @@ -21165,7 +21683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -21176,7 +21694,7 @@ paths: schema: type: object properties: - enabled_repositories: *129 + enabled_repositories: *140 allowed_actions: *40 required: - enabled_repositories @@ -21204,7 +21722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -21224,7 +21742,7 @@ paths: type: array items: *55 examples: - default: &627 + default: &638 value: total_count: 1 repositories: @@ -21364,7 +21882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -21408,8 +21926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *117 - - &130 + - *128 + - &141 name: repository_id description: The unique identifier of the repository. in: path @@ -21437,8 +21955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *117 - - *130 + - *128 + - *141 responses: '204': description: Response @@ -21461,7 +21979,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -21492,7 +22010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -21524,13 +22042,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *131 + schema: *142 examples: default: *46 x-github: @@ -21553,7 +22071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *117 + - *128 responses: '204': description: Success response @@ -21564,7 +22082,7 @@ paths: required: false content: application/json: - schema: *132 + schema: *143 examples: default: *46 x-github: @@ -21586,7 +22104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *117 + - *128 - *17 - *18 - name: visible_to_repository @@ -21611,7 +22129,7 @@ paths: type: number runner_groups: type: array - items: &133 + items: &144 type: object properties: id: @@ -21724,7 +22242,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *117 + - *128 requestBody: required: true content: @@ -21794,9 +22312,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *144 examples: - default: &134 + default: &145 value: id: 2 name: octo-runner-group @@ -21831,14 +22349,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *117 + - *128 - *49 responses: '200': description: Response content: application/json: - schema: *133 + schema: *144 examples: default: value: @@ -21874,7 +22392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *117 + - *128 - *49 requestBody: required: true @@ -21926,9 +22444,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *144 examples: - default: *134 + default: *145 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21947,7 +22465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *117 + - *128 - *49 responses: '204': @@ -21971,7 +22489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *117 + - *128 - *49 - *18 - *17 @@ -21990,9 +22508,9 @@ paths: type: number repositories: type: array - items: *135 + items: *146 examples: - default: &619 + default: &630 value: total_count: 1 repositories: @@ -22244,7 +22762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *117 + - *128 - *49 requestBody: required: true @@ -22289,9 +22807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *117 + - *128 - *49 - - *130 + - *141 responses: '204': description: Response @@ -22313,9 +22831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *117 + - *128 - *49 - - *130 + - *141 responses: '204': description: Response @@ -22338,7 +22856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *117 + - *128 - *49 - *17 - *18 @@ -22380,7 +22898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *117 + - *128 - *49 requestBody: required: true @@ -22425,7 +22943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *117 + - *128 - *49 - *52 responses: @@ -22449,7 +22967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *117 + - *128 - *49 - *52 responses: @@ -22481,7 +22999,7 @@ paths: in: query schema: type: string - - *117 + - *128 - *17 - *18 responses: @@ -22525,7 +23043,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -22533,9 +23051,9 @@ paths: application/json: schema: type: array - items: *136 + items: *147 examples: - default: *137 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22557,7 +23075,7 @@ 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-an-organization parameters: - - *117 + - *128 requestBody: required: true content: @@ -22600,7 +23118,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *138 + '201': *149 '404': *6 '422': *7 x-github: @@ -22630,7 +23148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *117 + - *128 responses: '201': description: Response @@ -22638,7 +23156,7 @@ paths: application/json: schema: *56 examples: - default: *139 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22666,7 +23184,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *117 + - *128 responses: '201': description: Response @@ -22674,7 +23192,7 @@ paths: application/json: schema: *56 examples: - default: *140 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22696,7 +23214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *117 + - *128 - *52 responses: '200': @@ -22705,7 +23223,7 @@ paths: application/json: schema: *53 examples: - default: *141 + default: *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22726,7 +23244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *117 + - *128 - *52 responses: '204': @@ -22752,7 +23270,7 @@ 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-an-organization parameters: - - *117 + - *128 - *52 responses: '200': *58 @@ -22777,7 +23295,7 @@ 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-an-organization parameters: - - *117 + - *128 - *52 requestBody: required: true @@ -22826,7 +23344,7 @@ 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-an-organization parameters: - - *117 + - *128 - *52 requestBody: required: true @@ -22876,10 +23394,10 @@ 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-an-organization parameters: - - *117 + - *128 - *52 responses: - '200': *142 + '200': *153 '404': *6 x-github: githubCloudOnly: false @@ -22906,9 +23424,9 @@ 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-an-organization parameters: - - *117 + - *128 - *52 - - *143 + - *154 responses: '200': *58 '404': *6 @@ -22935,7 +23453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *117 + - *128 - *17 - *18 responses: @@ -22953,7 +23471,7 @@ paths: type: integer secrets: type: array - items: &144 + items: &155 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23028,13 +23546,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: &333 + schema: &344 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23069,7 +23587,7 @@ paths: - key_id - key examples: - default: &334 + default: &345 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23094,8 +23612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *117 - - &145 + - *128 + - &156 name: secret_name description: The name of the secret. in: path @@ -23107,7 +23625,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *155 examples: default: value: @@ -23137,8 +23655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -23193,7 +23711,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -23219,8 +23737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '204': description: Response @@ -23246,8 +23764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - *18 - *17 responses: @@ -23265,9 +23783,9 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: &149 + default: &160 value: total_count: 1 repositories: @@ -23359,8 +23877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -23412,8 +23930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -23446,8 +23964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -23479,8 +23997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *117 - - &318 + - *128 + - &329 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)." @@ -23504,7 +24022,7 @@ paths: type: integer variables: type: array - items: &147 + items: &158 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23594,7 +24112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *117 + - *128 requestBody: required: true content: @@ -23642,7 +24160,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -23667,8 +24185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *117 - - &148 + - *128 + - &159 name: name description: The name of the variable. in: path @@ -23680,7 +24198,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *158 examples: default: value: @@ -23710,8 +24228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 requestBody: required: true content: @@ -23773,8 +24291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 responses: '204': description: Response @@ -23800,8 +24318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 - *18 - *17 responses: @@ -23819,9 +24337,9 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: *149 + default: *160 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23847,8 +24365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 requestBody: required: true content: @@ -23897,8 +24415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 - name: repository_id in: path required: true @@ -23932,8 +24450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *117 - - *148 + - *128 + - *159 - name: repository_id in: path required: true @@ -23964,7 +24482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -23991,11 +24509,11 @@ paths: required: true content: application/json: - schema: *150 + schema: *161 examples: default: *61 parameters: - - *117 + - *128 responses: '200': description: Response @@ -24019,7 +24537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -24045,9 +24563,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *63 - - *64 - - *117 + - *74 + - *75 + - *128 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24088,7 +24606,7 @@ paths: repository_id: type: integer examples: - default: &347 + default: &358 value: attestations: - bundle: @@ -24206,7 +24724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *117 + - *128 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -24214,10 +24732,10 @@ paths: required: false schema: type: string - - *151 - - *152 - - *153 - - *154 + - *162 + - *163 + - *164 + - *165 - *17 responses: '200': @@ -24226,9 +24744,9 @@ paths: application/json: schema: type: array - items: *155 + items: *166 examples: - default: *156 + default: *167 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24245,7 +24763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -24257,7 +24775,7 @@ paths: type: array items: *4 examples: - default: &215 + default: &226 value: - login: octocat id: 1 @@ -24295,8 +24813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *117 - - &157 + - *128 + - &168 name: username description: The handle for the GitHub user account. in: path @@ -24327,8 +24845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -24348,8 +24866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -24374,20 +24892,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *117 - - *158 - - *159 - - *63 - - *64 + - *128 + - *169 + - *170 + - *74 + - *75 - *18 - *17 - - *65 + - *76 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *160 + schema: *171 - name: sort description: The property by which to sort the results. in: query @@ -24403,7 +24921,7 @@ paths: be returned. in: query required: false - schema: &373 + schema: &384 type: string description: Severity of a code scanning alert. enum: @@ -24421,13 +24939,13 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *162 + default: *173 headers: Link: *37 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24449,7 +24967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *117 + - *128 - name: target_type in: query description: The target type of the code security configuration @@ -24468,8 +24986,8 @@ paths: schema: type: integer default: 30 - - *63 - - *64 + - *74 + - *75 responses: '200': description: Response @@ -24477,7 +24995,7 @@ paths: application/json: schema: type: array - items: &163 + items: &174 type: object description: A code security configuration properties: @@ -24716,7 +25234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *117 + - *128 requestBody: required: true content: @@ -24888,9 +25406,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *163 + schema: *174 examples: - default: &164 + default: &175 value: id: 1325 target_type: organization @@ -24936,7 +25454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *117 + - *128 responses: '200': description: Response @@ -24956,7 +25474,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *163 + configuration: *174 examples: default: value: @@ -25040,7 +25558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *117 + - *128 requestBody: required: true content: @@ -25063,12 +25581,12 @@ paths: - 32 - 91 responses: - '204': &166 + '204': &177 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25090,8 +25608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *117 - - &165 + - *128 + - &176 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -25103,9 +25621,9 @@ paths: description: Response content: application/json: - schema: *163 + schema: *174 examples: - default: *164 + default: *175 '304': *35 '403': *27 '404': *6 @@ -25129,8 +25647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *117 - - *165 + - *128 + - *176 requestBody: required: true content: @@ -25282,7 +25800,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *163 + schema: *174 examples: default: value: @@ -25333,14 +25851,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *117 - - *165 + - *128 + - *176 responses: - '204': *166 + '204': *177 '400': *14 '403': *27 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25364,8 +25882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *117 - - *165 + - *128 + - *176 requestBody: required: true content: @@ -25404,7 +25922,7 @@ paths: - 32 - 91 responses: - '202': *123 + '202': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25428,8 +25946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *117 - - *165 + - *128 + - *176 requestBody: required: true content: @@ -25469,12 +25987,12 @@ paths: - none - private_and_internal - public - configuration: *163 + configuration: *174 examples: default: value: default_for_new_repos: all - configuration: *164 + configuration: *175 '403': *27 '404': *6 x-github: @@ -25498,8 +26016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *117 - - *165 + - *128 + - *176 - 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)." @@ -25508,8 +26026,8 @@ paths: schema: type: integer default: 30 - - *63 - - *64 + - *74 + - *75 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -25545,7 +26063,7 @@ paths: - failed - updating - removed_by_enterprise - repository: *80 + repository: *91 examples: default: summary: Example of code security configuration repositories @@ -25642,7 +26160,7 @@ paths: parameters: - *17 - *18 - - *117 + - *128 responses: '200': description: Response @@ -25658,7 +26176,7 @@ paths: type: integer codespaces: type: array - items: &216 + items: &227 type: object title: Codespace description: A codespace. @@ -25689,11 +26207,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *135 + repository: *146 machine: anyOf: - type: 'null' - - &399 + - &410 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -25980,7 +26498,7 @@ paths: - pulls_url - recent_folders examples: - default: &217 + default: &228 value: total_count: 3 codespaces: @@ -26390,7 +26908,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -26412,7 +26930,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *117 + - *128 deprecated: true requestBody: required: true @@ -26456,7 +26974,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26479,7 +26997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *117 + - *128 deprecated: true requestBody: required: true @@ -26511,7 +27029,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26534,7 +27052,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *117 + - *128 requestBody: required: true content: @@ -26565,7 +27083,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26586,7 +27104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *117 + - *128 - *17 - *18 responses: @@ -26604,7 +27122,7 @@ paths: type: integer secrets: type: array - items: &167 + items: &178 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26645,7 +27163,7 @@ paths: - updated_at - visibility examples: - default: &400 + default: &411 value: total_count: 2 secrets: @@ -26677,13 +27195,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: &401 + schema: &412 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26718,7 +27236,7 @@ paths: - key_id - key examples: - default: &402 + default: &413 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26741,16 +27259,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '200': description: Response content: application/json: - schema: *167 + schema: *178 examples: - default: &404 + default: &415 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26777,8 +27295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -26833,7 +27351,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -26859,8 +27377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '204': description: Response @@ -26885,8 +27403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - *18 - *17 responses: @@ -26904,9 +27422,9 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: *149 + default: *160 '404': *6 x-github: githubCloudOnly: false @@ -26928,8 +27446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -26979,8 +27497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -27013,8 +27531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -27053,7 +27571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *117 + - *128 responses: '200': description: OK @@ -27164,7 +27682,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27196,7 +27714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *117 + - *128 - *18 - name: per_page description: The number of results per page (max 100). For more information, @@ -27219,12 +27737,12 @@ paths: currently being billed. seats: type: array - items: *168 + items: *179 examples: - default: *169 + default: *180 headers: Link: *37 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27259,7 +27777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *117 + - *128 requestBody: content: application/json: @@ -27301,7 +27819,7 @@ paths: default: value: seats_created: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27340,7 +27858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *117 + - *128 requestBody: content: application/json: @@ -27382,7 +27900,7 @@ paths: default: value: seats_cancelled: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27422,7 +27940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *117 + - *128 requestBody: content: application/json: @@ -27463,7 +27981,7 @@ paths: default: value: seats_created: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27502,7 +28020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *117 + - *128 requestBody: content: application/json: @@ -27544,7 +28062,7 @@ paths: default: value: seats_cancelled: 5 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27583,7 +28101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *117 + - *128 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -27615,13 +28133,13 @@ paths: application/json: schema: type: array - items: *83 + items: *94 examples: - default: *84 - '500': *69 + default: *95 + '500': *80 '403': *27 '404': *6 - '422': *85 + '422': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27652,7 +28170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *117 + - *128 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -27684,10 +28202,10 @@ paths: application/json: schema: type: array - items: *86 + items: *97 examples: - default: *170 - '500': *69 + default: *181 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -27712,7 +28230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *117 + - *128 - *17 - name: page description: Page token @@ -27871,7 +28389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *117 + - *128 - name: credential_id in: path required: true @@ -27902,7 +28420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *117 + - *128 responses: '200': description: Response - list of custom role names @@ -27918,7 +28436,7 @@ paths: - 3 custom_roles: type: array - items: *171 + items: *182 examples: default: value: @@ -28005,12 +28523,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *117 + - *128 requestBody: required: true content: application/json: - schema: &174 + schema: &185 type: object properties: name: @@ -28052,9 +28570,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '422': *15 '404': *6 x-github: @@ -28078,8 +28596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *117 - - &173 + - *128 + - &184 name: role_id description: The unique identifier of the role. in: path @@ -28091,9 +28609,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '404': *6 x-github: githubCloudOnly: true @@ -28115,13 +28633,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *117 - - *173 + - *128 + - *184 requestBody: required: true content: application/json: - schema: &175 + schema: &186 type: object properties: name: @@ -28160,9 +28678,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '422': *15 '404': *6 x-github: @@ -28186,8 +28704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '204': description: Response @@ -28215,12 +28733,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *117 + - *128 requestBody: required: true content: application/json: - schema: *174 + schema: *185 examples: default: value: @@ -28234,9 +28752,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '422': *15 '404': *6 x-github: @@ -28266,16 +28784,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '200': description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '404': *6 x-github: githubCloudOnly: true @@ -28303,13 +28821,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *117 - - *173 + - *128 + - *184 requestBody: required: true content: application/json: - schema: *175 + schema: *186 examples: default: value: @@ -28324,9 +28842,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *182 examples: - default: *172 + default: *183 '422': *15 '404': *6 x-github: @@ -28356,8 +28874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '204': description: Response @@ -28385,18 +28903,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *117 - - *176 - - *177 - - *178 - - *179 - - *180 - - *181 - - *65 - - *63 - - *64 - - *182 - - *183 + - *128 + - *187 + - *188 + - *189 + - *190 + - *191 + - *192 + - *76 + - *74 + - *75 + - *193 + - *194 - *17 responses: '200': @@ -28405,9 +28923,9 @@ paths: application/json: schema: type: array - items: *184 + items: *195 examples: - default: *185 + default: *196 '304': *35 '400': *14 '403': *27 @@ -28433,7 +28951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *117 + - *128 - *17 - *18 responses: @@ -28451,7 +28969,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &197 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28524,13 +29042,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: &427 + schema: &438 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28549,7 +29067,7 @@ paths: - key_id - key examples: - default: &428 + default: &439 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28572,14 +29090,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '200': description: Response content: application/json: - schema: *186 + schema: *197 examples: default: value: @@ -28607,8 +29125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -28663,7 +29181,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -28687,8 +29205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 responses: '204': description: Response @@ -28712,8 +29230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - *18 - *17 responses: @@ -28731,9 +29249,9 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: *149 + default: *160 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28754,8 +29272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 requestBody: required: true content: @@ -28805,8 +29323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -28837,8 +29355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *117 - - *145 + - *128 + - *156 - name: repository_id in: path required: true @@ -28868,7 +29386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -28876,7 +29394,7 @@ paths: application/json: schema: type: array - items: &227 + items: &238 title: Package description: A software package type: object @@ -28929,7 +29447,7 @@ paths: repository: anyOf: - type: 'null' - - *135 + - *146 created_at: type: string format: date-time @@ -28947,7 +29465,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &239 value: - id: 197 name: hello_docker @@ -29025,7 +29543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *117 + - *128 - *17 - *18 responses: @@ -29035,7 +29553,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: 200-response: value: @@ -29105,7 +29623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *117 + - *128 - name: group_id description: The unique identifier of the group. in: path @@ -29131,7 +29649,7 @@ paths: description: Response content: application/json: - schema: &289 + schema: &300 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29221,7 +29739,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &290 + default: &301 value: group_id: '123' group_name: Octocat admins @@ -29259,7 +29777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *117 + - *128 - *17 - name: page description: Page token @@ -29276,7 +29794,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &298 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29316,7 +29834,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &288 + default: &299 value: groups: - group_id: '123' @@ -29350,7 +29868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *117 + - *128 - *17 - *18 responses: @@ -29360,7 +29878,7 @@ paths: application/json: schema: type: array - items: &209 + items: &220 title: Organization Invitation description: Organization Invitation type: object @@ -29414,7 +29932,7 @@ paths: - invitation_teams_url - node_id examples: - default: &210 + default: &221 value: - id: 1 login: monalisa @@ -29473,7 +29991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -29481,7 +29999,7 @@ paths: application/json: schema: type: array - items: &247 + items: &258 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -29495,7 +30013,7 @@ paths: - name - description examples: - default: &248 + default: &259 value: - name: add_assignee description: Assign or remove a user @@ -29526,7 +30044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *117 + - *128 - *17 - *18 responses: @@ -29536,7 +30054,7 @@ paths: application/json: schema: type: array - items: &187 + items: &198 title: Org Hook description: Org Hook type: object @@ -29657,7 +30175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *117 + - *128 requestBody: required: true content: @@ -29719,9 +30237,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *198 examples: - default: &188 + default: &199 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29765,8 +30283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *117 - - &189 + - *128 + - &200 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. @@ -29779,9 +30297,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *198 examples: - default: *188 + default: *199 '404': *6 x-github: githubCloudOnly: false @@ -29802,8 +30320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 requestBody: required: false content: @@ -29849,7 +30367,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *198 examples: default: value: @@ -29888,8 +30406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 responses: '204': description: Response @@ -29914,8 +30432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *117 - - *189 + - *128 + - *200 responses: '200': description: Response @@ -29943,8 +30461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *117 - - *189 + - *128 + - *200 requestBody: required: false content: @@ -29992,10 +30510,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 - *17 - - *190 + - *201 responses: '200': description: Response @@ -30003,9 +30521,9 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: - default: *192 + default: *203 '400': *14 '422': *15 x-github: @@ -30028,17 +30546,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 - *16 responses: '200': description: Response content: application/json: - schema: *193 + schema: *204 examples: - default: *194 + default: *205 '400': *14 '422': *15 x-github: @@ -30061,11 +30579,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 - *16 responses: - '202': *123 + '202': *134 '400': *14 '422': *15 x-github: @@ -30088,8 +30606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *117 - - *189 + - *128 + - *200 responses: '204': description: Response @@ -30111,8 +30629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *117 - - &199 + - *128 + - &210 name: actor_type in: path description: The type of the actor @@ -30125,14 +30643,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &200 + - &211 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &195 + - &206 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`.' @@ -30140,7 +30658,7 @@ paths: required: true schema: type: string - - &196 + - &207 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) @@ -30151,7 +30669,7 @@ paths: type: string - *18 - *17 - - *65 + - *76 - name: sort description: The property to sort the results by. in: query @@ -30227,13 +30745,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *117 - - *195 - - *196 + - *128 + - *206 + - *207 - *18 - *17 - - *65 - - &205 + - *76 + - &216 name: sort description: The property to sort the results by. in: query @@ -30305,15 +30823,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *117 - - *195 - - *196 + - *128 + - *206 + - *207 responses: '200': description: Response content: application/json: - schema: &197 + schema: &208 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30329,7 +30847,7 @@ paths: type: integer format: int64 examples: - default: &198 + default: &209 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30349,24 +30867,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *117 - - &201 + - *128 + - &212 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *195 - - *196 + - *206 + - *207 responses: '200': description: Response content: application/json: - schema: *197 + schema: *208 examples: - default: *198 + default: *209 x-github: enabledForGitHubApps: true category: orgs @@ -30384,19 +30902,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *117 - - *195 - - *196 - - *199 - - *200 + - *128 + - *206 + - *207 + - *210 + - *211 responses: '200': description: Response content: application/json: - schema: *197 + schema: *208 examples: - default: *198 + default: *209 x-github: enabledForGitHubApps: true category: orgs @@ -30413,10 +30931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *117 - - *195 - - *196 - - &202 + - *128 + - *206 + - *207 + - &213 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30429,7 +30947,7 @@ paths: description: Response content: application/json: - schema: &203 + schema: &214 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30445,7 +30963,7 @@ paths: type: integer format: int64 examples: - default: &204 + default: &215 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30481,19 +30999,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *117 - - *201 - - *195 - - *196 - - *202 + - *128 + - *212 + - *206 + - *207 + - *213 responses: '200': description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *204 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -30510,20 +31028,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *117 - - *199 - - *200 - - *195 - - *196 - - *202 + - *128 + - *210 + - *211 + - *206 + - *207 + - *213 responses: '200': description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *204 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -30540,14 +31058,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *117 - - *201 - - *195 - - *196 + - *128 + - *212 + - *206 + - *207 - *18 - *17 - - *65 - - *205 + - *76 + - *216 responses: '200': description: Response @@ -30616,7 +31134,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *117 + - *128 responses: '200': description: Response @@ -30624,7 +31142,7 @@ paths: application/json: schema: *20 examples: - default: &466 + default: &477 value: id: 1 account: @@ -30693,7 +31211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -30782,7 +31300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -30790,12 +31308,12 @@ paths: application/json: schema: anyOf: - - &207 + - &218 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &206 + limit: &217 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30823,7 +31341,7 @@ paths: properties: {} additionalProperties: false examples: - default: &208 + default: &219 value: limit: collaborators_only origin: organization @@ -30847,18 +31365,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *117 + - *128 requestBody: required: true content: application/json: - schema: &467 + schema: &478 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *206 + limit: *217 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30883,9 +31401,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *218 examples: - default: *208 + default: *219 '422': *15 x-github: githubCloudOnly: false @@ -30903,7 +31421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *117 + - *128 responses: '204': description: Response @@ -30929,7 +31447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *117 + - *128 - *17 - *18 - name: role @@ -30963,9 +31481,9 @@ paths: application/json: schema: type: array - items: *209 + items: *220 examples: - default: *210 + default: *221 headers: Link: *37 '404': *6 @@ -30989,7 +31507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *117 + - *128 requestBody: required: false content: @@ -31043,7 +31561,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *220 examples: default: value: @@ -31099,8 +31617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *117 - - &211 + - *128 + - &222 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31133,8 +31651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *117 - - *211 + - *128 + - *222 - *17 - *18 responses: @@ -31144,9 +31662,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: &226 + default: &237 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31191,7 +31709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *117 + - *128 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31221,7 +31739,7 @@ paths: - closed - all default: open - - *213 + - *224 - name: sort description: What to sort results by. in: query @@ -31233,8 +31751,8 @@ paths: - updated - comments default: created - - *65 - - *91 + - *76 + - *102 - *17 - *18 responses: @@ -31244,9 +31762,9 @@ paths: application/json: schema: type: array - items: *101 + items: *112 examples: - default: *214 + default: *225 headers: Link: *37 '404': *6 @@ -31268,7 +31786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *117 + - *128 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31304,7 +31822,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '422': *15 @@ -31324,8 +31842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response if requester is an organization member and user is @@ -31356,8 +31874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -31383,8 +31901,8 @@ paths: parameters: - *17 - *18 - - *117 - - *157 + - *128 + - *168 responses: '200': description: Response @@ -31400,11 +31918,11 @@ paths: type: integer codespaces: type: array - items: *216 + items: *227 examples: - default: *217 + default: *228 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -31427,9 +31945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *117 - - *157 - - &218 + - *128 + - *168 + - &229 name: codespace_name in: path required: true @@ -31437,9 +31955,9 @@ paths: schema: type: string responses: - '202': *123 + '202': *134 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -31462,17 +31980,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *117 - - *157 - - *218 + - *128 + - *168 + - *229 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: &398 + default: &409 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31614,7 +32132,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -31645,14 +32163,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *168 + schema: *179 examples: default: value: @@ -31695,7 +32213,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -31720,14 +32238,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '200': description: Response content: application/json: - schema: &219 + schema: &230 title: Org Membership description: Org Membership type: object @@ -31780,7 +32298,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &220 + response-if-user-has-an-active-admin-membership-with-organization: &231 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31848,8 +32366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 requestBody: required: false content: @@ -31877,9 +32395,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: - response-if-user-already-had-membership-with-organization: *220 + response-if-user-already-had-membership-with-organization: *231 '422': *15 '403': *27 x-github: @@ -31900,8 +32418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -31926,7 +32444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *117 + - *128 - *17 - *18 - name: exclude @@ -31948,7 +32466,7 @@ paths: application/json: schema: type: array - items: &221 + items: &232 title: Migration description: A migration. type: object @@ -32205,7 +32723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *117 + - *128 requestBody: required: true content: @@ -32286,7 +32804,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -32464,8 +32982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *117 - - &222 + - *128 + - &233 name: migration_id description: The unique identifier of the migration. in: path @@ -32493,7 +33011,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -32662,8 +33180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *117 - - *222 + - *128 + - *233 responses: '302': description: Response @@ -32684,8 +33202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *117 - - *222 + - *128 + - *233 responses: '204': description: Response @@ -32708,9 +33226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *117 - - *222 - - &632 + - *128 + - *233 + - &643 name: repo_name description: repo_name parameter in: path @@ -32737,8 +33255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *117 - - *222 + - *128 + - *233 - *17 - *18 responses: @@ -32748,9 +33266,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: &233 + default: &244 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32889,7 +33407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -32943,7 +33461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response - list of organization roles @@ -32959,7 +33477,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &223 + items: &234 title: Organization Role description: Organization roles type: object @@ -33121,7 +33639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *117 + - *128 requestBody: required: true content: @@ -33168,7 +33686,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: default: value: @@ -33197,7 +33715,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33219,8 +33737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -33245,9 +33763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *117 - - *224 - - *173 + - *128 + - *235 + - *184 responses: '204': description: Response @@ -33276,9 +33794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *117 - - *224 - - *173 + - *128 + - *235 + - *184 responses: '204': description: Response @@ -33303,8 +33821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -33329,9 +33847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *117 - - *157 - - *173 + - *128 + - *168 + - *184 responses: '204': description: Response @@ -33361,9 +33879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *117 - - *157 - - *173 + - *128 + - *168 + - *184 responses: '204': description: Response @@ -33391,14 +33909,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '200': description: Response content: application/json: - schema: *223 + schema: *234 examples: default: value: @@ -33455,8 +33973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *117 - - *173 + - *128 + - *184 requestBody: required: true content: @@ -33495,7 +34013,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: default: value: @@ -33523,7 +34041,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *122 + '409': *133 '404': *6 x-github: githubCloudOnly: true @@ -33548,8 +34066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *117 - - *173 + - *128 + - *184 responses: '204': description: Response @@ -33574,8 +34092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *117 - - *173 + - *128 + - *184 - *17 - *18 responses: @@ -33654,7 +34172,7 @@ paths: parent: anyOf: - type: 'null' - - *225 + - *236 required: - id - node_id @@ -33668,7 +34186,7 @@ paths: - slug - parent examples: - default: *226 + default: *237 headers: Link: *37 '404': @@ -33697,8 +34215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *117 - - *173 + - *128 + - *184 - *17 - *18 responses: @@ -33727,7 +34245,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *225 + items: *236 name: type: - string @@ -33844,7 +34362,7 @@ paths: - type - url examples: - default: *215 + default: *226 headers: Link: *37 '404': @@ -33868,7 +34386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *117 + - *128 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -33892,7 +34410,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -33917,8 +34435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *117 - - *157 + - *128 + - *168 requestBody: required: false content: @@ -33975,8 +34493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -34033,8 +34551,8 @@ paths: - docker - nuget - container - - *117 - - &634 + - *128 + - &645 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34070,12 +34588,12 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: *228 + default: *239 '403': *27 '401': *23 - '400': &636 + '400': &647 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34097,7 +34615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &229 + - &240 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 @@ -34115,20 +34633,20 @@ paths: - docker - nuget - container - - &230 + - &241 name: package_name description: The name of the package. in: path required: true schema: type: string - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: default: value: @@ -34180,9 +34698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *229 - - *230 - - *117 + - *240 + - *241 + - *128 responses: '204': description: Response @@ -34214,9 +34732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *229 - - *230 - - *117 + - *240 + - *241 + - *128 - name: token description: package token schema: @@ -34248,9 +34766,9 @@ 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: - - *229 - - *230 - - *117 + - *240 + - *241 + - *128 - *18 - *17 - name: state @@ -34270,7 +34788,7 @@ paths: application/json: schema: type: array - items: &231 + items: &242 title: Package Version description: A version of a software package type: object @@ -34405,10 +34923,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: - - *229 - - *230 - - *117 - - &232 + - *240 + - *241 + - *128 + - &243 name: package_version_id description: Unique identifier of the package version. in: path @@ -34420,7 +34938,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *242 examples: default: value: @@ -34456,10 +34974,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *229 - - *230 - - *117 - - *232 + - *240 + - *241 + - *128 + - *243 responses: '204': description: Response @@ -34491,10 +35009,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *229 - - *230 - - *117 - - *232 + - *240 + - *241 + - *128 + - *243 responses: '204': description: Response @@ -34521,10 +35039,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *117 + - *128 - *17 - *18 - - &234 + - &245 name: sort description: The property by which to sort the results. in: query @@ -34534,8 +35052,8 @@ paths: enum: - created_at default: created_at - - *65 - - &235 + - *76 + - &246 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34547,7 +35065,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &236 + - &247 name: repository description: The name of the repository to use to filter the results. in: query @@ -34556,7 +35074,7 @@ paths: type: string examples: - Hello-World - - &237 + - &248 name: permission description: The permission to use to filter the results. in: query @@ -34565,7 +35083,7 @@ paths: type: string examples: - issues_read - - &238 + - &249 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) @@ -34575,7 +35093,7 @@ paths: schema: type: string format: date-time - - &239 + - &250 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) @@ -34586,7 +35104,7 @@ paths: type: string format: date-time responses: - '500': *69 + '500': *80 '422': *15 '404': *6 '403': *27 @@ -34741,7 +35259,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *117 + - *128 requestBody: required: true content: @@ -34783,11 +35301,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *69 + '500': *80 '422': *15 '404': *6 '403': *27 - '202': *123 + '202': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34808,7 +35326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *117 + - *128 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34845,11 +35363,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *69 + '500': *80 '422': *15 '404': *6 '403': *27 - '204': *166 + '204': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34870,7 +35388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *117 + - *128 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34881,7 +35399,7 @@ paths: - *17 - *18 responses: - '500': *69 + '500': *80 '404': *6 '403': *27 '200': @@ -34890,9 +35408,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -34915,18 +35433,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *117 + - *128 - *17 - *18 - - *234 - - *65 - - *235 - - *236 - - *237 - - *238 - - *239 - responses: - '500': *69 + - *245 + - *76 + - *246 + - *247 + - *248 + - *249 + - *250 + responses: + '500': *80 '422': *15 '404': *6 '403': *27 @@ -35075,7 +35593,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *117 + - *128 requestBody: required: true content: @@ -35110,9 +35628,9 @@ paths: - 1296269 - 1296280 responses: - '500': *69 + '500': *80 '404': *6 - '202': *123 + '202': *134 '403': *27 '422': *15 x-github: @@ -35135,7 +35653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *117 + - *128 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35163,9 +35681,9 @@ paths: value: action: revoke responses: - '500': *69 + '500': *80 '404': *6 - '204': *166 + '204': *177 '403': *27 '422': *15 x-github: @@ -35187,7 +35705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *117 + - *128 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35197,7 +35715,7 @@ paths: - *17 - *18 responses: - '500': *69 + '500': *80 '404': *6 '403': *27 '200': @@ -35206,9 +35724,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -35230,7 +35748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *117 + - *128 - name: state description: Indicates the state of the projects to return. in: query @@ -35251,7 +35769,7 @@ paths: application/json: schema: type: array - items: &240 + items: &251 title: Project description: Projects are a way to organize columns and cards of work. @@ -35404,7 +35922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *117 + - *128 requestBody: required: true content: @@ -35430,7 +35948,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: default: value: @@ -35468,7 +35986,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &305 + '410': &316 description: Gone content: application/json: @@ -35492,7 +36010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -35500,7 +36018,7 @@ paths: application/json: schema: type: array - items: &241 + items: &252 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -35576,7 +36094,7 @@ paths: - property_name - value_type examples: - default: &242 + default: &253 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35620,7 +36138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *117 + - *128 requestBody: required: true content: @@ -35631,7 +36149,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *241 + items: *252 minItems: 1 maxItems: 100 required: @@ -35661,9 +36179,9 @@ paths: application/json: schema: type: array - items: *241 + items: *252 examples: - default: *242 + default: *253 '403': *27 '404': *6 x-github: @@ -35684,8 +36202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *117 - - &243 + - *128 + - &254 name: custom_property_name description: The custom property name in: path @@ -35697,9 +36215,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: &244 + default: &255 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35733,8 +36251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *117 - - *243 + - *128 + - *254 requestBody: required: true content: @@ -35799,9 +36317,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *244 + default: *255 '403': *27 '404': *6 x-github: @@ -35824,10 +36342,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *117 - - *243 + - *128 + - *254 responses: - '204': *166 + '204': *177 '403': *27 '404': *6 x-github: @@ -35848,7 +36366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *117 + - *128 - *17 - *18 - name: repository_query @@ -35889,7 +36407,7 @@ paths: - octocat/Hello-World properties: type: array - items: &245 + items: &256 title: Custom Property Value description: Custom property name and associated value type: object @@ -35959,7 +36477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *117 + - *128 requestBody: required: true content: @@ -35979,7 +36497,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *245 + items: *256 required: - repository_names - properties @@ -36020,7 +36538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *117 + - *128 - *17 - *18 responses: @@ -36032,7 +36550,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -36051,8 +36569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response if user is a public member @@ -36076,8 +36594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -36098,8 +36616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *117 - - *157 + - *128 + - *168 responses: '204': description: Response @@ -36123,7 +36641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *117 + - *128 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -36170,9 +36688,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -36193,7 +36711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *117 + - *128 requestBody: required: true content: @@ -36376,7 +36894,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &318 title: Full Repository description: Full Repository type: object @@ -36822,7 +37340,7 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 organization: anyOf: - type: 'null' @@ -36841,7 +37359,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &417 + code_of_conduct: &428 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -36871,7 +37389,7 @@ paths: - key - name - html_url - security_and_analysis: *246 + security_and_analysis: *257 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36955,7 +37473,7 @@ paths: - network_count - subscribers_count examples: - default: &309 + default: &320 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37473,7 +37991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response @@ -37481,9 +37999,9 @@ paths: application/json: schema: type: array - items: *247 + items: *258 examples: - default: *248 + default: *259 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37505,10 +38023,10 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 - *17 - *18 - - &547 + - &558 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37527,7 +38045,7 @@ paths: application/json: schema: type: array - items: &255 + items: &266 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -37560,7 +38078,7 @@ paths: source: type: string description: The name of the source - enforcement: &251 + enforcement: &262 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -37572,7 +38090,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &252 + items: &263 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -37640,7 +38158,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &249 + - &260 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -37664,7 +38182,7 @@ paths: match. items: type: string - - &253 + - &264 title: Organization ruleset conditions type: object description: |- @@ -37677,7 +38195,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *249 + - *260 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -37711,7 +38229,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *249 + - *260 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -37733,7 +38251,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *249 + - *260 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -37746,7 +38264,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &250 + items: &261 title: Repository ruleset property targeting definition type: object @@ -37779,7 +38297,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *250 + items: *261 required: - repository_property type: @@ -37787,12 +38305,12 @@ paths: - object rules: type: array - items: &254 + items: &265 title: Repository Rule type: object description: A repository rule. oneOf: - - &529 + - &540 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37804,7 +38322,7 @@ paths: type: string enum: - creation - - &530 + - &541 title: update description: Only allow users with bypass permission to update matching refs. @@ -37825,7 +38343,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &532 + - &543 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37837,7 +38355,7 @@ paths: type: string enum: - deletion - - &533 + - &544 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37849,7 +38367,7 @@ paths: type: string enum: - required_linear_history - - &534 + - &545 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37927,7 +38445,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &535 + - &546 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37951,7 +38469,7 @@ paths: type: string required: - required_deployment_environments - - &536 + - &547 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37963,7 +38481,7 @@ paths: type: string enum: - required_signatures - - &537 + - &548 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38009,7 +38527,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &538 + - &549 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38057,7 +38575,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &539 + - &550 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38069,7 +38587,7 @@ paths: type: string enum: - non_fast_forward - - &540 + - &551 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38105,7 +38623,7 @@ paths: required: - operator - pattern - - &541 + - &552 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38141,7 +38659,7 @@ paths: required: - operator - pattern - - &542 + - &553 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38177,7 +38695,7 @@ paths: required: - operator - pattern - - &543 + - &554 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38213,7 +38731,7 @@ paths: required: - operator - pattern - - &544 + - &555 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38339,7 +38857,7 @@ paths: maximum: 100 required: - max_file_size - - &545 + - &556 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -38389,7 +38907,7 @@ paths: - repository_id required: - workflows - - &546 + - &557 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -38486,7 +39004,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *69 + '500': *80 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -38502,7 +39020,7 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 requestBody: description: Request body required: true @@ -38522,16 +39040,16 @@ paths: - tag - push default: branch - enforcement: *251 + enforcement: *262 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *252 - conditions: *253 + items: *263 + conditions: *264 rules: type: array description: An array of rules within the ruleset. - items: *254 + items: *265 required: - name - enforcement @@ -38569,9 +39087,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: &256 + default: &267 value: id: 21 name: super cool ruleset @@ -38611,7 +39129,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *69 + '500': *80 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -38625,8 +39143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *117 - - &548 + - *128 + - &559 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 @@ -38642,7 +39160,7 @@ paths: in: query schema: type: integer - - &549 + - &560 name: time_period description: |- The time period to filter by. @@ -38658,14 +39176,14 @@ paths: - week - month default: day - - &550 + - &561 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 - - &551 + - &562 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38685,7 +39203,7 @@ paths: description: Response content: application/json: - schema: &552 + schema: &563 title: Rule Suites description: Response type: array @@ -38741,7 +39259,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &553 + default: &564 value: - id: 21 actor_id: 12 @@ -38765,7 +39283,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38784,8 +39302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *117 - - &554 + - *128 + - &565 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38801,7 +39319,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &566 title: Rule Suite description: Response type: object @@ -38908,7 +39426,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &556 + default: &567 value: id: 21 actor_id: 12 @@ -38943,7 +39461,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38969,7 +39487,7 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38981,11 +39499,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: *256 + default: *267 '404': *6 - '500': *69 + '500': *80 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -39001,7 +39519,7 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39026,16 +39544,16 @@ paths: - branch - tag - push - enforcement: *251 + enforcement: *262 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *252 - conditions: *253 + items: *263 + conditions: *264 rules: description: An array of rules within the ruleset. type: array - items: *254 + items: *265 examples: default: value: @@ -39070,11 +39588,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: *256 + default: *267 '404': *6 - '500': *69 + '500': *80 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -39090,7 +39608,7 @@ paths: category: orgs subcategory: rules parameters: - - *117 + - *128 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39101,7 +39619,7 @@ paths: '204': description: Response '404': *6 - '500': *69 + '500': *80 "/orgs/{org}/secret-scanning/alerts": get: summary: List secret scanning alerts for an organization @@ -39118,15 +39636,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *117 - - *257 - - *258 - - *259 - - *260 - - *65 + - *128 + - *268 + - *269 + - *270 + - *271 + - *76 - *18 - *17 - - &558 + - &569 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 @@ -39136,7 +39654,7 @@ paths: required: false schema: type: string - - &559 + - &570 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 @@ -39146,9 +39664,9 @@ paths: required: false schema: type: string - - *261 - - *262 - - *263 + - *272 + - *273 + - *274 responses: '200': description: Response @@ -39156,13 +39674,13 @@ paths: application/json: schema: type: array - items: *264 + items: *275 examples: - default: *265 + default: *276 headers: Link: *37 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39184,8 +39702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *117 - - *65 + - *128 + - *76 - name: sort description: The property to sort the results by. in: query @@ -39197,8 +39715,8 @@ paths: - updated - published default: created - - *63 - - *64 + - *74 + - *75 - name: per_page description: The number of advisories to return per page. 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)." @@ -39228,7 +39746,7 @@ paths: application/json: schema: type: array - items: &565 + items: &576 description: A repository security advisory. type: object properties: @@ -39436,7 +39954,7 @@ paths: required: - vector_string - score - cvss_severities: *72 + cvss_severities: *83 cwes: type: - array @@ -39472,7 +39990,7 @@ paths: login: type: string description: The username of the user credited. - type: *266 + type: *277 credits_detailed: type: - array @@ -39483,7 +40001,7 @@ paths: type: object properties: user: *4 - type: *266 + type: *277 state: type: string description: The state of the user's acceptance of the @@ -39509,13 +40027,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *212 + items: *223 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *80 + - *91 type: - 'null' required: @@ -39547,7 +40065,7 @@ paths: - private_fork additionalProperties: false examples: - default: &566 + default: &577 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39929,7 +40447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *117 + - *128 responses: '200': description: Response @@ -39937,9 +40455,9 @@ paths: application/json: schema: type: array - items: *225 + items: *236 examples: - default: *226 + default: *237 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39962,8 +40480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -39988,8 +40506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -40015,15 +40533,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *267 + schema: *278 examples: - default: *268 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40047,7 +40565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *117 + - *128 - *17 - *18 responses: @@ -40055,9 +40573,9 @@ paths: description: Success content: application/json: - schema: *269 + schema: *280 examples: - default: *270 + default: *281 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40079,15 +40597,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *271 + schema: *282 examples: - default: *272 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40109,15 +40627,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *273 + schema: *284 examples: - default: *274 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40134,7 +40652,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *117 + - *128 - *17 - name: page description: Page token @@ -40153,7 +40671,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &307 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -40205,7 +40723,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &297 + default: &308 value: groups: - group_id: '123' @@ -40250,8 +40768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *117 - - *224 + - *128 + - *235 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -40283,13 +40801,13 @@ paths: application/json: schema: type: array - items: *83 + items: *94 examples: - default: *84 - '500': *69 + default: *95 + '500': *80 '403': *27 '404': *6 - '422': *85 + '422': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40323,8 +40841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *117 - - *224 + - *128 + - *235 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -40356,10 +40874,10 @@ paths: application/json: schema: type: array - items: *86 + items: *97 examples: - default: *170 - '500': *69 + default: *181 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -40380,7 +40898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *117 + - *128 - *17 - *18 responses: @@ -40390,9 +40908,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 headers: Link: *37 '403': *27 @@ -40414,7 +40932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *117 + - *128 requestBody: required: true content: @@ -40486,7 +41004,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &286 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -40560,7 +41078,7 @@ paths: parent: anyOf: - type: 'null' - - *225 + - *236 members_count: type: integer examples: @@ -40866,7 +41384,7 @@ paths: - repos_count - organization examples: - default: &276 + default: &287 value: id: 1 node_id: MDQ6VGVhbTE= @@ -40936,16 +41454,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *117 - - *224 + - *128 + - *235 responses: '200': description: Response content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -40966,8 +41484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *117 - - *224 + - *128 + - *235 requestBody: required: false content: @@ -41030,16 +41548,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '201': description: Response content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '404': *6 '422': *15 '403': *27 @@ -41064,8 +41582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -41091,9 +41609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *117 - - *224 - - *65 + - *128 + - *235 + - *76 - *17 - *18 - name: pinned @@ -41109,7 +41627,7 @@ paths: application/json: schema: type: array - items: &277 + items: &288 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -41200,7 +41718,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *89 + reactions: *100 required: - author - body @@ -41220,7 +41738,7 @@ paths: - updated_at - url examples: - default: &606 + default: &617 value: - author: login: octocat @@ -41294,8 +41812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *117 - - *224 + - *128 + - *235 requestBody: required: true content: @@ -41329,9 +41847,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: &278 + default: &289 value: author: login: octocat @@ -41403,9 +41921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *117 - - *224 - - &279 + - *128 + - *235 + - &290 name: discussion_number description: The number that identifies the discussion. in: path @@ -41417,9 +41935,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: *278 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41441,9 +41959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 requestBody: required: false content: @@ -41466,9 +41984,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: &607 + default: &618 value: author: login: octocat @@ -41538,9 +42056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 responses: '204': description: Response @@ -41566,10 +42084,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *117 - - *224 - - *279 - - *65 + - *128 + - *235 + - *290 + - *76 - *17 - *18 responses: @@ -41579,7 +42097,7 @@ paths: application/json: schema: type: array - items: &280 + items: &291 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -41644,7 +42162,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *89 + reactions: *100 required: - author - body @@ -41659,7 +42177,7 @@ paths: - updated_at - url examples: - default: &608 + default: &619 value: - author: login: octocat @@ -41727,9 +42245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 requestBody: required: true content: @@ -41751,9 +42269,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: &281 + default: &292 value: author: login: octocat @@ -41819,10 +42337,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *117 - - *224 - - *279 - - &282 + - *128 + - *235 + - *290 + - &293 name: comment_number description: The number that identifies the comment. in: path @@ -41834,9 +42352,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *281 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41858,10 +42376,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *117 - - *224 - - *279 - - *282 + - *128 + - *235 + - *290 + - *293 requestBody: required: true content: @@ -41883,9 +42401,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: &609 + default: &620 value: author: login: octocat @@ -41949,10 +42467,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *117 - - *224 - - *279 - - *282 + - *128 + - *235 + - *290 + - *293 responses: '204': description: Response @@ -41978,10 +42496,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *117 - - *224 - - *279 - - *282 + - *128 + - *235 + - *290 + - *293 - 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 team discussion comment. @@ -42007,7 +42525,7 @@ paths: application/json: schema: type: array - items: &283 + items: &294 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -42051,7 +42569,7 @@ paths: - content - created_at examples: - default: &285 + default: &296 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42101,10 +42619,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *117 - - *224 - - *279 - - *282 + - *128 + - *235 + - *290 + - *293 requestBody: required: true content: @@ -42137,9 +42655,9 @@ paths: team discussion comment content: application/json: - schema: *283 + schema: *294 examples: - default: &284 + default: &295 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42168,9 +42686,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42193,11 +42711,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *117 - - *224 - - *279 - - *282 - - &286 + - *128 + - *235 + - *290 + - *293 + - &297 name: reaction_id description: The unique identifier of the reaction. in: path @@ -42229,9 +42747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 - 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 team discussion. @@ -42257,9 +42775,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 x-github: @@ -42285,9 +42803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *117 - - *224 - - *279 + - *128 + - *235 + - *290 requestBody: required: true content: @@ -42319,16 +42837,16 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42351,10 +42869,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *117 - - *224 - - *279 - - *286 + - *128 + - *235 + - *290 + - *297 responses: '204': description: Response @@ -42377,16 +42895,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '200': description: Response content: application/json: - schema: *287 + schema: *298 examples: - default: *288 + default: *299 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42405,8 +42923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *117 - - *224 + - *128 + - *235 requestBody: required: true content: @@ -42430,9 +42948,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *300 examples: - default: *290 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -42451,8 +42969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '204': description: Response @@ -42476,8 +42994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *117 - - *224 + - *128 + - *235 - *17 - *18 responses: @@ -42487,9 +43005,9 @@ paths: application/json: schema: type: array - items: *209 + items: *220 examples: - default: *210 + default: *221 headers: Link: *37 x-github: @@ -42511,8 +43029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *117 - - *224 + - *128 + - *235 - name: role description: Filters members returned by their role in the team. in: query @@ -42535,7 +43053,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -42565,15 +43083,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *117 - - *224 - - *157 + - *128 + - *235 + - *168 responses: '200': description: Response content: application/json: - schema: &291 + schema: &302 title: Team Membership description: Team Membership type: object @@ -42601,7 +43119,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &610 + response-if-user-is-a-team-maintainer: &621 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42637,9 +43155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *117 - - *224 - - *157 + - *128 + - *235 + - *168 requestBody: required: false content: @@ -42664,9 +43182,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *302 examples: - response-if-users-membership-with-team-is-now-pending: &611 + response-if-users-membership-with-team-is-now-pending: &622 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42701,9 +43219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *117 - - *224 - - *157 + - *128 + - *235 + - *168 responses: '204': description: Response @@ -42729,8 +43247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *117 - - *224 + - *128 + - *235 - *17 - *18 responses: @@ -42740,7 +43258,7 @@ paths: application/json: schema: type: array - items: &292 + items: &303 title: Team Project description: A team's access to a project. type: object @@ -42809,7 +43327,7 @@ paths: - updated_at - permissions examples: - default: &612 + default: &623 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42870,9 +43388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *117 - - *224 - - &293 + - *128 + - *235 + - &304 name: project_id description: The unique identifier of the project. in: path @@ -42884,9 +43402,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *303 examples: - default: &613 + default: &624 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42946,9 +43464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *117 - - *224 - - *293 + - *128 + - *235 + - *304 requestBody: required: false content: @@ -43013,9 +43531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *117 - - *224 - - *293 + - *128 + - *235 + - *304 responses: '204': description: Response @@ -43039,8 +43557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *117 - - *224 + - *128 + - *235 - *17 - *18 responses: @@ -43050,9 +43568,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -43081,16 +43599,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *117 - - *224 - - *294 - - *295 + - *128 + - *235 + - *305 + - *306 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &614 + schema: &625 title: Team Repository description: A team's access to a repository. type: object @@ -43116,7 +43634,7 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 forks: type: integer permissions: @@ -43731,10 +44249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *117 - - *224 - - *294 - - *295 + - *128 + - *235 + - *305 + - *306 requestBody: required: false content: @@ -43779,10 +44297,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *117 - - *224 - - *294 - - *295 + - *128 + - *235 + - *305 + - *306 responses: '204': description: Response @@ -43808,16 +44326,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *117 - - *224 + - *128 + - *235 responses: '200': description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *297 + default: *308 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43839,8 +44357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *117 - - *224 + - *128 + - *235 requestBody: required: true content: @@ -43883,7 +44401,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: default: value: @@ -43915,8 +44433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *117 - - *224 + - *128 + - *235 - *17 - *18 responses: @@ -43926,9 +44444,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - response-if-child-teams-exist: &615 + response-if-child-teams-exist: &626 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -43981,7 +44499,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *117 + - *128 - name: security_product in: path description: The security feature to enable or disable. @@ -44052,7 +44570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &298 + - &309 name: card_id description: The unique identifier of the card. in: path @@ -44064,7 +44582,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &310 title: Project Card description: Project cards represent a scope of work. type: object @@ -44139,7 +44657,7 @@ paths: - created_at - updated_at examples: - default: &300 + default: &311 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -44189,7 +44707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *298 + - *309 requestBody: required: false content: @@ -44219,9 +44737,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *310 examples: - default: *300 + default: *311 '304': *35 '403': *27 '401': *23 @@ -44242,7 +44760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *298 + - *309 responses: '204': description: Response @@ -44280,7 +44798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *298 + - *309 requestBody: required: true content: @@ -44387,7 +44905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &301 + - &312 name: column_id description: The unique identifier of the column. in: path @@ -44399,7 +44917,7 @@ paths: description: Response content: application/json: - schema: &302 + schema: &313 title: Project Column description: Project columns contain cards of work. type: object @@ -44453,7 +44971,7 @@ paths: - created_at - updated_at examples: - default: &303 + default: &314 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -44482,7 +45000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *301 + - *312 requestBody: required: true content: @@ -44507,9 +45025,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *313 examples: - default: *303 + default: *314 '304': *35 '403': *27 '401': *23 @@ -44528,7 +45046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *301 + - *312 responses: '204': description: Response @@ -44551,7 +45069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *301 + - *312 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -44572,7 +45090,7 @@ paths: application/json: schema: type: array - items: *299 + items: *310 examples: default: value: @@ -44625,7 +45143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *301 + - *312 requestBody: required: true content: @@ -44669,9 +45187,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *310 examples: - default: *300 + default: *311 '304': *35 '403': *27 '401': *23 @@ -44681,8 +45199,8 @@ paths: application/json: schema: oneOf: - - *120 - - *121 + - *131 + - *132 '503': description: Response content: @@ -44721,7 +45239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *301 + - *312 requestBody: required: true content: @@ -44778,15 +45296,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *293 + - *304 responses: '200': description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: &304 + default: &315 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44839,7 +45357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *293 + - *304 requestBody: required: false content: @@ -44888,9 +45406,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: *304 + default: *315 '404': description: Not Found if the authenticated user does not have access to the project @@ -44911,7 +45429,7 @@ paths: items: type: string '401': *23 - '410': *305 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -44929,7 +45447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *293 + - *304 responses: '204': description: Delete Success @@ -44950,7 +45468,7 @@ paths: items: type: string '401': *23 - '410': *305 + '410': *316 '404': *6 x-github: githubCloudOnly: false @@ -44973,7 +45491,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *293 + - *304 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -45000,7 +45518,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '404': *6 @@ -45025,8 +45543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *293 - - *157 + - *304 + - *168 requestBody: required: false content: @@ -45075,8 +45593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *293 - - *157 + - *304 + - *168 responses: '204': description: Response @@ -45104,8 +45622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *293 - - *157 + - *304 + - *168 responses: '200': description: Response @@ -45169,7 +45687,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *293 + - *304 - *17 - *18 responses: @@ -45179,7 +45697,7 @@ paths: application/json: schema: type: array - items: *302 + items: *313 examples: default: value: @@ -45211,7 +45729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *293 + - *304 requestBody: required: true content: @@ -45235,7 +45753,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *313 examples: default: value: @@ -45296,7 +45814,7 @@ paths: resources: type: object properties: - core: &306 + core: &317 title: Rate Limit type: object properties: @@ -45313,19 +45831,19 @@ paths: - remaining - reset - used - graphql: *306 - search: *306 - code_search: *306 - source_import: *306 - integration_manifest: *306 - code_scanning_upload: *306 - actions_runner_registration: *306 - scim: *306 - dependency_snapshots: *306 + graphql: *317 + search: *317 + code_search: *317 + source_import: *317 + integration_manifest: *317 + code_scanning_upload: *317 + actions_runner_registration: *317 + scim: *317 + dependency_snapshots: *317 required: - core - search - rate: *306 + rate: *317 required: - rate - resources @@ -45424,14 +45942,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *307 + schema: *318 examples: default-response: summary: Default response @@ -45936,7 +46454,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *308 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45954,8 +46472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -46202,10 +46720,10 @@ paths: description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 - '307': &310 + default: *320 + '307': &321 description: Temporary Redirect content: application/json: @@ -46234,8 +46752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -46257,7 +46775,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': *310 + '307': *321 '404': *6 x-github: githubCloudOnly: false @@ -46280,11 +46798,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 - - &325 + - &336 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46307,7 +46825,7 @@ paths: type: integer artifacts: type: array - items: &311 + items: &322 title: Artifact description: An artifact type: object @@ -46393,7 +46911,7 @@ paths: - expires_at - updated_at examples: - default: &326 + default: &337 value: total_count: 2 artifacts: @@ -46452,9 +46970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *294 - - *295 - - &312 + - *305 + - *306 + - &323 name: artifact_id description: The unique identifier of the artifact. in: path @@ -46466,7 +46984,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *322 examples: default: value: @@ -46503,9 +47021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *294 - - *295 - - *312 + - *305 + - *306 + - *323 responses: '204': description: Response @@ -46529,9 +47047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *294 - - *295 - - *312 + - *305 + - *306 + - *323 - name: archive_format in: path required: true @@ -46545,7 +47063,7 @@ paths: 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 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46568,14 +47086,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *313 + schema: *324 examples: default: value: @@ -46601,11 +47119,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: - - *294 - - *295 + - *305 + - *306 - *17 - *18 - - &314 + - &325 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 @@ -46633,13 +47151,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *65 + - *76 responses: '200': description: Response content: application/json: - schema: &315 + schema: &326 title: Repository actions caches description: Repository actions caches type: object @@ -46689,7 +47207,7 @@ paths: - total_count - actions_caches examples: - default: &316 + default: &327 value: total_count: 1 actions_caches: @@ -46721,23 +47239,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: - - *294 - - *295 + - *305 + - *306 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *314 + - *325 responses: '200': description: Response content: application/json: - schema: *315 + schema: *326 examples: - default: *316 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46757,8 +47275,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: - - *294 - - *295 + - *305 + - *306 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -46789,9 +47307,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: - - *294 - - *295 - - &317 + - *305 + - *306 + - &328 name: job_id description: The unique identifier of the job. in: path @@ -46803,7 +47321,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &340 title: Job description: Information of a job execution in a workflow run type: object @@ -47150,9 +47668,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: - - *294 - - *295 - - *317 + - *305 + - *306 + - *328 responses: '302': description: Response @@ -47180,9 +47698,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: - - *294 - - *295 - - *317 + - *305 + - *306 + - *328 requestBody: required: false content: @@ -47204,7 +47722,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -47228,8 +47746,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Status response @@ -47279,8 +47797,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -47314,7 +47832,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -47343,8 +47861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -47362,7 +47880,7 @@ paths: type: integer secrets: type: array - items: &331 + items: &342 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47383,7 +47901,7 @@ paths: - created_at - updated_at examples: - default: &332 + default: &343 value: total_count: 2 secrets: @@ -47416,9 +47934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *294 - - *295 - - *318 + - *305 + - *306 + - *329 - *18 responses: '200': @@ -47435,7 +47953,7 @@ paths: type: integer variables: type: array - items: &335 + items: &346 title: Actions Variable type: object properties: @@ -47469,7 +47987,7 @@ paths: - created_at - updated_at examples: - default: &336 + default: &347 value: total_count: 2 variables: @@ -47502,8 +48020,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -47512,11 +48030,11 @@ paths: schema: type: object properties: - enabled: &319 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 - selected_actions_url: *128 + selected_actions_url: *139 required: - enabled examples: @@ -47545,8 +48063,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -47557,7 +48075,7 @@ paths: schema: type: object properties: - enabled: *319 + enabled: *330 allowed_actions: *40 required: - enabled @@ -47588,14 +48106,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: &320 + schema: &331 type: object properties: access_level: @@ -47613,7 +48131,7 @@ paths: required: - access_level examples: - default: &321 + default: &332 value: access_level: organization x-github: @@ -47638,15 +48156,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: application/json: - schema: *320 + schema: *331 examples: - default: *321 + default: *332 responses: '204': description: Response @@ -47670,8 +48188,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -47702,8 +48220,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -47735,14 +48253,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *131 + schema: *142 examples: default: *46 x-github: @@ -47765,8 +48283,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Success response @@ -47777,7 +48295,7 @@ paths: required: true content: application/json: - schema: *132 + schema: *143 examples: default: *46 x-github: @@ -47806,8 +48324,8 @@ paths: in: query schema: type: string - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -47851,8 +48369,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -47860,9 +48378,9 @@ paths: application/json: schema: type: array - items: *136 + items: *147 examples: - default: *137 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47884,8 +48402,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -47928,7 +48446,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *138 + '201': *149 '404': *6 '422': *7 x-github: @@ -47958,8 +48476,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: - - *294 - - *295 + - *305 + - *306 responses: '201': description: Response @@ -47967,7 +48485,7 @@ paths: application/json: schema: *56 examples: - default: *139 + default: *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47995,8 +48513,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: - - *294 - - *295 + - *305 + - *306 responses: '201': description: Response @@ -48004,7 +48522,7 @@ paths: application/json: schema: *56 examples: - default: *140 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48026,8 +48544,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: - - *294 - - *295 + - *305 + - *306 - *52 responses: '200': @@ -48036,7 +48554,7 @@ paths: application/json: schema: *53 examples: - default: *141 + default: *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48057,8 +48575,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: - - *294 - - *295 + - *305 + - *306 - *52 responses: '204': @@ -48084,8 +48602,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: - - *294 - - *295 + - *305 + - *306 - *52 responses: '200': *58 @@ -48110,8 +48628,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: - - *294 - - *295 + - *305 + - *306 - *52 requestBody: required: true @@ -48160,8 +48678,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: - - *294 - - *295 + - *305 + - *306 - *52 requestBody: required: true @@ -48211,11 +48729,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: - - *294 - - *295 + - *305 + - *306 - *52 responses: - '200': *142 + '200': *153 '404': *6 x-github: githubCloudOnly: false @@ -48242,10 +48760,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: - - *294 - - *295 + - *305 + - *306 - *52 - - *143 + - *154 responses: '200': *58 '404': *6 @@ -48273,9 +48791,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: - - *294 - - *295 - - &339 + - *305 + - *306 + - &350 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. @@ -48283,7 +48801,7 @@ paths: required: false schema: type: string - - &340 + - &351 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48291,7 +48809,7 @@ paths: required: false schema: type: string - - &341 + - &352 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48300,7 +48818,7 @@ paths: required: false schema: type: string - - &342 + - &353 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 @@ -48327,7 +48845,7 @@ paths: - pending - *17 - *18 - - &343 + - &354 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)." @@ -48336,7 +48854,7 @@ paths: schema: type: string format: date-time - - &322 + - &333 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48345,13 +48863,13 @@ paths: schema: type: boolean default: false - - &344 + - &355 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &345 + - &356 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -48374,7 +48892,7 @@ paths: type: integer workflow_runs: type: array - items: &323 + items: &334 title: Workflow Run description: An invocation of a workflow type: object @@ -48491,7 +49009,7 @@ paths: type: - array - 'null' - items: &364 + items: &375 title: Pull Request Minimal type: object properties: @@ -48618,7 +49136,7 @@ paths: head_commit: anyOf: - type: 'null' - - &368 + - &379 title: Simple Commit description: A commit. type: object @@ -48692,8 +49210,8 @@ paths: - timestamp - author - committer - repository: *135 - head_repository: *135 + repository: *146 + head_repository: *146 head_repository_id: type: integer examples: @@ -48733,7 +49251,7 @@ paths: - workflow_url - pull_requests examples: - default: &346 + default: &357 value: total_count: 1 workflow_runs: @@ -48969,24 +49487,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *294 - - *295 - - &324 + - *305 + - *306 + - &335 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *322 + - *333 responses: '200': description: Response content: application/json: - schema: *323 + schema: *334 examples: - default: &327 + default: &338 value: id: 30433642 name: Build @@ -49227,9 +49745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '204': description: Response @@ -49252,9 +49770,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '200': description: Response @@ -49382,15 +49900,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '201': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -49417,12 +49935,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 - *17 - *18 - - *325 + - *336 responses: '200': description: Response @@ -49438,9 +49956,9 @@ paths: type: integer artifacts: type: array - items: *311 + items: *322 examples: - default: *326 + default: *337 headers: Link: *37 x-github: @@ -49464,25 +49982,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *294 - - *295 - - *324 - - &328 + - *305 + - *306 + - *335 + - &339 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *322 + - *333 responses: '200': description: Response content: application/json: - schema: *323 + schema: *334 examples: - default: *327 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49505,10 +50023,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: - - *294 - - *295 - - *324 - - *328 + - *305 + - *306 + - *335 + - *339 - *17 - *18 responses: @@ -49526,9 +50044,9 @@ paths: type: integer jobs: type: array - items: *329 + items: *340 examples: - default: &330 + default: &341 value: total_count: 1 jobs: @@ -49641,10 +50159,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *294 - - *295 - - *324 - - *328 + - *305 + - *306 + - *335 + - *339 responses: '302': description: Response @@ -49672,19 +50190,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '202': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49707,9 +50225,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 requestBody: required: true content: @@ -49776,19 +50294,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '202': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49811,9 +50329,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 - 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 @@ -49843,9 +50361,9 @@ paths: type: integer jobs: type: array - items: *329 + items: *340 examples: - default: *330 + default: *341 headers: Link: *37 x-github: @@ -49870,9 +50388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '302': description: Response @@ -49899,14 +50417,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '204': description: Response '403': *27 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49928,9 +50446,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '200': description: Response @@ -49999,7 +50517,7 @@ paths: items: type: object properties: - type: &436 + type: &447 type: string description: The type of reviewer. enum: @@ -50010,7 +50528,7 @@ paths: reviewer: anyOf: - *4 - - *212 + - *223 required: - environment - wait_timer @@ -50085,9 +50603,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 requestBody: required: true content: @@ -50137,7 +50655,7 @@ paths: application/json: schema: type: array - items: &431 + items: &442 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50249,7 +50767,7 @@ paths: - created_at - updated_at examples: - default: &432 + default: &443 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50305,9 +50823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 requestBody: required: false content: @@ -50329,7 +50847,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -50352,9 +50870,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: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 requestBody: required: false content: @@ -50376,7 +50894,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -50401,9 +50919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *294 - - *295 - - *324 + - *305 + - *306 + - *335 responses: '200': description: Response @@ -50540,8 +51058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -50559,9 +51077,9 @@ paths: type: integer secrets: type: array - items: *331 + items: *342 examples: - default: *332 + default: *343 headers: Link: *37 x-github: @@ -50586,16 +51104,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *333 + schema: *344 examples: - default: *334 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50617,17 +51135,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '200': description: Response content: application/json: - schema: *331 + schema: *342 examples: - default: &449 + default: &460 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -50653,9 +51171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 requestBody: required: true content: @@ -50683,7 +51201,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -50709,9 +51227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '204': description: Response @@ -50736,9 +51254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *294 - - *295 - - *318 + - *305 + - *306 + - *329 - *18 responses: '200': @@ -50755,9 +51273,9 @@ paths: type: integer variables: type: array - items: *335 + items: *346 examples: - default: *336 + default: *347 headers: Link: *37 x-github: @@ -50780,8 +51298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -50808,7 +51326,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -50833,17 +51351,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *294 - - *295 - - *148 + - *305 + - *306 + - *159 responses: '200': description: Response content: application/json: - schema: *335 + schema: *346 examples: - default: &450 + default: &461 value: name: USERNAME value: octocat @@ -50869,9 +51387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *294 - - *295 - - *148 + - *305 + - *306 + - *159 requestBody: required: true content: @@ -50913,9 +51431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *294 - - *295 - - *148 + - *305 + - *306 + - *159 responses: '204': description: Response @@ -50940,8 +51458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -50959,7 +51477,7 @@ paths: type: integer workflows: type: array - items: &337 + items: &348 title: Workflow description: A GitHub Actions workflow type: object @@ -51077,9 +51595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *294 - - *295 - - &338 + - *305 + - *306 + - &349 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51094,7 +51612,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *348 examples: default: value: @@ -51127,9 +51645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *294 - - *295 - - *338 + - *305 + - *306 + - *349 responses: '204': description: Response @@ -51154,9 +51672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *294 - - *295 - - *338 + - *305 + - *306 + - *349 responses: '204': description: Response @@ -51207,9 +51725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *294 - - *295 - - *338 + - *305 + - *306 + - *349 responses: '204': description: Response @@ -51234,19 +51752,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: - - *294 - - *295 - - *338 - - *339 - - *340 - - *341 - - *342 + - *305 + - *306 + - *349 + - *350 + - *351 + - *352 + - *353 - *17 - *18 - - *343 - - *322 - - *344 - - *345 + - *354 + - *333 + - *355 + - *356 responses: '200': description: Response @@ -51262,9 +51780,9 @@ paths: type: integer workflow_runs: type: array - items: *323 + items: *334 examples: - default: *346 + default: *357 headers: Link: *37 x-github: @@ -51290,9 +51808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *294 - - *295 - - *338 + - *305 + - *306 + - *349 responses: '200': description: Response @@ -51353,12 +51871,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *294 - - *295 - - *65 + - *305 + - *306 + - *76 - *17 - - *63 - - *64 + - *74 + - *75 - name: ref description: |- The Git reference for the activities you want to list. @@ -51522,8 +52040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -51535,7 +52053,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '404': *6 @@ -51560,8 +52078,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: - - *294 - - *295 + - *305 + - *306 - name: assignee in: path required: true @@ -51597,8 +52115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -51710,11 +52228,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *294 - - *295 + - *305 + - *306 - *17 - - *63 - - *64 + - *74 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -51755,7 +52273,7 @@ paths: repository_id: type: integer examples: - default: *347 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51775,8 +52293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -51784,7 +52302,7 @@ paths: application/json: schema: type: array - items: &348 + items: &359 title: Autolink reference description: An autolink reference. type: object @@ -51838,8 +52356,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -51878,9 +52396,9 @@ paths: description: response content: application/json: - schema: *348 + schema: *359 examples: - default: &349 + default: &360 value: id: 1 key_prefix: TICKET- @@ -51911,9 +52429,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: - - *294 - - *295 - - &350 + - *305 + - *306 + - &361 name: autolink_id description: The unique identifier of the autolink. in: path @@ -51925,9 +52443,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *359 examples: - default: *349 + default: *360 '404': *6 x-github: githubCloudOnly: false @@ -51947,9 +52465,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: - - *294 - - *295 - - *350 + - *305 + - *306 + - *361 responses: '204': description: Response @@ -51973,8 +52491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response if Dependabot is enabled @@ -52024,8 +52542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -52046,8 +52564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -52067,8 +52585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *294 - - *295 + - *305 + - *306 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -52106,7 +52624,7 @@ paths: - url protected: type: boolean - protection: &352 + protection: &363 title: Branch Protection description: Branch Protection type: object @@ -52149,7 +52667,7 @@ paths: required: - contexts - checks - enforce_admins: &355 + enforce_admins: &366 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52166,7 +52684,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &357 + required_pull_request_reviews: &368 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52188,7 +52706,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *212 + items: *223 apps: description: The list of apps with review dismissal access. @@ -52220,7 +52738,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *212 + items: *223 apps: description: The list of apps allowed to bypass pull request requirements. @@ -52250,7 +52768,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &354 + restrictions: &365 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -52575,9 +53093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *294 - - *295 - - &353 + - *305 + - *306 + - &364 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). @@ -52591,14 +53109,14 @@ paths: description: Response content: application/json: - schema: &363 + schema: &374 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &407 + commit: &418 title: Commit description: Commit type: object @@ -52637,7 +53155,7 @@ paths: author: anyOf: - type: 'null' - - &351 + - &362 title: Git User description: Metaproperties for Git author/committer information. @@ -52658,7 +53176,7 @@ paths: committer: anyOf: - type: 'null' - - *351 + - *362 message: type: string examples: @@ -52682,7 +53200,7 @@ paths: required: - sha - url - verification: &456 + verification: &467 title: Verification type: object properties: @@ -52713,14 +53231,14 @@ paths: author: oneOf: - *4 - - *146 + - *157 type: - 'null' - object committer: oneOf: - *4 - - *146 + - *157 type: - 'null' - object @@ -52757,7 +53275,7 @@ paths: type: integer files: type: array - items: &419 + items: &430 title: Diff Entry description: Diff Entry type: object @@ -52851,7 +53369,7 @@ paths: - self protected: type: boolean - protection: *352 + protection: *363 protection_url: type: string format: uri @@ -52959,7 +53477,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *308 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -52981,15 +53499,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *352 + schema: *363 examples: default: value: @@ -53183,9 +53701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -53445,7 +53963,7 @@ paths: url: type: string format: uri - required_status_checks: &360 + required_status_checks: &371 title: Status Check Policy description: Status Check Policy type: object @@ -53526,7 +54044,7 @@ paths: items: *4 teams: type: array - items: *212 + items: *223 apps: type: array items: *5 @@ -53544,7 +54062,7 @@ paths: items: *4 teams: type: array - items: *212 + items: *223 apps: type: array items: *5 @@ -53604,7 +54122,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *354 + restrictions: *365 required_conversation_resolution: type: object properties: @@ -53716,9 +54234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -53743,17 +54261,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: &356 + default: &367 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -53775,17 +54293,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: *356 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53804,9 +54322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -53831,17 +54349,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *357 + schema: *368 examples: - default: &358 + default: &369 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -53937,9 +54455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54037,9 +54555,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *368 examples: - default: *358 + default: *369 '422': *15 x-github: githubCloudOnly: false @@ -54060,9 +54578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -54089,17 +54607,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: &359 + default: &370 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54122,17 +54640,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: *359 + default: *370 '404': *6 x-github: githubCloudOnly: false @@ -54152,9 +54670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -54179,17 +54697,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *360 + schema: *371 examples: - default: &361 + default: &372 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54215,9 +54733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54269,9 +54787,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *371 examples: - default: *361 + default: *372 '404': *6 '422': *15 x-github: @@ -54293,9 +54811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -54319,9 +54837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response @@ -54355,9 +54873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54424,9 +54942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54490,9 +55008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: content: application/json: @@ -54558,15 +55076,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response content: application/json: - schema: *354 + schema: *365 examples: default: value: @@ -54657,9 +55175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '204': description: Response @@ -54682,9 +55200,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: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response @@ -54694,7 +55212,7 @@ paths: type: array items: *5 examples: - default: &362 + default: &373 value: - id: 1 slug: octoapp @@ -54751,9 +55269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -54787,7 +55305,7 @@ paths: type: array items: *5 examples: - default: *362 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -54808,9 +55326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -54844,7 +55362,7 @@ paths: type: array items: *5 examples: - default: *362 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -54865,9 +55383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -54901,7 +55419,7 @@ paths: type: array items: *5 examples: - default: *362 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -54923,9 +55441,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: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response @@ -54933,9 +55451,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 '404': *6 x-github: githubCloudOnly: false @@ -54955,9 +55473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -54993,9 +55511,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55016,9 +55534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: false content: @@ -55054,9 +55572,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55077,9 +55595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: content: application/json: @@ -55114,9 +55632,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55138,9 +55656,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: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 responses: '200': description: Response @@ -55150,7 +55668,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '404': *6 x-github: githubCloudOnly: false @@ -55174,9 +55692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -55209,7 +55727,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -55234,9 +55752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -55269,7 +55787,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -55294,9 +55812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -55329,7 +55847,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -55356,9 +55874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 requestBody: required: true content: @@ -55380,7 +55898,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *374 examples: default: value: @@ -55495,8 +56013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -55775,7 +56293,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &376 title: CheckRun description: A check performed on the code of a given code change type: object @@ -55910,8 +56428,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *364 - deployment: &665 + items: *375 + deployment: &676 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56198,9 +56716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *294 - - *295 - - &366 + - *305 + - *306 + - &377 name: check_run_id description: The unique identifier of the check run. in: path @@ -56212,9 +56730,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *376 examples: - default: &367 + default: &378 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56314,9 +56832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *294 - - *295 - - *366 + - *305 + - *306 + - *377 requestBody: required: true content: @@ -56556,9 +57074,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *376 examples: - default: *367 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56578,9 +57096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *294 - - *295 - - *366 + - *305 + - *306 + - *377 - *17 - *18 responses: @@ -56692,15 +57210,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *294 - - *295 - - *366 + - *305 + - *306 + - *377 responses: '201': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -56738,8 +57256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -56761,7 +57279,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &369 + schema: &380 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -56843,12 +57361,12 @@ paths: type: - array - 'null' - items: *364 + items: *375 app: anyOf: - type: 'null' - *5 - repository: *135 + repository: *146 created_at: type: - string @@ -56859,7 +57377,7 @@ paths: - string - 'null' format: date-time - head_commit: *368 + head_commit: *379 latest_check_runs_count: type: integer check_runs_url: @@ -56887,7 +57405,7 @@ paths: - check_runs_url - pull_requests examples: - default: &370 + default: &381 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57178,9 +57696,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *369 + schema: *380 examples: - default: *370 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57199,8 +57717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -57261,7 +57779,7 @@ paths: required: - app_id - setting - repository: *135 + repository: *146 examples: default: value: @@ -57509,9 +58027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *294 - - *295 - - &371 + - *305 + - *306 + - &382 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -57523,9 +58041,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *380 examples: - default: *370 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57548,17 +58066,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: - - *294 - - *295 - - *371 - - &414 + - *305 + - *306 + - *382 + - &425 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &415 + - &426 name: status description: Returns check runs with the specified `status`. in: query @@ -57597,9 +58115,9 @@ paths: type: integer check_runs: type: array - items: *365 + items: *376 examples: - default: &416 + default: &427 value: total_count: 1 check_runs: @@ -57701,15 +58219,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *294 - - *295 - - *371 + - *305 + - *306 + - *382 responses: '201': description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -57736,30 +58254,30 @@ 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: - - *294 - - *295 - - *158 - - *159 + - *305 + - *306 + - *169 + - *170 - *18 - *17 - - &383 + - &394 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: *372 - - &384 + schema: *383 + - &395 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *65 - - *63 - - *64 + - *76 + - *74 + - *75 - name: sort description: The property by which to sort the results. in: query @@ -57775,13 +58293,13 @@ paths: be returned. in: query required: false - schema: *160 + schema: *171 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *373 + schema: *384 responses: '200': description: Response @@ -57792,24 +58310,24 @@ paths: items: type: object properties: - number: *70 - created_at: *76 - updated_at: *77 - url: *74 - html_url: *75 - instances_url: *374 - state: *68 - fixed_at: *79 + number: *81 + created_at: *87 + updated_at: *88 + url: *85 + html_url: *86 + instances_url: *385 + state: *79 + fixed_at: *90 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *78 - dismissed_reason: *375 - dismissed_comment: *376 - rule: *377 - tool: *378 - most_recent_instance: *379 + dismissed_at: *89 + dismissed_reason: *386 + dismissed_comment: *387 + rule: *388 + tool: *389 + most_recent_instance: *390 required: - number - created_at @@ -57925,14 +58443,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &380 + '403': &391 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57952,9 +58470,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: - - *294 - - *295 - - &381 + - *305 + - *306 + - &392 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -57962,30 +58480,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *70 + schema: *81 responses: '200': description: Response content: application/json: - schema: &382 + schema: &393 type: object properties: - number: *70 - created_at: *76 - updated_at: *77 - url: *74 - html_url: *75 - instances_url: *374 - state: *68 - fixed_at: *79 + number: *81 + created_at: *87 + updated_at: *88 + url: *85 + html_url: *86 + instances_url: *385 + state: *79 + fixed_at: *90 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *78 - dismissed_reason: *375 - dismissed_comment: *376 + dismissed_at: *89 + dismissed_reason: *386 + dismissed_comment: *387 rule: type: object properties: @@ -58047,8 +58565,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *378 - most_recent_instance: *379 + tool: *389 + most_recent_instance: *390 required: - number - created_at @@ -58137,9 +58655,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58157,9 +58675,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: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 requestBody: required: true content: @@ -58174,8 +58692,8 @@ paths: enum: - open - dismissed - dismissed_reason: *375 - dismissed_comment: *376 + dismissed_reason: *386 + dismissed_comment: *387 required: - state examples: @@ -58190,7 +58708,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *393 examples: default: value: @@ -58265,14 +58783,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &389 + '403': &400 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58292,13 +58810,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: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 - *18 - *17 - - *383 - - *384 + - *394 + - *395 responses: '200': description: Response @@ -58306,7 +58824,7 @@ paths: application/json: schema: type: array - items: *379 + items: *390 examples: default: value: @@ -58345,9 +58863,9 @@ paths: end_column: 50 classifications: - source - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58379,30 +58897,30 @@ 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: - - *294 - - *295 - - *158 - - *159 + - *305 + - *306 + - *169 + - *170 - *18 - *17 - - *384 + - *395 - 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: *372 + schema: *383 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &387 + schema: &398 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *65 + - *76 - name: sort description: The property by which to sort the results. in: query @@ -58419,23 +58937,23 @@ paths: application/json: schema: type: array - items: &388 + items: &399 type: object properties: - ref: *372 - commit_sha: &397 + ref: *383 + commit_sha: &408 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *385 + analysis_key: *396 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *386 + category: *397 error: type: string examples: @@ -58460,8 +58978,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *387 - tool: *378 + sarif_id: *398 + tool: *389 deletable: type: boolean warning: @@ -58523,9 +59041,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58559,8 +59077,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: - - *294 - - *295 + - *305 + - *306 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -58573,7 +59091,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *399 examples: response: summary: application/json response @@ -58627,9 +59145,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58709,8 +59227,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: - - *294 - - *295 + - *305 + - *306 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -58766,9 +59284,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': *389 + '403': *400 '404': *6 - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58788,8 +59306,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -58797,7 +59315,7 @@ paths: application/json: schema: type: array - items: &390 + items: &401 title: CodeQL Database description: A CodeQL database. type: object @@ -58909,9 +59427,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': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58938,8 +59456,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: - - *294 - - *295 + - *305 + - *306 - name: language in: path description: The language of the CodeQL database. @@ -58951,7 +59469,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: default: value: @@ -58983,11 +59501,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': &421 + '302': &432 description: Found - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59007,8 +59525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *294 - - *295 + - *305 + - *306 - name: language in: path description: The language of the CodeQL database. @@ -59018,9 +59536,9 @@ paths: responses: '204': description: Response - '403': *389 + '403': *400 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59046,8 +59564,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -59056,7 +59574,7 @@ paths: type: object additionalProperties: false properties: - language: &391 + language: &402 type: string description: The language targeted by the CodeQL query enum: @@ -59134,7 +59652,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &395 + schema: &406 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59142,9 +59660,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *80 + controller_repo: *91 actor: *4 - query_language: *391 + query_language: *402 query_pack_url: type: string description: The download url for the query pack. @@ -59192,7 +59710,7 @@ paths: items: type: object properties: - repository: &392 + repository: &403 title: Repository Identifier description: Repository Identifier type: object @@ -59234,7 +59752,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &396 + analysis_status: &407 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59266,7 +59784,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &393 + access_mismatch_repos: &404 type: object properties: repository_count: @@ -59281,7 +59799,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: *392 + items: *403 required: - repository_count - repositories @@ -59304,8 +59822,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *393 - over_limit_repos: *393 + no_codeql_db_repos: *404 + over_limit_repos: *404 required: - access_mismatch_repos - not_found_repos @@ -59321,7 +59839,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &394 + value: &405 summary: Default response value: id: 1 @@ -59473,17 +59991,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *394 + value: *405 repository_lists: summary: Response for a successful variant analysis submission - value: *394 + value: *405 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59504,8 +60022,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: - - *294 - - *295 + - *305 + - *306 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -59517,11 +60035,11 @@ paths: description: Response content: application/json: - schema: *395 + schema: *406 examples: - default: *394 + default: *405 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59542,7 +60060,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: - - *294 + - *305 - name: repo in: path description: The name of the controller repository. @@ -59576,8 +60094,8 @@ paths: schema: type: object properties: - repository: *80 - analysis_status: *396 + repository: *91 + analysis_status: *407 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -59681,7 +60199,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59702,8 +60220,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -59768,9 +60286,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *380 + '403': *391 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59789,8 +60307,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -59835,7 +60353,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -59860,7 +60378,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *389 + '403': *400 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -59868,7 +60386,7 @@ paths: content: application/json: schema: *3 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59925,8 +60443,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -59934,7 +60452,7 @@ paths: schema: type: object properties: - commit_sha: *397 + commit_sha: *408 ref: type: string description: |- @@ -59994,7 +60512,7 @@ paths: schema: type: object properties: - id: *387 + id: *398 url: type: string description: The REST API URL for checking the status of the upload. @@ -60008,11 +60526,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': *389 + '403': *400 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60031,8 +60549,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: - - *294 - - *295 + - *305 + - *306 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60080,10 +60598,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': *380 + '403': *391 '404': description: Not Found if the sarif id does not match any upload - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60105,8 +60623,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -60130,7 +60648,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *163 + configuration: *174 examples: default: value: @@ -60159,7 +60677,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *166 + '204': *177 '304': *35 '403': *27 '404': *6 @@ -60184,8 +60702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *294 - - *295 + - *305 + - *306 - 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 @@ -60313,8 +60831,8 @@ paths: parameters: - *17 - *18 - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -60330,7 +60848,7 @@ paths: type: integer codespaces: type: array - items: *216 + items: *227 examples: default: value: @@ -60606,7 +61124,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -60628,8 +61146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -60693,22 +61211,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60732,8 +61250,8 @@ paths: parameters: - *17 - *18 - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -60773,7 +61291,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *69 + '500': *80 '400': *14 '401': *23 '403': *27 @@ -60797,8 +61315,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: - - *294 - - *295 + - *305 + - *306 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -60835,9 +61353,9 @@ paths: type: integer machines: type: array - items: *399 + items: *410 examples: - default: &622 + default: &633 value: total_count: 2 machines: @@ -60854,7 +61372,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -60877,8 +61395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *294 - - *295 + - *305 + - *306 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -60965,8 +61483,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: - - *294 - - *295 + - *305 + - *306 - 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 @@ -61014,7 +61532,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61035,8 +61553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -61054,7 +61572,7 @@ paths: type: integer secrets: type: array - items: &403 + items: &414 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61075,7 +61593,7 @@ paths: - created_at - updated_at examples: - default: *400 + default: *411 headers: Link: *37 x-github: @@ -61098,16 +61616,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *401 + schema: *412 examples: - default: *402 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61127,17 +61645,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '200': description: Response content: application/json: - schema: *403 + schema: *414 examples: - default: *404 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61157,9 +61675,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: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 requestBody: required: true content: @@ -61187,7 +61705,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -61211,9 +61729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '204': description: Response @@ -61241,8 +61759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *294 - - *295 + - *305 + - *306 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61280,7 +61798,7 @@ paths: application/json: schema: type: array - items: &405 + items: &416 title: Collaborator description: Collaborator type: object @@ -61473,9 +61991,9 @@ 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: - - *294 - - *295 - - *157 + - *305 + - *306 + - *168 responses: '204': description: Response if user is a collaborator @@ -61517,9 +62035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *294 - - *295 - - *157 + - *305 + - *306 + - *168 requestBody: required: false content: @@ -61545,7 +62063,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &469 + schema: &480 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -61557,7 +62075,7 @@ paths: format: int64 examples: - 42 - repository: *135 + repository: *146 invitee: anyOf: - type: 'null' @@ -61766,9 +62284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *294 - - *295 - - *157 + - *305 + - *306 + - *168 responses: '204': description: No Content when collaborator was removed from the repository. @@ -61797,9 +62315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *294 - - *295 - - *157 + - *305 + - *306 + - *168 responses: '200': description: if user has admin permissions @@ -61819,7 +62337,7 @@ paths: user: anyOf: - type: 'null' - - *405 + - *416 required: - permission - role_name @@ -61873,8 +62391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -61884,7 +62402,7 @@ paths: application/json: schema: type: array - items: &406 + items: &417 title: Commit Comment description: Commit Comment type: object @@ -61925,8 +62443,8 @@ paths: updated_at: type: string format: date-time - author_association: *88 - reactions: *89 + author_association: *99 + reactions: *100 required: - url - html_url @@ -61942,7 +62460,7 @@ paths: - created_at - updated_at examples: - default: &409 + default: &420 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62001,17 +62519,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '200': description: Response content: application/json: - schema: *406 + schema: *417 examples: - default: &410 + default: &421 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62068,9 +62586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -62092,7 +62610,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *417 examples: default: value: @@ -62143,9 +62661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '204': description: Response @@ -62166,9 +62684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 - 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. @@ -62194,9 +62712,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 @@ -62217,9 +62735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -62251,16 +62769,16 @@ paths: description: Reaction exists content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Reaction created content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -62282,10 +62800,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *294 - - *295 - - *100 - - *286 + - *305 + - *306 + - *111 + - *297 responses: '204': description: Response @@ -62333,8 +62851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *294 - - *295 + - *305 + - *306 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -62390,9 +62908,9 @@ paths: application/json: schema: type: array - items: *407 + items: *418 examples: - default: &516 + default: &527 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62462,10 +62980,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *37 - '500': *69 + '500': *80 '400': *14 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +63003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *294 - - *295 - - &408 + - *305 + - *306 + - &419 name: commit_sha description: The SHA of the commit. in: path @@ -62534,7 +63052,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62559,9 +63077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *294 - - *295 - - *408 + - *305 + - *306 + - *419 - *17 - *18 responses: @@ -62571,9 +63089,9 @@ paths: application/json: schema: type: array - items: *406 + items: *417 examples: - default: *409 + default: *420 headers: Link: *37 x-github: @@ -62601,9 +63119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *294 - - *295 - - *408 + - *305 + - *306 + - *419 requestBody: required: true content: @@ -62638,9 +63156,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *417 examples: - default: *410 + default: *421 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62668,9 +63186,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: - - *294 - - *295 - - *408 + - *305 + - *306 + - *419 - *17 - *18 responses: @@ -62680,7 +63198,7 @@ paths: application/json: schema: type: array - items: &507 + items: &518 title: Pull Request Simple description: Pull Request Simple type: object @@ -62800,7 +63318,7 @@ paths: milestone: anyOf: - type: 'null' - - *411 + - *422 active_lock_reason: type: - string @@ -62855,7 +63373,7 @@ paths: type: - array - 'null' - items: *212 + items: *223 head: type: object properties: @@ -62899,7 +63417,7 @@ paths: _links: type: object properties: - comments: &412 + comments: &423 title: Link description: Hypermedia Link type: object @@ -62908,13 +63426,13 @@ paths: type: string required: - href - commits: *412 - statuses: *412 - html: *412 - issue: *412 - review_comments: *412 - review_comment: *412 - self: *412 + commits: *423 + statuses: *423 + html: *423 + issue: *423 + review_comments: *423 + review_comment: *423 + self: *423 required: - comments - commits @@ -62924,8 +63442,8 @@ paths: - review_comments - review_comment - self - author_association: *88 - auto_merge: &509 + author_association: *99 + auto_merge: &520 title: Auto merge description: The status of auto merging a pull request. type: @@ -62990,7 +63508,7 @@ paths: - author_association - auto_merge examples: - default: &508 + default: &519 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -63470,7 +63988,7 @@ paths: draft: false headers: Link: *37 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63526,11 +64044,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *294 - - *295 + - *305 + - *306 - *18 - *17 - - &413 + - &424 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)" @@ -63545,9 +64063,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *418 examples: - default: &495 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63632,9 +64150,9 @@ paths: ..... '422': *15 '404': *6 - '500': *69 - '503': *81 - '409': *122 + '500': *80 + '503': *92 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63659,11 +64177,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: - - *294 - - *295 - - *413 - - *414 - - *415 + - *305 + - *306 + - *424 + - *425 + - *426 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -63697,9 +64215,9 @@ paths: type: integer check_runs: type: array - items: *365 + items: *376 examples: - default: *416 + default: *427 headers: Link: *37 x-github: @@ -63724,9 +64242,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: - - *294 - - *295 - - *413 + - *305 + - *306 + - *424 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -63734,7 +64252,7 @@ paths: schema: type: integer example: 1 - - *414 + - *425 - *17 - *18 responses: @@ -63752,7 +64270,7 @@ paths: type: integer check_suites: type: array - items: *369 + items: *380 examples: default: value: @@ -63952,9 +64470,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: - - *294 - - *295 - - *413 + - *305 + - *306 + - *424 - *17 - *18 responses: @@ -64025,7 +64543,7 @@ paths: type: string total_count: type: integer - repository: *135 + repository: *146 commit_url: type: string format: uri @@ -64156,9 +64674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *294 - - *295 - - *413 + - *305 + - *306 + - *424 - *17 - *18 responses: @@ -64168,7 +64686,7 @@ paths: application/json: schema: type: array - items: &570 + items: &581 title: Status description: The status of a commit. type: object @@ -64249,7 +64767,7 @@ paths: site_admin: false headers: Link: *37 - '301': *308 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64277,8 +64795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -64311,11 +64829,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *417 + - *428 code_of_conduct_file: anyOf: - type: 'null' - - &418 + - &429 title: Community Health File type: object properties: @@ -64331,23 +64849,23 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 contributing: anyOf: - type: 'null' - - *418 + - *429 readme: anyOf: - type: 'null' - - *418 + - *429 issue_template: anyOf: - type: 'null' - - *418 + - *429 pull_request_template: anyOf: - type: 'null' - - *418 + - *429 required: - code_of_conduct - code_of_conduct_file @@ -64475,8 +64993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *294 - - *295 + - *305 + - *306 - *18 - *17 - name: basehead @@ -64524,8 +65042,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *407 - merge_base_commit: *407 + base_commit: *418 + merge_base_commit: *418 status: type: string enum: @@ -64549,10 +65067,10 @@ paths: - 6 commits: type: array - items: *407 + items: *418 files: type: array - items: *419 + items: *430 required: - url - html_url @@ -64792,8 +65310,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64835,8 +65353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *294 - - *295 + - *305 + - *306 - name: path description: path parameter in: path @@ -64987,7 +65505,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &420 + response-if-content-is-a-file: &431 summary: Response if content is a file value: type: file @@ -65124,7 +65642,7 @@ paths: - size - type - url - - &521 + - &532 title: Content File description: Content File type: object @@ -65342,7 +65860,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *420 + response-if-content-is-a-file: *431 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -65411,7 +65929,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *421 + '302': *432 '304': *35 x-github: githubCloudOnly: false @@ -65434,8 +65952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *294 - - *295 + - *305 + - *306 - name: path description: path parameter in: path @@ -65530,7 +66048,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &433 title: File Commit description: File Commit type: object @@ -65681,7 +66199,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *433 examples: example-for-creating-a-file: value: @@ -65734,7 +66252,7 @@ paths: schema: oneOf: - *3 - - &451 + - &462 description: Repository rule violation was detected type: object properties: @@ -65755,7 +66273,7 @@ paths: items: type: object properties: - placeholder_id: &563 + placeholder_id: &574 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -65787,8 +66305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *294 - - *295 + - *305 + - *306 - name: path description: path parameter in: path @@ -65849,7 +66367,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *433 examples: default: value: @@ -65882,8 +66400,8 @@ paths: payload: '422': *15 '404': *6 - '409': *122 - '503': *81 + '409': *133 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65903,8 +66421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *294 - - *295 + - *305 + - *306 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66028,21 +66546,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *294 - - *295 - - *176 - - *177 - - *178 - - *179 + - *305 + - *306 + - *187 + - *188 + - *189 + - *190 - 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 - - *180 - - *181 - - *65 + - *191 + - *192 + - *76 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -66059,10 +66577,10 @@ paths: schema: type: integer default: 30 - - *63 - - *64 - - *182 - - *183 + - *74 + - *75 + - *193 + - *194 responses: '200': description: Response @@ -66070,11 +66588,11 @@ paths: application/json: schema: type: array - items: &425 + items: &436 type: object description: A Dependabot alert. properties: - number: *70 + number: *81 state: type: string description: The state of the Dependabot alert. @@ -66089,7 +66607,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *71 + package: *82 manifest_path: type: string description: The full path to the dependency manifest file, @@ -66105,13 +66623,13 @@ paths: - development - runtime - - security_advisory: *423 - security_vulnerability: *73 - url: *74 - html_url: *75 - created_at: *76 - updated_at: *77 - dismissed_at: *78 + security_advisory: *434 + security_vulnerability: *84 + url: *85 + html_url: *86 + created_at: *87 + updated_at: *88 + dismissed_at: *89 dismissed_by: anyOf: - type: 'null' @@ -66135,8 +66653,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *79 - auto_dismissed_at: *424 + fixed_at: *90 + auto_dismissed_at: *435 required: - number - state @@ -66363,9 +66881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *294 - - *295 - - &426 + - *305 + - *306 + - &437 name: alert_number in: path description: |- @@ -66374,13 +66892,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *70 + schema: *81 responses: '200': description: Response content: application/json: - schema: *425 + schema: *436 examples: default: value: @@ -66490,9 +67008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *294 - - *295 - - *426 + - *305 + - *306 + - *437 requestBody: required: true content: @@ -66537,7 +67055,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *436 examples: default: value: @@ -66643,7 +67161,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *122 + '409': *133 '422': *7 x-github: githubCloudOnly: false @@ -66666,8 +67184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -66685,7 +67203,7 @@ paths: type: integer secrets: type: array - items: &429 + items: &440 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -66739,16 +67257,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *427 + schema: *438 examples: - default: *428 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66768,15 +67286,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '200': description: Response content: application/json: - schema: *429 + schema: *440 examples: default: value: @@ -66802,9 +67320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 requestBody: required: true content: @@ -66832,7 +67350,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -66856,9 +67374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *294 - - *295 - - *145 + - *305 + - *306 + - *156 responses: '204': description: Response @@ -66880,8 +67398,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: - - *294 - - *295 + - *305 + - *306 - 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 @@ -67055,8 +67573,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -67316,8 +67834,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -67400,7 +67918,7 @@ paths: - version - url additionalProperties: false - metadata: &430 + metadata: &441 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -67439,7 +67957,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *430 + metadata: *441 resolved: type: object description: A collection of resolved package dependencies. @@ -67453,7 +67971,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *430 + metadata: *441 relationship: type: string description: A notation of whether a dependency is requested @@ -67586,8 +68104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *294 - - *295 + - *305 + - *306 - name: sha description: The SHA recorded at creation time. in: query @@ -67628,9 +68146,9 @@ paths: application/json: schema: type: array - items: *431 + items: *442 examples: - default: *432 + default: *443 headers: Link: *37 x-github: @@ -67696,8 +68214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -67779,7 +68297,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: simple-example: summary: Simple example @@ -67852,9 +68370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *294 - - *295 - - &433 + - *305 + - *306 + - &444 name: deployment_id description: deployment_id parameter in: path @@ -67866,7 +68384,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: default: value: @@ -67931,9 +68449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *294 - - *295 - - *433 + - *305 + - *306 + - *444 responses: '204': description: Response @@ -67955,9 +68473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *294 - - *295 - - *433 + - *305 + - *306 + - *444 - *17 - *18 responses: @@ -67967,7 +68485,7 @@ paths: application/json: schema: type: array - items: &434 + items: &445 title: Deployment Status description: The status of a deployment. type: object @@ -68131,9 +68649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *294 - - *295 - - *433 + - *305 + - *306 + - *444 requestBody: required: true content: @@ -68208,9 +68726,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *445 examples: - default: &435 + default: &446 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68266,9 +68784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *294 - - *295 - - *433 + - *305 + - *306 + - *444 - name: status_id in: path required: true @@ -68279,9 +68797,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *445 examples: - default: *435 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -68306,8 +68824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -68364,8 +68882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -68383,7 +68901,7 @@ paths: - 5 environments: type: array - items: &437 + items: &448 title: Environment description: Details of a deployment environment type: object @@ -68445,7 +68963,7 @@ paths: type: string examples: - wait_timer - wait_timer: &439 + wait_timer: &450 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -68487,11 +69005,11 @@ paths: items: type: object properties: - type: *436 + type: *447 reviewer: anyOf: - *4 - - *212 + - *223 required: - id - node_id @@ -68514,7 +69032,7 @@ paths: - id - node_id - type - deployment_branch_policy: &440 + deployment_branch_policy: &451 type: - object - 'null' @@ -68631,9 +69149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *294 - - *295 - - &438 + - *305 + - *306 + - &449 name: environment_name in: path required: true @@ -68646,9 +69164,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *448 examples: - default: &441 + default: &452 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -68732,9 +69250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 requestBody: required: false content: @@ -68744,7 +69262,7 @@ paths: - object - 'null' properties: - wait_timer: *439 + wait_timer: *450 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -68763,14 +69281,14 @@ paths: items: type: object properties: - type: *436 + type: *447 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *440 + deployment_branch_policy: *451 additionalProperties: false examples: default: @@ -68790,9 +69308,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *448 examples: - default: *441 + default: *452 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -68816,9 +69334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 responses: '204': description: Default response @@ -68843,9 +69361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 - *17 - *18 responses: @@ -68864,7 +69382,7 @@ paths: - 2 branch_policies: type: array - items: &442 + items: &453 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -68925,9 +69443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 requestBody: required: true content: @@ -68975,9 +69493,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *453 examples: - example-wildcard: &443 + example-wildcard: &454 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69019,10 +69537,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *294 - - *295 - - *438 - - &444 + - *305 + - *306 + - *449 + - &455 name: branch_policy_id in: path required: true @@ -69034,9 +69552,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *453 examples: - default: *443 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69055,10 +69573,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *294 - - *295 - - *438 - - *444 + - *305 + - *306 + - *449 + - *455 requestBody: required: true content: @@ -69087,9 +69605,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *453 examples: - default: *443 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69108,10 +69626,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *294 - - *295 - - *438 - - *444 + - *305 + - *306 + - *449 + - *455 responses: '204': description: Response @@ -69136,9 +69654,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: - - *438 - - *295 - - *294 + - *449 + - *306 + - *305 responses: '200': description: List of deployment protection rules @@ -69155,7 +69673,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &445 + items: &456 title: Deployment protection rule description: Deployment protection rule type: object @@ -69177,7 +69695,7 @@ paths: for the environment. examples: - true - app: &446 + app: &457 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69280,9 +69798,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: - - *438 - - *295 - - *294 + - *449 + - *306 + - *305 requestBody: content: application/json: @@ -69303,9 +69821,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *445 + schema: *456 examples: - default: &447 + default: &458 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69340,9 +69858,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: - - *438 - - *295 - - *294 + - *449 + - *306 + - *305 - *18 - *17 responses: @@ -69362,7 +69880,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *446 + items: *457 examples: default: value: @@ -69397,10 +69915,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: - - *294 - - *295 - - *438 - - &448 + - *305 + - *306 + - *449 + - &459 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -69412,9 +69930,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *456 examples: - default: *447 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69435,10 +69953,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: - - *438 - - *295 - - *294 - - *448 + - *449 + - *306 + - *305 + - *459 responses: '204': description: Response @@ -69464,9 +69982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 - *17 - *18 responses: @@ -69484,9 +70002,9 @@ paths: type: integer secrets: type: array - items: *331 + items: *342 examples: - default: *332 + default: *343 headers: Link: *37 x-github: @@ -69511,17 +70029,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 responses: '200': description: Response content: application/json: - schema: *333 + schema: *344 examples: - default: *334 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69543,18 +70061,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *294 - - *295 - - *438 - - *145 + - *305 + - *306 + - *449 + - *156 responses: '200': description: Response content: application/json: - schema: *331 + schema: *342 examples: - default: *449 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69576,10 +70094,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *294 - - *295 - - *438 - - *145 + - *305 + - *306 + - *449 + - *156 requestBody: required: true content: @@ -69610,7 +70128,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -69636,10 +70154,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *294 - - *295 - - *438 - - *145 + - *305 + - *306 + - *449 + - *156 responses: '204': description: Default response @@ -69664,10 +70182,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *294 - - *295 - - *438 - - *318 + - *305 + - *306 + - *449 + - *329 - *18 responses: '200': @@ -69684,9 +70202,9 @@ paths: type: integer variables: type: array - items: *335 + items: *346 examples: - default: *336 + default: *347 headers: Link: *37 x-github: @@ -69709,9 +70227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *294 - - *295 - - *438 + - *305 + - *306 + - *449 requestBody: required: true content: @@ -69738,7 +70256,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -69763,18 +70281,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *294 - - *295 - - *438 - - *148 + - *305 + - *306 + - *449 + - *159 responses: '200': description: Response content: application/json: - schema: *335 + schema: *346 examples: - default: *450 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69795,10 +70313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *294 - - *295 - - *148 - - *438 + - *305 + - *306 + - *159 + - *449 requestBody: required: true content: @@ -69840,10 +70358,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *294 - - *295 - - *148 - - *438 + - *305 + - *306 + - *159 + - *449 responses: '204': description: Response @@ -69865,8 +70383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -69876,7 +70394,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: 200-response: value: @@ -69943,8 +70461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *294 - - *295 + - *305 + - *306 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -69966,7 +70484,7 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: default: value: @@ -70103,8 +70621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -70137,9 +70655,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 + default: *320 '400': *14 '422': *15 '403': *27 @@ -70160,8 +70678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -70212,7 +70730,7 @@ paths: schema: type: string '404': *6 - '409': *122 + '409': *133 '403': *27 '422': description: Validation failed @@ -70220,8 +70738,8 @@ paths: application/json: schema: oneOf: - - *120 - - *451 + - *131 + - *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70246,8 +70764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *294 - - *295 + - *305 + - *306 - name: file_sha in: path required: true @@ -70299,7 +70817,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70346,8 +70864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -70456,7 +70974,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &463 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -70627,7 +71145,7 @@ paths: type: string '422': *15 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70676,15 +71194,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *294 - - *295 - - *408 + - *305 + - *306 + - *419 responses: '200': description: Response content: application/json: - schema: *452 + schema: *463 examples: default: value: @@ -70714,7 +71232,7 @@ paths: signature: payload: '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70739,9 +71257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *294 - - *295 - - &453 + - *305 + - *306 + - &464 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. @@ -70758,7 +71276,7 @@ paths: application/json: schema: type: array - items: &454 + items: &465 title: Git Reference description: Git references within a repository type: object @@ -70813,7 +71331,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *37 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70834,17 +71352,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *294 - - *295 - - *453 + - *305 + - *306 + - *464 responses: '200': description: Response content: application/json: - schema: *454 + schema: *465 examples: - default: &455 + default: &466 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -70854,7 +71372,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70873,8 +71391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -70903,16 +71421,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *465 examples: - default: *455 + default: *466 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70931,9 +71449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *294 - - *295 - - *453 + - *305 + - *306 + - *464 requestBody: required: true content: @@ -70962,11 +71480,11 @@ paths: description: Response content: application/json: - schema: *454 + schema: *465 examples: - default: *455 + default: *466 '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70982,14 +71500,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *294 - - *295 - - *453 + - *305 + - *306 + - *464 responses: '204': description: Response '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71036,8 +71554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -71104,7 +71622,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &468 title: Git Tag description: Metadata for a Git tag type: object @@ -71160,7 +71678,7 @@ paths: - sha - type - url - verification: *456 + verification: *467 required: - sha - url @@ -71170,7 +71688,7 @@ paths: - tag - message examples: - default: &458 + default: &469 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71196,7 +71714,7 @@ paths: schema: type: string '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71241,8 +71759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *294 - - *295 + - *305 + - *306 - name: tag_sha in: path required: true @@ -71253,11 +71771,11 @@ paths: description: Response content: application/json: - schema: *457 + schema: *468 examples: - default: *458 + default: *469 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71279,8 +71797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -71354,7 +71872,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &470 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -71449,7 +71967,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71472,8 +71990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *294 - - *295 + - *305 + - *306 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -71496,7 +72014,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: default-response: summary: Default response @@ -71537,7 +72055,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71555,8 +72073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -71566,7 +72084,7 @@ paths: application/json: schema: type: array - items: &460 + items: &471 title: Webhook description: Webhooks for repositories. type: object @@ -71629,7 +72147,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &696 + last_response: &707 title: Hook Response type: object properties: @@ -71706,8 +72224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -71760,9 +72278,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *471 examples: - default: &461 + default: &472 value: type: Repository id: 12345678 @@ -71810,17 +72328,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '200': description: Response content: application/json: - schema: *460 + schema: *471 examples: - default: *461 + default: *472 '404': *6 x-github: githubCloudOnly: false @@ -71840,9 +72358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 requestBody: required: true content: @@ -71887,9 +72405,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *471 examples: - default: *461 + default: *472 '422': *15 '404': *6 x-github: @@ -71907,9 +72425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '204': description: Response @@ -71933,9 +72451,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: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '200': description: Response @@ -71962,9 +72480,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: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 requestBody: required: false content: @@ -72008,11 +72526,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 - *17 - - *190 + - *201 responses: '200': description: Response @@ -72020,9 +72538,9 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: - default: *192 + default: *203 '400': *14 '422': *15 x-github: @@ -72041,18 +72559,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: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 - *16 responses: '200': description: Response content: application/json: - schema: *193 + schema: *204 examples: - default: *194 + default: *205 '400': *14 '422': *15 x-github: @@ -72071,12 +72589,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 - *16 responses: - '202': *123 + '202': *134 '400': *14 '422': *15 x-github: @@ -72096,9 +72614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '204': description: Response @@ -72123,9 +72641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *294 - - *295 - - *189 + - *305 + - *306 + - *200 responses: '204': description: Response @@ -72183,14 +72701,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: &462 + schema: &473 title: Import description: A repository import from an external source. type: object @@ -72297,7 +72815,7 @@ paths: - html_url - authors_url examples: - default: &465 + default: &476 value: vcs: subversion use_lfs: true @@ -72313,7 +72831,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': &463 + '503': &474 description: Unavailable due to service under maintenance. content: application/json: @@ -72342,8 +72860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -72391,7 +72909,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *473 examples: default: value: @@ -72416,7 +72934,7 @@ paths: type: string '422': *15 '404': *6 - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72444,8 +72962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -72497,7 +73015,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *473 examples: example-1: summary: Example 1 @@ -72545,7 +73063,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': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72568,12 +73086,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72599,9 +73117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *294 - - *295 - - &645 + - *305 + - *306 + - &656 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -72615,7 +73133,7 @@ paths: application/json: schema: type: array - items: &464 + items: &475 title: Porter Author description: Porter Author type: object @@ -72669,7 +73187,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': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72694,8 +73212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *294 - - *295 + - *305 + - *306 - name: author_id in: path required: true @@ -72725,7 +73243,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: default: value: @@ -72738,7 +73256,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72762,8 +73280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -72804,7 +73322,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72832,8 +73350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -72860,11 +73378,11 @@ paths: description: Response content: application/json: - schema: *462 + schema: *473 examples: - default: *465 + default: *476 '422': *15 - '503': *463 + '503': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72887,8 +73405,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -72896,8 +73414,8 @@ paths: application/json: schema: *20 examples: - default: *466 - '301': *308 + default: *477 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -72917,8 +73435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -72926,12 +73444,12 @@ paths: application/json: schema: anyOf: - - *207 + - *218 - type: object properties: {} additionalProperties: false examples: - default: &468 + default: &479 value: limit: collaborators_only origin: repository @@ -72956,13 +73474,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: application/json: - schema: *467 + schema: *478 examples: default: summary: Example request body @@ -72974,9 +73492,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *218 examples: - default: *468 + default: *479 '409': description: Response x-github: @@ -72998,8 +73516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -73022,8 +73540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -73033,9 +73551,9 @@ paths: application/json: schema: type: array - items: *469 + items: *480 examples: - default: &638 + default: &649 value: - id: 1 repository: @@ -73166,9 +73684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *294 - - *295 - - *211 + - *305 + - *306 + - *222 requestBody: required: false content: @@ -73197,7 +73715,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: default: value: @@ -73328,9 +73846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *294 - - *295 - - *211 + - *305 + - *306 + - *222 responses: '204': description: Response @@ -73361,8 +73879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *294 - - *295 + - *305 + - *306 - 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 @@ -73402,7 +73920,7 @@ paths: required: false schema: type: string - - *213 + - *224 - name: sort description: What to sort results by. in: query @@ -73414,8 +73932,8 @@ paths: - updated - comments default: created - - *65 - - *91 + - *76 + - *102 - *17 - *18 responses: @@ -73425,7 +73943,7 @@ paths: application/json: schema: type: array - items: *101 + items: *112 examples: default: value: @@ -73575,7 +74093,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *308 + '301': *319 '422': *15 '404': *6 x-github: @@ -73604,8 +74122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -73686,9 +74204,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: &473 + default: &484 value: id: 1 node_id: MDU6SXNzdWUx @@ -73842,9 +74360,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *81 + '503': *92 '404': *6 - '410': *305 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -73872,9 +74390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *294 - - *295 - - *110 + - *305 + - *306 + - *121 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -73884,7 +74402,7 @@ paths: enum: - asc - desc - - *91 + - *102 - *17 - *18 responses: @@ -73894,9 +74412,9 @@ paths: application/json: schema: type: array - items: *470 + items: *481 examples: - default: &475 + default: &486 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73954,17 +74472,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '200': description: Response content: application/json: - schema: *470 + schema: *481 examples: - default: &471 + default: &482 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74018,9 +74536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -74042,9 +74560,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *481 examples: - default: *471 + default: *482 '422': *15 x-github: githubCloudOnly: false @@ -74062,9 +74580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '204': description: Response @@ -74084,9 +74602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 - 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. @@ -74112,9 +74630,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 @@ -74135,9 +74653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -74169,16 +74687,16 @@ paths: description: Reaction exists content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Reaction created content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -74200,10 +74718,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *294 - - *295 - - *100 - - *286 + - *305 + - *306 + - *111 + - *297 responses: '204': description: Response @@ -74223,8 +74741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -74234,7 +74752,7 @@ paths: application/json: schema: type: array - items: &472 + items: &483 title: Issue Event description: Issue Event type: object @@ -74281,7 +74799,7 @@ paths: issue: anyOf: - type: 'null' - - *101 + - *112 label: title: Issue Event Label description: Issue Event Label @@ -74314,7 +74832,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *212 + requested_team: *223 dismissed_review: title: Issue Event Dismissed Review type: object @@ -74381,7 +74899,7 @@ paths: required: - from - to - author_association: *88 + author_association: *99 lock_reason: type: - string @@ -74573,8 +75091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *294 - - *295 + - *305 + - *306 - name: event_id in: path required: true @@ -74585,7 +75103,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *483 examples: default: value: @@ -74778,7 +75296,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *305 + '410': *316 '403': *27 x-github: githubCloudOnly: false @@ -74812,9 +75330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *294 - - *295 - - &474 + - *305 + - *306 + - &485 name: issue_number description: The number that identifies the issue. in: path @@ -74826,12 +75344,12 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: *473 - '301': *308 + default: *484 + '301': *319 '404': *6 - '410': *305 + '410': *316 '304': *35 x-github: githubCloudOnly: false @@ -74856,9 +75374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -74966,15 +75484,15 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: *473 + default: *484 '422': *15 - '503': *81 + '503': *92 '403': *27 - '301': *308 + '301': *319 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74992,9 +75510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -75020,9 +75538,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: *473 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75038,9 +75556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: content: application/json: @@ -75065,9 +75583,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *112 examples: - default: *473 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75089,9 +75607,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: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - name: assignee in: path required: true @@ -75131,10 +75649,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *294 - - *295 - - *474 - - *91 + - *305 + - *306 + - *485 + - *102 - *17 - *18 responses: @@ -75144,13 +75662,13 @@ paths: application/json: schema: type: array - items: *470 + items: *481 examples: - default: *475 + default: *486 headers: Link: *37 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75179,9 +75697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: true content: @@ -75203,16 +75721,16 @@ paths: description: Response content: application/json: - schema: *470 + schema: *481 examples: - default: *471 + default: *482 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *305 + '410': *316 '422': *15 '404': *6 x-github: @@ -75232,9 +75750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - *17 - *18 responses: @@ -75248,7 +75766,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &478 + - &489 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75297,7 +75815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &479 + - &490 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -75425,7 +75943,7 @@ paths: - performed_via_github_app - assignee - assigner - - &480 + - &491 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -75471,7 +75989,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &481 + - &492 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -75517,7 +76035,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &482 + - &493 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -75566,7 +76084,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &483 + - &494 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -75595,7 +76113,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *212 + requested_team: *223 requested_reviewer: *4 required: - review_requester @@ -75608,7 +76126,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &484 + - &495 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -75637,7 +76155,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *212 + requested_team: *223 requested_reviewer: *4 required: - review_requester @@ -75650,7 +76168,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &496 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -75706,7 +76224,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &497 title: Locked Issue Event description: Locked Issue Event type: object @@ -75751,7 +76269,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &498 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -75812,7 +76330,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &499 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -75873,7 +76391,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &500 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -75934,7 +76452,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &501 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76027,7 +76545,7 @@ paths: color: red headers: Link: *37 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76044,9 +76562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - *17 - *18 responses: @@ -76056,7 +76574,7 @@ paths: application/json: schema: type: array - items: &476 + items: &487 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -76111,7 +76629,7 @@ paths: - color - default examples: - default: &477 + default: &488 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76129,9 +76647,9 @@ paths: default: false headers: Link: *37 - '301': *308 + '301': *319 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76148,9 +76666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -76209,12 +76727,12 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 - '301': *308 + default: *488 + '301': *319 '404': *6 - '410': *305 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -76231,9 +76749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -76293,12 +76811,12 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 - '301': *308 + default: *488 + '301': *319 '404': *6 - '410': *305 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -76315,15 +76833,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 responses: '204': description: Response - '301': *308 + '301': *319 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76342,9 +76860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - name: name in: path required: true @@ -76357,7 +76875,7 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: default: value: @@ -76368,9 +76886,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *308 + '301': *319 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76390,9 +76908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: false content: @@ -76421,7 +76939,7 @@ paths: '204': description: Response '403': *27 - '410': *305 + '410': *316 '404': *6 '422': *15 x-github: @@ -76439,9 +76957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 responses: '204': description: Response @@ -76463,9 +76981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - 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. @@ -76491,13 +77009,13 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76515,9 +77033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 requestBody: required: true content: @@ -76549,16 +77067,16 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -76580,10 +77098,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *294 - - *295 - - *474 - - *286 + - *305 + - *306 + - *485 + - *297 responses: '204': description: Response @@ -76603,9 +77121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *294 - - *295 - - *474 + - *305 + - *306 + - *485 - *17 - *18 responses: @@ -76620,19 +77138,19 @@ paths: description: Timeline Event type: object anyOf: - - *478 - - *479 - - *480 - - *481 - - *482 - - *483 - - *484 - - *485 - - *486 - - *487 - - *488 - *489 - *490 + - *491 + - *492 + - *493 + - *494 + - *495 + - *496 + - *497 + - *498 + - *499 + - *500 + - *501 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -76680,12 +77198,12 @@ paths: issue_url: type: string format: uri - author_association: *88 + author_association: *99 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *89 + reactions: *100 required: - event - actor @@ -76716,7 +77234,7 @@ paths: properties: type: type: string - issue: *101 + issue: *112 required: - event - created_at @@ -76928,7 +77446,7 @@ paths: type: string body_text: type: string - author_association: *88 + author_association: *99 required: - event - id @@ -76951,7 +77469,7 @@ paths: type: string comments: type: array - items: &510 + items: &521 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -77056,7 +77574,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *88 + author_association: *99 _links: type: object properties: @@ -77151,7 +77669,7 @@ paths: enum: - line - file - reactions: *89 + reactions: *100 body_html: type: string examples: @@ -77189,7 +77707,7 @@ paths: type: string comments: type: array - items: *406 + items: *417 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -77464,7 +77982,7 @@ paths: headers: Link: *37 '404': *6 - '410': *305 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77481,8 +77999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -77492,7 +78010,7 @@ paths: application/json: schema: type: array - items: &491 + items: &502 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -77559,8 +78077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -77596,9 +78114,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: &492 + default: &503 value: id: 1 key: ssh-rsa AAA... @@ -77632,9 +78150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *294 - - *295 - - &493 + - *305 + - *306 + - &504 name: key_id description: The unique identifier of the key. in: path @@ -77646,9 +78164,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: *492 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -77666,9 +78184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *294 - - *295 - - *493 + - *305 + - *306 + - *504 responses: '204': description: Response @@ -77688,8 +78206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -77699,9 +78217,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 + default: *488 headers: Link: *37 '404': *6 @@ -77722,8 +78240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -77759,9 +78277,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: - default: &494 + default: &505 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77793,8 +78311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *294 - - *295 + - *305 + - *306 - name: name in: path required: true @@ -77805,9 +78323,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: - default: *494 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -77824,8 +78342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *294 - - *295 + - *305 + - *306 - name: name in: path required: true @@ -77864,7 +78382,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: default: value: @@ -77890,8 +78408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *294 - - *295 + - *305 + - *306 - name: name in: path required: true @@ -77917,8 +78435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -77954,10 +78472,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: - '202': *123 + '202': *134 '403': description: |- We will return a 403 with one of the following messages: @@ -77983,8 +78501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -78010,9 +78528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *294 - - *295 - - *383 + - *305 + - *306 + - *394 responses: '200': description: Response @@ -78078,7 +78596,7 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 required: - _links - git_url @@ -78159,8 +78677,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -78225,8 +78743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -78260,9 +78778,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *407 + schema: *418 examples: - default: *495 + default: *506 '204': description: Response when already merged '404': @@ -78287,8 +78805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *294 - - *295 + - *305 + - *306 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -78329,7 +78847,7 @@ paths: application/json: schema: type: array - items: *411 + items: *422 examples: default: value: @@ -78385,8 +78903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -78426,9 +78944,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: &496 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -78487,9 +79005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *294 - - *295 - - &497 + - *305 + - *306 + - &508 name: milestone_number description: The number that identifies the milestone. in: path @@ -78501,9 +79019,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: *496 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -78520,9 +79038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *294 - - *295 - - *497 + - *305 + - *306 + - *508 requestBody: required: false content: @@ -78560,9 +79078,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: *496 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78578,9 +79096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *294 - - *295 - - *497 + - *305 + - *306 + - *508 responses: '204': description: Response @@ -78601,9 +79119,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: - - *294 - - *295 - - *497 + - *305 + - *306 + - *508 - *17 - *18 responses: @@ -78613,9 +79131,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 + default: *488 headers: Link: *37 x-github: @@ -78634,12 +79152,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: - - *294 - - *295 - - *498 - - *499 - - *91 - - *500 + - *305 + - *306 + - *509 + - *510 + - *102 + - *511 - *17 - *18 responses: @@ -78649,9 +79167,9 @@ paths: application/json: schema: type: array - items: *113 + items: *124 examples: - default: *501 + default: *512 headers: Link: *37 x-github: @@ -78675,8 +79193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -78734,14 +79252,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: &502 + schema: &513 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -78885,7 +79403,7 @@ paths: - custom_404 - public examples: - default: &503 + default: &514 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -78926,8 +79444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -78982,11 +79500,11 @@ paths: description: Response content: application/json: - schema: *502 + schema: *513 examples: - default: *503 + default: *514 '422': *15 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79007,8 +79525,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -79095,7 +79613,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79116,14 +79634,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response '422': *15 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79143,8 +79661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -79154,7 +79672,7 @@ paths: application/json: schema: type: array - items: &504 + items: &515 title: Page Build description: Page Build type: object @@ -79246,8 +79764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *294 - - *295 + - *305 + - *306 responses: '201': description: Response @@ -79294,16 +79812,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *504 + schema: *515 examples: - default: &505 + default: &516 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -79351,8 +79869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *294 - - *295 + - *305 + - *306 - name: build_id in: path required: true @@ -79363,9 +79881,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *515 examples: - default: *505 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79385,8 +79903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -79495,9 +80013,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: - - *294 - - *295 - - &506 + - *305 + - *306 + - &517 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -79555,11 +80073,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *294 - - *295 - - *506 + - *305 + - *306 + - *517 responses: - '204': *166 + '204': *177 '404': *6 x-github: githubCloudOnly: false @@ -79584,8 +80102,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -79853,7 +80371,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -79880,8 +80398,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Private vulnerability reporting status @@ -79918,10 +80436,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: - '204': *166 + '204': *177 '422': *14 x-github: githubCloudOnly: false @@ -79940,10 +80458,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: - '204': *166 + '204': *177 '422': *14 x-github: githubCloudOnly: false @@ -79964,8 +80482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *294 - - *295 + - *305 + - *306 - name: state description: Indicates the state of the projects to return. in: query @@ -79986,7 +80504,7 @@ paths: application/json: schema: type: array - items: *240 + items: *251 examples: default: value: @@ -80026,7 +80544,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *305 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -80046,8 +80564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -80073,13 +80591,13 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: *304 + default: *315 '401': *23 '403': *27 '404': *6 - '410': *305 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -80099,8 +80617,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -80108,7 +80626,7 @@ paths: application/json: schema: type: array - items: *245 + items: *256 examples: default: value: @@ -80139,8 +80657,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -80152,7 +80670,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *245 + items: *256 required: - properties examples: @@ -80202,8 +80720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *294 - - *295 + - *305 + - *306 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -80263,9 +80781,9 @@ paths: application/json: schema: type: array - items: *507 + items: *518 examples: - default: *508 + default: *519 headers: Link: *37 '304': *35 @@ -80297,8 +80815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -80365,7 +80883,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &523 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -80494,7 +81012,7 @@ paths: milestone: anyOf: - type: 'null' - - *411 + - *422 active_lock_reason: type: - string @@ -80549,7 +81067,7 @@ paths: type: - array - 'null' - items: *225 + items: *236 head: type: object properties: @@ -80587,14 +81105,14 @@ paths: _links: type: object properties: - comments: *412 - commits: *412 - statuses: *412 - html: *412 - issue: *412 - review_comments: *412 - review_comment: *412 - self: *412 + comments: *423 + commits: *423 + statuses: *423 + html: *423 + issue: *423 + review_comments: *423 + review_comment: *423 + self: *423 required: - comments - commits @@ -80604,8 +81122,8 @@ paths: - review_comments - review_comment - self - author_association: *88 - auto_merge: *509 + author_association: *99 + auto_merge: *520 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -80707,7 +81225,7 @@ paths: - merged_by - review_comments examples: - default: &513 + default: &524 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81234,8 +81752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - name: sort in: query required: false @@ -81254,7 +81772,7 @@ paths: enum: - asc - desc - - *91 + - *102 - *17 - *18 responses: @@ -81264,9 +81782,9 @@ paths: application/json: schema: type: array - items: *510 + items: *521 examples: - default: &515 + default: &526 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81343,17 +81861,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '200': description: Response content: application/json: - schema: *510 + schema: *521 examples: - default: &511 + default: &522 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81428,9 +81946,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -81452,9 +81970,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: - default: *511 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81470,9 +81988,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 responses: '204': description: Response @@ -81493,9 +82011,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 - 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. @@ -81521,9 +82039,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 @@ -81544,9 +82062,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: - - *294 - - *295 - - *100 + - *305 + - *306 + - *111 requestBody: required: true content: @@ -81578,16 +82096,16 @@ paths: description: Reaction exists content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Reaction created content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -81609,10 +82127,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *294 - - *295 - - *100 - - *286 + - *305 + - *306 + - *111 + - *297 responses: '204': description: Response @@ -81655,9 +82173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *294 - - *295 - - &514 + - *305 + - *306 + - &525 name: pull_number description: The number that identifies the pull request. in: path @@ -81670,9 +82188,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *512 + schema: *523 examples: - default: *513 + default: *524 '304': *35 '404': *6 '406': @@ -81680,8 +82198,8 @@ paths: content: application/json: schema: *3 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81707,9 +82225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -81751,9 +82269,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *513 + default: *524 '422': *15 '403': *27 x-github: @@ -81775,9 +82293,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: true content: @@ -81838,21 +82356,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '401': *23 '403': *27 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81878,10 +82396,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: - - *294 - - *295 - - *514 - - *110 + - *305 + - *306 + - *525 + - *121 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -81891,7 +82409,7 @@ paths: enum: - asc - desc - - *91 + - *102 - *17 - *18 responses: @@ -81901,9 +82419,9 @@ paths: application/json: schema: type: array - items: *510 + items: *521 examples: - default: *515 + default: *526 headers: Link: *37 x-github: @@ -81936,9 +82454,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: true content: @@ -82044,7 +82562,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: example-for-a-multi-line-comment: value: @@ -82132,10 +82650,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: - - *294 - - *295 - - *514 - - *100 + - *305 + - *306 + - *525 + - *111 requestBody: required: true content: @@ -82157,7 +82675,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: default: value: @@ -82243,9 +82761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 - *17 - *18 responses: @@ -82255,9 +82773,9 @@ paths: application/json: schema: type: array - items: *407 + items: *418 examples: - default: *516 + default: *527 headers: Link: *37 x-github: @@ -82287,9 +82805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 - *17 - *18 responses: @@ -82299,7 +82817,7 @@ paths: application/json: schema: type: array - items: *419 + items: *430 examples: default: value: @@ -82317,8 +82835,8 @@ paths: headers: Link: *37 '422': *15 - '500': *69 - '503': *81 + '500': *80 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82337,9 +82855,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 responses: '204': description: Response if pull request has been merged @@ -82362,9 +82880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -82476,9 +82994,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 responses: '200': description: Response @@ -82494,7 +83012,7 @@ paths: items: *4 teams: type: array - items: *212 + items: *223 required: - users - teams @@ -82553,9 +83071,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -82592,7 +83110,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *518 examples: default: value: @@ -83128,9 +83646,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: true content: @@ -83164,7 +83682,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *518 examples: default: value: @@ -83669,9 +84187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 - *17 - *18 responses: @@ -83681,7 +84199,7 @@ paths: application/json: schema: type: array - items: &517 + items: &528 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -83755,7 +84273,7 @@ paths: type: string body_text: type: string - author_association: *88 + author_association: *99 required: - id - node_id @@ -83837,9 +84355,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: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -83929,9 +84447,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: - default: &519 + default: &530 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83994,10 +84512,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: - - *294 - - *295 - - *514 - - &518 + - *305 + - *306 + - *525 + - &529 name: review_id description: The unique identifier of the review. in: path @@ -84009,9 +84527,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: - default: &520 + default: &531 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84070,10 +84588,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 requestBody: required: true content: @@ -84096,7 +84614,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: default: value: @@ -84158,18 +84676,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 responses: '200': description: Response content: application/json: - schema: *517 + schema: *528 examples: - default: *519 + default: *530 '422': *7 '404': *6 x-github: @@ -84196,10 +84714,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 - *17 - *18 responses: @@ -84293,13 +84811,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *88 + author_association: *99 _links: type: object properties: - self: *412 - html: *412 - pull_request: *412 + self: *423 + html: *423 + pull_request: *423 required: - self - html @@ -84308,7 +84826,7 @@ paths: type: string body_html: type: string - reactions: *89 + reactions: *100 side: description: The side of the first line of the range for a multi-line comment. @@ -84450,10 +84968,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 requestBody: required: true content: @@ -84482,7 +85000,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: default: value: @@ -84545,10 +85063,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: - - *294 - - *295 - - *514 - - *518 + - *305 + - *306 + - *525 + - *529 requestBody: required: true content: @@ -84583,9 +85101,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: - default: *520 + default: *531 '404': *6 '422': *7 '403': *27 @@ -84607,9 +85125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *294 - - *295 - - *514 + - *305 + - *306 + - *525 requestBody: required: false content: @@ -84673,8 +85191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *294 - - *295 + - *305 + - *306 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -84687,9 +85205,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: &522 + default: &533 value: type: file encoding: base64 @@ -84731,8 +85249,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: - - *294 - - *295 + - *305 + - *306 - name: dir description: The alternate path to look for a README file in: path @@ -84752,9 +85270,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: *522 + default: *533 '404': *6 '422': *15 x-github: @@ -84776,8 +85294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -84787,7 +85305,7 @@ paths: application/json: schema: type: array - items: &523 + items: &534 title: Release description: A release. type: object @@ -84859,7 +85377,7 @@ paths: author: *4 assets: type: array - items: &524 + items: &535 title: Release Asset description: Data related to a release. type: object @@ -84929,7 +85447,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *89 + reactions: *100 required: - assets_url - upload_url @@ -85039,8 +85557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -85116,9 +85634,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: &527 + default: &538 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -85221,9 +85739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *294 - - *295 - - &525 + - *305 + - *306 + - &536 name: asset_id description: The unique identifier of the asset. in: path @@ -85235,9 +85753,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *535 examples: - default: &526 + default: &537 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 @@ -85271,7 +85789,7 @@ paths: type: User site_admin: false '404': *6 - '302': *421 + '302': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85287,9 +85805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *294 - - *295 - - *525 + - *305 + - *306 + - *536 requestBody: required: false content: @@ -85318,9 +85836,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *535 examples: - default: *526 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85336,9 +85854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *294 - - *295 - - *525 + - *305 + - *306 + - *536 responses: '204': description: Response @@ -85362,8 +85880,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -85449,16 +85967,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: *527 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85475,8 +85993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *294 - - *295 + - *305 + - *306 - name: tag description: tag parameter in: path @@ -85489,9 +86007,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: *527 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -85513,9 +86031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *294 - - *295 - - &528 + - *305 + - *306 + - &539 name: release_id description: The unique identifier of the release. in: path @@ -85529,9 +86047,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: *523 + schema: *534 examples: - default: *527 + default: *538 '401': description: Unauthorized x-github: @@ -85549,9 +86067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 requestBody: required: false content: @@ -85615,9 +86133,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: *527 + default: *538 '404': description: Not Found if the discussion category name is invalid content: @@ -85638,9 +86156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 responses: '204': description: Response @@ -85660,9 +86178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 - *17 - *18 responses: @@ -85672,7 +86190,7 @@ paths: application/json: schema: type: array - items: *524 + items: *535 examples: default: value: @@ -85753,9 +86271,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: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 - name: name in: query required: true @@ -85781,7 +86299,7 @@ paths: description: Response for successful upload content: application/json: - schema: *524 + schema: *535 examples: response-for-successful-upload: value: @@ -85835,9 +86353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 - 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. @@ -85861,9 +86379,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 '404': *6 @@ -85884,9 +86402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *294 - - *295 - - *528 + - *305 + - *306 + - *539 requestBody: required: true content: @@ -85916,16 +86434,16 @@ paths: description: Reaction exists content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '201': description: Reaction created content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -85947,10 +86465,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *294 - - *295 - - *528 - - *286 + - *305 + - *306 + - *539 + - *297 responses: '204': description: Response @@ -85974,9 +86492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *294 - - *295 - - *353 + - *305 + - *306 + - *364 - *17 - *18 responses: @@ -85992,8 +86510,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *529 - - &531 + - *540 + - &542 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86013,53 +86531,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *530 - - *531 + - *541 + - *542 - allOf: - - *532 - - *531 + - *543 + - *542 - allOf: - - *533 - - *531 + - *544 + - *542 - allOf: - - *534 - - *531 + - *545 + - *542 - allOf: - - *535 - - *531 + - *546 + - *542 - allOf: - - *536 - - *531 + - *547 + - *542 - allOf: - - *537 - - *531 + - *548 + - *542 - allOf: - - *538 - - *531 + - *549 + - *542 - allOf: - - *539 - - *531 + - *550 + - *542 - allOf: - - *540 - - *531 + - *551 + - *542 - allOf: - - *541 - - *531 + - *552 + - *542 - allOf: + - *553 - *542 - - *531 - allOf: - - *543 - - *531 + - *554 + - *542 - allOf: - - *544 - - *531 + - *555 + - *542 - allOf: - - *545 - - *531 + - *556 + - *542 - allOf: - - *546 - - *531 + - *557 + - *542 examples: default: value: @@ -86098,8 +86616,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 - name: includes_parents @@ -86110,7 +86628,7 @@ paths: schema: type: boolean default: true - - *547 + - *558 responses: '200': description: Response @@ -86118,7 +86636,7 @@ paths: application/json: schema: type: array - items: *255 + items: *266 examples: default: value: @@ -86149,7 +86667,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *69 + '500': *80 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -86165,8 +86683,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 requestBody: description: Request body required: true @@ -86186,16 +86704,16 @@ paths: - tag - push default: branch - enforcement: *251 + enforcement: *262 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *252 - conditions: *249 + items: *263 + conditions: *260 rules: type: array description: An array of rules within the ruleset. - items: *254 + items: *265 required: - name - enforcement @@ -86226,9 +86744,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: &557 + default: &568 value: id: 42 name: super cool ruleset @@ -86261,7 +86779,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *69 + '500': *80 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -86275,12 +86793,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *294 - - *295 - - *548 - - *549 - - *550 - - *551 + - *305 + - *306 + - *559 + - *560 + - *561 + - *562 - *17 - *18 responses: @@ -86288,11 +86806,11 @@ paths: description: Response content: application/json: - schema: *552 + schema: *563 examples: - default: *553 + default: *564 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86311,19 +86829,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *294 - - *295 - - *554 + - *305 + - *306 + - *565 responses: '200': description: Response content: application/json: - schema: *555 + schema: *566 examples: - default: *556 + default: *567 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86349,8 +86867,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86370,11 +86888,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: *557 + default: *568 '404': *6 - '500': *69 + '500': *80 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -86390,8 +86908,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86416,16 +86934,16 @@ paths: - branch - tag - push - enforcement: *251 + enforcement: *262 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *252 - conditions: *249 + items: *263 + conditions: *260 rules: description: An array of rules within the ruleset. type: array - items: *254 + items: *265 examples: default: value: @@ -86453,11 +86971,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *266 examples: - default: *557 + default: *568 '404': *6 - '500': *69 + '500': *80 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -86473,8 +86991,8 @@ paths: category: repos subcategory: rules parameters: - - *294 - - *295 + - *305 + - *306 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86485,7 +87003,7 @@ paths: '204': description: Response '404': *6 - '500': *69 + '500': *80 "/repos/{owner}/{repo}/secret-scanning/alerts": get: summary: List secret scanning alerts for a repository @@ -86502,20 +87020,20 @@ 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: - - *294 - - *295 - - *257 - - *258 - - *259 - - *260 - - *65 + - *305 + - *306 + - *268 + - *269 + - *270 + - *271 + - *76 - *18 - *17 - - *558 - - *559 - - *261 - - *262 - - *263 + - *569 + - *570 + - *272 + - *273 + - *274 responses: '200': description: Response @@ -86523,24 +87041,24 @@ paths: application/json: schema: type: array - items: &562 + items: &573 type: object properties: - number: *70 - created_at: *76 + number: *81 + created_at: *87 updated_at: anyOf: - type: 'null' - - *77 - url: *74 - html_url: *75 + - *88 + url: *85 + html_url: *86 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *560 - resolution: *561 + state: *571 + resolution: *572 resolved_at: type: - string @@ -86723,7 +87241,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86745,15 +87263,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 responses: '200': description: Response content: application/json: - schema: *562 + schema: *573 examples: default: value: @@ -86783,7 +87301,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86804,9 +87322,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: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 requestBody: required: true content: @@ -86814,8 +87332,8 @@ paths: schema: type: object properties: - state: *560 - resolution: *561 + state: *571 + resolution: *572 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -86834,7 +87352,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *573 examples: default: value: @@ -86886,7 +87404,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86908,9 +87426,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: - - *294 - - *295 - - *381 + - *305 + - *306 + - *392 - *18 - *17 responses: @@ -86921,7 +87439,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &717 + items: &728 type: object properties: type: @@ -87278,7 +87796,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87300,8 +87818,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -87309,14 +87827,14 @@ paths: schema: type: object properties: - reason: &564 + reason: &575 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *563 + placeholder_id: *574 required: - reason - placeholder_id @@ -87333,7 +87851,7 @@ paths: schema: type: object properties: - reason: *564 + reason: *575 expire_at: type: - string @@ -87357,7 +87875,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *81 + '503': *92 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87379,9 +87897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *294 - - *295 - - *65 + - *305 + - *306 + - *76 - name: sort description: The property to sort the results by. in: query @@ -87393,8 +87911,8 @@ paths: - updated - published default: created - - *63 - - *64 + - *74 + - *75 - name: per_page description: The number of advisories to return per page. 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)." @@ -87424,9 +87942,9 @@ paths: application/json: schema: type: array - items: *565 + items: *576 examples: - default: *566 + default: *577 '400': *14 '404': *6 x-github: @@ -87449,8 +87967,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -87530,7 +88048,7 @@ paths: login: type: string description: The username of the user credited. - type: *266 + type: *277 required: - login - type @@ -87620,9 +88138,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *576 examples: - default: &568 + default: &579 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87855,8 +88373,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: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -87969,7 +88487,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *576 examples: default: value: @@ -88116,17 +88634,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: - - *294 - - *295 - - *567 + - *305 + - *306 + - *578 responses: '200': description: Response content: application/json: - schema: *565 + schema: *576 examples: - default: *568 + default: *579 '403': *27 '404': *6 x-github: @@ -88150,9 +88668,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: - - *294 - - *295 - - *567 + - *305 + - *306 + - *578 requestBody: required: true content: @@ -88232,7 +88750,7 @@ paths: login: type: string description: The username of the user credited. - type: *266 + type: *277 required: - login - type @@ -88323,17 +88841,17 @@ paths: description: Response content: application/json: - schema: *565 + schema: *576 examples: - default: *568 - add_credit: *568 + default: *579 + add_credit: *579 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *120 + schema: *131 examples: invalid_state_transition: value: @@ -88364,11 +88882,11 @@ 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: - - *294 - - *295 - - *567 + - *305 + - *306 + - *578 responses: - '202': *123 + '202': *134 '400': *14 '403': *27 '404': *6 @@ -88393,17 +88911,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: - - *294 - - *295 - - *567 + - *305 + - *306 + - *578 responses: '202': description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 + default: *320 '400': *14 '422': *15 '403': *27 @@ -88429,8 +88947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -88526,8 +89044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -88536,7 +89054,7 @@ paths: application/json: schema: type: array - items: &569 + items: &580 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88548,8 +89066,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *123 - '204': *166 + '202': *134 + '204': *177 '422': description: Repository contains more than 10,000 commits x-github: @@ -88569,8 +89087,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -88620,8 +89138,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *123 - '204': *166 + '202': *134 + '204': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88648,8 +89166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -88720,8 +89238,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *123 - '204': *166 + '202': *134 + '204': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88743,8 +89261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -88898,8 +89416,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: - - *294 - - *295 + - *305 + - *306 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -88909,7 +89427,7 @@ paths: application/json: schema: type: array - items: *569 + items: *580 examples: default: value: @@ -88922,7 +89440,7 @@ paths: - - 0 - 2 - 21 - '204': *166 + '204': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88942,8 +89460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *294 - - *295 + - *305 + - *306 - name: sha in: path required: true @@ -88999,7 +89517,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *581 examples: default: value: @@ -89053,8 +89571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -89066,7 +89584,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -89086,14 +89604,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &571 + schema: &582 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89166,8 +89684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: false content: @@ -89193,7 +89711,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *582 examples: default: value: @@ -89220,8 +89738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -89241,8 +89759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -89324,8 +89842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -89333,7 +89851,7 @@ paths: application/json: schema: type: array - items: &572 + items: &583 title: Tag protection description: Tag protection type: object @@ -89390,8 +89908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -89414,7 +89932,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *583 examples: default: value: @@ -89445,8 +89963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *294 - - *295 + - *305 + - *306 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -89483,8 +90001,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *294 - - *295 + - *305 + - *306 - name: ref in: path required: true @@ -89520,8 +90038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *294 - - *295 + - *305 + - *306 - *17 - *18 responses: @@ -89531,9 +90049,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *226 + default: *237 headers: Link: *37 '404': *6 @@ -89553,8 +90071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *294 - - *295 + - *305 + - *306 - *18 - *17 responses: @@ -89562,7 +90080,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &584 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -89574,7 +90092,7 @@ paths: required: - names examples: - default: &574 + default: &585 value: names: - octocat @@ -89597,8 +90115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -89629,9 +90147,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *584 examples: - default: *574 + default: *585 '404': *6 '422': *7 x-github: @@ -89652,9 +90170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *294 - - *295 - - &575 + - *305 + - *306 + - &586 name: per description: The time frame to display results for. in: query @@ -89685,7 +90203,7 @@ paths: - 128 clones: type: array - items: &576 + items: &587 title: Traffic type: object properties: @@ -89772,8 +90290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -89867,8 +90385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *294 - - *295 + - *305 + - *306 responses: '200': description: Response @@ -89931,9 +90449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *294 - - *295 - - *575 + - *305 + - *306 + - *586 responses: '200': description: Response @@ -89954,7 +90472,7 @@ paths: - 3782 views: type: array - items: *576 + items: *587 required: - uniques - count @@ -90031,8 +90549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *294 - - *295 + - *305 + - *306 requestBody: required: true content: @@ -90068,7 +90586,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *146 examples: default: value: @@ -90306,8 +90824,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -90330,8 +90848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -90353,8 +90871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -90380,8 +90898,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *294 - - *295 + - *305 + - *306 - name: ref in: path required: true @@ -90473,9 +90991,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -90516,7 +91034,7 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: default: value: @@ -90629,7 +91147,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &584 + - &595 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -90639,7 +91157,7 @@ paths: type: string examples: - members - - &589 + - &600 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -90651,7 +91169,7 @@ paths: format: int32 examples: - 1 - - &590 + - &601 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -90695,7 +91213,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &578 + items: &589 allOf: - type: object required: @@ -90777,7 +91295,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: &591 + meta: &602 type: object description: The metadata associated with the creation/updates to the user. @@ -90842,31 +91360,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &579 + '400': &590 description: Bad request content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '401': &580 + schema: *588 + '401': &591 description: Authorization failure - '403': &581 + '403': &592 description: Permission denied - '429': &582 + '429': &593 description: Too many requests content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '500': &583 + schema: *588 + '500': &594 description: Internal server error content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 + schema: *588 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90893,7 +91411,7 @@ paths: required: true content: application/json: - schema: &587 + schema: &598 type: object required: - schemas @@ -90953,9 +91471,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *578 + schema: *589 examples: - group: &585 + group: &596 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -90974,13 +91492,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': *579 - '401': *580 - '403': *581 - '409': &588 + '400': *590 + '401': *591 + '403': *592 + '409': &599 description: Duplicate record detected - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91001,7 +91519,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: - - &586 + - &597 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -91010,22 +91528,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *584 + - *595 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *578 + schema: *589 examples: - default: *585 - '400': *579 - '401': *580 - '403': *581 + default: *596 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91047,13 +91565,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: - - *586 + - *597 - *38 requestBody: required: true content: application/json: - schema: *587 + schema: *598 examples: group: summary: Group @@ -91079,17 +91597,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *578 + schema: *589 examples: - group: *585 - groupWithMembers: *585 - '400': *579 - '401': *580 - '403': *581 + group: *596 + groupWithMembers: *596 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '409': *588 - '429': *582 - '500': *583 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91116,13 +91634,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: - - *586 + - *597 - *38 requestBody: required: true content: application/json: - schema: &598 + schema: &609 type: object required: - Operations @@ -91182,17 +91700,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *578 + schema: *589 examples: - updateGroup: *585 - addMembers: *585 - '400': *579 - '401': *580 - '403': *581 + updateGroup: *596 + addMembers: *596 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '409': *588 - '429': *582 - '500': *583 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91212,17 +91730,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: - - *586 + - *597 - *38 responses: '204': description: Group was deleted, no content - '400': *579 - '401': *580 - '403': *581 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91259,8 +91777,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *589 - - *590 + - *600 + - *601 - *38 responses: '200': @@ -91294,7 +91812,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &593 + items: &604 allOf: - type: object required: @@ -91386,7 +91904,7 @@ paths: address. examples: - true - roles: &592 + roles: &603 type: array description: The roles assigned to the user. items: @@ -91445,7 +91963,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *591 + meta: *602 startIndex: type: integer description: A starting index for the returned page @@ -91484,11 +92002,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *579 - '401': *580 - '403': *581 - '429': *582 - '500': *583 + '400': *590 + '401': *591 + '403': *592 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91515,7 +92033,7 @@ paths: required: true content: application/json: - schema: &596 + schema: &607 type: object required: - schemas @@ -91608,9 +92126,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *592 + roles: *603 examples: - user: &597 + user: &608 summary: User value: schemas: @@ -91657,9 +92175,9 @@ paths: description: User has been created content: application/scim+json: - schema: *593 + schema: *604 examples: - user: &594 + user: &605 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -91685,13 +92203,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: *594 - '400': *579 - '401': *580 - '403': *581 - '409': *588 - '429': *582 - '500': *583 + enterpriseOwner: *605 + '400': *590 + '401': *591 + '403': *592 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91712,7 +92230,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: - - &595 + - &606 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -91725,15 +92243,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *593 + schema: *604 examples: - default: *594 - '400': *579 - '401': *580 - '403': *581 + default: *605 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91758,30 +92276,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: - - *595 + - *606 - *38 requestBody: required: true content: application/json: - schema: *596 + schema: *607 examples: - user: *597 + user: *608 responses: '200': description: User was updated content: application/scim+json: - schema: *593 + schema: *604 examples: - user: *594 - '400': *579 - '401': *580 - '403': *581 + user: *605 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '409': *588 - '429': *582 - '500': *583 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91819,13 +92337,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: - - *595 + - *606 - *38 requestBody: required: true content: application/json: - schema: *598 + schema: *609 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -91865,18 +92383,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *593 - examples: - userMultiValuedProperties: *594 - userSingleValuedProperties: *594 - disableUser: *594 - '400': *579 - '401': *580 - '403': *581 + schema: *604 + examples: + userMultiValuedProperties: *605 + userSingleValuedProperties: *605 + disableUser: *605 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '409': *588 - '429': *582 - '500': *583 + '409': *599 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91896,17 +92414,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: - - *595 + - *606 - *38 responses: '204': description: User was deleted, no content - '400': *579 - '401': *580 - '403': *581 + '400': *590 + '401': *591 + '403': *592 '404': *6 - '429': *582 - '500': *583 + '429': *593 + '500': *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91939,7 +92457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *117 + - *128 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -91997,7 +92515,7 @@ paths: - 1 Resources: type: array - items: &599 + items: &610 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -92244,22 +92762,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': *35 - '404': &600 + '404': &611 description: Resource not found content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '403': &601 + schema: *588 + '403': &612 description: Forbidden content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '400': *579 - '429': *582 + schema: *588 + '400': *590 + '429': *593 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -92279,15 +92797,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *117 + - *128 responses: '201': description: Response content: application/scim+json: - schema: *599 + schema: *610 examples: - default: &602 + default: &613 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92310,17 +92828,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': *35 - '404': *600 - '403': *601 - '500': *583 + '404': *611 + '403': *612 + '500': *594 '409': description: Conflict content: application/json: - schema: *577 + schema: *588 application/scim+json: - schema: *577 - '400': *579 + schema: *588 + '400': *590 requestBody: required: true content: @@ -92414,18 +92932,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *117 - - *595 + - *128 + - *606 responses: '200': description: Response content: application/scim+json: - schema: *599 + schema: *610 examples: - default: *602 - '404': *600 - '403': *601 + default: *613 + '404': *611 + '403': *612 '304': *35 x-github: githubCloudOnly: true @@ -92448,19 +92966,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *117 - - *595 + - *128 + - *606 responses: '200': description: Response content: application/scim+json: - schema: *599 + schema: *610 examples: - default: *602 + default: *613 '304': *35 - '404': *600 - '403': *601 + '404': *611 + '403': *612 requestBody: required: true content: @@ -92570,20 +93088,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *117 - - *595 + - *128 + - *606 responses: '200': description: Response content: application/scim+json: - schema: *599 + schema: *610 examples: - default: *602 + default: *613 '304': *35 - '404': *600 - '403': *601 - '400': *579 + '404': *611 + '403': *612 + '400': *590 '429': description: Response content: @@ -92678,13 +93196,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *117 - - *595 + - *128 + - *606 responses: '204': description: Response - '404': *600 - '403': *601 + '404': *611 + '403': *612 '304': *35 x-github: githubCloudOnly: true @@ -92799,7 +93317,7 @@ paths: html_url: type: string format: uri - repository: *135 + repository: *146 score: type: number file_size: @@ -92818,7 +93336,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &603 + text_matches: &614 title: Search Result Text Matches type: array items: @@ -92933,7 +93451,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *81 + '503': *92 '422': *15 '403': *27 x-github: @@ -92982,7 +93500,7 @@ paths: enum: - author-date - committer-date - - &604 + - &615 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 @@ -93051,7 +93569,7 @@ paths: committer: anyOf: - type: 'null' - - *351 + - *362 comment_count: type: integer message: @@ -93070,7 +93588,7 @@ paths: url: type: string format: uri - verification: *456 + verification: *467 required: - author - committer @@ -93085,7 +93603,7 @@ paths: committer: anyOf: - type: 'null' - - *351 + - *362 parents: type: array items: @@ -93097,12 +93615,12 @@ paths: type: string sha: type: string - repository: *135 + repository: *146 score: type: number node_id: type: string - text_matches: *603 + text_matches: *614 required: - sha - node_id @@ -93295,7 +93813,7 @@ paths: - interactions - created - updated - - *604 + - *615 - *17 - *18 responses: @@ -93397,7 +93915,7 @@ paths: milestone: anyOf: - type: 'null' - - *411 + - *422 comments: type: integer created_at: @@ -93411,7 +93929,7 @@ paths: - string - 'null' format: date-time - text_matches: *603 + text_matches: *614 pull_request: type: object properties: @@ -93449,7 +93967,7 @@ paths: type: string score: type: number - author_association: *88 + author_association: *99 draft: type: boolean repository: *55 @@ -93464,7 +93982,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *89 + reactions: *100 required: - assignee - closed_at @@ -93580,7 +94098,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *81 + '503': *92 '422': *15 '304': *35 '403': *27 @@ -93633,7 +94151,7 @@ paths: enum: - created - updated - - *604 + - *615 - *17 - *18 responses: @@ -93678,7 +94196,7 @@ paths: - 'null' score: type: number - text_matches: *603 + text_matches: *614 required: - id - node_id @@ -93764,7 +94282,7 @@ paths: - forks - help-wanted-issues - updated - - *604 + - *615 - *17 - *18 responses: @@ -93983,7 +94501,7 @@ paths: license: anyOf: - type: 'null' - - *102 + - *113 permissions: type: object properties: @@ -94001,7 +94519,7 @@ paths: - admin - pull - push - text_matches: *603 + text_matches: *614 temp_clone_token: type: string allow_merge_commit: @@ -94204,7 +94722,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *81 + '503': *92 '422': *15 '304': *35 x-github: @@ -94310,7 +94828,7 @@ paths: - string - 'null' format: uri - text_matches: *603 + text_matches: *614 related: type: - array @@ -94505,7 +95023,7 @@ paths: - followers - repositories - joined - - *604 + - *615 - *17 - *18 responses: @@ -94615,7 +95133,7 @@ paths: type: - boolean - 'null' - text_matches: *603 + text_matches: *614 blog: type: - string @@ -94677,7 +95195,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *81 + '503': *92 '422': *15 x-github: githubCloudOnly: false @@ -94697,7 +95215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &605 + - &616 name: team_id description: The unique identifier of the team. in: path @@ -94709,9 +95227,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -94738,7 +95256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *605 + - *616 requestBody: required: true content: @@ -94802,16 +95320,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '201': description: Response content: application/json: - schema: *275 + schema: *286 examples: - default: *276 + default: *287 '404': *6 '422': *15 '403': *27 @@ -94839,7 +95357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *605 + - *616 responses: '204': description: Response @@ -94870,8 +95388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *605 - - *65 + - *616 + - *76 - *17 - *18 responses: @@ -94881,9 +95399,9 @@ paths: application/json: schema: type: array - items: *277 + items: *288 examples: - default: *606 + default: *617 headers: Link: *37 x-github: @@ -94912,7 +95430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *605 + - *616 requestBody: required: true content: @@ -94946,9 +95464,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: *278 + default: *289 x-github: triggersNotification: true githubCloudOnly: false @@ -94975,16 +95493,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 responses: '200': description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: *278 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95009,8 +95527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 requestBody: required: false content: @@ -95033,9 +95551,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *288 examples: - default: *607 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95060,8 +95578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 responses: '204': description: Response @@ -95090,9 +95608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *605 - - *279 - - *65 + - *616 + - *290 + - *76 - *17 - *18 responses: @@ -95102,9 +95620,9 @@ paths: application/json: schema: type: array - items: *280 + items: *291 examples: - default: *608 + default: *619 headers: Link: *37 x-github: @@ -95133,8 +95651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *605 - - *279 + - *616 + - *290 requestBody: required: true content: @@ -95156,9 +95674,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *281 + default: *292 x-github: triggersNotification: true githubCloudOnly: false @@ -95185,17 +95703,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *281 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95220,9 +95738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 requestBody: required: true content: @@ -95244,9 +95762,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *609 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95271,9 +95789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 responses: '204': description: Response @@ -95302,9 +95820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 - 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 team discussion comment. @@ -95330,9 +95848,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 x-github: @@ -95361,9 +95879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *605 - - *279 - - *282 + - *616 + - *290 + - *293 requestBody: required: true content: @@ -95395,9 +95913,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95423,8 +95941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 - 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 team discussion. @@ -95450,9 +95968,9 @@ paths: application/json: schema: type: array - items: *283 + items: *294 examples: - default: *285 + default: *296 headers: Link: *37 x-github: @@ -95481,8 +95999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *605 - - *279 + - *616 + - *290 requestBody: required: true content: @@ -95514,9 +96032,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *294 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95540,7 +96058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *605 + - *616 - *17 - *18 responses: @@ -95550,9 +96068,9 @@ paths: application/json: schema: type: array - items: *209 + items: *220 examples: - default: *210 + default: *221 headers: Link: *37 x-github: @@ -95578,7 +96096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *605 + - *616 - name: role description: Filters members returned by their role in the team. in: query @@ -95601,7 +96119,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '404': *6 @@ -95629,8 +96147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *605 - - *157 + - *616 + - *168 responses: '204': description: if user is a member @@ -95666,8 +96184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *605 - - *157 + - *616 + - *168 responses: '204': description: Response @@ -95706,8 +96224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *605 - - *157 + - *616 + - *168 responses: '204': description: Response @@ -95743,16 +96261,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: - - *605 - - *157 + - *616 + - *168 responses: '200': description: Response content: application/json: - schema: *291 + schema: *302 examples: - response-if-user-is-a-team-maintainer: *610 + response-if-user-is-a-team-maintainer: *621 '404': *6 x-github: githubCloudOnly: false @@ -95785,8 +96303,8 @@ 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: - - *605 - - *157 + - *616 + - *168 requestBody: required: false content: @@ -95811,9 +96329,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *302 examples: - response-if-users-membership-with-team-is-now-pending: *611 + response-if-users-membership-with-team-is-now-pending: *622 '403': description: Forbidden if team synchronization is set up '422': @@ -95847,8 +96365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *605 - - *157 + - *616 + - *168 responses: '204': description: Response @@ -95877,7 +96395,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *605 + - *616 - *17 - *18 responses: @@ -95887,9 +96405,9 @@ paths: application/json: schema: type: array - items: *292 + items: *303 examples: - default: *612 + default: *623 headers: Link: *37 '404': *6 @@ -95916,16 +96434,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *605 - - *293 + - *616 + - *304 responses: '200': description: Response content: application/json: - schema: *292 + schema: *303 examples: - default: *613 + default: *624 '404': description: Not Found if project is not managed by this team x-github: @@ -95950,8 +96468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *605 - - *293 + - *616 + - *304 requestBody: required: false content: @@ -96019,8 +96537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *605 - - *293 + - *616 + - *304 responses: '204': description: Response @@ -96047,7 +96565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *605 + - *616 - *17 - *18 responses: @@ -96057,9 +96575,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 '404': *6 @@ -96089,15 +96607,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: - - *605 - - *294 - - *295 + - *616 + - *305 + - *306 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *614 + schema: *625 examples: alternative-response-with-extra-repository-information: value: @@ -96248,9 +96766,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: - - *605 - - *294 - - *295 + - *616 + - *305 + - *306 requestBody: required: false content: @@ -96300,9 +96818,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: - - *605 - - *294 - - *295 + - *616 + - *305 + - *306 responses: '204': description: Response @@ -96331,15 +96849,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: - - *605 + - *616 responses: '200': description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *297 + default: *308 '403': *27 '404': *6 x-github: @@ -96366,7 +96884,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: - - *605 + - *616 requestBody: required: true content: @@ -96427,7 +96945,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: default: value: @@ -96458,7 +96976,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *605 + - *616 - *17 - *18 responses: @@ -96468,9 +96986,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - response-if-child-teams-exist: *615 + response-if-child-teams-exist: *626 headers: Link: *37 '404': *6 @@ -96503,7 +97021,7 @@ paths: application/json: schema: oneOf: - - &617 + - &628 title: Private User description: Private User type: object @@ -96753,7 +97271,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *616 + - *627 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96913,7 +97431,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *628 examples: default: value: @@ -96992,7 +97510,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 '304': *35 '404': *6 '403': *27 @@ -97015,7 +97533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *157 + - *168 responses: '204': description: If the user is blocked @@ -97043,7 +97561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *157 + - *168 responses: '204': description: Response @@ -97067,7 +97585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *157 + - *168 responses: '204': description: Response @@ -97116,11 +97634,11 @@ paths: type: integer codespaces: type: array - items: *216 + items: *227 examples: - default: *217 + default: *228 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -97257,21 +97775,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '401': *23 '403': *27 '404': *6 - '503': *81 + '503': *92 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97311,7 +97829,7 @@ paths: type: integer secrets: type: array - items: &618 + items: &629 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97353,7 +97871,7 @@ paths: - visibility - selected_repositories_url examples: - default: *400 + default: *411 headers: Link: *37 x-github: @@ -97425,13 +97943,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: - - *145 + - *156 responses: '200': description: Response content: application/json: - schema: *618 + schema: *629 examples: default: value: @@ -97461,7 +97979,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: - - *145 + - *156 requestBody: required: true content: @@ -97506,7 +98024,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -97534,7 +98052,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: - - *145 + - *156 responses: '204': description: Response @@ -97559,7 +98077,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: - - *145 + - *156 responses: '200': description: Response @@ -97575,13 +98093,13 @@ paths: type: integer repositories: type: array - items: *135 + items: *146 examples: - default: *619 + default: *630 '401': *23 '403': *27 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97602,7 +98120,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: - - *145 + - *156 requestBody: required: true content: @@ -97634,7 +98152,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97656,7 +98174,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: - - *145 + - *156 - name: repository_id in: path required: true @@ -97668,7 +98186,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97689,7 +98207,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: - - *145 + - *156 - name: repository_id in: path required: true @@ -97701,7 +98219,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *69 + '500': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97721,17 +98239,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *218 + - *229 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -97755,7 +98273,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: - - *218 + - *229 requestBody: required: false content: @@ -97785,9 +98303,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '401': *23 '403': *27 '404': *6 @@ -97809,11 +98327,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *218 + - *229 responses: - '202': *123 + '202': *134 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -97838,13 +98356,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: - - *218 + - *229 responses: '202': description: Response content: application/json: - schema: &620 + schema: &631 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97897,7 +98415,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &621 + default: &632 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97905,7 +98423,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -97929,7 +98447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *218 + - *229 - name: export_id in: path required: true @@ -97942,9 +98460,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *631 examples: - default: *621 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -97965,7 +98483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *218 + - *229 responses: '200': description: Response @@ -97981,11 +98499,11 @@ paths: type: integer machines: type: array - items: *399 + items: *410 examples: - default: *622 + default: *633 '304': *35 - '500': *69 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -98012,7 +98530,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: - - *218 + - *229 requestBody: required: true content: @@ -98068,11 +98586,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *307 + repository: *318 machine: anyOf: - type: 'null' - - *399 + - *410 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -98869,17 +99387,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *218 + - *229 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *398 + default: *409 '304': *35 - '500': *69 + '500': *80 '400': *14 '401': *23 '402': @@ -98889,7 +99407,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *122 + '409': *133 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98909,16 +99427,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *218 + - *229 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *398 - '500': *69 + default: *409 + '500': *80 '401': *23 '403': *27 '404': *6 @@ -98947,9 +99465,9 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: &635 + default: &646 value: - id: 197 name: hello_docker @@ -99050,7 +99568,7 @@ paths: application/json: schema: type: array - items: &623 + items: &634 title: Email description: Email type: object @@ -99120,9 +99638,9 @@ paths: application/json: schema: type: array - items: *623 + items: *634 examples: - default: &637 + default: &648 value: - email: octocat@github.com verified: true @@ -99199,7 +99717,7 @@ paths: application/json: schema: type: array - items: *623 + items: *634 examples: default: value: @@ -99311,7 +99829,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '304': *35 @@ -99344,7 +99862,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 '304': *35 @@ -99366,7 +99884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *157 + - *168 responses: '204': description: if the person is followed by the authenticated user @@ -99396,7 +99914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *157 + - *168 responses: '204': description: Response @@ -99421,7 +99939,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *157 + - *168 responses: '204': description: Response @@ -99457,7 +99975,7 @@ paths: application/json: schema: type: array - items: &624 + items: &635 title: GPG Key description: A unique encryption key type: object @@ -99602,7 +100120,7 @@ paths: - subkeys - revoked examples: - default: &648 + default: &659 value: - id: 3 name: Octocat's GPG Key @@ -99687,9 +100205,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *635 examples: - default: &625 + default: &636 value: id: 3 name: Octocat's GPG Key @@ -99746,7 +100264,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: - - &626 + - &637 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99758,9 +100276,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *635 examples: - default: *625 + default: *636 '404': *6 '304': *35 '403': *27 @@ -99783,7 +100301,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: - - *626 + - *637 responses: '204': description: Response @@ -99974,7 +100492,7 @@ paths: type: array items: *55 examples: - default: *627 + default: *638 headers: Link: *37 '404': *6 @@ -99999,7 +100517,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *130 + - *141 responses: '204': description: Response @@ -100025,7 +100543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *130 + - *141 responses: '204': description: Response @@ -100059,12 +100577,12 @@ paths: application/json: schema: anyOf: - - *207 + - *218 - type: object properties: {} additionalProperties: false examples: - default: *208 + default: *219 '204': description: Response when there are no restrictions x-github: @@ -100088,7 +100606,7 @@ paths: required: true content: application/json: - schema: *467 + schema: *478 examples: default: value: @@ -100099,7 +100617,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *218 examples: default: value: @@ -100180,7 +100698,7 @@ paths: - closed - all default: open - - *213 + - *224 - name: sort description: What to sort results by. in: query @@ -100192,8 +100710,8 @@ paths: - updated - comments default: created - - *65 - - *91 + - *76 + - *102 - *17 - *18 responses: @@ -100203,9 +100721,9 @@ paths: application/json: schema: type: array - items: *101 + items: *112 examples: - default: *214 + default: *225 headers: Link: *37 '404': *6 @@ -100238,7 +100756,7 @@ paths: application/json: schema: type: array - items: &628 + items: &639 title: Key description: Key type: object @@ -100336,9 +100854,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *639 examples: - default: &629 + default: &640 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100371,15 +100889,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: - - *493 + - *504 responses: '200': description: Response content: application/json: - schema: *628 + schema: *639 examples: - default: *629 + default: *640 '404': *6 '304': *35 '403': *27 @@ -100402,7 +100920,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: - - *493 + - *504 responses: '204': description: Response @@ -100435,7 +100953,7 @@ paths: application/json: schema: type: array - items: &630 + items: &641 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100503,7 +101021,7 @@ paths: - id - type - login - plan: *104 + plan: *115 required: - billing_cycle - next_billing_date @@ -100514,7 +101032,7 @@ paths: - account - plan examples: - default: &631 + default: &642 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100576,9 +101094,9 @@ paths: application/json: schema: type: array - items: *630 + items: *641 examples: - default: *631 + default: *642 headers: Link: *37 '304': *35 @@ -100618,7 +101136,7 @@ paths: application/json: schema: type: array - items: *219 + items: *230 examples: default: value: @@ -100720,13 +101238,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *117 + - *128 responses: '200': description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -100784,7 +101302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *117 + - *128 requestBody: required: true content: @@ -100809,7 +101327,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -100877,7 +101395,7 @@ paths: application/json: schema: type: array - items: *221 + items: *232 examples: default: value: @@ -101139,7 +101657,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -101319,7 +101837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *222 + - *233 - name: exclude in: query required: false @@ -101332,7 +101850,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -101526,7 +102044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *222 + - *233 responses: '302': description: Response @@ -101552,7 +102070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *222 + - *233 responses: '204': description: Response @@ -101581,8 +102099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *222 - - *632 + - *233 + - *643 responses: '204': description: Response @@ -101606,7 +102124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *222 + - *233 - *17 - *18 responses: @@ -101616,9 +102134,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 '404': *6 @@ -101655,7 +102173,7 @@ paths: type: array items: *50 examples: - default: *633 + default: *644 headers: Link: *37 '304': *35 @@ -101697,7 +102215,7 @@ paths: - docker - nuget - container - - *634 + - *645 - *18 - *17 responses: @@ -101707,10 +102225,10 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: *635 - '400': *636 + default: *646 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101730,16 +102248,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: - - *229 - - *230 + - *240 + - *241 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: &649 + default: &660 value: id: 40201 name: octo-name @@ -101852,8 +102370,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: - - *229 - - *230 + - *240 + - *241 responses: '204': description: Response @@ -101883,8 +102401,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: - - *229 - - *230 + - *240 + - *241 - name: token description: package token schema: @@ -101916,8 +102434,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: - - *229 - - *230 + - *240 + - *241 - *18 - *17 - name: state @@ -101937,7 +102455,7 @@ paths: application/json: schema: type: array - items: *231 + items: *242 examples: default: value: @@ -101986,15 +102504,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: - - *229 - - *230 - - *232 + - *240 + - *241 + - *243 responses: '200': description: Response content: application/json: - schema: *231 + schema: *242 examples: default: value: @@ -102030,9 +102548,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: - - *229 - - *230 - - *232 + - *240 + - *241 + - *243 responses: '204': description: Response @@ -102062,9 +102580,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: - - *229 - - *230 - - *232 + - *240 + - *241 + - *243 responses: '204': description: Response @@ -102122,7 +102640,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: default: value: @@ -102191,9 +102709,9 @@ paths: application/json: schema: type: array - items: *623 + items: *634 examples: - default: *637 + default: *648 headers: Link: *37 '304': *35 @@ -102306,7 +102824,7 @@ paths: type: array items: *55 examples: - default: &644 + default: &655 summary: Default response value: - id: 1296269 @@ -102622,9 +103140,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *318 examples: - default: *309 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102662,9 +103180,9 @@ paths: application/json: schema: type: array - items: *469 + items: *480 examples: - default: *638 + default: *649 headers: Link: *37 '304': *35 @@ -102687,12 +103205,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *211 + - *222 responses: '204': description: Response '403': *27 - '409': *122 + '409': *133 '404': *6 '304': *35 x-github: @@ -102710,11 +103228,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *211 + - *222 responses: '204': description: Response - '409': *122 + '409': *133 '304': *35 '404': *6 '403': *27 @@ -102743,7 +103261,7 @@ paths: application/json: schema: type: array - items: &639 + items: &650 title: Social account description: Social media account type: object @@ -102760,7 +103278,7 @@ paths: - provider - url examples: - default: &640 + default: &651 value: - provider: twitter url: https://twitter.com/github @@ -102823,9 +103341,9 @@ paths: application/json: schema: type: array - items: *639 + items: *650 examples: - default: *640 + default: *651 '422': *15 '304': *35 '404': *6 @@ -102913,7 +103431,7 @@ paths: application/json: schema: type: array - items: &641 + items: &652 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102933,7 +103451,7 @@ paths: - title - created_at examples: - default: &650 + default: &661 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103000,9 +103518,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *652 examples: - default: &642 + default: &653 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103033,7 +103551,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: - - &643 + - &654 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103045,9 +103563,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *652 examples: - default: *642 + default: *653 '404': *6 '304': *35 '403': *27 @@ -103070,7 +103588,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: - - *643 + - *654 responses: '204': description: Response @@ -103099,7 +103617,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: - - &651 + - &662 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 @@ -103112,7 +103630,7 @@ paths: - created - updated default: created - - *65 + - *76 - *17 - *18 responses: @@ -103124,11 +103642,11 @@ paths: type: array items: *55 examples: - default-response: *644 + default-response: *655 application/vnd.github.v3.star+json: schema: type: array - items: &652 + items: &663 title: Starred Repository description: Starred Repository type: object @@ -103284,8 +103802,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response if this repository is starred by you @@ -103313,8 +103831,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -103338,8 +103856,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: - - *294 - - *295 + - *305 + - *306 responses: '204': description: Response @@ -103372,9 +103890,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 '304': *35 @@ -103411,7 +103929,7 @@ paths: application/json: schema: type: array - items: *275 + items: *286 examples: default: value: @@ -103487,7 +104005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *106 + - *117 responses: '200': description: Response @@ -103495,10 +104013,10 @@ paths: application/json: schema: oneOf: - - *617 - - *616 + - *628 + - *627 examples: - default-response: &646 + default-response: &657 summary: Default response value: login: octocat @@ -103533,7 +104051,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &647 + response-with-git-hub-plan-information: &658 summary: Response with GitHub plan information value: login: octocat @@ -103593,7 +104111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *645 + - *656 - *17 responses: '200': @@ -103604,7 +104122,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: example: ; rel="next" @@ -103632,7 +104150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *157 + - *168 responses: '200': description: Response @@ -103640,11 +104158,11 @@ paths: application/json: schema: oneOf: - - *617 - - *616 + - *628 + - *627 examples: - default-response: *646 - response-with-git-hub-plan-information: *647 + default-response: *657 + response-with-git-hub-plan-information: *658 '404': *6 x-github: githubCloudOnly: false @@ -103668,9 +104186,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *63 - - *64 - - *157 + - *74 + - *75 + - *168 - name: subject_digest description: Subject Digest in: path @@ -103772,7 +104290,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *157 examples: default: value: @@ -103798,7 +104316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *157 + - *168 responses: '200': description: Response @@ -103806,9 +104324,9 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: *635 + default: *646 '403': *27 '401': *23 x-github: @@ -103831,7 +104349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -103841,7 +104359,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -103912,8 +104430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *157 - - *117 + - *168 + - *128 - *17 - *18 responses: @@ -103923,7 +104441,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -104002,7 +104520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104012,7 +104530,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -104079,7 +104597,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104091,7 +104609,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -104110,7 +104628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104122,7 +104640,7 @@ paths: type: array items: *4 examples: - default: *215 + default: *226 headers: Link: *37 x-github: @@ -104141,7 +104659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *157 + - *168 - name: target_user in: path required: true @@ -104168,8 +104686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *157 - - *91 + - *168 + - *102 - *17 - *18 responses: @@ -104179,9 +104697,9 @@ paths: application/json: schema: type: array - items: *92 + items: *103 examples: - default: *93 + default: *104 headers: Link: *37 '422': *15 @@ -104202,7 +104720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104212,9 +104730,9 @@ paths: application/json: schema: type: array - items: *624 + items: *635 examples: - default: *648 + default: *659 headers: Link: *37 x-github: @@ -104238,7 +104756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *157 + - *168 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104310,7 +104828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *157 + - *168 responses: '200': description: Response @@ -104318,7 +104836,7 @@ paths: application/json: schema: *20 examples: - default: *466 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104336,7 +104854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104384,7 +104902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104396,7 +104914,7 @@ paths: type: array items: *50 examples: - default: *633 + default: *644 headers: Link: *37 x-github: @@ -104435,8 +104953,8 @@ paths: - docker - nuget - container - - *634 - - *157 + - *645 + - *168 - *18 - *17 responses: @@ -104446,12 +104964,12 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: - default: *635 + default: *646 '403': *27 '401': *23 - '400': *636 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104471,17 +104989,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *229 - - *230 - - *157 + - *240 + - *241 + - *168 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *649 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104502,9 +105020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *229 - - *230 - - *157 + - *240 + - *241 + - *168 responses: '204': description: Response @@ -104536,9 +105054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *229 - - *230 - - *157 + - *240 + - *241 + - *168 - name: token description: package token schema: @@ -104570,9 +105088,9 @@ 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: - - *229 - - *230 - - *157 + - *240 + - *241 + - *168 responses: '200': description: Response @@ -104580,7 +105098,7 @@ paths: application/json: schema: type: array - items: *231 + items: *242 examples: default: value: @@ -104638,16 +105156,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: - - *229 - - *230 - - *232 - - *157 + - *240 + - *241 + - *243 + - *168 responses: '200': description: Response content: application/json: - schema: *231 + schema: *242 examples: default: value: @@ -104682,10 +105200,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *229 - - *230 - - *157 - - *232 + - *240 + - *241 + - *168 + - *243 responses: '204': description: Response @@ -104717,10 +105235,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *229 - - *230 - - *157 - - *232 + - *240 + - *241 + - *168 + - *243 responses: '204': description: Response @@ -104743,7 +105261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *157 + - *168 - name: state description: Indicates the state of the projects to return. in: query @@ -104764,7 +105282,7 @@ paths: application/json: schema: type: array - items: *240 + items: *251 examples: default: value: @@ -104823,7 +105341,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104833,7 +105351,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -104912,7 +105430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -104922,7 +105440,7 @@ paths: application/json: schema: type: array - items: *112 + items: *123 examples: default: value: @@ -104999,7 +105517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *157 + - *168 - name: type description: Limit results to repositories of the specified type. in: query @@ -105042,9 +105560,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -105068,15 +105586,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *157 + - *168 responses: '200': description: Response content: application/json: - schema: *267 + schema: *278 examples: - default: *268 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105098,15 +105616,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *157 + - *168 responses: '200': description: Response content: application/json: - schema: *271 + schema: *282 examples: - default: *272 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105128,15 +105646,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *157 + - *168 responses: '200': description: Response content: application/json: - schema: *273 + schema: *284 examples: - default: *274 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105154,7 +105672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -105164,9 +105682,9 @@ paths: application/json: schema: type: array - items: *639 + items: *650 examples: - default: *640 + default: *651 headers: Link: *37 x-github: @@ -105186,7 +105704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -105196,9 +105714,9 @@ paths: application/json: schema: type: array - items: *641 + items: *652 examples: - default: *650 + default: *661 headers: Link: *37 x-github: @@ -105222,9 +105740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *157 - - *651 - - *65 + - *168 + - *662 + - *76 - *17 - *18 responses: @@ -105235,11 +105753,11 @@ paths: schema: anyOf: - type: array - items: *652 + items: *663 - type: array items: *55 examples: - default-response: *644 + default-response: *655 headers: Link: *37 x-github: @@ -105258,7 +105776,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *157 + - *168 - *17 - *18 responses: @@ -105268,9 +105786,9 @@ paths: application/json: schema: type: array - items: *135 + items: *146 examples: - default: *233 + default: *244 headers: Link: *37 x-github: @@ -105399,7 +105917,7 @@ webhooks: type: string enum: - disabled - enterprise: &653 + enterprise: &664 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -105468,7 +105986,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &654 + installation: &665 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -105489,7 +106007,7 @@ webhooks: required: - id - node_id - organization: &655 + organization: &666 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -105562,7 +106080,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &656 + repository: &667 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -105591,7 +106109,7 @@ webhooks: license: anyOf: - type: 'null' - - *102 + - *113 organization: anyOf: - type: 'null' @@ -106475,10 +106993,10 @@ webhooks: type: string enum: - enabled - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -106554,11 +107072,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - rule: &657 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + rule: &668 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) @@ -106781,11 +107299,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - rule: *657 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + rule: *668 sender: *4 required: - action @@ -106973,11 +107491,11 @@ webhooks: - everyone required: - from - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - rule: *657 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + rule: *668 sender: *4 required: - action @@ -107050,7 +107568,7 @@ webhooks: required: true content: application/json: - schema: &660 + schema: &671 title: Exemption request cancellation event type: object properties: @@ -107058,11 +107576,11 @@ webhooks: type: string enum: - cancelled - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: &658 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: &669 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -107216,7 +107734,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &659 + items: &670 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -107322,7 +107840,7 @@ webhooks: required: true content: application/json: - schema: &661 + schema: &672 title: Exemption request completed event type: object properties: @@ -107330,11 +107848,11 @@ webhooks: type: string enum: - completed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: *658 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: *669 sender: *4 required: - action @@ -107406,7 +107924,7 @@ webhooks: required: true content: application/json: - schema: &662 + schema: &673 title: Exemption request created event type: object properties: @@ -107414,11 +107932,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: *658 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: *669 sender: *4 required: - action @@ -107490,7 +108008,7 @@ webhooks: required: true content: application/json: - schema: &663 + schema: &674 title: Exemption response dismissed event type: object properties: @@ -107498,12 +108016,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: *658 - exemption_response: *659 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: *669 + exemption_response: *670 sender: *4 required: - action @@ -107577,7 +108095,7 @@ webhooks: required: true content: application/json: - schema: &664 + schema: &675 title: Exemption response submitted event type: object properties: @@ -107585,12 +108103,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - exemption_request: *658 - exemption_response: *659 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + exemption_request: *669 + exemption_response: *670 sender: *4 required: - action @@ -107663,7 +108181,7 @@ webhooks: required: true content: application/json: - schema: *660 + schema: *671 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107730,7 +108248,7 @@ webhooks: required: true content: application/json: - schema: *661 + schema: *672 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107797,7 +108315,7 @@ webhooks: required: true content: application/json: - schema: *662 + schema: *673 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107864,7 +108382,7 @@ webhooks: required: true content: application/json: - schema: *663 + schema: *674 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107932,7 +108450,7 @@ webhooks: required: true content: application/json: - schema: *664 + schema: *675 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108010,7 +108528,7 @@ webhooks: type: string enum: - completed - check_run: &666 + check_run: &677 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108078,8 +108596,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *364 - repository: *135 + items: *375 + repository: *146 status: type: string enum: @@ -108123,7 +108641,7 @@ webhooks: - examples: - neutral - deployment: *665 + deployment: *676 details_url: type: string examples: @@ -108183,7 +108701,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *364 + items: *375 started_at: type: string format: date-time @@ -108221,9 +108739,9 @@ webhooks: - output - app - pull_requests - installation: *654 - organization: *655 - repository: *656 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - check_run @@ -108616,10 +109134,10 @@ webhooks: type: string enum: - created - check_run: *666 - installation: *654 - organization: *655 - repository: *656 + check_run: *677 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - check_run @@ -109015,10 +109533,10 @@ webhooks: type: string enum: - requested_action - check_run: *666 - installation: *654 - organization: *655 - repository: *656 + check_run: *677 + installation: *665 + organization: *666 + repository: *667 requested_action: description: The action requested by the user. type: object @@ -109423,10 +109941,10 @@ webhooks: type: string enum: - rerequested - check_run: *666 - installation: *654 - organization: *655 - repository: *656 + check_run: *677 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - check_run @@ -110418,10 +110936,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -111106,10 +111624,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -111788,10 +112306,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -112098,20 +112616,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &667 + commit_oid: &678 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: *653 - installation: *654 - organization: *655 - ref: &668 + enterprise: *664 + installation: *665 + organization: *666 + ref: &679 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: *656 + repository: *667 sender: *4 required: - action @@ -112439,12 +112957,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *667 - enterprise: *653 - installation: *654 - organization: *655 - ref: *668 - repository: *656 + commit_oid: *678 + enterprise: *664 + installation: *665 + organization: *666 + ref: *679 + repository: *667 sender: *4 required: - action @@ -112542,7 +113060,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *376 + dismissed_comment: *387 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112717,12 +113235,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *667 - enterprise: *653 - installation: *654 - organization: *655 - ref: *668 - repository: *656 + commit_oid: *678 + enterprise: *664 + installation: *665 + organization: *666 + ref: *679 + repository: *667 sender: *4 required: - action @@ -113054,12 +113572,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *667 - enterprise: *653 - installation: *654 - organization: *655 - ref: *668 - repository: *656 + commit_oid: *678 + enterprise: *664 + installation: *665 + organization: *666 + ref: *679 + repository: *667 sender: *4 required: - action @@ -113328,9 +113846,9 @@ webhooks: type: - string - 'null' - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -113338,7 +113856,7 @@ webhooks: type: - string - 'null' - repository: *656 + repository: *667 sender: *4 required: - action @@ -113570,12 +114088,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *667 - enterprise: *653 - installation: *654 - organization: *655 - ref: *668 - repository: *656 + commit_oid: *678 + enterprise: *664 + installation: *665 + organization: *666 + ref: *679 + repository: *667 sender: *4 required: - action @@ -113837,10 +114355,10 @@ webhooks: - updated_at - author_association - body - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -113921,18 +114439,18 @@ webhooks: type: - string - 'null' - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *655 - pusher_type: &669 + organization: *666 + pusher_type: &680 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &670 + ref: &681 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -113942,7 +114460,7 @@ webhooks: enum: - tag - branch - repository: *656 + repository: *667 sender: *4 required: - ref @@ -114024,10 +114542,10 @@ webhooks: type: string enum: - created - definition: *241 - enterprise: *653 - installation: *654 - organization: *655 + definition: *252 + enterprise: *664 + installation: *665 + organization: *666 sender: *4 required: - action @@ -114112,9 +114630,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 sender: *4 required: - action @@ -114191,10 +114709,10 @@ webhooks: type: string enum: - updated - definition: *241 - enterprise: *653 - installation: *654 - organization: *655 + definition: *252 + enterprise: *664 + installation: *665 + organization: *666 sender: *4 required: - action @@ -114271,19 +114789,19 @@ webhooks: type: string enum: - updated - enterprise: *653 - installation: *654 - repository: *656 - organization: *655 + enterprise: *664 + installation: *665 + repository: *667 + organization: *666 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *245 + items: *256 old_property_values: type: array description: The old custom property values for the repository. - items: *245 + items: *256 required: - action - repository @@ -114359,18 +114877,18 @@ webhooks: title: delete event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 - pusher_type: *669 - ref: *670 + enterprise: *664 + installation: *665 + organization: *666 + pusher_type: *680 + ref: *681 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *656 + repository: *667 sender: *4 required: - ref @@ -114454,11 +114972,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114542,11 +115060,11 @@ webhooks: type: string enum: - auto_reopened - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114630,11 +115148,11 @@ webhooks: type: string enum: - created - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114716,11 +115234,11 @@ webhooks: type: string enum: - dismissed - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114802,11 +115320,11 @@ webhooks: type: string enum: - fixed - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114889,11 +115407,11 @@ webhooks: type: string enum: - reintroduced - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -114975,11 +115493,11 @@ webhooks: type: string enum: - reopened - alert: *425 - installation: *654 - organization: *655 - enterprise: *653 - repository: *656 + alert: *436 + installation: *665 + organization: *666 + enterprise: *664 + repository: *667 sender: *4 required: - action @@ -115056,9 +115574,9 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - key: &671 + enterprise: *664 + installation: *665 + key: &682 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115096,8 +115614,8 @@ webhooks: - verified - created_at - read_only - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -115174,11 +115692,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - key: *671 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + key: *682 + organization: *666 + repository: *667 sender: *4 required: - action @@ -115750,12 +116268,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: &675 + workflow: &686 title: Workflow type: - object @@ -116493,13 +117011,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *431 + deployment: *442 pull_requests: type: array - items: *512 - repository: *656 - organization: *655 - installation: *654 + items: *523 + repository: *667 + organization: *666 + installation: *665 sender: *4 responses: '200': @@ -116570,7 +117088,7 @@ webhooks: type: string enum: - approved - approver: &672 + approver: &683 type: object properties: avatar_url: @@ -116613,11 +117131,11 @@ webhooks: type: string comment: type: string - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - reviewers: &673 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + reviewers: &684 type: array items: type: object @@ -116698,7 +117216,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &674 + workflow_job_run: &685 type: object properties: conclusion: @@ -117444,18 +117962,18 @@ webhooks: type: string enum: - rejected - approver: *672 + approver: *683 comment: type: string - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - reviewers: *673 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + reviewers: *684 sender: *4 since: type: string - workflow_job_run: *674 + workflow_job_run: *685 workflow_job_runs: type: array items: @@ -118172,13 +118690,13 @@ webhooks: type: string enum: - requested - enterprise: *653 + enterprise: *664 environment: type: string - installation: *654 - organization: *655 - repository: *656 - requestor: &680 + installation: *665 + organization: *666 + repository: *667 + requestor: &691 title: User type: - object @@ -120121,12 +120639,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: *675 + workflow: *686 workflow_run: title: Deployment Workflow Run type: @@ -120817,7 +121335,7 @@ webhooks: type: string enum: - answered - answer: &678 + answer: &689 type: object properties: author_association: @@ -120977,7 +121495,7 @@ webhooks: - created_at - updated_at - body - discussion: &676 + discussion: &687 title: Discussion description: A Discussion in a repository. type: object @@ -121273,7 +121791,7 @@ webhooks: - id labels: type: array - items: *476 + items: *487 required: - repository_url - category @@ -121295,10 +121813,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121425,11 +121943,11 @@ webhooks: - from required: - category - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121512,11 +122030,11 @@ webhooks: type: string enum: - closed - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121598,7 +122116,7 @@ webhooks: type: string enum: - created - comment: &677 + comment: &688 type: object properties: author_association: @@ -121758,11 +122276,11 @@ webhooks: - updated_at - body - reactions - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121845,12 +122363,12 @@ webhooks: type: string enum: - deleted - comment: *677 - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + comment: *688 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -121945,12 +122463,12 @@ webhooks: - from required: - body - comment: *677 - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + comment: *688 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122034,11 +122552,11 @@ webhooks: type: string enum: - created - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122120,11 +122638,11 @@ webhooks: type: string enum: - deleted - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122224,11 +122742,11 @@ webhooks: type: string required: - from - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122310,10 +122828,10 @@ webhooks: type: string enum: - labeled - discussion: *676 - enterprise: *653 - installation: *654 - label: &679 + discussion: *687 + enterprise: *664 + installation: *665 + label: &690 title: Label type: object properties: @@ -122346,8 +122864,8 @@ webhooks: - color - default - description - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122430,11 +122948,11 @@ webhooks: type: string enum: - locked - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122516,11 +123034,11 @@ webhooks: type: string enum: - pinned - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122602,11 +123120,11 @@ webhooks: type: string enum: - reopened - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122691,16 +123209,16 @@ webhooks: changes: type: object properties: - new_discussion: *676 - new_repository: *656 + new_discussion: *687 + new_repository: *667 required: - new_discussion - new_repository - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122783,10 +123301,10 @@ webhooks: type: string enum: - unanswered - discussion: *676 - old_answer: *678 - organization: *655 - repository: *656 + discussion: *687 + old_answer: *689 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122868,12 +123386,12 @@ webhooks: type: string enum: - unlabeled - discussion: *676 - enterprise: *653 - installation: *654 - label: *679 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -122956,11 +123474,11 @@ webhooks: type: string enum: - unlocked - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -123042,11 +123560,11 @@ webhooks: type: string enum: - unpinned - discussion: *676 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + discussion: *687 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -123119,7 +123637,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *653 + enterprise: *664 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -123797,9 +124315,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *654 - organization: *655 - repository: *656 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - forkee @@ -123945,9 +124463,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pages: description: The pages that were updated. type: array @@ -123985,7 +124503,7 @@ webhooks: - action - sha - html_url - repository: *656 + repository: *667 sender: *4 required: - pages @@ -124061,10 +124579,10 @@ webhooks: type: string enum: - created - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: &681 + organization: *666 + repositories: &692 description: An array of repository objects that the installation can access. type: array @@ -124090,8 +124608,8 @@ webhooks: - name - full_name - private - repository: *656 - requester: *680 + repository: *667 + requester: *691 sender: *4 required: - action @@ -124166,11 +124684,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: *681 - repository: *656 + organization: *666 + repositories: *692 + repository: *667 requester: type: - 'null' @@ -124247,11 +124765,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: *681 - repository: *656 + organization: *666 + repositories: *692 + repository: *667 requester: type: - 'null' @@ -124328,10 +124846,10 @@ webhooks: type: string enum: - added - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories_added: &682 + organization: *666 + repositories_added: &693 description: An array of repository objects, which were added to the installation. type: array @@ -124377,15 +124895,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *656 - repository_selection: &683 + repository: *667 + repository_selection: &694 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *680 + requester: *691 sender: *4 required: - action @@ -124464,10 +124982,10 @@ webhooks: type: string enum: - removed - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories_added: *682 + organization: *666 + repositories_added: *693 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124494,9 +125012,9 @@ webhooks: - name - full_name - private - repository: *656 - repository_selection: *683 - requester: *680 + repository: *667 + repository_selection: *694 + requester: *691 sender: *4 required: - action @@ -124575,11 +125093,11 @@ webhooks: type: string enum: - suspend - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: *681 - repository: *656 + organization: *666 + repositories: *692 + repository: *667 requester: type: - 'null' @@ -124762,10 +125280,10 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 target_type: type: string @@ -124844,11 +125362,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *653 + enterprise: *664 installation: *20 - organization: *655 - repositories: *681 - repository: *656 + organization: *666 + repositories: *692 + repository: *667 requester: type: - 'null' @@ -125096,8 +125614,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126273,8 +126791,8 @@ webhooks: - state - locked - assignee - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -126354,7 +126872,7 @@ webhooks: type: string enum: - deleted - comment: &684 + comment: &695 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -126521,8 +127039,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -127696,8 +128214,8 @@ webhooks: - state - locked - assignee - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -127777,7 +128295,7 @@ webhooks: type: string enum: - edited - changes: &709 + changes: &720 description: The changes to the comment. type: object properties: @@ -127789,9 +128307,9 @@ webhooks: type: string required: - from - comment: *684 - enterprise: *653 - installation: *654 + comment: *695 + enterprise: *664 + installation: *665 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128966,8 +129484,8 @@ webhooks: - state - locked - assignee - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -129049,10 +129567,10 @@ webhooks: type: string enum: - assigned - assignee: *680 - enterprise: *653 - installation: *654 - issue: &687 + assignee: *691 + enterprise: *664 + installation: *665 + issue: &698 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -129982,8 +130500,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -130063,8 +130581,8 @@ webhooks: type: string enum: - closed - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -131142,8 +131660,8 @@ webhooks: required: - state - closed_at - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -131222,8 +131740,8 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132146,8 +132664,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -132226,8 +132744,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133154,7 +133672,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &685 + milestone: &696 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133297,8 +133815,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -133397,8 +133915,8 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134328,9 +134846,9 @@ webhooks: - active_lock_reason - body - reactions - label: *679 - organization: *655 - repository: *656 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -134410,8 +134928,8 @@ webhooks: type: string enum: - labeled - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135340,9 +135858,9 @@ webhooks: - active_lock_reason - body - reactions - label: *679 - organization: *655 - repository: *656 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -135422,8 +135940,8 @@ webhooks: type: string enum: - locked - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136354,8 +136872,8 @@ webhooks: format: uri user_view_type: type: string - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -136434,8 +136952,8 @@ webhooks: type: string enum: - milestoned - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137360,9 +137878,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *685 - organization: *655 - repository: *656 + milestone: *696 + organization: *666 + repository: *667 sender: *4 required: - action @@ -138848,8 +139366,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139778,8 +140296,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -139859,9 +140377,9 @@ webhooks: type: string enum: - pinned - enterprise: *653 - installation: *654 - issue: &686 + enterprise: *664 + installation: *665 + issue: &697 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -140784,8 +141302,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -140864,8 +141382,8 @@ webhooks: type: string enum: - reopened - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141795,8 +142313,8 @@ webhooks: format: uri user_view_type: type: string - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -143282,11 +143800,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *653 - installation: *654 - issue: *686 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + issue: *697 + organization: *666 + repository: *667 sender: *4 required: - action @@ -143367,7 +143885,7 @@ webhooks: type: string enum: - unassigned - assignee: &712 + assignee: &723 title: User type: - object @@ -143439,11 +143957,11 @@ webhooks: required: - login - id - enterprise: *653 - installation: *654 - issue: *687 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + issue: *698 + organization: *666 + repository: *667 sender: *4 required: - action @@ -143522,12 +144040,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *653 - installation: *654 - issue: *687 - label: *679 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + issue: *698 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -143607,8 +144125,8 @@ webhooks: type: string enum: - unlocked - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144537,8 +145055,8 @@ webhooks: format: uri user_view_type: type: string - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144618,11 +145136,11 @@ webhooks: type: string enum: - unpinned - enterprise: *653 - installation: *654 - issue: *686 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + issue: *697 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144701,11 +145219,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - label: *679 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144783,11 +145301,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - label: *679 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144897,11 +145415,11 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - label: *679 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + label: *690 + organization: *666 + repository: *667 sender: *4 required: - action @@ -144983,9 +145501,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *653 - installation: *654 - marketplace_purchase: &688 + enterprise: *664 + installation: *665 + marketplace_purchase: &699 title: Marketplace Purchase type: object required: @@ -145073,8 +145591,8 @@ webhooks: type: integer unit_count: type: integer - organization: *655 - previous_marketplace_purchase: &689 + organization: *666 + previous_marketplace_purchase: &700 title: Marketplace Purchase type: object properties: @@ -145158,7 +145676,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *656 + repository: *667 sender: *4 required: - action @@ -145238,10 +145756,10 @@ webhooks: - changed effective_date: type: string - enterprise: *653 - installation: *654 - marketplace_purchase: *688 - organization: *655 + enterprise: *664 + installation: *665 + marketplace_purchase: *699 + organization: *666 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145329,7 +145847,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *656 + repository: *667 sender: *4 required: - action @@ -145411,10 +145929,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *653 - installation: *654 - marketplace_purchase: *688 - organization: *655 + enterprise: *664 + installation: *665 + marketplace_purchase: *699 + organization: *666 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145500,7 +146018,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *656 + repository: *667 sender: *4 required: - action @@ -145581,8 +146099,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 marketplace_purchase: title: Marketplace Purchase type: object @@ -145668,9 +146186,9 @@ webhooks: type: integer unit_count: type: integer - organization: *655 - previous_marketplace_purchase: *689 - repository: *656 + organization: *666 + previous_marketplace_purchase: *700 + repository: *667 sender: *4 required: - action @@ -145750,12 +146268,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *653 - installation: *654 - marketplace_purchase: *688 - organization: *655 - previous_marketplace_purchase: *689 - repository: *656 + enterprise: *664 + installation: *665 + marketplace_purchase: *699 + organization: *666 + previous_marketplace_purchase: *700 + repository: *667 sender: *4 required: - action @@ -145857,11 +146375,11 @@ webhooks: type: string required: - to - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 sender: *4 required: - action @@ -145963,11 +146481,11 @@ webhooks: type: - string - 'null' - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 sender: *4 required: - action @@ -146046,11 +146564,11 @@ webhooks: type: string enum: - removed - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 sender: *4 required: - action @@ -146128,11 +146646,11 @@ webhooks: type: string enum: - added - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146210,7 +146728,7 @@ webhooks: required: - login - id - team: &690 + team: &701 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146403,11 +146921,11 @@ webhooks: type: string enum: - removed - enterprise: *653 - installation: *654 - member: *680 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + member: *691 + organization: *666 + repository: *667 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146486,7 +147004,7 @@ webhooks: required: - login - id - team: *690 + team: *701 required: - action - scope @@ -146568,8 +147086,8 @@ webhooks: type: string enum: - checks_requested - installation: *654 - merge_group: &691 + installation: *665 + merge_group: &702 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146588,15 +147106,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *368 + head_commit: *379 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -146682,10 +147200,10 @@ webhooks: - merged - invalidated - dequeued - installation: *654 - merge_group: *691 - organization: *655 - repository: *656 + installation: *665 + merge_group: *702 + organization: *666 + repository: *667 sender: *4 required: - action @@ -146758,7 +147276,7 @@ webhooks: type: string enum: - deleted - enterprise: *653 + enterprise: *664 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146866,12 +147384,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *654 - organization: *655 + installation: *665 + organization: *666 repository: anyOf: - type: 'null' - - *656 + - *667 sender: *4 required: - action @@ -146951,11 +147469,11 @@ webhooks: type: string enum: - closed - enterprise: *653 - installation: *654 - milestone: *685 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + milestone: *696 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147034,9 +147552,9 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - milestone: &692 + enterprise: *664 + installation: *665 + milestone: &703 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147178,8 +147696,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147258,11 +147776,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - milestone: *685 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + milestone: *696 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147372,11 +147890,11 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - milestone: *685 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + milestone: *696 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147456,11 +147974,11 @@ webhooks: type: string enum: - opened - enterprise: *653 - installation: *654 - milestone: *692 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + milestone: *703 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147539,11 +148057,11 @@ webhooks: type: string enum: - blocked - blocked_user: *680 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + blocked_user: *691 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147622,11 +148140,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *680 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + blocked_user: *691 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147705,9 +148223,9 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - membership: &693 + enterprise: *664 + installation: *665 + membership: &704 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147801,8 +148319,8 @@ webhooks: - role - organization_url - user - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147880,11 +148398,11 @@ webhooks: type: string enum: - member_added - enterprise: *653 - installation: *654 - membership: *693 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + membership: *704 + organization: *666 + repository: *667 sender: *4 required: - action @@ -147963,8 +148481,8 @@ webhooks: type: string enum: - member_invited - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148086,10 +148604,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 - user: *680 + user: *691 required: - action - invitation @@ -148167,11 +148685,11 @@ webhooks: type: string enum: - member_removed - enterprise: *653 - installation: *654 - membership: *693 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + membership: *704 + organization: *666 + repository: *667 sender: *4 required: - action @@ -148258,11 +148776,11 @@ webhooks: properties: from: type: string - enterprise: *653 - installation: *654 - membership: *693 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + membership: *704 + organization: *666 + repository: *667 sender: *4 required: - action @@ -148338,9 +148856,9 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 package: description: Information about the package. type: object @@ -148863,7 +149381,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &694 + items: &705 title: Ruby Gems metadata type: object properties: @@ -148960,7 +149478,7 @@ webhooks: - owner - package_version - registry - repository: *656 + repository: *667 sender: *4 required: - action @@ -149036,9 +149554,9 @@ webhooks: type: string enum: - updated - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 package: description: Information about the package. type: object @@ -149400,7 +149918,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *705 source_url: type: string format: uri @@ -149471,7 +149989,7 @@ webhooks: - owner - package_version - registry - repository: *656 + repository: *667 sender: *4 required: - action @@ -149652,12 +150170,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *653 + enterprise: *664 id: type: integer - installation: *654 - organization: *655 - repository: *656 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - id @@ -149737,7 +150255,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &695 + personal_access_token_request: &706 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149887,10 +150405,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *653 - organization: *655 + enterprise: *664 + organization: *666 sender: *4 - installation: *654 + installation: *665 required: - action - personal_access_token_request @@ -149969,11 +150487,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *695 - enterprise: *653 - organization: *655 + personal_access_token_request: *706 + enterprise: *664 + organization: *666 sender: *4 - installation: *654 + installation: *665 required: - action - personal_access_token_request @@ -150051,11 +150569,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *695 - enterprise: *653 - organization: *655 + personal_access_token_request: *706 + enterprise: *664 + organization: *666 sender: *4 - installation: *654 + installation: *665 required: - action - personal_access_token_request @@ -150132,11 +150650,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *695 - organization: *655 - enterprise: *653 + personal_access_token_request: *706 + organization: *666 + enterprise: *664 sender: *4 - installation: *654 + installation: *665 required: - action - personal_access_token_request @@ -150240,7 +150758,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *696 + last_response: *707 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150272,8 +150790,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 zen: description: Random string of GitHub zen. @@ -150518,10 +151036,10 @@ webhooks: - from required: - note - enterprise: *653 - installation: *654 - organization: *655 - project_card: &697 + enterprise: *664 + installation: *665 + organization: *666 + project_card: &708 title: Project Card type: object properties: @@ -150644,7 +151162,7 @@ webhooks: - creator - created_at - updated_at - repository: *656 + repository: *667 sender: *4 required: - action @@ -150725,11 +151243,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - project_card: *697 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project_card: *708 + repository: *667 sender: *4 required: - action @@ -150809,9 +151327,9 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 project_card: title: Project Card type: object @@ -150941,7 +151459,7 @@ webhooks: repository: anyOf: - type: 'null' - - *656 + - *667 sender: *4 required: - action @@ -151035,11 +151553,11 @@ webhooks: - from required: - note - enterprise: *653 - installation: *654 - organization: *655 - project_card: *697 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project_card: *708 + repository: *667 sender: *4 required: - action @@ -151133,9 +151651,9 @@ webhooks: - from required: - column_id - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 project_card: allOf: - title: Project Card @@ -151332,7 +151850,7 @@ webhooks: type: string required: - after_id - repository: *656 + repository: *667 sender: *4 required: - action @@ -151412,10 +151930,10 @@ webhooks: type: string enum: - closed - enterprise: *653 - installation: *654 - organization: *655 - project: &699 + enterprise: *664 + installation: *665 + organization: *666 + project: &710 title: Project type: object properties: @@ -151542,7 +152060,7 @@ webhooks: - creator - created_at - updated_at - repository: *656 + repository: *667 sender: *4 required: - action @@ -151622,10 +152140,10 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - project_column: &698 + enterprise: *664 + installation: *665 + organization: *666 + project_column: &709 title: Project Column type: object properties: @@ -151665,7 +152183,7 @@ webhooks: - name - created_at - updated_at - repository: *656 + repository: *667 sender: *4 required: - action @@ -151744,14 +152262,14 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - project_column: *698 + enterprise: *664 + installation: *665 + organization: *666 + project_column: *709 repository: anyOf: - type: 'null' - - *656 + - *667 sender: *4 required: - action @@ -151840,11 +152358,11 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 - project_column: *698 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project_column: *709 + repository: *667 sender: *4 required: - action @@ -151924,11 +152442,11 @@ webhooks: type: string enum: - moved - enterprise: *653 - installation: *654 - organization: *655 - project_column: *698 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project_column: *709 + repository: *667 sender: *4 required: - action @@ -152008,11 +152526,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - project: *699 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project: *710 + repository: *667 sender: *4 required: - action @@ -152092,14 +152610,14 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - project: *699 + enterprise: *664 + installation: *665 + organization: *666 + project: *710 repository: anyOf: - type: 'null' - - *656 + - *667 sender: *4 required: - action @@ -152200,11 +152718,11 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 - project: *699 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project: *710 + repository: *667 sender: *4 required: - action @@ -152283,11 +152801,11 @@ webhooks: type: string enum: - reopened - enterprise: *653 - installation: *654 - organization: *655 - project: *699 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + project: *710 + repository: *667 sender: *4 required: - action @@ -152368,9 +152886,9 @@ webhooks: type: string enum: - closed - installation: *654 - organization: *655 - projects_v2: &700 + installation: *665 + organization: *666 + projects_v2: &711 title: Projects v2 Project description: A projects v2 project type: object @@ -152518,9 +153036,9 @@ webhooks: type: string enum: - created - installation: *654 - organization: *655 - projects_v2: *700 + installation: *665 + organization: *666 + projects_v2: *711 sender: *4 required: - action @@ -152601,9 +153119,9 @@ webhooks: type: string enum: - deleted - installation: *654 - organization: *655 - projects_v2: *700 + installation: *665 + organization: *666 + projects_v2: *711 sender: *4 required: - action @@ -152724,9 +153242,9 @@ webhooks: type: string to: type: string - installation: *654 - organization: *655 - projects_v2: *700 + installation: *665 + organization: *666 + projects_v2: *711 sender: *4 required: - action @@ -152809,7 +153327,7 @@ webhooks: type: string enum: - archived - changes: &704 + changes: &715 type: object properties: archived_at: @@ -152825,9 +153343,9 @@ webhooks: - string - 'null' format: date-time - installation: *654 - organization: *655 - projects_v2_item: &701 + installation: *665 + organization: *666 + projects_v2_item: &712 title: Projects v2 Item description: An item belonging to a project type: object @@ -152966,9 +153484,9 @@ webhooks: - 'null' to: type: string - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153050,9 +153568,9 @@ webhooks: type: string enum: - created - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153133,9 +153651,9 @@ webhooks: type: string enum: - deleted - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153240,7 +153758,7 @@ webhooks: oneOf: - type: string - type: integer - - &702 + - &713 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153260,7 +153778,7 @@ webhooks: required: - id - name - - &703 + - &714 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153289,8 +153807,8 @@ webhooks: oneOf: - type: string - type: integer - - *702 - - *703 + - *713 + - *714 type: - 'null' - string @@ -153313,9 +153831,9 @@ webhooks: - 'null' required: - body - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153412,9 +153930,9 @@ webhooks: type: - string - 'null' - installation: *654 - organization: *655 - projects_v2_item: *701 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153497,10 +154015,10 @@ webhooks: type: string enum: - restored - changes: *704 - installation: *654 - organization: *655 - projects_v2_item: *701 + changes: *715 + installation: *665 + organization: *666 + projects_v2_item: *712 sender: *4 required: - action @@ -153582,9 +154100,9 @@ webhooks: type: string enum: - reopened - installation: *654 - organization: *655 - projects_v2: *700 + installation: *665 + organization: *666 + projects_v2: *711 sender: *4 required: - action @@ -153665,9 +154183,9 @@ webhooks: type: string enum: - created - installation: *654 - organization: *655 - projects_v2_status_update: &705 + installation: *665 + organization: *666 + projects_v2_status_update: &716 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -153802,9 +154320,9 @@ webhooks: type: string enum: - deleted - installation: *654 - organization: *655 - projects_v2_status_update: *705 + installation: *665 + organization: *666 + projects_v2_status_update: *716 sender: *4 required: - action @@ -153950,9 +154468,9 @@ webhooks: - string - 'null' format: date - installation: *654 - organization: *655 - projects_v2_status_update: *705 + installation: *665 + organization: *666 + projects_v2_status_update: *716 sender: *4 required: - action @@ -154023,10 +154541,10 @@ webhooks: title: public event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - repository @@ -154103,13 +154621,13 @@ webhooks: type: string enum: - assigned - assignee: *680 - enterprise: *653 - installation: *654 - number: &706 + assignee: *691 + enterprise: *664 + installation: *665 + number: &717 description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -156458,7 +156976,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -156540,11 +157058,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -158886,7 +159404,7 @@ webhooks: - draft reason: type: string - repository: *656 + repository: *667 sender: *4 required: - action @@ -158968,11 +159486,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -161314,7 +161832,7 @@ webhooks: - draft reason: type: string - repository: *656 + repository: *667 sender: *4 required: - action @@ -161396,13 +161914,13 @@ webhooks: type: string enum: - closed - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: &707 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: &718 allOf: - - *512 + - *523 - type: object properties: allow_auto_merge: @@ -161464,7 +161982,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *656 + repository: *667 sender: *4 required: - action @@ -161545,12 +162063,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -161630,11 +162148,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *653 - milestone: *411 - number: *706 - organization: *655 - pull_request: &708 + enterprise: *664 + milestone: *422 + number: *717 + organization: *666 + pull_request: &719 title: Pull Request type: object properties: @@ -163961,7 +164479,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -164040,11 +164558,11 @@ webhooks: type: string enum: - dequeued - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -166390,7 +166908,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *656 + repository: *667 sender: *4 required: - action @@ -166514,12 +167032,12 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -166599,11 +167117,11 @@ webhooks: type: string enum: - enqueued - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -168934,7 +169452,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -169014,11 +169532,11 @@ webhooks: type: string enum: - labeled - enterprise: *653 - installation: *654 - label: *679 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + label: *690 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -171366,7 +171884,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -171447,10 +171965,10 @@ webhooks: type: string enum: - locked - enterprise: *653 - installation: *654 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -173796,7 +174314,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -173876,12 +174394,12 @@ webhooks: type: string enum: - milestoned - enterprise: *653 - milestone: *411 - number: *706 - organization: *655 - pull_request: *708 - repository: *656 + enterprise: *664 + milestone: *422 + number: *717 + organization: *666 + pull_request: *719 + repository: *667 sender: *4 required: - action @@ -173960,12 +174478,12 @@ webhooks: type: string enum: - opened - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -174046,12 +174564,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -174131,12 +174649,12 @@ webhooks: type: string enum: - reopened - enterprise: *653 - installation: *654 - number: *706 - organization: *655 - pull_request: *707 - repository: *656 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 + pull_request: *718 + repository: *667 sender: *4 required: - action @@ -174511,9 +175029,9 @@ webhooks: - start_side - side - reactions - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: type: object properties: @@ -176743,7 +177261,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *656 + repository: *667 sender: *4 required: - action @@ -176823,7 +177341,7 @@ webhooks: type: string enum: - deleted - comment: &710 + comment: &721 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. @@ -177116,9 +177634,9 @@ webhooks: - start_side - side - reactions - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: type: object properties: @@ -179336,7 +179854,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *656 + repository: *667 sender: *4 required: - action @@ -179416,11 +179934,11 @@ webhooks: type: string enum: - edited - changes: *709 - comment: *710 - enterprise: *653 - installation: *654 - organization: *655 + changes: *720 + comment: *721 + enterprise: *664 + installation: *665 + organization: *666 pull_request: type: object properties: @@ -181641,7 +182159,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *656 + repository: *667 sender: *4 required: - action @@ -181722,9 +182240,9 @@ webhooks: type: string enum: - dismissed - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -183957,7 +184475,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 + repository: *667 review: description: The review that was affected. type: object @@ -184203,9 +184721,9 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -186319,8 +186837,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 - review: &711 + repository: *667 + review: &722 description: The review that was affected. type: object properties: @@ -186553,12 +187071,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -188905,7 +189423,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 requested_reviewer: title: User type: @@ -188991,12 +189509,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -191350,7 +191868,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191545,12 +192063,12 @@ webhooks: type: string enum: - review_requested - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -193899,7 +194417,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 requested_reviewer: title: User type: @@ -193986,12 +194504,12 @@ webhooks: type: string enum: - review_requested - enterprise: *653 - installation: *654 + enterprise: *664 + installation: *665 number: description: The pull request number. type: integer - organization: *655 + organization: *666 pull_request: title: Pull Request type: object @@ -196331,7 +196849,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196515,9 +197033,9 @@ webhooks: type: string enum: - submitted - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -198753,8 +199271,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 - review: *711 + repository: *667 + review: *722 sender: *4 required: - action @@ -198834,9 +199352,9 @@ webhooks: type: string enum: - resolved - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -200967,7 +201485,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 + repository: *667 sender: *4 thread: type: object @@ -201359,9 +201877,9 @@ webhooks: type: string enum: - unresolved - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 pull_request: title: Simple Pull Request type: object @@ -203475,7 +203993,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *656 + repository: *667 sender: *4 thread: type: object @@ -203869,10 +204387,10 @@ webhooks: type: string before: type: string - enterprise: *653 - installation: *654 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -206207,7 +206725,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -206289,11 +206807,11 @@ webhooks: type: string enum: - unassigned - assignee: *712 - enterprise: *653 - installation: *654 - number: *706 - organization: *655 + assignee: *723 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -208643,7 +209161,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -208722,11 +209240,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *653 - installation: *654 - label: *679 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + label: *690 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -211065,7 +211583,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -211146,10 +211664,10 @@ webhooks: type: string enum: - unlocked - enterprise: *653 - installation: *654 - number: *706 - organization: *655 + enterprise: *664 + installation: *665 + number: *717 + organization: *666 pull_request: title: Pull Request type: object @@ -213478,7 +213996,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *656 + repository: *667 sender: *4 required: - action @@ -213681,7 +214199,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *653 + enterprise: *664 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -213776,8 +214294,8 @@ webhooks: - url - author - committer - installation: *654 - organization: *655 + installation: *665 + organization: *666 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -214365,9 +214883,9 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 registry_package: type: object properties: @@ -214844,7 +215362,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *694 + items: *705 summary: type: string tag_name: @@ -214900,7 +215418,7 @@ webhooks: - owner - package_version - registry - repository: *656 + repository: *667 sender: *4 required: - action @@ -214978,9 +215496,9 @@ webhooks: type: string enum: - updated - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 registry_package: type: object properties: @@ -215292,7 +215810,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *705 summary: type: string tag_name: @@ -215342,7 +215860,7 @@ webhooks: - owner - package_version - registry - repository: *656 + repository: *667 sender: *4 required: - action @@ -215419,10 +215937,10 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - release: &713 + enterprise: *664 + installation: *665 + organization: *666 + release: &724 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -215738,7 +216256,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *656 + repository: *667 sender: *4 required: - action @@ -215815,11 +216333,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - release: *713 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + release: *724 + repository: *667 sender: *4 required: - action @@ -215927,11 +216445,11 @@ webhooks: type: boolean required: - to - enterprise: *653 - installation: *654 - organization: *655 - release: *713 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + release: *724 + repository: *667 sender: *4 required: - action @@ -216009,9 +216527,9 @@ webhooks: type: string enum: - prereleased - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -216332,7 +216850,7 @@ webhooks: - string - 'null' format: uri - repository: *656 + repository: *667 sender: *4 required: - action @@ -216408,10 +216926,10 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 - release: &714 + enterprise: *664 + installation: *665 + organization: *666 + release: &725 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216729,7 +217247,7 @@ webhooks: - string - 'null' format: uri - repository: *656 + repository: *667 sender: *4 required: - action @@ -216805,11 +217323,11 @@ webhooks: type: string enum: - released - enterprise: *653 - installation: *654 - organization: *655 - release: *713 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + release: *724 + repository: *667 sender: *4 required: - action @@ -216885,11 +217403,11 @@ webhooks: type: string enum: - unpublished - enterprise: *653 - installation: *654 - organization: *655 - release: *714 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + release: *725 + repository: *667 sender: *4 required: - action @@ -216965,11 +217483,11 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_advisory: *565 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_advisory: *576 sender: *4 required: - action @@ -217045,11 +217563,11 @@ webhooks: type: string enum: - reported - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_advisory: *565 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_advisory: *576 sender: *4 required: - action @@ -217125,10 +217643,10 @@ webhooks: type: string enum: - archived - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217205,10 +217723,10 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217286,10 +217804,10 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217374,10 +217892,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217492,10 +218010,10 @@ webhooks: - 'null' items: type: string - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217567,10 +218085,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 status: type: string @@ -217651,10 +218169,10 @@ webhooks: type: string enum: - privatized - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217731,10 +218249,10 @@ webhooks: type: string enum: - publicized - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217828,10 +218346,10 @@ webhooks: - name required: - repository - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -217911,11 +218429,11 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_ruleset: *255 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_ruleset: *266 sender: *4 required: - action @@ -217993,11 +218511,11 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_ruleset: *255 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_ruleset: *266 sender: *4 required: - action @@ -218075,11 +218593,11 @@ webhooks: type: string enum: - edited - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - repository_ruleset: *255 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + repository_ruleset: *266 changes: type: object properties: @@ -218098,16 +218616,16 @@ webhooks: properties: added: type: array - items: *249 + items: *260 deleted: type: array - items: *249 + items: *260 updated: type: array items: type: object properties: - condition: *249 + condition: *260 changes: type: object properties: @@ -218140,16 +218658,16 @@ webhooks: properties: added: type: array - items: *254 + items: *265 deleted: type: array - items: *254 + items: *265 updated: type: array items: type: object properties: - rule: *254 + rule: *265 changes: type: object properties: @@ -218386,10 +218904,10 @@ webhooks: - from required: - owner - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -218467,10 +218985,10 @@ webhooks: type: string enum: - unarchived - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -218548,7 +219066,7 @@ webhooks: type: string enum: - create - alert: &715 + alert: &726 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -218672,10 +219190,10 @@ webhooks: type: string enum: - open - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -218885,10 +219403,10 @@ webhooks: type: string enum: - dismissed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -218966,11 +219484,11 @@ webhooks: type: string enum: - reopen - alert: *715 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *726 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219172,10 +219690,10 @@ webhooks: enum: - fixed - open - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219253,17 +219771,17 @@ webhooks: type: string enum: - created - alert: &716 + alert: &727 type: object properties: - number: *70 - created_at: *76 + number: *81 + created_at: *87 updated_at: anyOf: - type: 'null' - - *77 - url: *74 - html_url: *75 + - *88 + url: *85 + html_url: *86 locations_url: type: string format: uri @@ -219357,10 +219875,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219441,11 +219959,11 @@ webhooks: type: string enum: - created - alert: *716 - installation: *654 - location: *717 - organization: *655 - repository: *656 + alert: *727 + installation: *665 + location: *728 + organization: *666 + repository: *667 sender: *4 required: - location @@ -219683,11 +220201,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *716 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *727 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219765,11 +220283,11 @@ webhooks: type: string enum: - reopened - alert: *716 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *727 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219847,11 +220365,11 @@ webhooks: type: string enum: - resolved - alert: *716 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *727 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -219929,11 +220447,11 @@ webhooks: type: string enum: - validated - alert: *716 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + alert: *727 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -220009,11 +220527,11 @@ webhooks: type: string enum: - published - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - security_advisory: &718 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + security_advisory: &729 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220030,7 +220548,7 @@ webhooks: required: - vector_string - score - cvss_severities: *72 + cvss_severities: *83 cwes: type: array items: @@ -220199,11 +220717,11 @@ webhooks: type: string enum: - updated - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 - security_advisory: *718 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 + security_advisory: *729 sender: *4 required: - action @@ -220276,10 +220794,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -220297,7 +220815,7 @@ webhooks: required: - vector_string - score - cvss_severities: *72 + cvss_severities: *83 cwes: type: array items: @@ -220465,11 +220983,11 @@ webhooks: from: type: object properties: - security_and_analysis: *246 - enterprise: *653 - installation: *654 - organization: *655 - repository: *307 + security_and_analysis: *257 + enterprise: *664 + installation: *665 + organization: *666 + repository: *318 sender: *4 required: - changes @@ -220547,12 +221065,12 @@ webhooks: type: string enum: - cancelled - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: &719 + sponsorship: &730 type: object properties: created_at: @@ -220857,12 +221375,12 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - sponsorship @@ -220950,12 +221468,12 @@ webhooks: type: string required: - from - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - changes @@ -221032,17 +221550,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &720 + effective_date: &731 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: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - sponsorship @@ -221116,7 +221634,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &721 + changes: &732 type: object properties: tier: @@ -221160,13 +221678,13 @@ webhooks: - from required: - tier - effective_date: *720 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + effective_date: *731 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - changes @@ -221243,13 +221761,13 @@ webhooks: type: string enum: - tier_changed - changes: *721 - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + changes: *732 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - sponsorship: *719 + sponsorship: *730 required: - action - changes @@ -221323,10 +221841,10 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221410,10 +221928,10 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221842,15 +222360,15 @@ webhooks: type: - string - 'null' - enterprise: *653 + enterprise: *664 id: description: The unique identifier of the status. type: integer - installation: *654 + installation: *665 name: type: string - organization: *655 - repository: *656 + organization: *666 + repository: *667 sender: *4 sha: description: The Commit SHA. @@ -221960,15 +222478,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *101 + parent_issue: *112 parent_issue_repo: *55 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *101 - installation: *654 - organization: *655 - repository: *656 + sub_issue: *112 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -222052,15 +222570,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *101 + parent_issue: *112 parent_issue_repo: *55 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *101 - installation: *654 - organization: *655 - repository: *656 + sub_issue: *112 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -222144,15 +222662,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *101 + sub_issue: *112 sub_issue_repo: *55 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *101 - installation: *654 - organization: *655 - repository: *656 + parent_issue: *112 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -222236,15 +222754,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *101 + sub_issue: *112 sub_issue_repo: *55 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *101 - installation: *654 - organization: *655 - repository: *656 + parent_issue: *112 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -222321,12 +222839,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - team: &722 + team: &733 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -222519,9 +223037,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -222991,7 +223509,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - team @@ -223067,9 +223585,9 @@ webhooks: type: string enum: - created - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -223539,7 +224057,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - team @@ -223616,9 +224134,9 @@ webhooks: type: string enum: - deleted - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -224088,7 +224606,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - team @@ -224232,9 +224750,9 @@ webhooks: - from required: - permissions - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -224704,7 +225222,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - changes @@ -224782,9 +225300,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *653 - installation: *654 - organization: *655 + enterprise: *664 + installation: *665 + organization: *666 repository: title: Repository description: A git repository @@ -225254,7 +225772,7 @@ webhooks: - topics - visibility sender: *4 - team: *722 + team: *733 required: - action - team @@ -225330,10 +225848,10 @@ webhooks: type: string enum: - started - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 required: - action @@ -225406,17 +225924,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *653 + enterprise: *664 inputs: type: - object - 'null' additionalProperties: true - installation: *654 - organization: *655 + installation: *665 + organization: *666 ref: type: string - repository: *656 + repository: *667 sender: *4 workflow: type: string @@ -225498,10 +226016,10 @@ webhooks: type: string enum: - completed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 workflow_job: allOf: @@ -225757,7 +226275,7 @@ webhooks: type: string required: - conclusion - deployment: *431 + deployment: *442 required: - action - repository @@ -225836,10 +226354,10 @@ webhooks: type: string enum: - in_progress - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 workflow_job: allOf: @@ -226121,7 +226639,7 @@ webhooks: required: - status - steps - deployment: *431 + deployment: *442 required: - action - repository @@ -226200,10 +226718,10 @@ webhooks: type: string enum: - queued - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 workflow_job: type: object @@ -226349,7 +226867,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *431 + deployment: *442 required: - action - repository @@ -226428,10 +226946,10 @@ webhooks: type: string enum: - waiting - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 workflow_job: type: object @@ -226578,7 +227096,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *431 + deployment: *442 required: - action - repository @@ -226658,12 +227176,12 @@ webhooks: type: string enum: - completed - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: *675 + workflow: *686 workflow_run: title: Workflow Run type: object @@ -227682,12 +228200,12 @@ webhooks: type: string enum: - in_progress - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: *675 + workflow: *686 workflow_run: title: Workflow Run type: object @@ -228691,12 +229209,12 @@ webhooks: type: string enum: - requested - enterprise: *653 - installation: *654 - organization: *655 - repository: *656 + enterprise: *664 + installation: *665 + organization: *666 + repository: *667 sender: *4 - workflow: *675 + workflow: *686 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index e12140def9..9bcaaabea4 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -4291,6 +4291,397 @@ } } }, + "/enterprises/{enterprise}/audit-log/stream-key": { + "get": { + "summary": "Get the audit log stream key for encrypting secrets", + "description": "Retrieves the audit log streaming public key for encrypting secrets.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-audit-log-stream-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "The stream key for the audit log streaming configuration was retrieved successfully.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/audit-log-stream-key" + }, + "examples": { + "default": { + "$ref": "#/components/examples/audit-log-stream-key" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, + "/enterprises/{enterprise}/audit-log/streams": { + "get": { + "summary": "List audit log stream configurations for an enterprise", + "description": "Lists the configured audit log streaming configurations for an enterprise.\nThis only lists configured streams for supported providers.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-audit-log-streams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-audit-log-stream-configs" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-audit-log-stream-configs" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "post": { + "summary": "Create an audit log streaming configuration for an enterprise", + "description": "Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This setting pauses or resumes a stream." + }, + "stream_type": { + "type": "string", + "description": "The audit log streaming provider. The name is case sensitive.", + "enum": [ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog" + ] + }, + "vendor_specific": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/azure-blob-config" + }, + { + "$ref": "#/components/schemas/azure-hub-config" + }, + { + "$ref": "#/components/schemas/amazon-s3-oidc-config" + }, + { + "$ref": "#/components/schemas/amazon-s3-access-keys-config" + }, + { + "$ref": "#/components/schemas/splunk-config" + }, + { + "$ref": "#/components/schemas/google-cloud-config" + }, + { + "$ref": "#/components/schemas/datadog-config" + } + ] + } + }, + "required": [ + "enabled", + "stream_type", + "vendor_specific" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/audit-log-stream-config-request" + } + } + } + } + }, + "responses": { + "200": { + "description": "The audit log stream configuration was created successfully.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-audit-log-stream-config" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-audit-log-stream-config" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, + "/enterprises/{enterprise}/audit-log/streams/{stream_id}": { + "get": { + "summary": "List one audit log streaming configuration via a stream ID", + "description": "Lists one audit log stream configuration via a stream ID.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-one-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/audit-log-stream-id" + } + ], + "responses": { + "200": { + "description": "Lists one audit log stream configuration via stream ID.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-audit-log-stream-config" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-audit-log-stream-config" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "put": { + "summary": "Update an existing audit log stream configuration", + "description": "Updates an existing audit log stream configuration for an enterprise.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/update-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/audit-log-stream-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This setting pauses or resumes a stream." + }, + "stream_type": { + "type": "string", + "description": "The audit log streaming provider. The name is case sensitive.", + "enum": [ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog" + ] + }, + "vendor_specific": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/azure-blob-config" + }, + { + "$ref": "#/components/schemas/azure-hub-config" + }, + { + "$ref": "#/components/schemas/amazon-s3-oidc-config" + }, + { + "$ref": "#/components/schemas/amazon-s3-access-keys-config" + }, + { + "$ref": "#/components/schemas/splunk-config" + }, + { + "$ref": "#/components/schemas/google-cloud-config" + }, + { + "$ref": "#/components/schemas/datadog-config" + } + ] + } + }, + "required": [ + "enabled", + "stream_type", + "vendor_specific" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/audit-log-stream-config-request" + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful update", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-audit-log-stream-config" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-audit-log-stream-config" + } + } + } + } + }, + "422": { + "description": "Validation error", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "delete": { + "summary": "Delete an audit log streaming configuration for an enterprise", + "description": "Deletes an existing audit log stream configuration for an enterprise. \n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/delete-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/audit-log-stream-id" + } + ], + "responses": { + "204": { + "description": "The audit log stream configuration was deleted successfully." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an enterprise", @@ -103568,6 +103959,319 @@ } } }, + "audit-log-stream-key": { + "title": "stream-key", + "description": "Audit Log Streaming Public Key", + "type": "object", + "properties": { + "key_id": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "key_id", + "key" + ] + }, + "get-audit-log-stream-configs": { + "title": "List audit log streaming configurations", + "description": "Lists the audit log streaming configurations for an enterprise.", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "azure-blob-config": { + "title": "AzureBlobConfig", + "description": "Azure Blob Config for audit log streaming configuration.", + "type": "object", + "properties": { + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_sas_url": { + "type": "string" + } + }, + "required": [ + "key_id", + "encrypted_sas_url" + ] + }, + "azure-hub-config": { + "title": "AzureHubConfig", + "description": "Azure Event Hubs Config for audit log streaming configuration.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Instance name of Azure Event Hubs" + }, + "encrypted_connstring": { + "type": "string", + "description": "Encrypted Connection String for Azure Event Hubs" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + } + }, + "required": [ + "name", + "encrypted_connstring", + "key_id" + ] + }, + "amazon-s3-oidc-config": { + "title": "AmazonS3OIDCConfig", + "description": "Amazon S3 OIDC Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "AWS S3 Bucket Region." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "oidc" + ] + }, + "arn_role": { + "type": "string" + } + }, + "required": [ + "arn_role", + "authentication_type", + "bucket", + "key_id", + "region" + ] + }, + "amazon-s3-access-keys-config": { + "title": "AmazonS3AccessKeysConfig", + "description": "Amazon S3 Access Keys Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "access_keys" + ] + }, + "encrypted_secret_key": { + "type": "string", + "description": "Encrypted AWS Secret Key." + }, + "encrypted_access_key_id": { + "type": "string", + "description": "Encrypted AWS Access Key ID." + } + }, + "required": [ + "authentication_type", + "bucket", + "encrypted_access_key_id", + "encrypted_secret_key", + "key_id", + "region" + ] + }, + "splunk-config": { + "title": "SplunkConfig", + "description": "Splunk Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Splunk instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to Splunk.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your Splunk endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "key_id", + "port", + "ssl_verify" + ] + }, + "google-cloud-config": { + "title": "GoogleCloudConfig", + "description": "Google Cloud Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Google Cloud Bucket Name" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_json_credentials": { + "type": "string" + } + }, + "required": [ + "bucket", + "key_id", + "encrypted_json_credentials" + ] + }, + "datadog-config": { + "title": "DatadogConfig", + "description": "Datadog Config for audit log streaming configuration.", + "type": "object", + "properties": { + "encrypted_token": { + "description": "Encrypted Splunk token.", + "type": "string" + }, + "site": { + "description": "Datadog Site to use.", + "type": "string", + "enum": [ + "US", + "US3", + "US5", + "EU1", + "US1-FED", + "AP1" + ] + }, + "key_id": { + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets.", + "type": "string" + } + }, + "required": [ + "encrypted_token", + "site", + "key_id" + ] + }, + "get-audit-log-stream-config": { + "title": "Get an audit log streaming configuration", + "description": "Get an audit log streaming configuration for an enterprise.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -284671,6 +285375,48 @@ } ] }, + "audit-log-stream-key": { + "value": { + "key_id": "123", + "key": "actual-public-key-value" + } + }, + "get-audit-log-stream-configs": { + "value": [ + { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + ] + }, + "audit-log-stream-config-request": { + "value": { + "enabled": false, + "stream_type": "Azure Event Hubs", + "vendor_specific": { + "namespace": "newnamespace", + "shared_access_key_name": "newaccesskeyname", + "shared_access_key": "newaccesskey", + "event_hub_name": "neweventhub" + } + } + }, + "get-audit-log-stream-config": { + "value": { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + }, "code-scanning-organization-alert-items": { "value": [ { @@ -313490,6 +314236,15 @@ ] } }, + "audit-log-stream-id": { + "name": "stream_id", + "description": "The ID of the audit log stream configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, "tool-name": { "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`, but not both.", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index fd7c32a4ee..58d02bf26d 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -3011,6 +3011,270 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: audit-log + "/enterprises/{enterprise}/audit-log/stream-key": + get: + summary: Get the audit log stream key for encrypting secrets + description: |- + Retrieves the audit log streaming public key for encrypting secrets. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-audit-log-stream-key + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: The stream key for the audit log streaming configuration was + retrieved successfully. + content: + application/json: + schema: + "$ref": "#/components/schemas/audit-log-stream-key" + examples: + default: + "$ref": "#/components/examples/audit-log-stream-key" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + "/enterprises/{enterprise}/audit-log/streams": + get: + summary: List audit log stream configurations for an enterprise + description: |- + Lists the configured audit log streaming configurations for an enterprise. + This only lists configured streams for supported providers. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-audit-log-streams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: OK + content: + application/json: + schema: + "$ref": "#/components/schemas/get-audit-log-stream-configs" + examples: + default: + "$ref": "#/components/examples/get-audit-log-stream-configs" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + post: + summary: Create an audit log streaming configuration for an enterprise + description: |- + Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/create-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: This setting pauses or resumes a stream. + stream_type: + type: string + description: The audit log streaming provider. The name is case + sensitive. + enum: + - Azure Blob Storage + - Azure Event Hubs + - Amazon S3 + - Splunk + - HTTPS Event Collector + - Google Cloud Storage + - Datadog + vendor_specific: + type: object + oneOf: + - "$ref": "#/components/schemas/azure-blob-config" + - "$ref": "#/components/schemas/azure-hub-config" + - "$ref": "#/components/schemas/amazon-s3-oidc-config" + - "$ref": "#/components/schemas/amazon-s3-access-keys-config" + - "$ref": "#/components/schemas/splunk-config" + - "$ref": "#/components/schemas/google-cloud-config" + - "$ref": "#/components/schemas/datadog-config" + required: + - enabled + - stream_type + - vendor_specific + examples: + default: + "$ref": "#/components/examples/audit-log-stream-config-request" + responses: + '200': + description: The audit log stream configuration was created successfully. + content: + application/json: + schema: + "$ref": "#/components/schemas/get-audit-log-stream-config" + examples: + default: + "$ref": "#/components/examples/get-audit-log-stream-config" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + "/enterprises/{enterprise}/audit-log/streams/{stream_id}": + get: + summary: List one audit log streaming configuration via a stream ID + description: |- + Lists one audit log stream configuration via a stream ID. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-one-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/audit-log-stream-id" + responses: + '200': + description: Lists one audit log stream configuration via stream ID. + content: + application/json: + schema: + "$ref": "#/components/schemas/get-audit-log-stream-config" + examples: + default: + "$ref": "#/components/examples/get-audit-log-stream-config" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + put: + summary: Update an existing audit log stream configuration + description: |- + Updates an existing audit log stream configuration for an enterprise. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/update-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/audit-log-stream-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: This setting pauses or resumes a stream. + stream_type: + type: string + description: The audit log streaming provider. The name is case + sensitive. + enum: + - Azure Blob Storage + - Azure Event Hubs + - Amazon S3 + - Splunk + - HTTPS Event Collector + - Google Cloud Storage + - Datadog + vendor_specific: + type: object + oneOf: + - "$ref": "#/components/schemas/azure-blob-config" + - "$ref": "#/components/schemas/azure-hub-config" + - "$ref": "#/components/schemas/amazon-s3-oidc-config" + - "$ref": "#/components/schemas/amazon-s3-access-keys-config" + - "$ref": "#/components/schemas/splunk-config" + - "$ref": "#/components/schemas/google-cloud-config" + - "$ref": "#/components/schemas/datadog-config" + required: + - enabled + - stream_type + - vendor_specific + examples: + default: + "$ref": "#/components/examples/audit-log-stream-config-request" + responses: + '200': + description: Successful update + content: + application/json: + schema: + "$ref": "#/components/schemas/get-audit-log-stream-config" + examples: + default: + "$ref": "#/components/examples/get-audit-log-stream-config" + '422': + description: Validation error + content: + application/json: + schema: + type: object + properties: + errors: + type: array + items: + type: string + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + delete: + summary: Delete an audit log streaming configuration for an enterprise + description: "Deletes an existing audit log stream configuration for an enterprise. + \n\nWhen using this endpoint, you must encrypt the credentials following the + same encryption steps as outlined in the guide on encrypting secrets. See + \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"" + tags: + - enterprise-admin + operationId: enterprise-admin/delete-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/audit-log-stream-id" + responses: + '204': + description: The audit log stream configuration was deleted successfully. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -74990,6 +75254,248 @@ components: visibility: type: string description: The repository visibility, for example `public` or `private`. + audit-log-stream-key: + title: stream-key + description: Audit Log Streaming Public Key + type: object + properties: + key_id: + type: string + key: + type: string + required: + - key_id + - key + get-audit-log-stream-configs: + title: List audit log streaming configurations + description: Lists the audit log streaming configurations for an enterprise. + type: array + items: + type: object + properties: + id: + type: integer + stream_type: + type: string + stream_details: + type: string + enabled: + type: boolean + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + paused_at: + type: + - string + - 'null' + format: date-time + required: + - id + - stream_type + - stream_details + - enabled + - created_at + - updated_at + azure-blob-config: + title: AzureBlobConfig + description: Azure Blob Config for audit log streaming configuration. + type: object + properties: + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + encrypted_sas_url: + type: string + required: + - key_id + - encrypted_sas_url + azure-hub-config: + title: AzureHubConfig + description: Azure Event Hubs Config for audit log streaming configuration. + type: object + properties: + name: + type: string + description: Instance name of Azure Event Hubs + encrypted_connstring: + type: string + description: Encrypted Connection String for Azure Event Hubs + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + required: + - name + - encrypted_connstring + - key_id + amazon-s3-oidc-config: + title: AmazonS3OIDCConfig + description: Amazon S3 OIDC Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Amazon S3 Bucket Name. + region: + type: string + description: AWS S3 Bucket Region. + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + authentication_type: + type: string + description: Authentication Type for Amazon S3. + enum: + - oidc + arn_role: + type: string + required: + - arn_role + - authentication_type + - bucket + - key_id + - region + amazon-s3-access-keys-config: + title: AmazonS3AccessKeysConfig + description: Amazon S3 Access Keys Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Amazon S3 Bucket Name. + region: + type: string + description: Amazon S3 Bucket Name. + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + authentication_type: + type: string + description: Authentication Type for Amazon S3. + enum: + - access_keys + encrypted_secret_key: + type: string + description: Encrypted AWS Secret Key. + encrypted_access_key_id: + type: string + description: Encrypted AWS Access Key ID. + required: + - authentication_type + - bucket + - encrypted_access_key_id + - encrypted_secret_key + - key_id + - region + splunk-config: + title: SplunkConfig + description: Splunk Config for Audit Log Stream Configuration + type: object + properties: + domain: + description: Domain of Splunk instance. + type: string + port: + description: The port number for connecting to Splunk. + type: integer + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + encrypted_token: + description: Encrypted Token. + type: string + ssl_verify: + description: SSL verification helps ensure your events are sent to your + Splunk endpoint securely. + type: boolean + required: + - domain + - encrypted_token + - key_id + - port + - ssl_verify + google-cloud-config: + title: GoogleCloudConfig + description: Google Cloud Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Google Cloud Bucket Name + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + encrypted_json_credentials: + type: string + required: + - bucket + - key_id + - encrypted_json_credentials + datadog-config: + title: DatadogConfig + description: Datadog Config for audit log streaming configuration. + type: object + properties: + encrypted_token: + description: Encrypted Splunk token. + type: string + site: + description: Datadog Site to use. + type: string + enum: + - US + - US3 + - US5 + - EU1 + - US1-FED + - AP1 + key_id: + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + type: string + required: + - encrypted_token + - site + - key_id + get-audit-log-stream-config: + title: Get an audit log streaming configuration + description: Get an audit log streaming configuration for an enterprise. + type: object + properties: + id: + type: integer + stream_type: + type: string + stream_details: + type: string + enabled: + type: boolean + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + paused_at: + type: + - string + - 'null' + format: date-time + required: + - id + - stream_type + - stream_details + - enabled + - created_at + - updated_at code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -209689,6 +210195,37 @@ components: org: mona-org repo: mona-org/mona-test-repo visibility: private + audit-log-stream-key: + value: + key_id: '123' + key: actual-public-key-value + get-audit-log-stream-configs: + value: + - id: 1 + stream_type: Splunk + stream_details: US + enabled: true + created_at: '2024-06-06T08:00:00Z' + updated_at: '2024-06-06T08:00:00Z' + paused_at: + audit-log-stream-config-request: + value: + enabled: false + stream_type: Azure Event Hubs + vendor_specific: + namespace: newnamespace + shared_access_key_name: newaccesskeyname + shared_access_key: newaccesskey + event_hub_name: neweventhub + get-audit-log-stream-config: + value: + id: 1 + stream_type: Splunk + stream_details: US + enabled: true + created_at: '2024-06-06T08:00:00Z' + updated_at: '2024-06-06T08:00:00Z' + paused_at: code-scanning-organization-alert-items: value: - number: 4 @@ -234443,6 +234980,13 @@ components: enum: - desc - asc + audit-log-stream-id: + name: stream_id + description: The ID of the audit log stream configuration. + in: path + required: true + schema: + type: integer tool-name: name: tool_name description: The name of a code scanning tool. Only results by this tool will diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index e12140def9..9bcaaabea4 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -4291,6 +4291,397 @@ } } }, + "/enterprises/{enterprise}/audit-log/stream-key": { + "get": { + "summary": "Get the audit log stream key for encrypting secrets", + "description": "Retrieves the audit log streaming public key for encrypting secrets.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-audit-log-stream-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "The stream key for the audit log streaming configuration was retrieved successfully.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/audit-log-stream-key" + }, + "examples": { + "default": { + "$ref": "#/components/examples/audit-log-stream-key" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, + "/enterprises/{enterprise}/audit-log/streams": { + "get": { + "summary": "List audit log stream configurations for an enterprise", + "description": "Lists the configured audit log streaming configurations for an enterprise.\nThis only lists configured streams for supported providers.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-audit-log-streams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-audit-log-stream-configs" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-audit-log-stream-configs" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "post": { + "summary": "Create an audit log streaming configuration for an enterprise", + "description": "Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This setting pauses or resumes a stream." + }, + "stream_type": { + "type": "string", + "description": "The audit log streaming provider. The name is case sensitive.", + "enum": [ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog" + ] + }, + "vendor_specific": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/azure-blob-config" + }, + { + "$ref": "#/components/schemas/azure-hub-config" + }, + { + "$ref": "#/components/schemas/amazon-s3-oidc-config" + }, + { + "$ref": "#/components/schemas/amazon-s3-access-keys-config" + }, + { + "$ref": "#/components/schemas/splunk-config" + }, + { + "$ref": "#/components/schemas/google-cloud-config" + }, + { + "$ref": "#/components/schemas/datadog-config" + } + ] + } + }, + "required": [ + "enabled", + "stream_type", + "vendor_specific" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/audit-log-stream-config-request" + } + } + } + } + }, + "responses": { + "200": { + "description": "The audit log stream configuration was created successfully.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-audit-log-stream-config" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-audit-log-stream-config" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, + "/enterprises/{enterprise}/audit-log/streams/{stream_id}": { + "get": { + "summary": "List one audit log streaming configuration via a stream ID", + "description": "Lists one audit log stream configuration via a stream ID.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-one-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/audit-log-stream-id" + } + ], + "responses": { + "200": { + "description": "Lists one audit log stream configuration via stream ID.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-audit-log-stream-config" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-audit-log-stream-config" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "put": { + "summary": "Update an existing audit log stream configuration", + "description": "Updates an existing audit log stream configuration for an enterprise.\n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/update-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/audit-log-stream-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This setting pauses or resumes a stream." + }, + "stream_type": { + "type": "string", + "description": "The audit log streaming provider. The name is case sensitive.", + "enum": [ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog" + ] + }, + "vendor_specific": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/azure-blob-config" + }, + { + "$ref": "#/components/schemas/azure-hub-config" + }, + { + "$ref": "#/components/schemas/amazon-s3-oidc-config" + }, + { + "$ref": "#/components/schemas/amazon-s3-access-keys-config" + }, + { + "$ref": "#/components/schemas/splunk-config" + }, + { + "$ref": "#/components/schemas/google-cloud-config" + }, + { + "$ref": "#/components/schemas/datadog-config" + } + ] + } + }, + "required": [ + "enabled", + "stream_type", + "vendor_specific" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/audit-log-stream-config-request" + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful update", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-audit-log-stream-config" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-audit-log-stream-config" + } + } + } + } + }, + "422": { + "description": "Validation error", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + }, + "delete": { + "summary": "Delete an audit log streaming configuration for an enterprise", + "description": "Deletes an existing audit log stream configuration for an enterprise. \n\nWhen using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/delete-audit-log-stream", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/audit-log-stream-id" + } + ], + "responses": { + "204": { + "description": "The audit log stream configuration was deleted successfully." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "audit-log" + } + } + }, "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an enterprise", @@ -103568,6 +103959,319 @@ } } }, + "audit-log-stream-key": { + "title": "stream-key", + "description": "Audit Log Streaming Public Key", + "type": "object", + "properties": { + "key_id": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "key_id", + "key" + ] + }, + "get-audit-log-stream-configs": { + "title": "List audit log streaming configurations", + "description": "Lists the audit log streaming configurations for an enterprise.", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, + "azure-blob-config": { + "title": "AzureBlobConfig", + "description": "Azure Blob Config for audit log streaming configuration.", + "type": "object", + "properties": { + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_sas_url": { + "type": "string" + } + }, + "required": [ + "key_id", + "encrypted_sas_url" + ] + }, + "azure-hub-config": { + "title": "AzureHubConfig", + "description": "Azure Event Hubs Config for audit log streaming configuration.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Instance name of Azure Event Hubs" + }, + "encrypted_connstring": { + "type": "string", + "description": "Encrypted Connection String for Azure Event Hubs" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + } + }, + "required": [ + "name", + "encrypted_connstring", + "key_id" + ] + }, + "amazon-s3-oidc-config": { + "title": "AmazonS3OIDCConfig", + "description": "Amazon S3 OIDC Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "AWS S3 Bucket Region." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "oidc" + ] + }, + "arn_role": { + "type": "string" + } + }, + "required": [ + "arn_role", + "authentication_type", + "bucket", + "key_id", + "region" + ] + }, + "amazon-s3-access-keys-config": { + "title": "AmazonS3AccessKeysConfig", + "description": "Amazon S3 Access Keys Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "region": { + "type": "string", + "description": "Amazon S3 Bucket Name." + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "authentication_type": { + "type": "string", + "description": "Authentication Type for Amazon S3.", + "enum": [ + "access_keys" + ] + }, + "encrypted_secret_key": { + "type": "string", + "description": "Encrypted AWS Secret Key." + }, + "encrypted_access_key_id": { + "type": "string", + "description": "Encrypted AWS Access Key ID." + } + }, + "required": [ + "authentication_type", + "bucket", + "encrypted_access_key_id", + "encrypted_secret_key", + "key_id", + "region" + ] + }, + "splunk-config": { + "title": "SplunkConfig", + "description": "Splunk Config for Audit Log Stream Configuration", + "type": "object", + "properties": { + "domain": { + "description": "Domain of Splunk instance.", + "type": "string" + }, + "port": { + "description": "The port number for connecting to Splunk.", + "type": "integer" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_token": { + "description": "Encrypted Token.", + "type": "string" + }, + "ssl_verify": { + "description": "SSL verification helps ensure your events are sent to your Splunk endpoint securely.", + "type": "boolean" + } + }, + "required": [ + "domain", + "encrypted_token", + "key_id", + "port", + "ssl_verify" + ] + }, + "google-cloud-config": { + "title": "GoogleCloudConfig", + "description": "Google Cloud Config for audit log streaming configuration.", + "type": "object", + "properties": { + "bucket": { + "type": "string", + "description": "Google Cloud Bucket Name" + }, + "key_id": { + "type": "string", + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets." + }, + "encrypted_json_credentials": { + "type": "string" + } + }, + "required": [ + "bucket", + "key_id", + "encrypted_json_credentials" + ] + }, + "datadog-config": { + "title": "DatadogConfig", + "description": "Datadog Config for audit log streaming configuration.", + "type": "object", + "properties": { + "encrypted_token": { + "description": "Encrypted Splunk token.", + "type": "string" + }, + "site": { + "description": "Datadog Site to use.", + "type": "string", + "enum": [ + "US", + "US3", + "US5", + "EU1", + "US1-FED", + "AP1" + ] + }, + "key_id": { + "description": "Key ID obtained from the audit log stream key endpoint used to encrypt secrets.", + "type": "string" + } + }, + "required": [ + "encrypted_token", + "site", + "key_id" + ] + }, + "get-audit-log-stream-config": { + "title": "Get an audit log streaming configuration", + "description": "Get an audit log streaming configuration for an enterprise.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "stream_type": { + "type": "string" + }, + "stream_details": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "paused_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "stream_type", + "stream_details", + "enabled", + "created_at", + "updated_at" + ] + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -284671,6 +285375,48 @@ } ] }, + "audit-log-stream-key": { + "value": { + "key_id": "123", + "key": "actual-public-key-value" + } + }, + "get-audit-log-stream-configs": { + "value": [ + { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + ] + }, + "audit-log-stream-config-request": { + "value": { + "enabled": false, + "stream_type": "Azure Event Hubs", + "vendor_specific": { + "namespace": "newnamespace", + "shared_access_key_name": "newaccesskeyname", + "shared_access_key": "newaccesskey", + "event_hub_name": "neweventhub" + } + } + }, + "get-audit-log-stream-config": { + "value": { + "id": 1, + "stream_type": "Splunk", + "stream_details": "US", + "enabled": true, + "created_at": "2024-06-06T08:00:00Z", + "updated_at": "2024-06-06T08:00:00Z", + "paused_at": null + } + }, "code-scanning-organization-alert-items": { "value": [ { @@ -313490,6 +314236,15 @@ ] } }, + "audit-log-stream-id": { + "name": "stream_id", + "description": "The ID of the audit log stream configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, "tool-name": { "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`, but not both.", diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index fd7c32a4ee..58d02bf26d 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -3011,6 +3011,270 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: audit-log + "/enterprises/{enterprise}/audit-log/stream-key": + get: + summary: Get the audit log stream key for encrypting secrets + description: |- + Retrieves the audit log streaming public key for encrypting secrets. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-audit-log-stream-key + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: The stream key for the audit log streaming configuration was + retrieved successfully. + content: + application/json: + schema: + "$ref": "#/components/schemas/audit-log-stream-key" + examples: + default: + "$ref": "#/components/examples/audit-log-stream-key" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + "/enterprises/{enterprise}/audit-log/streams": + get: + summary: List audit log stream configurations for an enterprise + description: |- + Lists the configured audit log streaming configurations for an enterprise. + This only lists configured streams for supported providers. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-audit-log-streams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: OK + content: + application/json: + schema: + "$ref": "#/components/schemas/get-audit-log-stream-configs" + examples: + default: + "$ref": "#/components/examples/get-audit-log-stream-configs" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + post: + summary: Create an audit log streaming configuration for an enterprise + description: |- + Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/create-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: This setting pauses or resumes a stream. + stream_type: + type: string + description: The audit log streaming provider. The name is case + sensitive. + enum: + - Azure Blob Storage + - Azure Event Hubs + - Amazon S3 + - Splunk + - HTTPS Event Collector + - Google Cloud Storage + - Datadog + vendor_specific: + type: object + oneOf: + - "$ref": "#/components/schemas/azure-blob-config" + - "$ref": "#/components/schemas/azure-hub-config" + - "$ref": "#/components/schemas/amazon-s3-oidc-config" + - "$ref": "#/components/schemas/amazon-s3-access-keys-config" + - "$ref": "#/components/schemas/splunk-config" + - "$ref": "#/components/schemas/google-cloud-config" + - "$ref": "#/components/schemas/datadog-config" + required: + - enabled + - stream_type + - vendor_specific + examples: + default: + "$ref": "#/components/examples/audit-log-stream-config-request" + responses: + '200': + description: The audit log stream configuration was created successfully. + content: + application/json: + schema: + "$ref": "#/components/schemas/get-audit-log-stream-config" + examples: + default: + "$ref": "#/components/examples/get-audit-log-stream-config" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + "/enterprises/{enterprise}/audit-log/streams/{stream_id}": + get: + summary: List one audit log streaming configuration via a stream ID + description: |- + Lists one audit log stream configuration via a stream ID. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/get-one-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/audit-log-stream-id" + responses: + '200': + description: Lists one audit log stream configuration via stream ID. + content: + application/json: + schema: + "$ref": "#/components/schemas/get-audit-log-stream-config" + examples: + default: + "$ref": "#/components/examples/get-audit-log-stream-config" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + put: + summary: Update an existing audit log stream configuration + description: |- + Updates an existing audit log stream configuration for an enterprise. + + When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)." + tags: + - enterprise-admin + operationId: enterprise-admin/update-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/audit-log-stream-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: This setting pauses or resumes a stream. + stream_type: + type: string + description: The audit log streaming provider. The name is case + sensitive. + enum: + - Azure Blob Storage + - Azure Event Hubs + - Amazon S3 + - Splunk + - HTTPS Event Collector + - Google Cloud Storage + - Datadog + vendor_specific: + type: object + oneOf: + - "$ref": "#/components/schemas/azure-blob-config" + - "$ref": "#/components/schemas/azure-hub-config" + - "$ref": "#/components/schemas/amazon-s3-oidc-config" + - "$ref": "#/components/schemas/amazon-s3-access-keys-config" + - "$ref": "#/components/schemas/splunk-config" + - "$ref": "#/components/schemas/google-cloud-config" + - "$ref": "#/components/schemas/datadog-config" + required: + - enabled + - stream_type + - vendor_specific + examples: + default: + "$ref": "#/components/examples/audit-log-stream-config-request" + responses: + '200': + description: Successful update + content: + application/json: + schema: + "$ref": "#/components/schemas/get-audit-log-stream-config" + examples: + default: + "$ref": "#/components/examples/get-audit-log-stream-config" + '422': + description: Validation error + content: + application/json: + schema: + type: object + properties: + errors: + type: array + items: + type: string + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log + delete: + summary: Delete an audit log streaming configuration for an enterprise + description: "Deletes an existing audit log stream configuration for an enterprise. + \n\nWhen using this endpoint, you must encrypt the credentials following the + same encryption steps as outlined in the guide on encrypting secrets. See + \"[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api).\"" + tags: + - enterprise-admin + operationId: enterprise-admin/delete-audit-log-stream + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/audit-log-stream-id" + responses: + '204': + description: The audit log stream configuration was deleted successfully. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: audit-log "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -74990,6 +75254,248 @@ components: visibility: type: string description: The repository visibility, for example `public` or `private`. + audit-log-stream-key: + title: stream-key + description: Audit Log Streaming Public Key + type: object + properties: + key_id: + type: string + key: + type: string + required: + - key_id + - key + get-audit-log-stream-configs: + title: List audit log streaming configurations + description: Lists the audit log streaming configurations for an enterprise. + type: array + items: + type: object + properties: + id: + type: integer + stream_type: + type: string + stream_details: + type: string + enabled: + type: boolean + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + paused_at: + type: + - string + - 'null' + format: date-time + required: + - id + - stream_type + - stream_details + - enabled + - created_at + - updated_at + azure-blob-config: + title: AzureBlobConfig + description: Azure Blob Config for audit log streaming configuration. + type: object + properties: + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + encrypted_sas_url: + type: string + required: + - key_id + - encrypted_sas_url + azure-hub-config: + title: AzureHubConfig + description: Azure Event Hubs Config for audit log streaming configuration. + type: object + properties: + name: + type: string + description: Instance name of Azure Event Hubs + encrypted_connstring: + type: string + description: Encrypted Connection String for Azure Event Hubs + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + required: + - name + - encrypted_connstring + - key_id + amazon-s3-oidc-config: + title: AmazonS3OIDCConfig + description: Amazon S3 OIDC Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Amazon S3 Bucket Name. + region: + type: string + description: AWS S3 Bucket Region. + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + authentication_type: + type: string + description: Authentication Type for Amazon S3. + enum: + - oidc + arn_role: + type: string + required: + - arn_role + - authentication_type + - bucket + - key_id + - region + amazon-s3-access-keys-config: + title: AmazonS3AccessKeysConfig + description: Amazon S3 Access Keys Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Amazon S3 Bucket Name. + region: + type: string + description: Amazon S3 Bucket Name. + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + authentication_type: + type: string + description: Authentication Type for Amazon S3. + enum: + - access_keys + encrypted_secret_key: + type: string + description: Encrypted AWS Secret Key. + encrypted_access_key_id: + type: string + description: Encrypted AWS Access Key ID. + required: + - authentication_type + - bucket + - encrypted_access_key_id + - encrypted_secret_key + - key_id + - region + splunk-config: + title: SplunkConfig + description: Splunk Config for Audit Log Stream Configuration + type: object + properties: + domain: + description: Domain of Splunk instance. + type: string + port: + description: The port number for connecting to Splunk. + type: integer + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + encrypted_token: + description: Encrypted Token. + type: string + ssl_verify: + description: SSL verification helps ensure your events are sent to your + Splunk endpoint securely. + type: boolean + required: + - domain + - encrypted_token + - key_id + - port + - ssl_verify + google-cloud-config: + title: GoogleCloudConfig + description: Google Cloud Config for audit log streaming configuration. + type: object + properties: + bucket: + type: string + description: Google Cloud Bucket Name + key_id: + type: string + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + encrypted_json_credentials: + type: string + required: + - bucket + - key_id + - encrypted_json_credentials + datadog-config: + title: DatadogConfig + description: Datadog Config for audit log streaming configuration. + type: object + properties: + encrypted_token: + description: Encrypted Splunk token. + type: string + site: + description: Datadog Site to use. + type: string + enum: + - US + - US3 + - US5 + - EU1 + - US1-FED + - AP1 + key_id: + description: Key ID obtained from the audit log stream key endpoint used + to encrypt secrets. + type: string + required: + - encrypted_token + - site + - key_id + get-audit-log-stream-config: + title: Get an audit log streaming configuration + description: Get an audit log streaming configuration for an enterprise. + type: object + properties: + id: + type: integer + stream_type: + type: string + stream_details: + type: string + enabled: + type: boolean + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + paused_at: + type: + - string + - 'null' + format: date-time + required: + - id + - stream_type + - stream_details + - enabled + - created_at + - updated_at code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -209689,6 +210195,37 @@ components: org: mona-org repo: mona-org/mona-test-repo visibility: private + audit-log-stream-key: + value: + key_id: '123' + key: actual-public-key-value + get-audit-log-stream-configs: + value: + - id: 1 + stream_type: Splunk + stream_details: US + enabled: true + created_at: '2024-06-06T08:00:00Z' + updated_at: '2024-06-06T08:00:00Z' + paused_at: + audit-log-stream-config-request: + value: + enabled: false + stream_type: Azure Event Hubs + vendor_specific: + namespace: newnamespace + shared_access_key_name: newaccesskeyname + shared_access_key: newaccesskey + event_hub_name: neweventhub + get-audit-log-stream-config: + value: + id: 1 + stream_type: Splunk + stream_details: US + enabled: true + created_at: '2024-06-06T08:00:00Z' + updated_at: '2024-06-06T08:00:00Z' + paused_at: code-scanning-organization-alert-items: value: - number: 4 @@ -234443,6 +234980,13 @@ components: enum: - desc - asc + audit-log-stream-id: + name: stream_id + description: The ID of the audit log stream configuration. + in: path + required: true + schema: + type: integer tool-name: name: tool_name description: The name of a code scanning tool. Only results by this tool will