diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 35ee92c766..03ca71d2a0 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -762,6 +762,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -3546,6 +3549,216 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -14114,6 +14327,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -14306,6 +14525,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -14503,6 +14728,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -19301,6 +19532,216 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/organization-1-day": { + "get": { + "summary": "Get Copilot organization usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot organization users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot organization users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -20609,6 +21050,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -25351,7 +25795,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -25409,12 +25853,12 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { - "description": "The ID of the key you used to encrypt the secret.", + "description": "The ID of the key you used to encrypt the secret. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string" }, "visibility": { @@ -25432,13 +25876,62 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. Defaults to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or `oidc_jfrog` for OIDC authentication.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } }, "required": [ "registry_type", "url", - "encrypted_value", - "key_id", "visibility" ] }, @@ -25469,6 +25962,17 @@ 1296280 ] } + }, + "org-private-registry-with-oidc-azure": { + "summary": "Example of an OIDC private registry configuration using Azure", + "value": { + "registry_type": "docker_registry", + "url": "https://myregistry.azurecr.io", + "auth_type": "oidc_azure", + "visibility": "all", + "tenant_id": "12345678-1234-1234-1234-123456789012", + "client_id": "abcdef01-2345-6789-abcd-ef0123456789" + } } } } @@ -25623,7 +26127,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -25707,16 +26211,79 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. This field cannot be changed after creation. If provided, it must match the existing `auth_type` of the configuration. To change the authentication type, delete and recreate the configuration.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } } }, "examples": { - "default": { + "secret-based-update": { + "summary": "Update a secret-based private registry", "value": { "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678" } + }, + "oidc-azure-update": { + "summary": "Update an OIDC private registry (Azure)", + "value": { + "tenant_id": "12345678-1234-1234-1234-123456789012", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } } } } @@ -50740,6 +51307,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -61077,6 +61647,9 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -61211,6 +61784,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -61472,6 +62048,9 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -62846,6 +63425,11 @@ "required": [ "assignee" ] + }, + { + "required": [ + "validity" + ] } ] }, @@ -65952,7 +66536,8 @@ "required": [ "total_count", "incomplete_results", - "items" + "items", + "search_type" ], "properties": { "total_count": { @@ -65966,6 +66551,31 @@ "items": { "$ref": "#/components/schemas/issue-search-result-item" } + }, + "search_type": { + "type": "string", + "description": "The type of search that was performed. Possible values are `lexical`, `semantic`, or `hybrid`.", + "enum": [ + "lexical", + "semantic", + "hybrid" + ] + }, + "lexical_fallback_reason": { + "type": "array", + "description": "When a semantic or hybrid search falls back to lexical search, this field contains the reasons for the fallback. Only present when a fallback occurred.", + "items": { + "type": "string", + "enum": [ + "no_text_terms", + "quoted_text", + "non_issue_target", + "or_boolean_not_supported", + "no_accessible_repos", + "server_error", + "only_non_semantic_fields_requested" + ] + } } } }, @@ -70106,7 +70716,7 @@ "/user/installations/{installation_id}/repositories/{repository_id}": { "put": { "summary": "Add a repository to an app installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -70146,7 +70756,7 @@ }, "delete": { "summary": "Remove a repository from an app installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -106044,6 +106654,60 @@ } } }, + "copilot-usage-metrics-1-day-report": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "copilot-usage-metrics-28-day-report": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, "alert-number": { "type": "integer", "description": "The security alert number.", @@ -113451,6 +114115,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -116726,6 +117394,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -116751,6 +117430,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -116799,6 +117518,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -116830,6 +117560,46 @@ "type": "integer" } }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -286689,6 +287459,25 @@ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" } }, + "copilot-usage-metrics-1-day-report": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + }, + "copilot-usage-metrics-28-day-report": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + }, "dependabot-alerts-for-organization": { "value": [ { @@ -316581,6 +317370,19 @@ "type": "string" } }, + "webhook-delivery-status": { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } + }, "delivery-id": { "name": "delivery_id", "in": "path", @@ -316680,6 +317482,17 @@ "type": "integer" } }, + "day": { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + }, "dependabot-alert-comma-separated-states": { "name": "state", "in": "query", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 5ee782c399..2c134e817a 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -514,6 +514,7 @@ paths: parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -2549,6 +2550,168 @@ paths: enabledForGitHubApps: false category: code-security subcategory: configurations + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -10188,6 +10351,10 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10349,6 +10516,10 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10503,6 +10674,10 @@ paths: status: active created_at: '2023-10-01T12:00:00Z' updated_at: '2023-10-01T12:00:00Z' + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14117,6 +14292,176 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/orgs/{org}/copilot/metrics/reports/organization-1-day": + get: + summary: Get Copilot organization usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": + get: + summary: Get Copilot organization usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot organization users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot organization users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -15059,6 +15404,7 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -18404,6 +18750,7 @@ paths: description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -18463,11 +18810,14 @@ paths: description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. + endpoint. Required when `auth_type` is `token` or `username_password`. + Should be omitted for OIDC auth types. type: string pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" key_id: - description: The ID of the key you used to encrypt the secret. + description: The ID of the key you used to encrypt the secret. Required + when `auth_type` is `token` or `username_password`. Should be + omitted for OIDC auth types. type: string visibility: description: Which type of organization repositories have access @@ -18490,11 +18840,58 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. Defaults + to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or + `oidc_jfrog` for OIDC authentication. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string required: - registry_type - url - - encrypted_value - - key_id - visibility examples: org-private-registry-with-private-visibility: @@ -18521,6 +18918,15 @@ paths: selected_repository_ids: - 1296269 - 1296280 + org-private-registry-with-oidc-azure: + summary: Example of an OIDC private registry configuration using Azure + value: + registry_type: docker_registry + url: https://myregistry.azurecr.io + auth_type: oidc_azure + visibility: all + tenant_id: 12345678-1234-1234-1234-123456789012 + client_id: abcdef01-2345-6789-abcd-ef0123456789 responses: '201': description: The organization private registry configuration @@ -18629,6 +19035,7 @@ paths: description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -18713,12 +19120,71 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. This + field cannot be changed after creation. If provided, it must match + the existing `auth_type` of the configuration. To change the authentication + type, delete and recreate the configuration. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string examples: - default: + secret-based-update: + summary: Update a secret-based private registry value: username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' + oidc-azure-update: + summary: Update an OIDC private registry (Azure) + value: + tenant_id: 12345678-1234-1234-1234-123456789012 + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 responses: '204': description: Response @@ -37067,6 +37533,7 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -44428,6 +44895,8 @@ paths: responses: '204': description: Response + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44531,6 +45000,8 @@ paths: examples: default: "$ref": "#/components/examples/release" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44718,6 +45189,8 @@ paths: responses: '204': description: Response + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45625,6 +46098,8 @@ paths: - state - required: - assignee + - required: + - validity examples: default: value: @@ -47869,6 +48344,7 @@ paths: - total_count - incomplete_results - items + - search_type properties: total_count: type: integer @@ -47878,6 +48354,29 @@ paths: type: array items: "$ref": "#/components/schemas/issue-search-result-item" + search_type: + type: string + description: The type of search that was performed. Possible values + are `lexical`, `semantic`, or `hybrid`. + enum: + - lexical + - semantic + - hybrid + lexical_fallback_reason: + type: array + description: When a semantic or hybrid search falls back to lexical + search, this field contains the reasons for the fallback. Only + present when a fallback occurred. + items: + type: string + enum: + - no_text_terms + - quoted_text + - non_issue_target + - or_boolean_not_supported + - no_accessible_repos + - server_error + - only_non_semantic_fields_requested examples: default: "$ref": "#/components/examples/issue-search-result-item-paginated" @@ -50935,9 +51434,10 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: "Add a single repository to an installation. The authenticated - user must have admin access to the repository. \n\nThis endpoint only works - for PATs (classic) with the `repo` scope." + description: |- + Add a single repository to an installation. The authenticated user must have admin access to the repository. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -50963,10 +51463,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: "Remove a single repository from an installation. The authenticated - user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. \n\nThis endpoint only works for - PATs (classic) with the `repo` scope." + description: |- + Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -76908,6 +77408,51 @@ components: - removed_by_enterprise repository: "$ref": "#/components/schemas/simple-repository" + copilot-usage-metrics-1-day-report: + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for an enterprise/organization + for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report for the + enterprise/organization for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + copilot-usage-metrics-28-day-report: + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report for an + enterprise/organization. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics report + for the enterprise/organization. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` format. + required: + - download_links + - report_start_day + - report_end_day alert-number: type: integer description: The security alert number. @@ -82713,6 +83258,12 @@ components: properties: text: type: string + markdown: + type: string + description: The message text as GitHub-flavored Markdown, with placeholder + links for related locations replaced by links to the relevant code. + Only populated when related locations are available for the alert + instance. location: "$ref": "#/components/schemas/code-scanning-alert-location" html_url: @@ -85375,6 +85926,15 @@ components: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -85400,6 +85960,36 @@ components: - private - selected type: string + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -85440,6 +86030,15 @@ components: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -85471,6 +86070,36 @@ components: private registry when `visibility` is set to `selected`. items: type: integer + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -214415,6 +215044,19 @@ components: teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + copilot-usage-metrics-1-day-report: + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + copilot-usage-metrics-28-day-report: + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' dependabot-alerts-for-organization: value: - number: 2 @@ -240081,6 +240723,19 @@ components: required: false schema: type: string + webhook-delivery-status: + name: status + description: Returns webhook deliveries filtered by delivery outcome classification + based on `status_code` range. A `status` of `success` returns deliveries with + a `status_code` in the 200-399 range (inclusive). A `status` of `failure` + returns deliveries with a `status_code` in the 400-599 range (inclusive). + in: query + required: false + schema: + type: string + enum: + - success + - failure delivery-id: name: delivery_id in: path @@ -240159,6 +240814,15 @@ components: required: true schema: type: integer + day: + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' dependabot-alert-comma-separated-states: name: state in: query diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index 32fe5c5c5b..59b87edaa0 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -762,6 +762,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -3546,6 +3549,216 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -14113,6 +14326,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -14305,6 +14524,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -14502,6 +14727,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -19261,6 +19492,216 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/organization-1-day": { + "get": { + "summary": "Get Copilot organization usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot organization users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot organization users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -20562,6 +21003,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -25305,7 +25749,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -25363,12 +25807,12 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { - "description": "The ID of the key you used to encrypt the secret.", + "description": "The ID of the key you used to encrypt the secret. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string" }, "visibility": { @@ -25386,13 +25830,62 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. Defaults to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or `oidc_jfrog` for OIDC authentication.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } }, "required": [ "registry_type", "url", - "encrypted_value", - "key_id", "visibility" ] }, @@ -25423,6 +25916,17 @@ 1296280 ] } + }, + "org-private-registry-with-oidc-azure": { + "summary": "Example of an OIDC private registry configuration using Azure", + "value": { + "registry_type": "docker_registry", + "url": "https://myregistry.azurecr.io", + "auth_type": "oidc_azure", + "visibility": "all", + "tenant_id": "12345678-1234-1234-1234-123456789012", + "client_id": "abcdef01-2345-6789-abcd-ef0123456789" + } } } } @@ -25577,7 +26081,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -25661,16 +26165,79 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. This field cannot be changed after creation. If provided, it must match the existing `auth_type` of the configuration. To change the authentication type, delete and recreate the configuration.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } } }, "examples": { - "default": { + "secret-based-update": { + "summary": "Update a secret-based private registry", "value": { "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678" } + }, + "oidc-azure-update": { + "summary": "Update an OIDC private registry (Azure)", + "value": { + "tenant_id": "12345678-1234-1234-1234-123456789012", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } } } } @@ -50662,6 +51229,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -60989,6 +61559,9 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -61123,6 +61696,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -61384,6 +61960,9 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -62758,6 +63337,11 @@ "required": [ "assignee" ] + }, + { + "required": [ + "validity" + ] } ] }, @@ -65864,7 +66448,8 @@ "required": [ "total_count", "incomplete_results", - "items" + "items", + "search_type" ], "properties": { "total_count": { @@ -65878,6 +66463,31 @@ "items": { "$ref": "#/components/schemas/issue-search-result-item" } + }, + "search_type": { + "type": "string", + "description": "The type of search that was performed. Possible values are `lexical`, `semantic`, or `hybrid`.", + "enum": [ + "lexical", + "semantic", + "hybrid" + ] + }, + "lexical_fallback_reason": { + "type": "array", + "description": "When a semantic or hybrid search falls back to lexical search, this field contains the reasons for the fallback. Only present when a fallback occurred.", + "items": { + "type": "string", + "enum": [ + "no_text_terms", + "quoted_text", + "non_issue_target", + "or_boolean_not_supported", + "no_accessible_repos", + "server_error", + "only_non_semantic_fields_requested" + ] + } } } }, @@ -70018,7 +70628,7 @@ "/user/installations/{installation_id}/repositories/{repository_id}": { "put": { "summary": "Add a repository to an app installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -70058,7 +70668,7 @@ }, "delete": { "summary": "Remove a repository from an app installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -105868,6 +106478,60 @@ } } }, + "copilot-usage-metrics-1-day-report": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "copilot-usage-metrics-28-day-report": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, "alert-number": { "type": "integer", "description": "The security alert number.", @@ -112945,6 +113609,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -116217,6 +116885,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -116242,6 +116921,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -116290,6 +117009,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -116321,6 +117051,46 @@ "type": "integer" } }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -285939,6 +286709,25 @@ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" } }, + "copilot-usage-metrics-1-day-report": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + }, + "copilot-usage-metrics-28-day-report": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + }, "dependabot-alerts-for-organization": { "value": [ { @@ -315830,6 +316619,19 @@ "type": "string" } }, + "webhook-delivery-status": { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } + }, "delivery-id": { "name": "delivery_id", "in": "path", @@ -315929,6 +316731,17 @@ "type": "integer" } }, + "day": { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + }, "dependabot-alert-comma-separated-states": { "name": "state", "in": "query", diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index c050e7c2fe..1fab6fad4f 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -514,6 +514,7 @@ paths: parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -2549,6 +2550,168 @@ paths: enabledForGitHubApps: false category: code-security subcategory: configurations + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -10186,6 +10349,10 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10347,6 +10514,10 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10501,6 +10672,10 @@ paths: status: active created_at: '2023-10-01T12:00:00Z' updated_at: '2023-10-01T12:00:00Z' + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14084,6 +14259,176 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/orgs/{org}/copilot/metrics/reports/organization-1-day": + get: + summary: Get Copilot organization usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": + get: + summary: Get Copilot organization usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot organization users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot organization users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -15024,6 +15369,7 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -18370,6 +18716,7 @@ paths: description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -18429,11 +18776,14 @@ paths: description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. + endpoint. Required when `auth_type` is `token` or `username_password`. + Should be omitted for OIDC auth types. type: string pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" key_id: - description: The ID of the key you used to encrypt the secret. + description: The ID of the key you used to encrypt the secret. Required + when `auth_type` is `token` or `username_password`. Should be + omitted for OIDC auth types. type: string visibility: description: Which type of organization repositories have access @@ -18456,11 +18806,58 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. Defaults + to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or + `oidc_jfrog` for OIDC authentication. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string required: - registry_type - url - - encrypted_value - - key_id - visibility examples: org-private-registry-with-private-visibility: @@ -18487,6 +18884,15 @@ paths: selected_repository_ids: - 1296269 - 1296280 + org-private-registry-with-oidc-azure: + summary: Example of an OIDC private registry configuration using Azure + value: + registry_type: docker_registry + url: https://myregistry.azurecr.io + auth_type: oidc_azure + visibility: all + tenant_id: 12345678-1234-1234-1234-123456789012 + client_id: abcdef01-2345-6789-abcd-ef0123456789 responses: '201': description: The organization private registry configuration @@ -18595,6 +19001,7 @@ paths: description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -18679,12 +19086,71 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. This + field cannot be changed after creation. If provided, it must match + the existing `auth_type` of the configuration. To change the authentication + type, delete and recreate the configuration. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string examples: - default: + secret-based-update: + summary: Update a secret-based private registry value: username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' + oidc-azure-update: + summary: Update an OIDC private registry (Azure) + value: + tenant_id: 12345678-1234-1234-1234-123456789012 + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 responses: '204': description: Response @@ -37005,6 +37471,7 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -44354,6 +44821,8 @@ paths: responses: '204': description: Response + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44457,6 +44926,8 @@ paths: examples: default: "$ref": "#/components/examples/release" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44644,6 +45115,8 @@ paths: responses: '204': description: Response + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45551,6 +46024,8 @@ paths: - state - required: - assignee + - required: + - validity examples: default: value: @@ -47795,6 +48270,7 @@ paths: - total_count - incomplete_results - items + - search_type properties: total_count: type: integer @@ -47804,6 +48280,29 @@ paths: type: array items: "$ref": "#/components/schemas/issue-search-result-item" + search_type: + type: string + description: The type of search that was performed. Possible values + are `lexical`, `semantic`, or `hybrid`. + enum: + - lexical + - semantic + - hybrid + lexical_fallback_reason: + type: array + description: When a semantic or hybrid search falls back to lexical + search, this field contains the reasons for the fallback. Only + present when a fallback occurred. + items: + type: string + enum: + - no_text_terms + - quoted_text + - non_issue_target + - or_boolean_not_supported + - no_accessible_repos + - server_error + - only_non_semantic_fields_requested examples: default: "$ref": "#/components/examples/issue-search-result-item-paginated" @@ -50861,9 +51360,10 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: "Add a single repository to an installation. The authenticated - user must have admin access to the repository. \n\nThis endpoint only works - for PATs (classic) with the `repo` scope." + description: |- + Add a single repository to an installation. The authenticated user must have admin access to the repository. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -50889,10 +51389,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: "Remove a single repository from an installation. The authenticated - user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. \n\nThis endpoint only works for - PATs (classic) with the `repo` scope." + description: |- + Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -76762,6 +77262,51 @@ components: - removed_by_enterprise repository: "$ref": "#/components/schemas/simple-repository" + copilot-usage-metrics-1-day-report: + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for an enterprise/organization + for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report for the + enterprise/organization for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + copilot-usage-metrics-28-day-report: + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report for an + enterprise/organization. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics report + for the enterprise/organization. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` format. + required: + - download_links + - report_start_day + - report_end_day alert-number: type: integer description: The security alert number. @@ -82316,6 +82861,12 @@ components: properties: text: type: string + markdown: + type: string + description: The message text as GitHub-flavored Markdown, with placeholder + links for related locations replaced by links to the relevant code. + Only populated when related locations are available for the alert + instance. location: "$ref": "#/components/schemas/code-scanning-alert-location" html_url: @@ -84976,6 +85527,15 @@ components: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -85001,6 +85561,36 @@ components: - private - selected type: string + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -85041,6 +85631,15 @@ components: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -85072,6 +85671,36 @@ components: private registry when `visibility` is set to `selected`. items: type: integer + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -213742,6 +214371,19 @@ components: teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + copilot-usage-metrics-1-day-report: + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + copilot-usage-metrics-28-day-report: + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' dependabot-alerts-for-organization: value: - number: 2 @@ -239407,6 +240049,19 @@ components: required: false schema: type: string + webhook-delivery-status: + name: status + description: Returns webhook deliveries filtered by delivery outcome classification + based on `status_code` range. A `status` of `success` returns deliveries with + a `status_code` in the 200-399 range (inclusive). A `status` of `failure` + returns deliveries with a `status_code` in the 400-599 range (inclusive). + in: query + required: false + schema: + type: string + enum: + - success + - failure delivery-id: name: delivery_id in: path @@ -239485,6 +240140,15 @@ components: required: true schema: type: integer + day: + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' dependabot-alert-comma-separated-states: name: state in: query diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 16c20117b4..6603925639 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -762,6 +762,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -3560,6 +3563,216 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -14160,6 +14373,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -14352,6 +14571,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -14549,6 +14774,12 @@ } } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -19403,6 +19634,216 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/organization-1-day": { + "get": { + "summary": "Get Copilot organization usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot organization users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot organization users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -20726,6 +21167,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -25530,7 +25974,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -25588,12 +26032,12 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { - "description": "The ID of the key you used to encrypt the secret.", + "description": "The ID of the key you used to encrypt the secret. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string" }, "visibility": { @@ -25611,13 +26055,62 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. Defaults to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or `oidc_jfrog` for OIDC authentication.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } }, "required": [ "registry_type", "url", - "encrypted_value", - "key_id", "visibility" ] }, @@ -25648,6 +26141,17 @@ 1296280 ] } + }, + "org-private-registry-with-oidc-azure": { + "summary": "Example of an OIDC private registry configuration using Azure", + "value": { + "registry_type": "docker_registry", + "url": "https://myregistry.azurecr.io", + "auth_type": "oidc_azure", + "visibility": "all", + "tenant_id": "12345678-1234-1234-1234-123456789012", + "client_id": "abcdef01-2345-6789-abcd-ef0123456789" + } } } } @@ -25802,7 +26306,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -25886,16 +26390,79 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. This field cannot be changed after creation. If provided, it must match the existing `auth_type` of the configuration. To change the authentication type, delete and recreate the configuration.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } } }, "examples": { - "default": { + "secret-based-update": { + "summary": "Update a secret-based private registry", "value": { "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678" } + }, + "oidc-azure-update": { + "summary": "Update an OIDC private registry (Azure)", + "value": { + "tenant_id": "12345678-1234-1234-1234-123456789012", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } } } } @@ -51004,6 +51571,9 @@ }, { "$ref": "#/components/parameters/cursor" + }, + { + "$ref": "#/components/parameters/webhook-delivery-status" } ], "responses": { @@ -61379,6 +61949,9 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -61513,6 +62086,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -61774,6 +62350,9 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -63148,6 +63727,11 @@ "required": [ "assignee" ] + }, + { + "required": [ + "validity" + ] } ] }, @@ -66254,7 +66838,8 @@ "required": [ "total_count", "incomplete_results", - "items" + "items", + "search_type" ], "properties": { "total_count": { @@ -66268,6 +66853,31 @@ "items": { "$ref": "#/components/schemas/issue-search-result-item" } + }, + "search_type": { + "type": "string", + "description": "The type of search that was performed. Possible values are `lexical`, `semantic`, or `hybrid`.", + "enum": [ + "lexical", + "semantic", + "hybrid" + ] + }, + "lexical_fallback_reason": { + "type": "array", + "description": "When a semantic or hybrid search falls back to lexical search, this field contains the reasons for the fallback. Only present when a fallback occurred.", + "items": { + "type": "string", + "enum": [ + "no_text_terms", + "quoted_text", + "non_issue_target", + "or_boolean_not_supported", + "no_accessible_repos", + "server_error", + "only_non_semantic_fields_requested" + ] + } } } }, @@ -70408,7 +71018,7 @@ "/user/installations/{installation_id}/repositories/{repository_id}": { "put": { "summary": "Add a repository to an app installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -70448,7 +71058,7 @@ }, "delete": { "summary": "Remove a repository from an app installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -106625,6 +107235,60 @@ } } }, + "copilot-usage-metrics-1-day-report": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "copilot-usage-metrics-28-day-report": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, "alert-number": { "type": "integer", "description": "The security alert number.", @@ -114198,6 +114862,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -117503,6 +118171,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -117528,6 +118207,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -117576,6 +118295,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -117607,6 +118337,46 @@ "type": "integer" } }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -288784,6 +289554,25 @@ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" } }, + "copilot-usage-metrics-1-day-report": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + }, + "copilot-usage-metrics-28-day-report": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + }, "dependabot-alerts-for-organization": { "value": [ { @@ -318688,6 +319477,19 @@ "type": "string" } }, + "webhook-delivery-status": { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } + }, "delivery-id": { "name": "delivery_id", "in": "path", @@ -318787,6 +319589,17 @@ "type": "integer" } }, + "day": { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + }, "dependabot-alert-comma-separated-states": { "name": "state", "in": "query", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 7e1b838b38..3746d82fe7 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -514,6 +514,7 @@ paths: parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -2557,6 +2558,168 @@ paths: enabledForGitHubApps: false category: code-security subcategory: configurations + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -10213,6 +10376,10 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10374,6 +10541,10 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10528,6 +10699,10 @@ paths: status: active created_at: '2023-10-01T12:00:00Z' updated_at: '2023-10-01T12:00:00Z' + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14171,6 +14346,176 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/orgs/{org}/copilot/metrics/reports/organization-1-day": + get: + summary: Get Copilot organization usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": + get: + summary: Get Copilot organization usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot organization users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot organization users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -15121,6 +15466,7 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -18499,6 +18845,7 @@ paths: description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -18558,11 +18905,14 @@ paths: description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. + endpoint. Required when `auth_type` is `token` or `username_password`. + Should be omitted for OIDC auth types. type: string pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" key_id: - description: The ID of the key you used to encrypt the secret. + description: The ID of the key you used to encrypt the secret. Required + when `auth_type` is `token` or `username_password`. Should be + omitted for OIDC auth types. type: string visibility: description: Which type of organization repositories have access @@ -18585,11 +18935,58 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. Defaults + to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or + `oidc_jfrog` for OIDC authentication. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string required: - registry_type - url - - encrypted_value - - key_id - visibility examples: org-private-registry-with-private-visibility: @@ -18616,6 +19013,15 @@ paths: selected_repository_ids: - 1296269 - 1296280 + org-private-registry-with-oidc-azure: + summary: Example of an OIDC private registry configuration using Azure + value: + registry_type: docker_registry + url: https://myregistry.azurecr.io + auth_type: oidc_azure + visibility: all + tenant_id: 12345678-1234-1234-1234-123456789012 + client_id: abcdef01-2345-6789-abcd-ef0123456789 responses: '201': description: The organization private registry configuration @@ -18724,6 +19130,7 @@ paths: description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -18808,12 +19215,71 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. This + field cannot be changed after creation. If provided, it must match + the existing `auth_type` of the configuration. To change the authentication + type, delete and recreate the configuration. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string examples: - default: + secret-based-update: + summary: Update a secret-based private registry value: username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' + oidc-azure-update: + summary: Update an OIDC private registry (Azure) + value: + tenant_id: 12345678-1234-1234-1234-123456789012 + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 responses: '204': description: Response @@ -37232,6 +37698,7 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" + - "$ref": "#/components/parameters/webhook-delivery-status" responses: '200': description: Response @@ -44613,6 +45080,8 @@ paths: responses: '204': description: Response + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44716,6 +45185,8 @@ paths: examples: default: "$ref": "#/components/examples/release" + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44903,6 +45374,8 @@ paths: responses: '204': description: Response + '404': + "$ref": "#/components/responses/not_found" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45810,6 +46283,8 @@ paths: - state - required: - assignee + - required: + - validity examples: default: value: @@ -48054,6 +48529,7 @@ paths: - total_count - incomplete_results - items + - search_type properties: total_count: type: integer @@ -48063,6 +48539,29 @@ paths: type: array items: "$ref": "#/components/schemas/issue-search-result-item" + search_type: + type: string + description: The type of search that was performed. Possible values + are `lexical`, `semantic`, or `hybrid`. + enum: + - lexical + - semantic + - hybrid + lexical_fallback_reason: + type: array + description: When a semantic or hybrid search falls back to lexical + search, this field contains the reasons for the fallback. Only + present when a fallback occurred. + items: + type: string + enum: + - no_text_terms + - quoted_text + - non_issue_target + - or_boolean_not_supported + - no_accessible_repos + - server_error + - only_non_semantic_fields_requested examples: default: "$ref": "#/components/examples/issue-search-result-item-paginated" @@ -51120,9 +51619,10 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: "Add a single repository to an installation. The authenticated - user must have admin access to the repository. \n\nThis endpoint only works - for PATs (classic) with the `repo` scope." + description: |- + Add a single repository to an installation. The authenticated user must have admin access to the repository. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -51148,10 +51648,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: "Remove a single repository from an installation. The authenticated - user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. \n\nThis endpoint only works for - PATs (classic) with the `repo` scope." + description: |- + Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -77284,6 +77784,51 @@ components: - removed_by_enterprise repository: "$ref": "#/components/schemas/simple-repository" + copilot-usage-metrics-1-day-report: + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for an enterprise/organization + for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report for the + enterprise/organization for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + copilot-usage-metrics-28-day-report: + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report for an + enterprise/organization. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics report + for the enterprise/organization. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` format. + required: + - download_links + - report_start_day + - report_end_day alert-number: type: integer description: The security alert number. @@ -83200,6 +83745,12 @@ components: properties: text: type: string + markdown: + type: string + description: The message text as GitHub-flavored Markdown, with placeholder + links for related locations replaced by links to the relevant code. + Only populated when related locations are available for the alert + instance. location: "$ref": "#/components/schemas/code-scanning-alert-location" html_url: @@ -85880,6 +86431,15 @@ components: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -85905,6 +86465,36 @@ components: - private - selected type: string + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -85945,6 +86535,15 @@ components: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -85976,6 +86575,36 @@ components: private registry when `visibility` is set to `selected`. items: type: integer + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -215796,6 +216425,19 @@ components: teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + copilot-usage-metrics-1-day-report: + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + copilot-usage-metrics-28-day-report: + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' dependabot-alerts-for-organization: value: - number: 2 @@ -241468,6 +242110,19 @@ components: required: false schema: type: string + webhook-delivery-status: + name: status + description: Returns webhook deliveries filtered by delivery outcome classification + based on `status_code` range. A `status` of `success` returns deliveries with + a `status_code` in the 200-399 range (inclusive). A `status` of `failure` + returns deliveries with a `status_code` in the 400-599 range (inclusive). + in: query + required: false + schema: + type: string + enum: + - success + - failure delivery-id: name: delivery_id in: path @@ -241546,6 +242201,15 @@ components: required: true schema: type: integer + day: + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' dependabot-alert-comma-separated-states: name: state in: query diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index acab7d8e49..42b2159f6a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -3111,6 +3111,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -21821,6 +21834,654 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -91463,271 +92124,375 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "artifact-metadata" - } - } - }, - "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { - "post": { - "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", - "tags": [ - "orgs" - ], - "operationId": "orgs/set-cluster-deployment-records", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "cluster", - "in": "path", - "description": "The cluster name.", - "required": true, - "schema": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "pattern": "^[a-zA-Z0-9._-]+$" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "logical_environment": { - "type": "string", - "description": "The stage of the deployment.", - "minLength": 1, - "maxLength": 128 - }, - "physical_environment": { - "type": "string", - "description": "The physical region of the deployment.", - "maxLength": 128 - }, - "deployments": { - "type": "array", - "description": "The list of deployments to record.", - "maxItems": 1000, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name parameter must also be identical across all entries.\n", - "minLength": 1, - "maxLength": 256 - }, - "digest": { - "type": "string", - "description": "The hex encoded digest of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name and version parameters must also be identical across all entries.\n", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" - }, - "version": { - "type": "string", - "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "maxLength": 100, - "x-multi-segment": true, - "example": "1.2.3" - }, - "status": { - "type": "string", - "description": "The deployment status of the artifact.", - "default": "deployed", - "enum": [ - "deployed", - "decommissioned" - ] - }, - "deployment_name": { - "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", - "minLength": 1, - "maxLength": 256 - }, - "github_repository": { - "type": "string", - "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "maxLength": 100, - "pattern": "^[A-Za-z0-9.\\-_]+$", - "example": "my-github-repo" - }, - "tags": { - "type": "object", - "description": "Key-value pairs to tag the deployment record.", - "additionalProperties": { - "type": "string" - } - }, - "runtime_risks": { - "type": "array", - "description": "A list of runtime risks associated with the deployment.", - "maxItems": 4, - "uniqueItems": true, - "items": { - "type": "string", - "enum": [ - "critical-resource", - "internet-exposed", - "lateral-movement", - "sensitive-data" - ] - } - } - }, - "required": [ - "name", - "deployment_name", - "digest" - ] + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { + "post": { + "summary": "Set cluster deployment records", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-cluster-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cluster", + "in": "path", + "description": "The cluster name.", + "required": true, + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "pattern": "^[a-zA-Z0-9._-]+$" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "logical_environment": { + "type": "string", + "description": "The stage of the deployment.", + "minLength": 1, + "maxLength": 128 + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment.", + "maxLength": 128 + }, + "deployments": { + "type": "array", + "description": "The list of deployments to record.", + "maxItems": 1000, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name parameter must also be identical across all entries.\n", + "minLength": 1, + "maxLength": 256 + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name and version parameters must also be identical across all entries.\n", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", + "maxLength": 100, + "x-multi-segment": true, + "example": "1.2.3" + }, + "status": { + "type": "string", + "description": "The deployment status of the artifact.", + "default": "deployed", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "deployment_name": { + "type": "string", + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", + "minLength": 1, + "maxLength": 256 + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" + }, + "tags": { + "type": "object", + "description": "Key-value pairs to tag the deployment record.", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + } + }, + "required": [ + "name", + "deployment_name", + "digest" + ] + } + } + }, + "required": [ + "logical_environment", + "deployments" + ] + }, + "examples": { + "default": { + "value": { + "logical_environment": "prod", + "physical_environment": "pacific-east", + "deployments": [ + { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "version": "2.1.0", + "status": "deployed", + "deployment_name": "deployment-pod", + "tags": { + "runtime-risk": "sensitive-data" + } + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Deployment records created or updated successfully.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": "integer", + "description": "The ID of the provenance attestation associated with the deployment record.", + "nullable": true + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } - }, - "required": [ - "logical_environment", - "deployments" - ] - }, - "examples": { - "default": { - "value": { - "logical_environment": "prod", - "physical_environment": "pacific-east", - "deployments": [ - { - "name": "awesome-image", - "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", - "version": "2.1.0", - "status": "deployed", - "deployment_name": "deployment-pod", - "tags": { - "runtime-risk": "sensitive-data" - } - } - ] - } } } } - } - }, - "responses": { - "200": { - "description": "Deployment records created or updated successfully.\n", + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "total_count": { - "description": "The number of deployment records created", - "type": "integer" + "message": { + "type": "string" }, - "deployment_records": { - "type": "array", - "items": { - "title": "Artifact Deployment Record", - "description": "Artifact Metadata Deployment Record", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "digest": { - "type": "string" - }, - "logical_environment": { - "type": "string" - }, - "physical_environment": { - "type": "string" - }, - "cluster": { - "type": "string" - }, - "deployment_name": { - "type": "string" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "runtime_risks": { - "type": "array", - "description": "A list of runtime risks associated with the deployment.", - "maxItems": 4, - "uniqueItems": true, - "items": { - "type": "string", - "enum": [ - "critical-resource", - "internet-exposed", - "lateral-movement", - "sensitive-data" - ] - } - }, - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "attestation_id": { - "type": "integer", - "description": "The ID of the provenance attestation associated with the deployment record.", - "nullable": true - } - } - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 1, - "deployment_records": [ - { - "id": 123, - "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", - "logical_environment": "prod", - "physical_environment": "pacific-east", - "cluster": "moda-1", - "deployment_name": "prod-deployment", - "tags": { - "data": "sensitive" - }, - "created": "2011-01-26T19:14:43Z", - "updated_at": "2011-01-26T19:14:43Z", - "attestation_id": 456 - } - ] + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -91936,6 +92701,58 @@ } } } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -96891,6 +97708,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -112042,6 +112863,654 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/organization-1-day": { + "get": { + "summary": "Get Copilot organization usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot organization users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot organization users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -128849,6 +130318,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -160291,6 +161773,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -160316,6 +161809,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -160460,7 +161993,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -160524,12 +162057,12 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { - "description": "The ID of the key you used to encrypt the secret.", + "description": "The ID of the key you used to encrypt the secret. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string" }, "visibility": { @@ -160547,13 +162080,62 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. Defaults to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or `oidc_jfrog` for OIDC authentication.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } }, "required": [ "registry_type", "url", - "encrypted_value", - "key_id", "visibility" ] }, @@ -160584,6 +162166,17 @@ 1296280 ] } + }, + "org-private-registry-with-oidc-azure": { + "summary": "Example of an OIDC private registry configuration using Azure", + "value": { + "registry_type": "docker_registry", + "url": "https://myregistry.azurecr.io", + "auth_type": "oidc_azure", + "visibility": "all", + "tenant_id": "12345678-1234-1234-1234-123456789012", + "client_id": "abcdef01-2345-6789-abcd-ef0123456789" + } } } } @@ -160625,6 +162218,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -160656,6 +162260,46 @@ "type": "integer" } }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -160975,6 +162619,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -161000,6 +162655,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -161068,7 +162763,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -161164,16 +162859,79 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. This field cannot be changed after creation. If provided, it must match the existing `auth_type` of the configuration. To change the authentication type, delete and recreate the configuration.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } } }, "examples": { - "default": { + "secret-based-update": { + "summary": "Update a secret-based private registry", "value": { "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678" } + }, + "oidc-azure-update": { + "summary": "Update an OIDC private registry (Azure)", + "value": { + "tenant_id": "12345678-1234-1234-1234-123456789012", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } } } } @@ -286923,6 +288681,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -287814,6 +289576,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -288726,6 +290492,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -358895,6 +360665,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -507283,6 +509066,32 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -508051,6 +509860,32 @@ } } } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -510118,6 +511953,32 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -524928,6 +526789,11 @@ "required": [ "assignee" ] + }, + { + "required": [ + "validity" + ] } ] }, @@ -555562,7 +557428,8 @@ "required": [ "total_count", "incomplete_results", - "items" + "items", + "search_type" ], "properties": { "total_count": { @@ -558410,6 +560277,31 @@ "score" ] } + }, + "search_type": { + "type": "string", + "description": "The type of search that was performed. Possible values are `lexical`, `semantic`, or `hybrid`.", + "enum": [ + "lexical", + "semantic", + "hybrid" + ] + }, + "lexical_fallback_reason": { + "type": "array", + "description": "When a semantic or hybrid search falls back to lexical search, this field contains the reasons for the fallback. Only present when a fallback occurred.", + "items": { + "type": "string", + "enum": [ + "no_text_terms", + "quoted_text", + "non_issue_target", + "or_boolean_not_supported", + "no_accessible_repos", + "server_error", + "only_non_semantic_fields_requested" + ] + } } } }, @@ -593721,7 +595613,7 @@ "/user/installations/{installation_id}/repositories/{repository_id}": { "put": { "summary": "Add a repository to an app installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -593824,7 +595716,7 @@ }, "delete": { "summary": "Remove a repository from an app installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index bc6a3cd171..56ae18c02b 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -456,7 +456,7 @@ paths: required: false schema: type: string - - &55 + - &61 name: direction description: The direction to sort the results by. in: query @@ -677,7 +677,7 @@ paths: required: - vector_string - score - cvss_severities: &57 + cvss_severities: &63 type: object nullable: true properties: @@ -717,7 +717,7 @@ paths: required: - vector_string - score - epss: &58 + epss: &64 type: object nullable: true readOnly: true @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &324 + type: &330 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &125 + schema: &130 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &652 + - &658 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &74 + properties: &80 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1272,7 @@ paths: about itself. example: 5 type: integer - required: &75 + required: &81 - id - node_id - owner @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &211 + - &216 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 @@ -1586,6 +1586,19 @@ paths: required: false schema: type: string + - &217 + name: status + description: Returns webhook deliveries filtered by delivery outcome classification + based on `status_code` range. A `status` of `success` returns deliveries + with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` + returns deliveries with a `status_code` in the 400-599 range (inclusive). + in: query + required: false + schema: + type: string + enum: + - success + - failure responses: '200': description: Response @@ -1593,7 +1606,7 @@ paths: application/json: schema: type: array - items: &212 + items: &218 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1686,7 @@ paths: - installation_id - repository_id examples: - default: &213 + default: &219 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1745,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &124 + schema: &129 title: Validation Error description: Validation Error type: object @@ -1801,7 +1814,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &220 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1928,7 @@ paths: - request - response examples: - default: &215 + default: &221 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2116,7 +2129,7 @@ paths: parameters: - *17 - *19 - - &86 + - &92 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) @@ -2699,7 +2712,7 @@ paths: suspended_at: suspended_by: headers: - Link: &61 + Link: &67 example: ; rel="next", ; rel="last" schema: @@ -2888,11 +2901,11 @@ paths: - selected repositories: type: array - items: &73 + items: &79 title: Repository description: A repository on GitHub. type: object - properties: &289 + properties: &295 id: description: Unique identifier of the repository example: 42 @@ -2912,7 +2925,7 @@ paths: title: License Simple description: License Simple type: object - properties: &82 + properties: &88 key: type: string example: mit @@ -2934,7 +2947,7 @@ paths: html_url: type: string format: uri - required: &83 + required: &89 - key - name - url @@ -3343,7 +3356,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &290 + required: &296 - archive_url - assignees_url - blobs_url @@ -5130,7 +5143,7 @@ paths: responses: '202': *39 '422': *7 - '500': &115 + '500': &55 description: Internal Error content: application/json: @@ -7277,7 +7290,7 @@ paths: required: true content: application/json: - schema: &137 + schema: &142 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -7970,7 +7983,7 @@ paths: description: Response content: application/json: - schema: &185 + schema: &190 type: array description: A list of default code security configurations items: @@ -7986,7 +7999,7 @@ paths: default configuration: *49 examples: - default: &186 + default: &191 value: - default_for_new_repos: public configuration: @@ -8326,7 +8339,7 @@ paths: - *40 - *51 responses: - '204': &187 + '204': &192 description: A header with no content is returned. '400': *14 '403': *29 @@ -8453,7 +8466,7 @@ paths: default: value: default_for_new_repos: all - configuration: &184 + configuration: &189 value: id: 1325 target_type: organization @@ -8538,7 +8551,7 @@ paths: application/json: schema: type: array - items: &188 + items: &193 type: object description: Repositories associated with a code security configuration and attachment status @@ -8556,11 +8569,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &60 + repository: &66 title: Simple Repository description: A GitHub repository. type: object - properties: &113 + properties: &119 id: type: integer format: int64 @@ -8787,7 +8800,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &114 + required: &120 - archive_url - assignees_url - blobs_url @@ -8839,7 +8852,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &189 + repository: &194 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8914,6 +8927,212 @@ paths: enabledForGitHubApps: false category: code-security subcategory: configurations + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - *40 + - &56 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &57 + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for + an enterprise/organization for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report + for the enterprise/organization for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + examples: + default: &58 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics + parameters: + - *40 + responses: + '200': + description: Response + content: + application/json: + schema: &59 + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report + for an enterprise/organization. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics + report for the enterprise/organization. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` + format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` + format. + required: + - download_links + - report_start_day + - report_end_day + examples: + default: &60 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - *40 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics + parameters: + - *40 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -8933,7 +9152,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &195 + - &200 name: state in: query description: |- @@ -8942,7 +9161,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &196 + - &201 name: severity in: query description: |- @@ -8951,7 +9170,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &197 + - &202 name: ecosystem in: query description: |- @@ -8960,14 +9179,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &198 + - &203 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 - - &199 + - &204 name: epss_percentage in: query description: |- @@ -8979,7 +9198,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &487 + - &493 name: has in: query description: |- @@ -8993,7 +9212,7 @@ paths: type: string enum: - patch - - &200 + - &205 name: assignee in: query description: |- @@ -9002,7 +9221,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &201 + - &206 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9012,7 +9231,7 @@ paths: enum: - development - runtime - - &202 + - &207 name: sort in: query description: |- @@ -9027,7 +9246,7 @@ paths: - updated - epss_percentage default: created - - *55 + - *61 - *47 - *48 - *17 @@ -9038,11 +9257,11 @@ paths: application/json: schema: type: array - items: &203 + items: &208 type: object description: A Dependabot alert. properties: - number: &174 + number: &179 type: integer description: The security alert number. readOnly: true @@ -9060,7 +9279,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &56 + package: &62 type: object description: Details for the vulnerable package. readOnly: true @@ -9104,7 +9323,7 @@ paths: - unknown - direct - transitive - security_advisory: &488 + security_advisory: &494 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9134,13 +9353,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &59 + items: &65 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *56 + package: *62 severity: type: string description: The severity of the vulnerability. @@ -9206,8 +9425,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *57 - epss: *58 + cvss_severities: *63 + epss: *64 cwes: type: array description: Details for the advisory pertaining to Common @@ -9306,30 +9525,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *59 - url: &177 + security_vulnerability: *65 + url: &182 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &178 + html_url: &183 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &175 + created_at: &180 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: &176 + updated_at: &181 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 - dismissed_at: &180 + dismissed_at: &185 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9359,21 +9578,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &179 + fixed_at: &184 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &489 + auto_dismissed_at: &495 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &490 + dismissal_request: &496 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9416,7 +9635,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *60 + repository: *66 required: - number - state @@ -9435,7 +9654,7 @@ paths: - repository additionalProperties: false examples: - default: &204 + default: &209 value: - number: 2 state: dismissed @@ -9804,7 +10023,7 @@ paths: application/json: schema: type: array - items: &62 + items: &68 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -9875,7 +10094,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -9948,9 +10167,9 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: &70 + default: &76 value: id: 1 name: Justice League @@ -9979,7 +10198,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &63 + - &69 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -9998,7 +10217,7 @@ paths: type: array items: *4 examples: - default: &64 + default: &70 value: - login: octocat id: 1 @@ -10019,7 +10238,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10037,7 +10256,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10068,7 +10287,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10086,7 +10305,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10117,7 +10336,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10135,8 +10354,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *63 - - &65 + - *69 + - &71 name: username description: The handle for the GitHub user account. in: path @@ -10150,7 +10369,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &66 + exampleKey1: &72 value: login: octocat id: 1 @@ -10186,8 +10405,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *63 - - *65 + - *69 + - *71 responses: '201': description: Successfully added team member @@ -10195,7 +10414,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *66 + exampleKey1: *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10213,8 +10432,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *63 - - *65 + - *69 + - *71 responses: '204': description: Response @@ -10236,7 +10455,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *63 + - *69 - *17 - *19 responses: @@ -10246,11 +10465,11 @@ paths: application/json: schema: type: array - items: &67 + items: &73 title: Organization Simple description: A GitHub organization. type: object - properties: &191 + properties: &196 login: type: string example: github @@ -10291,7 +10510,7 @@ paths: type: string example: A great organization nullable: true - required: &192 + required: &197 - login - url - id @@ -10305,7 +10524,7 @@ paths: - avatar_url - description examples: - default: &68 + default: &74 value: login: github id: 1 @@ -10336,7 +10555,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10364,9 +10583,9 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: &110 + default: &116 value: - login: github id: 1 @@ -10397,7 +10616,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10438,8 +10657,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *63 - - &69 + - *69 + - &75 name: org description: The organization name. The name is not case sensitive. in: path @@ -10451,9 +10670,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *67 + schema: *73 examples: - default: *68 + default: *74 '404': description: The team is not assigned to the organization x-github: @@ -10472,16 +10691,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *63 - *69 + - *75 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *67 + schema: *73 examples: - default: *68 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10498,8 +10717,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *63 - *69 + - *75 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10523,7 +10742,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &71 + - &77 name: team_slug description: The slug of the team name. in: path @@ -10535,11 +10754,11 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: *70 + default: *76 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -10557,7 +10776,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *71 + - *77 requestBody: required: true content: @@ -10612,11 +10831,11 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: *70 + default: *76 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -10637,7 +10856,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *71 + - *77 responses: '204': description: Response @@ -10675,7 +10894,7 @@ paths: application/json: schema: type: array - items: &105 + items: &111 title: Event description: Event type: object @@ -10685,7 +10904,7 @@ paths: type: type: string nullable: true - actor: &72 + actor: &78 title: Actor description: Actor type: object @@ -10725,7 +10944,7 @@ paths: - id - name - url - org: *72 + org: *78 payload: oneOf: - title: CreateEvent @@ -10771,7 +10990,7 @@ paths: properties: action: type: string - discussion: &746 + discussion: &752 title: Discussion description: A Discussion in a repository. type: object @@ -11058,7 +11277,7 @@ paths: - id labels: type: array - items: &78 + items: &84 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11133,12 +11352,12 @@ paths: properties: action: type: string - issue: &79 + issue: &85 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &541 + properties: &547 id: type: integer format: int64 @@ -11251,7 +11470,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &273 + properties: &279 url: type: string format: uri @@ -11321,7 +11540,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &274 + required: &280 - closed_issues - creator - description @@ -11400,7 +11619,7 @@ paths: timeline_url: type: string format: uri - type: &236 + type: &242 title: Issue Type description: The type of issue. type: object @@ -11450,7 +11669,7 @@ paths: - node_id - name - description - repository: *73 + repository: *79 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11461,9 +11680,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - author_association: &76 + properties: *80 + required: *81 + author_association: &82 title: author_association type: string example: OWNER @@ -11478,7 +11697,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &77 + reactions: &83 title: Reaction Rollup type: object properties: @@ -11514,7 +11733,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &664 + sub_issues_summary: &670 title: Sub-issues Summary type: object properties: @@ -11539,7 +11758,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &80 + properties: &86 id: description: Unique identifier of the issue comment example: 42 @@ -11582,7 +11801,7 @@ paths: issue_url: type: string format: uri - author_association: *76 + author_association: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -11593,15 +11812,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - reactions: *77 + properties: *80 + required: *81 + reactions: *83 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &563 + properties: &569 pinned_at: type: string format: date-time @@ -11613,11 +11832,11 @@ paths: properties: *20 required: *21 nullable: true - required: &564 + required: &570 - pinned_at - pinned_by nullable: true - required: &81 + required: &87 - id - node_id - html_url @@ -11627,7 +11846,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &665 + issue_dependencies_summary: &671 title: Issue Dependencies Summary type: object properties: @@ -11646,7 +11865,7 @@ paths: - total_blocking issue_field_values: type: array - items: &548 + items: &554 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11707,7 +11926,7 @@ paths: - node_id - data_type - value - required: &542 + required: &548 - assignee - closed_at - comments @@ -11732,10 +11951,10 @@ paths: assignees: type: array items: *4 - label: *78 + label: *84 labels: type: array - items: *78 + items: *84 required: - action - issue @@ -11744,14 +11963,14 @@ paths: properties: action: type: string - issue: *79 - comment: &537 + issue: *85 + comment: &543 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 required: - action - issue @@ -11924,8 +12143,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true allow_forking: type: boolean @@ -12014,7 +12233,7 @@ paths: type: string number: type: integer - pull_request: &84 + pull_request: &90 title: Pull Request Minimal type: object properties: @@ -12085,10 +12304,10 @@ paths: assignees: type: array items: *4 - label: *78 + label: *84 labels: type: array - items: *78 + items: *84 required: - action - number @@ -12098,7 +12317,7 @@ paths: properties: action: type: string - pull_request: *84 + pull_request: *90 comment: type: object properties: @@ -12349,7 +12568,7 @@ paths: - pull_request updated_at: type: string - pull_request: *84 + pull_request: *90 required: - action - review @@ -12398,7 +12617,7 @@ paths: updated_at: type: string format: date-time - reactions: *77 + reactions: *83 required: - action - comment @@ -12409,7 +12628,7 @@ paths: type: string release: allOf: - - &597 + - &603 title: Release description: A release. type: object @@ -12480,7 +12699,7 @@ paths: author: *4 assets: type: array - items: &598 + items: &604 title: Release Asset description: Data related to a release. type: object @@ -12555,7 +12774,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *77 + reactions: *83 required: - assets_url - upload_url @@ -12647,7 +12866,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &116 + '503': &121 description: Service unavailable content: application/json: @@ -12740,7 +12959,7 @@ paths: _links: type: object properties: - timeline: &85 + timeline: &91 title: Link With Type description: Hypermedia Link with Type type: object @@ -12752,17 +12971,17 @@ paths: required: - href - type - user: *85 - security_advisories: *85 - current_user: *85 - current_user_public: *85 - current_user_actor: *85 - current_user_organization: *85 + user: *91 + security_advisories: *91 + current_user: *91 + current_user_public: *91 + current_user_actor: *91 + current_user_organization: *91 current_user_organizations: type: array - items: *85 - repository_discussions: *85 - repository_discussions_category: *85 + items: *91 + repository_discussions: *91 + repository_discussions_category: *91 required: - timeline - user @@ -12824,7 +13043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *86 + - *92 - *17 - *19 responses: @@ -12834,7 +13053,7 @@ paths: application/json: schema: type: array - items: &87 + items: &93 title: Base Gist description: Base Gist type: object @@ -12933,7 +13152,7 @@ paths: - created_at - updated_at examples: - default: &88 + default: &94 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12978,7 +13197,7 @@ paths: site_admin: false truncated: false headers: - Link: *61 + Link: *67 '304': *37 '403': *29 x-github: @@ -13054,7 +13273,7 @@ paths: description: Response content: application/json: - schema: &89 + schema: &95 title: Gist Simple description: Gist Simple type: object @@ -13071,7 +13290,7 @@ paths: url: type: string format: uri - user: &671 + user: &677 title: Public User description: Public User type: object @@ -13433,7 +13652,7 @@ paths: truncated: type: boolean examples: - default: &90 + default: &96 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13537,7 +13756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *86 + - *92 - *17 - *19 responses: @@ -13547,11 +13766,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '403': *29 @@ -13571,7 +13790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *86 + - *92 - *17 - *19 responses: @@ -13581,11 +13800,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '401': *25 '304': *37 '403': *29 @@ -13611,7 +13830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &91 + - &97 name: gist_id description: The unique identifier of the gist. in: path @@ -13623,10 +13842,10 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - default: *90 - '403': &94 + default: *96 + '403': &100 description: Forbidden Gist content: application/json: @@ -13674,7 +13893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *91 + - *97 requestBody: required: true content: @@ -13734,9 +13953,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - updateGist: *90 + updateGist: *96 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13894,7 +14113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -13923,7 +14142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *91 + - *97 - *17 - *19 responses: @@ -13933,7 +14152,7 @@ paths: application/json: schema: type: array - items: &92 + items: &98 title: Gist Comment description: A comment made to a gist. type: object @@ -13968,7 +14187,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *76 + author_association: *82 required: - url - id @@ -14008,7 +14227,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -14033,7 +14252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *91 + - *97 requestBody: required: true content: @@ -14058,9 +14277,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: &93 + default: &99 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14118,8 +14337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *91 - - &95 + - *97 + - &101 name: comment_id description: The unique identifier of the comment. in: path @@ -14132,12 +14351,12 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: *93 + default: *99 '304': *37 '404': *6 - '403': *94 + '403': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14159,8 +14378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *91 - - *95 + - *97 + - *101 requestBody: required: true content: @@ -14185,9 +14404,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: *93 + default: *99 '404': *6 x-github: githubCloudOnly: false @@ -14204,8 +14423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *91 - - *95 + - *97 + - *101 responses: '204': description: Response @@ -14228,7 +14447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *91 + - *97 - *17 - *19 responses: @@ -14329,7 +14548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *91 + - *97 - *17 - *19 responses: @@ -14339,7 +14558,7 @@ paths: application/json: schema: type: array - items: *89 + items: *95 examples: default: value: @@ -14385,7 +14604,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 '304': *37 '403': *29 @@ -14404,13 +14623,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *91 + - *97 responses: '201': description: Response content: application/json: - schema: *87 + schema: *93 examples: default: value: @@ -14481,7 +14700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *91 + - *97 responses: '204': description: Response if gist is starred @@ -14511,7 +14730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -14533,7 +14752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -14562,7 +14781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *91 + - *97 - name: sha in: path required: true @@ -14573,9 +14792,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - default: *90 + default: *96 '422': *15 '404': *6 '403': *29 @@ -14736,7 +14955,7 @@ paths: type: array items: allOf: - - *73 + - *79 repository_selection: type: string example: selected @@ -14859,7 +15078,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '403': *29 '304': *37 '401': *25 @@ -14943,7 +15162,7 @@ paths: - closed - all default: open - - &239 + - &245 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14961,8 +15180,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - name: collab in: query required: false @@ -14992,9 +15211,9 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: &240 + default: &246 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15239,7 +15458,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '404': *6 @@ -15278,8 +15497,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 examples: default: value: @@ -15564,7 +15783,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &96 + X-CommonMarker-Version: &102 example: 0.17.4 schema: type: string @@ -15619,7 +15838,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *96 + X-CommonMarker-Version: *102 content: text/html: schema: @@ -15648,7 +15867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &99 + - &105 name: account_id description: account_id parameter in: path @@ -15660,7 +15879,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &104 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15690,7 +15909,7 @@ paths: nullable: true id: type: integer - plan: &97 + plan: &103 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15779,7 +15998,7 @@ paths: nullable: true updated_at: type: string - plan: *97 + plan: *103 required: - url - id @@ -15787,7 +16006,7 @@ paths: - login - marketplace_purchase examples: - default: &100 + default: &106 value: url: https://api.github.com/orgs/github type: Organization @@ -15872,9 +16091,9 @@ paths: application/json: schema: type: array - items: *97 + items: *103 examples: - default: &101 + default: &107 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15892,7 +16111,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '404': *6 '401': *25 x-github: @@ -15914,14 +16133,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &102 + - &108 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &103 + - &109 name: sort description: The property to sort the results by. in: query @@ -15951,9 +16170,9 @@ paths: application/json: schema: type: array - items: *98 + items: *104 examples: - default: &104 + default: &110 value: - url: https://api.github.com/orgs/github type: Organization @@ -16004,7 +16223,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '404': *6 '422': *15 '401': *25 @@ -16027,15 +16246,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *99 + - *105 responses: '200': description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *100 + default: *106 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -16067,11 +16286,11 @@ paths: application/json: schema: type: array - items: *97 + items: *103 examples: - default: *101 + default: *107 headers: - Link: *61 + Link: *67 '401': *25 x-github: githubCloudOnly: false @@ -16092,8 +16311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *102 - - *103 + - *108 + - *109 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16113,11 +16332,11 @@ paths: application/json: schema: type: array - items: *98 + items: *104 examples: - default: *104 + default: *110 headers: - Link: *61 + Link: *67 '401': *25 x-github: githubCloudOnly: false @@ -16379,14 +16598,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &336 + - &342 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &337 + - &343 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16403,7 +16622,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -16448,7 +16667,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &340 + '301': &346 description: Moved permanently content: application/json: @@ -16470,7 +16689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &573 + - &579 name: all description: If `true`, show notifications marked as read. in: query @@ -16478,7 +16697,7 @@ paths: schema: type: boolean default: false - - &574 + - &580 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16487,8 +16706,8 @@ paths: schema: type: boolean default: false - - *86 - - &575 + - *92 + - &581 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: @@ -16513,18 +16732,18 @@ paths: application/json: schema: type: array - items: &106 + items: &112 title: Thread description: Thread type: object properties: id: type: string - repository: &156 + repository: &161 title: Minimal Repository description: Minimal Repository type: object - properties: &206 + properties: &211 id: type: integer format: int64 @@ -16810,7 +17029,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &291 + security_and_analysis: &297 nullable: true type: object properties: @@ -16923,7 +17142,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &207 + required: &212 - archive_url - assignees_url - blobs_url @@ -17011,7 +17230,7 @@ paths: - url - subscription_url examples: - default: &576 + default: &582 value: - id: '1' repository: @@ -17093,7 +17312,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -17177,7 +17396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &107 + - &113 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 @@ -17191,7 +17410,7 @@ paths: description: Response content: application/json: - schema: *106 + schema: *112 examples: default: value: @@ -17293,7 +17512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *107 + - *113 responses: '205': description: Reset Content @@ -17315,7 +17534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *107 + - *113 responses: '204': description: No content @@ -17338,13 +17557,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *107 + - *113 responses: '200': description: Response content: application/json: - schema: &108 + schema: &114 title: Thread Subscription description: Thread Subscription type: object @@ -17381,7 +17600,7 @@ paths: - url - subscribed examples: - default: &109 + default: &115 value: subscribed: true ignored: false @@ -17412,7 +17631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *107 + - *113 requestBody: required: false content: @@ -17433,9 +17652,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *114 examples: - default: *109 + default: *115 '304': *37 '403': *29 '401': *25 @@ -17458,7 +17677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *107 + - *113 responses: '204': description: Response @@ -17553,9 +17772,9 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: Link: example: ; rel="next" @@ -17582,13 +17801,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &111 + schema: &117 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17621,12 +17840,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *111 + schema: *117 examples: selected_actions: *42 responses: @@ -17655,13 +17874,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &112 + schema: &118 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17694,12 +17913,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *112 + schema: *118 examples: selected_actions: *44 responses: @@ -17728,7 +17947,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *69 + - *75 - name: page in: query description: The page number of results to fetch. @@ -17772,8 +17991,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *113 - required: *114 + properties: *119 + required: *120 nullable: true additionalProperties: false examples: @@ -17879,7 +18098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -17945,7 +18164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *69 + - *75 requestBody: required: true content: @@ -17994,7 +18213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *69 + - *75 - name: page description: The page number of the results to fetch. in: query @@ -18145,7 +18364,7 @@ paths: total_count: 3 '404': *6 '403': *29 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18166,8 +18385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *69 - - &117 + - *75 + - &122 name: budget_id description: The ID corresponding to the budget. in: path @@ -18263,8 +18482,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18284,8 +18503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *69 - - *117 + - *75 + - *122 requestBody: required: true content: @@ -18476,8 +18695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *69 - - *117 + - *75 + - *122 responses: '200': description: Response when deleting a budget @@ -18503,8 +18722,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18524,8 +18743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *69 - - &118 + - *75 + - &123 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18534,7 +18753,7 @@ paths: required: false schema: type: integer - - &120 + - &125 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18543,7 +18762,7 @@ paths: required: false schema: type: integer - - &119 + - &124 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18558,14 +18777,14 @@ paths: required: false schema: type: string - - &721 + - &727 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &121 + - &126 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18681,8 +18900,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18702,9 +18921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *69 - - *118 - - &722 + - *75 + - *123 + - &728 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18713,7 +18932,7 @@ paths: required: false schema: type: integer - - *119 + - *124 responses: '200': description: Billing usage report response for an organization @@ -18788,8 +19007,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18812,19 +19031,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *69 - - *118 - - *120 - - *119 - - &723 + - *75 + - *123 + - *125 + - *124 + - &729 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *121 - - &724 + - *126 + - &730 name: sku description: The SKU to query for usage. in: query @@ -18934,8 +19153,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18961,13 +19180,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &122 + schema: &127 title: Organization Full description: Organization Full type: object @@ -19286,7 +19505,7 @@ paths: - updated_at - archived_at examples: - default-response: &123 + default-response: &128 value: login: github id: 1 @@ -19386,7 +19605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *69 + - *75 requestBody: required: false content: @@ -19602,17 +19821,17 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 '422': description: Validation failed content: application/json: schema: oneOf: - - *124 - - *125 + - *129 + - *130 '409': *54 x-github: githubCloudOnly: false @@ -19636,7 +19855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *69 + - *75 responses: '202': *39 '404': *6 @@ -19661,7 +19880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -19687,7 +19906,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19708,7 +19927,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -19726,7 +19945,7 @@ paths: type: integer repository_cache_usages: type: array - items: &347 + items: &353 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19761,7 +19980,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19781,7 +20000,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -19799,7 +20018,7 @@ paths: type: integer runners: type: array - items: &126 + items: &131 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19853,7 +20072,7 @@ paths: - display_name - source nullable: true - machine_size_details: &134 + machine_size_details: &139 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19949,7 +20168,7 @@ paths: - public_ip_enabled - platform examples: - default: &155 + default: &160 value: total_count: 2 runners: @@ -19991,7 +20210,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20009,7 +20228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -20086,9 +20305,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: &135 + default: &140 value: id: 5 name: My hosted ubuntu runner @@ -20129,7 +20348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20145,7 +20364,7 @@ paths: type: integer images: type: array - items: &127 + items: &132 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20196,7 +20415,7 @@ paths: - latest_version - state examples: - default: &129 + default: &134 value: total_count: 2 image_versions: @@ -20227,8 +20446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *69 - - &128 + - *75 + - &133 name: image_definition_id description: Image definition ID of custom image in: path @@ -20240,7 +20459,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *132 examples: default: value: @@ -20270,8 +20489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *69 - - *128 + - *75 + - *133 responses: '204': description: Response @@ -20294,8 +20513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *128 - - *69 + - *133 + - *75 responses: '200': description: Response @@ -20311,7 +20530,7 @@ paths: type: integer image_versions: type: array - items: &130 + items: &135 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20344,7 +20563,7 @@ paths: - created_on - state_details examples: - default: *129 + default: *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20364,9 +20583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *69 - - *128 - - &131 + - *75 + - *133 + - &136 name: version description: Version of a custom image in: path @@ -20379,7 +20598,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *135 examples: default: value: @@ -20405,9 +20624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *69 - - *128 - - *131 + - *75 + - *133 + - *136 responses: '204': description: Response @@ -20428,7 +20647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20444,7 +20663,7 @@ paths: type: integer images: type: array - items: &132 + items: &137 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20480,7 +20699,7 @@ paths: - display_name - source examples: - default: &133 + default: &138 value: id: ubuntu-20.04 platform: linux-x64 @@ -20504,7 +20723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20520,9 +20739,9 @@ paths: type: integer images: type: array - items: *132 + items: *137 examples: - default: *133 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20539,7 +20758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20592,7 +20811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20608,7 +20827,7 @@ paths: type: integer machine_specs: type: array - items: *134 + items: *139 examples: default: value: @@ -20633,7 +20852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20677,8 +20896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *69 - - &136 + - *75 + - &141 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20690,11 +20909,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20712,8 +20931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *69 - - *136 + - *75 + - *141 requestBody: required: true content: @@ -20765,9 +20984,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20783,16 +21002,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *69 - - *136 + - *75 + - *141 responses: '202': description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20812,7 +21031,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -20845,12 +21064,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *137 + schema: *142 examples: default: *46 responses: @@ -20884,7 +21103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *69 + - *75 - name: custom_property_name in: path required: true @@ -20917,13 +21136,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *69 + - *75 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &138 + schema: &143 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20937,7 +21156,7 @@ paths: required: - include_claim_keys examples: - default: &139 + default: &144 value: include_claim_keys: - repo @@ -20959,20 +21178,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *138 + schema: *143 examples: - default: *139 + default: *144 responses: '201': description: Empty response content: application/json: - schema: &165 + schema: &170 title: Empty Object description: An object without any properties. type: object @@ -21002,7 +21221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -21011,7 +21230,7 @@ paths: schema: type: object properties: - enabled_repositories: &140 + enabled_repositories: &145 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21024,7 +21243,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &141 + allowed_actions: &146 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21032,12 +21251,12 @@ paths: - all - local_only - selected - selected_actions_url: &353 + selected_actions_url: &359 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` is set to `selected`. - sha_pinning_required: &142 + sha_pinning_required: &147 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21068,7 +21287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21079,9 +21298,9 @@ paths: schema: type: object properties: - enabled_repositories: *140 - allowed_actions: *141 - sha_pinning_required: *142 + enabled_repositories: *145 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled_repositories examples: @@ -21109,13 +21328,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &357 + schema: &363 type: object properties: days: @@ -21152,12 +21371,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &358 + schema: &364 type: object properties: days: @@ -21194,13 +21413,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &143 + schema: &148 type: object properties: approval_policy: @@ -21214,7 +21433,7 @@ paths: required: - approval_policy examples: - default: &359 + default: &365 value: approval_policy: first_time_contributors '404': *6 @@ -21235,7 +21454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21245,7 +21464,7 @@ paths: required: true content: application/json: - schema: *143 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -21267,13 +21486,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &360 + schema: &366 type: object required: - run_workflows_from_fork_pull_requests @@ -21299,7 +21518,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &144 + default: &149 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21322,12 +21541,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &361 + schema: &367 type: object required: - run_workflows_from_fork_pull_requests @@ -21350,7 +21569,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *144 + default: *149 responses: '204': description: Empty response for successful settings update @@ -21380,7 +21599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -21398,9 +21617,9 @@ paths: type: number repositories: type: array - items: *73 + items: *79 examples: - default: &148 + default: &153 value: total_count: 1 repositories: @@ -21540,7 +21759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21584,8 +21803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *69 - - &145 + - *75 + - &150 name: repository_id description: The unique identifier of the repository. in: path @@ -21613,8 +21832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -21637,13 +21856,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &146 + schema: &151 type: object properties: github_owned_allowed: @@ -21665,7 +21884,7 @@ paths: items: type: string examples: - default: &147 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -21690,7 +21909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21698,9 +21917,9 @@ paths: required: false content: application/json: - schema: *146 + schema: *151 examples: - selected_actions: *147 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21720,7 +21939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -21768,7 +21987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -21815,7 +22034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -21830,9 +22049,9 @@ paths: type: integer repositories: type: array - items: *73 + items: *79 examples: - default: *148 + default: *153 '403': *29 '404': *6 x-github: @@ -21852,7 +22071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -21900,8 +22119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No content @@ -21927,8 +22146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No content @@ -21956,23 +22175,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &362 + schema: &368 type: object properties: - default_workflow_permissions: &149 + default_workflow_permissions: &154 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &150 + can_approve_pull_request_reviews: &155 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21980,7 +22199,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &151 + default: &156 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22005,7 +22224,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Success response @@ -22013,13 +22232,13 @@ paths: required: false content: application/json: - schema: &363 + schema: &369 type: object properties: - default_workflow_permissions: *149 - can_approve_pull_request_reviews: *150 + default_workflow_permissions: *154 + can_approve_pull_request_reviews: *155 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22039,7 +22258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *69 + - *75 - *17 - *19 - name: visible_to_repository @@ -22064,7 +22283,7 @@ paths: type: number runner_groups: type: array - items: &152 + items: &157 type: object properties: id: @@ -22180,7 +22399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -22252,9 +22471,9 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: - default: &154 + default: &159 value: id: 2 name: octo-runner-group @@ -22289,8 +22508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *69 - - &153 + - *75 + - &158 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22302,7 +22521,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: default: value: @@ -22338,8 +22557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -22393,9 +22612,9 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: - default: *154 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22414,8 +22633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *69 - - *153 + - *75 + - *158 responses: '204': description: Response @@ -22438,8 +22657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *17 - *19 responses: @@ -22457,11 +22676,11 @@ paths: type: number runners: type: array - items: *126 + items: *131 examples: - default: *155 + default: *160 headers: - Link: *61 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22481,8 +22700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *19 - *17 responses: @@ -22500,9 +22719,9 @@ paths: type: number repositories: type: array - items: *156 + items: *161 examples: - default: &194 + default: &199 value: total_count: 1 repositories: @@ -22754,8 +22973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -22799,9 +23018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 - - *145 + - *75 + - *158 + - *150 responses: '204': description: Response @@ -22823,9 +23042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 - - *145 + - *75 + - *158 + - *150 responses: '204': description: Response @@ -22848,8 +23067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *17 - *19 responses: @@ -22867,7 +23086,7 @@ paths: type: number runners: type: array - items: &158 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -22896,7 +23115,7 @@ paths: type: boolean labels: type: array - items: &161 + items: &166 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22926,7 +23145,7 @@ paths: - busy - labels examples: - default: &159 + default: &164 value: total_count: 2 runners: @@ -22966,7 +23185,7 @@ paths: name: no-gpu type: custom headers: - Link: *61 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22985,8 +23204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -23030,9 +23249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *69 - - *153 - - &157 + - *75 + - *158 + - &162 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23060,9 +23279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *69 - - *153 - - *157 + - *75 + - *158 + - *162 responses: '204': description: Response @@ -23092,7 +23311,7 @@ paths: in: query schema: type: string - - *69 + - *75 - *17 - *19 responses: @@ -23110,11 +23329,11 @@ paths: type: integer runners: type: array - items: *158 + items: *163 examples: - default: *159 + default: *164 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23136,7 +23355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -23144,7 +23363,7 @@ paths: application/json: schema: type: array - items: &364 + items: &370 title: Runner Application description: Runner Application type: object @@ -23169,7 +23388,7 @@ paths: - download_url - filename examples: - default: &365 + default: &371 value: - os: osx architecture: x64 @@ -23212,7 +23431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -23255,7 +23474,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &366 + '201': &372 description: Response content: application/json: @@ -23265,7 +23484,7 @@ paths: - runner - encoded_jit_config properties: - runner: *158 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23322,13 +23541,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *69 + - *75 responses: '201': description: Response content: application/json: - schema: &160 + schema: &165 title: Authentication Token description: Authentication Token type: object @@ -23350,7 +23569,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *73 + items: *79 single_file: type: string example: config.yaml @@ -23366,7 +23585,7 @@ paths: - token - expires_at examples: - default: &367 + default: &373 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23397,15 +23616,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *69 + - *75 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: &368 + default: &374 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23430,16 +23649,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: '200': description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: &369 + default: &375 value: id: 23 name: MBP @@ -23480,8 +23699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: '204': description: Response @@ -23507,10 +23726,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: - '200': &162 + '200': &167 description: Response content: application/json: @@ -23524,7 +23743,7 @@ paths: type: integer labels: type: array - items: *161 + items: *166 examples: default: value: @@ -23563,8 +23782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 requestBody: required: true content: @@ -23588,7 +23807,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -23612,8 +23831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 requestBody: required: true content: @@ -23638,7 +23857,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -23662,10 +23881,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: - '200': &370 + '200': &376 description: Response content: application/json: @@ -23679,7 +23898,7 @@ paths: type: integer labels: type: array - items: *161 + items: *166 examples: default: value: @@ -23720,9 +23939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 - - &371 + - *75 + - *162 + - &377 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23730,7 +23949,7 @@ paths: schema: type: string responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -23755,7 +23974,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -23773,7 +23992,7 @@ paths: type: integer secrets: type: array - items: &163 + items: &168 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23823,7 +24042,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23846,13 +24065,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &383 + schema: &389 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23881,7 +24100,7 @@ paths: - key_id - key examples: - default: &384 + default: &390 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23906,8 +24125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *69 - - &164 + - *75 + - &169 name: secret_name description: The name of the secret. in: path @@ -23919,7 +24138,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *168 examples: default: value: @@ -23949,8 +24168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -24007,7 +24226,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -24033,8 +24252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -24060,8 +24279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -24079,9 +24298,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: &168 + default: &173 value: total_count: 1 repositories: @@ -24173,8 +24392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -24226,8 +24445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -24260,8 +24479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -24293,8 +24512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *69 - - &352 + - *75 + - &358 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24318,7 +24537,7 @@ paths: type: integer variables: type: array - items: &166 + items: &171 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24382,7 +24601,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24403,7 +24622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *69 + - *75 requestBody: required: true content: @@ -24451,7 +24670,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -24476,8 +24695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *69 - - &167 + - *75 + - &172 name: name description: The name of the variable. in: path @@ -24489,7 +24708,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *171 examples: default: value: @@ -24519,8 +24738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 requestBody: required: true content: @@ -24582,8 +24801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 responses: '204': description: Response @@ -24609,8 +24828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - *19 - *17 responses: @@ -24628,9 +24847,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24656,8 +24875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 requestBody: required: true content: @@ -24706,8 +24925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - name: repository_id in: path required: true @@ -24741,8 +24960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - name: repository_id in: path required: true @@ -24783,7 +25002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *69 + - *75 requestBody: required: true content: @@ -24899,7 +25118,7 @@ paths: type: integer deployment_records: type: array - items: &169 + items: &174 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -24943,7 +25162,7 @@ paths: with the deployment record. nullable: true examples: - default: &170 + default: &175 value: total_count: 1 deployment_records: @@ -24958,6 +25177,8 @@ paths: created: '2011-01-26T19:14:43Z' updated_at: '2011-01-26T19:14:43Z' attestation_id: 456 + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24978,7 +25199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *69 + - *75 - name: cluster in: path description: The cluster name. @@ -25114,9 +25335,11 @@ paths: type: integer deployment_records: type: array - items: *169 + items: *174 examples: - default: *170 + default: *175 + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25136,7 +25359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *69 + - *75 requestBody: required: true content: @@ -25271,6 +25494,8 @@ paths: status: active created_at: '2023-10-01T12:00:00Z' updated_at: '2023-10-01T12:00:00Z' + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25288,7 +25513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *69 + - *75 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25313,9 +25538,9 @@ paths: type: integer deployment_records: type: array - items: *169 + items: *174 examples: - default: *170 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25335,7 +25560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *69 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25420,7 +25645,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 requestBody: required: true content: @@ -25444,12 +25669,12 @@ paths: required: - subject_digests examples: - default: &703 + default: &709 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &704 + withPredicateType: &710 value: subject_digests: - sha256:abc123 @@ -25507,7 +25732,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &705 + default: &711 value: attestations_subject_digests: - sha256:abc: @@ -25616,7 +25841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *69 + - *75 requestBody: required: true content: @@ -25681,7 +25906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *69 + - *75 - name: subject_digest description: Subject Digest in: path @@ -25716,7 +25941,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -25764,7 +25989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *69 + - *75 - name: attestation_id description: Attestation ID in: path @@ -25802,7 +26027,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25857,7 +26082,7 @@ paths: initiator: type: string examples: - default: &397 + default: &403 value: attestations: - bundle: @@ -25964,7 +26189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -25976,7 +26201,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25995,8 +26220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: If the user is blocked @@ -26021,8 +26246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -26042,8 +26267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -26068,15 +26293,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *69 + - *75 - *19 - *17 - - *55 + - *61 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &171 + schema: &176 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26102,7 +26327,7 @@ paths: application/json: schema: type: array - items: &172 + items: &177 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26133,7 +26358,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &193 + items: &198 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -26208,7 +26433,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &251 + properties: &257 id: description: Unique identifier of the team type: integer @@ -26280,7 +26505,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &252 + required: &258 - id - node_id - url @@ -26323,7 +26548,7 @@ paths: type: string format: date-time nullable: true - state: *171 + state: *176 contact_link: description: The contact link of the campaign. type: string @@ -26418,9 +26643,9 @@ paths: closed_at: state: open headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26444,7 +26669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -26543,9 +26768,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: &173 + default: &178 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26594,7 +26819,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26616,7 +26841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -26628,16 +26853,16 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: *173 + default: *178 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26658,7 +26883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -26707,7 +26932,7 @@ paths: type: string format: uri nullable: true - state: *171 + state: *176 examples: default: value: @@ -26717,9 +26942,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: *173 + default: *178 '400': description: Bad Request content: @@ -26731,7 +26956,7 @@ paths: content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26752,7 +26977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -26763,7 +26988,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26785,18 +27010,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *69 - - &422 + - *75 + - &428 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: &181 + schema: &186 type: string description: The name of the tool used to generate the code scanning analysis. - - &423 + - &429 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 @@ -26804,7 +27029,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &182 + schema: &187 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -26813,13 +27038,13 @@ paths: - *48 - *19 - *17 - - *55 + - *61 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &425 + schema: &431 type: string description: State of a code scanning alert. enum: @@ -26842,7 +27067,7 @@ paths: be returned. in: query required: false - schema: &426 + schema: &432 type: string description: Severity of a code scanning alert. enum: @@ -26871,18 +27096,18 @@ paths: items: type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: &427 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: &433 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &183 + state: &188 type: string description: State of a code scanning alert. nullable: true @@ -26890,7 +27115,7 @@ paths: - open - dismissed - fixed - fixed_at: *179 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -26898,8 +27123,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: &428 + dismissed_at: *185 + dismissed_reason: &434 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26908,13 +27133,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &429 + dismissed_comment: &435 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &430 + rule: &436 type: object properties: id: @@ -26967,42 +27192,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &431 + tool: &437 type: object properties: - name: *181 + name: *186 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *182 - most_recent_instance: &432 + guid: *187 + most_recent_instance: &438 type: object properties: - ref: &424 + ref: &430 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &442 + analysis_key: &448 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &443 + environment: &449 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &444 + category: &450 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: *183 + state: *188 commit_sha: type: string message: @@ -27010,7 +27235,13 @@ paths: properties: text: type: string - location: &445 + markdown: + type: string + description: The message text as GitHub-flavored Markdown, + with placeholder links for related locations replaced + by links to the relevant code. Only populated when + related locations are available for the alert instance. + location: &451 type: object description: Describe a region within a file for the alert. properties: @@ -27031,7 +27262,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &446 + items: &452 type: string description: A classification of the file. For example to identify it as generated. @@ -27041,7 +27272,7 @@ paths: - generated - test - library - repository: *60 + repository: *66 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -27296,9 +27527,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27320,7 +27551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *69 + - *75 - name: target_type in: query description: The target type of the code security configuration @@ -27431,7 +27662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *69 + - *75 requestBody: required: true content: @@ -27668,7 +27899,7 @@ paths: application/json: schema: *49 examples: - default: *184 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27690,15 +27921,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *185 + schema: *190 examples: - default: *186 + default: *191 '304': *37 '403': *29 '404': *6 @@ -27724,7 +27955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *69 + - *75 requestBody: required: true content: @@ -27750,7 +27981,7 @@ paths: - 32 - 91 responses: - '204': *187 + '204': *192 '400': *14 '403': *29 '404': *6 @@ -27776,7 +28007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *69 + - *75 - *51 responses: '200': @@ -27785,7 +28016,7 @@ paths: application/json: schema: *49 examples: - default: *184 + default: *189 '304': *37 '403': *29 '404': *6 @@ -27809,7 +28040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -28082,10 +28313,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *69 + - *75 - *51 responses: - '204': *187 + '204': *192 '400': *14 '403': *29 '404': *6 @@ -28113,7 +28344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -28177,7 +28408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -28223,7 +28454,7 @@ paths: default: value: default_for_new_repos: all - configuration: *184 + configuration: *189 '403': *29 '404': *6 x-github: @@ -28247,7 +28478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *69 + - *75 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -28276,13 +28507,13 @@ paths: application/json: schema: type: array - items: *188 + items: *193 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *189 + repository: *194 '403': *29 '404': *6 x-github: @@ -28306,7 +28537,7 @@ paths: parameters: - *17 - *19 - - *69 + - *75 responses: '200': description: Response @@ -28322,7 +28553,7 @@ paths: type: integer codespaces: type: array - items: &241 + items: &247 type: object title: Codespace description: A codespace. @@ -28347,12 +28578,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *156 + repository: *161 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &458 + properties: &464 name: type: string description: The name of the machine. @@ -28394,7 +28625,7 @@ paths: - ready - in_progress nullable: true - required: &459 + required: &465 - name - display_name - operating_system @@ -28599,7 +28830,7 @@ paths: - pulls_url - recent_folders examples: - default: &242 + default: &248 value: total_count: 3 codespaces: @@ -29009,7 +29240,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29031,7 +29262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *69 + - *75 deprecated: true requestBody: required: true @@ -29075,7 +29306,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29098,7 +29329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *69 + - *75 deprecated: true requestBody: required: true @@ -29130,7 +29361,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29153,7 +29384,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *69 + - *75 requestBody: required: true content: @@ -29184,7 +29415,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29205,7 +29436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -29223,7 +29454,7 @@ paths: type: integer secrets: type: array - items: &190 + items: &195 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29262,7 +29493,7 @@ paths: - updated_at - visibility examples: - default: &460 + default: &466 value: total_count: 2 secrets: @@ -29275,7 +29506,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29294,13 +29525,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &461 + schema: &467 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29329,7 +29560,7 @@ paths: - key_id - key examples: - default: &462 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29352,23 +29583,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: Response content: application/json: - schema: *190 + schema: *195 examples: - default: &464 + default: &470 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29388,8 +29619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -29444,7 +29675,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -29470,8 +29701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -29496,8 +29727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -29515,9 +29746,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29539,8 +29770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -29590,8 +29821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -29624,8 +29855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -29664,7 +29895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: OK @@ -29773,7 +30004,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29805,7 +30036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *69 + - *75 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -29828,7 +30059,7 @@ paths: currently being billed. seats: type: array - items: &244 + items: &250 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -29845,15 +30076,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *191 - required: *192 + properties: *196 + required: *197 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *193 - - *62 + - *198 + - *68 nullable: true pending_cancellation_date: type: string @@ -29977,8 +30208,8 @@ paths: type: User site_admin: false headers: - Link: *61 - '500': *115 + Link: *67 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30011,7 +30242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -30053,7 +30284,7 @@ paths: default: value: seats_created: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30089,7 +30320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -30131,7 +30362,7 @@ paths: default: value: seats_cancelled: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30169,7 +30400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -30210,7 +30441,7 @@ paths: default: value: seats_created: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30246,7 +30477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -30288,7 +30519,7 @@ paths: default: value: seats_cancelled: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30324,7 +30555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -30361,7 +30592,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30389,7 +30620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -30414,7 +30645,7 @@ paths: responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30444,7 +30675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -30459,13 +30690,13 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 required: - total_count - repositories examples: - default: *194 - '500': *115 + default: *199 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30493,7 +30724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -30519,7 +30750,7 @@ paths: responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30549,12 +30780,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30583,12 +30814,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30623,7 +30854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *69 + - *75 responses: '200': description: OK @@ -30643,7 +30874,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30676,7 +30907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *69 + - *75 requestBody: description: The content exclusion rules to set required: true @@ -30728,7 +30959,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30767,7 +30998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *69 + - *75 - 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`). @@ -30799,7 +31030,7 @@ paths: application/json: schema: type: array - items: &329 + items: &335 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31106,7 +31337,7 @@ paths: - date additionalProperties: true examples: - default: &330 + default: &336 value: - date: '2024-06-24' total_active_users: 24 @@ -31205,10 +31436,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *115 + '500': *55 '403': *29 '404': *6 - '422': &331 + '422': &337 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -31219,6 +31450,156 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/orgs/{org}/copilot/metrics/reports/organization-1-day": + get: + summary: Get Copilot organization usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day + parameters: + - *75 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": + get: + summary: Get Copilot organization usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics + parameters: + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot organization users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day + parameters: + - *75 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot organization users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics + parameters: + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -31235,12 +31616,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *69 - - *195 - - *196 - - *197 - - *198 - - *199 + - *75 + - *200 + - *201 + - *202 + - *203 + - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31270,7 +31651,7 @@ paths: enum: - patch - deployment - - *200 + - *205 - name: runtime_risk in: query description: |- @@ -31279,9 +31660,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *201 - - *202 - - *55 + - *206 + - *207 + - *61 - *47 - *48 - *17 @@ -31292,9 +31673,9 @@ paths: application/json: schema: type: array - items: *203 + items: *208 examples: - default: *204 + default: *209 '304': *37 '400': *14 '403': *29 @@ -31320,7 +31701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -31338,7 +31719,7 @@ paths: type: integer secrets: type: array - items: &205 + items: &210 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31388,7 +31769,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31409,13 +31790,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &493 + schema: &499 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31432,7 +31813,7 @@ paths: - key_id - key examples: - default: &494 + default: &500 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31455,14 +31836,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: Response content: application/json: - schema: *205 + schema: *210 examples: default: value: @@ -31490,8 +31871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -31548,7 +31929,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -31572,8 +31953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -31597,8 +31978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -31616,9 +31997,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31639,8 +32020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -31690,8 +32071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -31722,8 +32103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -31753,7 +32134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -31761,7 +32142,7 @@ paths: application/json: schema: type: array - items: &254 + items: &260 title: Package description: A software package type: object @@ -31811,8 +32192,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *206 - required: *207 + properties: *211 + required: *212 nullable: true created_at: type: string @@ -31831,7 +32212,7 @@ paths: - created_at - updated_at examples: - default: &255 + default: &261 value: - id: 197 name: hello_docker @@ -31909,7 +32290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *69 + - *75 - *17 - *19 responses: @@ -31919,7 +32300,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: 200-response: value: @@ -31991,7 +32372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *69 + - *75 - *17 - *19 responses: @@ -32001,7 +32382,7 @@ paths: application/json: schema: type: array - items: &230 + items: &236 title: Organization Invitation description: Organization Invitation type: object @@ -32048,7 +32429,7 @@ paths: - invitation_teams_url - node_id examples: - default: &231 + default: &237 value: - id: 1 login: monalisa @@ -32081,7 +32462,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -32105,7 +32486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *69 + - *75 - *17 - *19 responses: @@ -32115,7 +32496,7 @@ paths: application/json: schema: type: array - items: &208 + items: &213 title: Org Hook description: Org Hook type: object @@ -32203,7 +32584,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -32226,7 +32607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *69 + - *75 requestBody: required: true content: @@ -32286,9 +32667,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: - default: &209 + default: &214 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32335,8 +32716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *69 - - &210 + - *75 + - &215 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. @@ -32349,9 +32730,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: - default: *209 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -32378,8 +32759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 requestBody: required: false content: @@ -32424,7 +32805,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: default: value: @@ -32465,8 +32846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 responses: '204': description: Response @@ -32493,8 +32874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *69 - - *210 + - *75 + - *215 responses: '200': description: Response @@ -32524,8 +32905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *69 - - *210 + - *75 + - *215 requestBody: required: false content: @@ -32575,10 +32956,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 - *17 - - *211 + - *216 + - *217 responses: '200': description: Response @@ -32586,9 +32968,9 @@ paths: application/json: schema: type: array - items: *212 + items: *218 examples: - default: *213 + default: *219 '400': *14 '422': *15 x-github: @@ -32613,17 +32995,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 '400': *14 '422': *15 x-github: @@ -32648,8 +33030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 - *16 responses: '202': *39 @@ -32678,8 +33060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 responses: '204': description: Response @@ -32701,8 +33083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *69 - - &220 + - *75 + - &226 name: actor_type in: path description: The type of the actor @@ -32715,14 +33097,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &221 + - &227 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &216 + - &222 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`.' @@ -32730,7 +33112,7 @@ paths: required: true schema: type: string - - &217 + - &223 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) @@ -32741,7 +33123,7 @@ paths: type: string - *19 - *17 - - *55 + - *61 - name: sort description: The property to sort the results by. in: query @@ -32823,13 +33205,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *69 - - *216 - - *217 + - *75 + - *222 + - *223 - *19 - *17 - - *55 - - &226 + - *61 + - &232 name: sort description: The property to sort the results by. in: query @@ -32906,15 +33288,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *69 - - *216 - - *217 + - *75 + - *222 + - *223 responses: '200': description: Response content: application/json: - schema: &218 + schema: &224 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -32930,7 +33312,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &225 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -32950,24 +33332,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *69 - - &222 + - *75 + - &228 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *216 - - *217 + - *222 + - *223 responses: '200': description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *219 + default: *225 x-github: enabledForGitHubApps: true category: orgs @@ -32985,19 +33367,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *69 - - *216 - - *217 - - *220 - - *221 + - *75 + - *222 + - *223 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *219 + default: *225 x-github: enabledForGitHubApps: true category: orgs @@ -33014,10 +33396,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *69 - - *216 - - *217 - - &223 + - *75 + - *222 + - *223 + - &229 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33030,7 +33412,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &230 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33046,7 +33428,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &231 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33082,19 +33464,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *69 + - *75 + - *228 - *222 - - *216 - - *217 - *223 + - *229 responses: '200': description: Response content: application/json: - schema: *224 + schema: *230 examples: - default: *225 + default: *231 x-github: enabledForGitHubApps: true category: orgs @@ -33111,20 +33493,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *69 - - *220 - - *221 - - *216 - - *217 + - *75 + - *226 + - *227 + - *222 - *223 + - *229 responses: '200': description: Response content: application/json: - schema: *224 + schema: *230 examples: - default: *225 + default: *231 x-github: enabledForGitHubApps: true category: orgs @@ -33141,14 +33523,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *69 + - *75 + - *228 - *222 - - *216 - - *217 + - *223 - *19 - *17 - - *55 - - *226 + - *61 + - *232 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33221,7 +33603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *69 + - *75 responses: '200': description: Response @@ -33229,7 +33611,7 @@ paths: application/json: schema: *22 examples: - default: &532 + default: &538 value: id: 1 account: @@ -33298,7 +33680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -33368,7 +33750,7 @@ paths: suspended_at: suspended_by: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33387,7 +33769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -33395,12 +33777,12 @@ paths: application/json: schema: anyOf: - - &228 + - &234 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &227 + limit: &233 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33425,7 +33807,7 @@ paths: properties: {} additionalProperties: false examples: - default: &229 + default: &235 value: limit: collaborators_only origin: organization @@ -33449,18 +33831,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &533 + schema: &539 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *227 + limit: *233 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33484,9 +33866,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *234 examples: - default: *229 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -33504,7 +33886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -33528,7 +33910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *69 + - *75 - *17 - *19 - name: role @@ -33562,11 +33944,11 @@ paths: application/json: schema: type: array - items: *230 + items: *236 examples: - default: *231 + default: *237 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -33587,7 +33969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *69 + - *75 requestBody: required: false content: @@ -33641,7 +34023,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *236 examples: default: value: @@ -33695,8 +34077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *69 - - &232 + - *75 + - &238 name: invitation_id description: The unique identifier of the invitation. in: path @@ -33726,8 +34108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *69 - - *232 + - *75 + - *238 - *17 - *19 responses: @@ -33737,9 +34119,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: &253 + default: &259 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33755,7 +34137,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -33774,7 +34156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -33782,7 +34164,7 @@ paths: application/json: schema: type: array - items: &233 + items: &239 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -33925,7 +34307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -34015,9 +34397,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: &234 + default: &240 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -34072,8 +34454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *69 - - &235 + - *75 + - &241 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -34172,9 +34554,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: *234 + default: *240 '404': *6 '422': *7 x-github: @@ -34198,10 +34580,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *69 - - *235 + - *75 + - *241 responses: - '204': *187 + '204': *192 '404': *6 '422': *7 x-github: @@ -34221,7 +34603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -34229,7 +34611,7 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: default: value: @@ -34267,7 +34649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -34314,9 +34696,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: &237 + default: &243 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34348,8 +34730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *69 - - &238 + - *75 + - &244 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34402,9 +34784,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *237 + default: *243 '404': *6 '422': *7 x-github: @@ -34428,8 +34810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *69 - - *238 + - *75 + - *244 responses: '204': description: Response @@ -34462,7 +34844,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *69 + - *75 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34492,7 +34874,7 @@ paths: - closed - all default: open - - *239 + - *245 - name: type description: Can be the name of an issue type. in: query @@ -34510,8 +34892,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -34521,11 +34903,11 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *240 + default: *246 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -34545,7 +34927,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *69 + - *75 - 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) @@ -34583,9 +34965,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -34603,8 +34985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response if requester is an organization member and user is @@ -34638,8 +35020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -34665,8 +35047,8 @@ paths: parameters: - *17 - *19 - - *69 - - *65 + - *75 + - *71 responses: '200': description: Response @@ -34682,11 +35064,11 @@ paths: type: integer codespaces: type: array - items: *241 + items: *247 examples: - default: *242 + default: *248 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -34709,9 +35091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *69 - - *65 - - &243 + - *75 + - *71 + - &249 name: codespace_name in: path required: true @@ -34721,7 +35103,7 @@ paths: responses: '202': *39 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -34744,17 +35126,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *69 - - *65 - - *243 + - *75 + - *71 + - *249 responses: '200': description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: &457 + default: &463 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34896,7 +35278,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -34927,14 +35309,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *244 + schema: *250 examples: default: value: @@ -34978,7 +35360,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -35003,14 +35385,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '200': description: Response content: application/json: - schema: &245 + schema: &251 title: Org Membership description: Org Membership type: object @@ -35054,7 +35436,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *67 + organization: *73 user: title: Simple User description: A GitHub user. @@ -35077,7 +35459,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &246 + response-if-user-has-an-active-admin-membership-with-organization: &252 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35149,8 +35531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 requestBody: required: false content: @@ -35178,9 +35560,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *251 examples: - response-if-user-already-had-membership-with-organization: *246 + response-if-user-already-had-membership-with-organization: *252 '422': *15 '403': *29 x-github: @@ -35204,8 +35586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -35230,7 +35612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *69 + - *75 - *17 - *19 - name: exclude @@ -35251,7 +35633,7 @@ paths: application/json: schema: type: array - items: &247 + items: &253 title: Migration description: A migration. type: object @@ -35292,7 +35674,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *73 + items: *79 url: type: string format: uri @@ -35488,7 +35870,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35504,7 +35886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *69 + - *75 requestBody: required: true content: @@ -35580,7 +35962,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -35758,8 +36140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *69 - - &248 + - *75 + - &254 name: migration_id description: The unique identifier of the migration. in: path @@ -35786,7 +36168,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -35955,8 +36337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *69 - - *248 + - *75 + - *254 responses: '302': description: Response @@ -35977,8 +36359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *69 - - *248 + - *75 + - *254 responses: '204': description: Response @@ -36001,9 +36383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *69 - - *248 - - &686 + - *75 + - *254 + - &692 name: repo_name description: repo_name parameter in: path @@ -36030,8 +36412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *69 - - *248 + - *75 + - *254 - *17 - *19 responses: @@ -36041,9 +36423,9 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: &260 + default: &266 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36156,7 +36538,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -36182,7 +36564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response - list of organization roles @@ -36198,7 +36580,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &250 + items: &256 title: Organization Role description: Organization roles type: object @@ -36345,8 +36727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -36371,9 +36753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *69 - - *71 - - &249 + - *75 + - *77 + - &255 name: role_id description: The unique identifier of the role. in: path @@ -36408,9 +36790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *69 - - *71 - - *249 + - *75 + - *77 + - *255 responses: '204': description: Response @@ -36435,8 +36817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -36461,9 +36843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *69 - - *65 - - *249 + - *75 + - *71 + - *255 responses: '204': description: Response @@ -36493,9 +36875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *69 - - *65 - - *249 + - *75 + - *71 + - *255 responses: '204': description: Response @@ -36523,14 +36905,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *69 - - *249 + - *75 + - *255 responses: '200': description: Response content: application/json: - schema: *250 + schema: *256 examples: default: value: @@ -36580,8 +36962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *69 - - *249 + - *75 + - *255 - *17 - *19 responses: @@ -36659,8 +37041,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *257 + required: *258 nullable: true type: description: The ownership type of the team @@ -36692,9 +37074,9 @@ paths: - type - parent examples: - default: *253 + default: *259 headers: - Link: *61 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -36721,8 +37103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *69 - - *249 + - *75 + - *255 - *17 - *19 responses: @@ -36750,13 +37132,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &325 + items: &331 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *257 + required: *258 name: nullable: true type: string @@ -36851,9 +37233,9 @@ paths: - type - url examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -36875,7 +37257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *69 + - *75 - 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) @@ -36902,9 +37284,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36927,8 +37309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *69 - - *65 + - *75 + - *71 requestBody: required: false content: @@ -36985,8 +37367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -37043,8 +37425,8 @@ paths: - docker - nuget - container - - *69 - - &687 + - *75 + - &693 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -37080,12 +37462,12 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: *255 + default: *261 '403': *29 '401': *25 - '400': &689 + '400': &695 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37107,7 +37489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &256 + - &262 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 @@ -37125,20 +37507,20 @@ paths: - docker - nuget - container - - &257 + - &263 name: package_name description: The name of the package. in: path required: true schema: type: string - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *254 + schema: *260 examples: default: value: @@ -37190,9 +37572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *256 - - *257 - - *69 + - *262 + - *263 + - *75 responses: '204': description: Response @@ -37224,9 +37606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *256 - - *257 - - *69 + - *262 + - *263 + - *75 - name: token description: package token schema: @@ -37258,9 +37640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *256 - - *257 - - *69 + - *262 + - *263 + - *75 - *19 - *17 - name: state @@ -37280,7 +37662,7 @@ paths: application/json: schema: type: array - items: &258 + items: &264 title: Package Version description: A version of a software package type: object @@ -37405,10 +37787,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *256 - - *257 - - *69 - - &259 + - *262 + - *263 + - *75 + - &265 name: package_version_id description: Unique identifier of the package version. in: path @@ -37420,7 +37802,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *264 examples: default: value: @@ -37456,10 +37838,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *256 - - *257 - - *69 - - *259 + - *262 + - *263 + - *75 + - *265 responses: '204': description: Response @@ -37491,10 +37873,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *256 - - *257 - - *69 - - *259 + - *262 + - *263 + - *75 + - *265 responses: '204': description: Response @@ -37521,10 +37903,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *69 + - *75 - *17 - *19 - - &261 + - &267 name: sort description: The property by which to sort the results. in: query @@ -37534,8 +37916,8 @@ paths: enum: - created_at default: created_at - - *55 - - &262 + - *61 + - &268 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37546,7 +37928,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &263 + - &269 name: repository description: The name of the repository to use to filter the results. in: query @@ -37554,7 +37936,7 @@ paths: schema: type: string example: Hello-World - - &264 + - &270 name: permission description: The permission to use to filter the results. in: query @@ -37562,7 +37944,7 @@ paths: schema: type: string example: issues_read - - &265 + - &271 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) @@ -37572,7 +37954,7 @@ paths: schema: type: string format: date-time - - &266 + - &272 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) @@ -37582,7 +37964,7 @@ paths: schema: type: string format: date-time - - &267 + - &273 name: token_id description: The ID of the token in: query @@ -37594,7 +37976,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -37726,7 +38108,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37746,7 +38128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *69 + - *75 requestBody: required: true content: @@ -37787,7 +38169,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -37812,7 +38194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *69 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37848,11 +38230,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37873,7 +38255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *69 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37884,7 +38266,7 @@ paths: - *17 - *19 responses: - '500': *115 + '500': *55 '404': *6 '403': *29 '200': @@ -37893,11 +38275,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37918,19 +38300,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *69 + - *75 - *17 - *19 - - *261 - - *55 - - *262 - - *263 - - *264 - - *265 - - *266 - *267 + - *61 + - *268 + - *269 + - *270 + - *271 + - *272 + - *273 responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -38057,7 +38439,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38077,7 +38459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *69 + - *75 requestBody: required: true content: @@ -38112,7 +38494,7 @@ paths: - 1296269 - 1296280 responses: - '500': *115 + '500': *55 '404': *6 '202': *39 '403': *29 @@ -38137,7 +38519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *69 + - *75 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -38165,9 +38547,9 @@ paths: value: action: revoke responses: - '500': *115 + '500': *55 '404': *6 - '204': *187 + '204': *192 '403': *29 '422': *15 x-github: @@ -38189,7 +38571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *69 + - *75 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -38199,7 +38581,7 @@ paths: - *17 - *19 responses: - '500': *115 + '500': *55 '404': *6 '403': *29 '200': @@ -38208,11 +38590,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38234,7 +38616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -38252,7 +38634,7 @@ paths: type: integer configurations: type: array - items: &268 + items: &274 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38280,6 +38662,15 @@ paths: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -38308,6 +38699,36 @@ paths: - private - selected type: string + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -38332,7 +38753,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *61 + Link: *67 '400': *14 '404': *6 x-github: @@ -38345,6 +38766,7 @@ paths: description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -38354,7 +38776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -38404,11 +38826,14 @@ paths: description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. + endpoint. Required when `auth_type` is `token` or `username_password`. + Should be omitted for OIDC auth types. type: string pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" key_id: - description: The ID of the key you used to encrypt the secret. + description: The ID of the key you used to encrypt the secret. Required + when `auth_type` is `token` or `username_password`. Should be + omitted for OIDC auth types. type: string visibility: description: Which type of organization repositories have access @@ -38431,11 +38856,58 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. Defaults + to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or + `oidc_jfrog` for OIDC authentication. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string required: - registry_type - url - - encrypted_value - - key_id - visibility examples: org-private-registry-with-private-visibility: @@ -38462,6 +38934,15 @@ paths: selected_repository_ids: - 1296269 - 1296280 + org-private-registry-with-oidc-azure: + summary: Example of an OIDC private registry configuration using Azure + value: + registry_type: docker_registry + url: https://myregistry.azurecr.io + auth_type: oidc_azure + visibility: all + tenant_id: 12345678-1234-1234-1234-123456789012 + client_id: abcdef01-2345-6789-abcd-ef0123456789 responses: '201': description: The organization private registry configuration @@ -38495,6 +38976,15 @@ paths: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -38529,6 +39019,36 @@ paths: private registry when `visibility` is set to `selected`. items: type: integer + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -38542,7 +39062,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &269 + org-private-registry-with-selected-visibility: &275 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -38583,7 +39103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -38609,7 +39129,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -38631,16 +39151,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *268 + schema: *274 examples: - default: *269 + default: *275 '404': *6 x-github: githubCloudOnly: false @@ -38652,6 +39172,7 @@ paths: description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -38661,8 +39182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -38736,12 +39257,71 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. This + field cannot be changed after creation. If provided, it must match + the existing `auth_type` of the configuration. To change the authentication + type, delete and recreate the configuration. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string examples: - default: + secret-based-update: + summary: Update a secret-based private registry value: username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' + oidc-azure-update: + summary: Update an OIDC private registry (Azure) + value: + tenant_id: 12345678-1234-1234-1234-123456789012 + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 responses: '204': description: Response @@ -38766,8 +39346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -38790,7 +39370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *69 + - *75 - name: q description: Limit results to projects of the specified type. in: query @@ -38807,7 +39387,7 @@ paths: application/json: schema: type: array - items: &270 + items: &276 title: Projects v2 Project description: A projects v2 project type: object @@ -38877,7 +39457,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &777 + properties: &783 id: type: number description: The unique identifier of the status update. @@ -38925,7 +39505,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &778 + required: &784 - id - node_id - created_at @@ -38950,7 +39530,7 @@ paths: - deleted_at - deleted_by examples: - default: &271 + default: &277 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -39033,7 +39613,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -39053,24 +39633,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &272 + - &278 name: project_number description: The project's number. in: path required: true schema: type: integer - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *270 + schema: *276 examples: - default: *271 + default: *277 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -39090,8 +39670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *69 - - *272 + - *75 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -39125,7 +39705,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &284 title: Projects v2 Item description: An item belonging to a project type: object @@ -39138,8 +39718,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *79 - - &474 + - *85 + - &480 title: Pull Request Simple description: Pull Request Simple type: object @@ -39245,8 +39825,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *279 + required: *280 nullable: true active_lock_reason: type: string @@ -39289,7 +39869,7 @@ paths: items: *4 requested_teams: type: array - items: *193 + items: *198 head: type: object properties: @@ -39297,7 +39877,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: @@ -39320,7 +39900,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: @@ -39339,7 +39919,7 @@ paths: _links: type: object properties: - comments: &275 + comments: &281 title: Link description: Hypermedia Link type: object @@ -39348,13 +39928,13 @@ paths: type: string required: - href - commits: *275 - statuses: *275 - html: *275 - issue: *275 - review_comments: *275 - review_comment: *275 - self: *275 + commits: *281 + statuses: *281 + html: *281 + issue: *281 + review_comments: *281 + review_comment: *281 + self: *281 required: - comments - commits @@ -39364,8 +39944,8 @@ paths: - review_comments - review_comment - self - author_association: *76 - auto_merge: &583 + author_association: *82 + auto_merge: &589 title: Auto merge description: The status of auto merging a pull request. type: object @@ -39467,7 +40047,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &277 + content_type: &283 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -39507,7 +40087,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &279 + draft_issue: &285 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39581,8 +40161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *272 - - *69 + - *278 + - *75 - *17 - *47 - *48 @@ -39593,7 +40173,7 @@ paths: application/json: schema: type: array - items: &276 + items: &282 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -39743,7 +40323,7 @@ paths: - updated_at - project_url examples: - default: &708 + default: &714 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39854,7 +40434,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -39873,8 +40453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *272 - - *69 + - *278 + - *75 requestBody: required: true content: @@ -39920,7 +40500,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &709 + items: &715 type: object properties: name: @@ -39957,7 +40537,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &710 + iteration_configuration: &716 type: object description: The configuration for iteration fields. properties: @@ -40007,7 +40587,7 @@ paths: value: name: Due date data_type: date - single_select_field: &711 + single_select_field: &717 summary: Create a single select field value: name: Priority @@ -40034,7 +40614,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &712 + iteration_field: &718 summary: Create an iteration field value: name: Sprint @@ -40058,9 +40638,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *276 + schema: *282 examples: - text_field: &713 + text_field: &719 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -40069,7 +40649,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &714 + number_field: &720 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -40078,7 +40658,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &715 + date_field: &721 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -40087,7 +40667,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &716 + single_select_field: &722 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40121,7 +40701,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &717 + iteration_field: &723 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -40166,23 +40746,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *272 - - &718 + - *278 + - &724 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *276 + schema: *282 examples: - default: &719 + default: &725 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40217,7 +40797,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -40238,8 +40818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *272 - - *69 + - *278 + - *75 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -40271,7 +40851,7 @@ paths: application/json: schema: type: array - items: &280 + items: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -40287,7 +40867,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *277 + content_type: *283 content: type: object additionalProperties: true @@ -40330,7 +40910,7 @@ paths: - updated_at - archived_at examples: - default: &281 + default: &287 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41007,7 +41587,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -41027,8 +41607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *69 - - *272 + - *75 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -41098,22 +41678,22 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *279 + value: *285 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *279 + value: *285 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *279 + value: *285 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *279 + value: *285 '304': *37 '403': *29 '401': *25 @@ -41133,9 +41713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *272 - - *69 - - &282 + - *278 + - *75 + - &288 name: item_id description: The unique identifier of the project item. in: path @@ -41161,11 +41741,11 @@ paths: description: Response content: application/json: - schema: *280 + schema: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -41184,9 +41764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *272 - - *69 - - *282 + - *278 + - *75 + - *288 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -41256,13 +41836,13 @@ paths: description: Response content: application/json: - schema: *280 + schema: *286 examples: - text_field: *281 - number_field: *281 - date_field: *281 - single_select_field: *281 - iteration_field: *281 + text_field: *287 + number_field: *287 + date_field: *287 + single_select_field: *287 + iteration_field: *287 '401': *25 '403': *29 '404': *6 @@ -41282,9 +41862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *272 - - *69 - - *282 + - *278 + - *75 + - *288 responses: '204': description: Response @@ -41307,8 +41887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *69 - - *272 + - *75 + - *278 requestBody: required: true content: @@ -41379,7 +41959,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &700 + schema: &706 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -41477,7 +42057,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &283 + value: &289 value: id: 1 number: 1 @@ -41523,10 +42103,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *283 + value: *289 roadmap_view: summary: Response for creating a roadmap view - value: *283 + value: *289 '304': *37 '403': *29 '401': *25 @@ -41554,9 +42134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *272 - - *69 - - &720 + - *278 + - *75 + - &726 name: view_number description: The number that identifies the project view. in: path @@ -41588,11 +42168,11 @@ paths: application/json: schema: type: array - items: *280 + items: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -41615,7 +42195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -41623,7 +42203,7 @@ paths: application/json: schema: type: array - items: &284 + items: &290 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41691,7 +42271,7 @@ paths: - property_name - value_type examples: - default: &285 + default: &291 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41740,7 +42320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -41751,7 +42331,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *284 + items: *290 minItems: 1 maxItems: 100 required: @@ -41781,9 +42361,9 @@ paths: application/json: schema: type: array - items: *284 + items: *290 examples: - default: *285 + default: *291 '403': *29 '404': *6 x-github: @@ -41804,8 +42384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *69 - - &286 + - *75 + - &292 name: custom_property_name description: The custom property name in: path @@ -41817,9 +42397,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *290 examples: - default: &287 + default: &293 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41853,8 +42433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *69 - - *286 + - *75 + - *292 requestBody: required: true content: @@ -41925,9 +42505,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *290 examples: - default: *287 + default: *293 '403': *29 '404': *6 x-github: @@ -41950,10 +42530,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *69 - - *286 + - *75 + - *292 responses: - '204': *187 + '204': *192 '403': *29 '404': *6 x-github: @@ -41974,7 +42554,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *69 + - *75 - *17 - *19 - name: repository_query @@ -42012,7 +42592,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &288 + items: &294 title: Custom Property Value description: Custom property name and associated value type: object @@ -42051,7 +42631,7 @@ paths: - property_name: team value: octocat headers: - Link: *61 + Link: *67 '403': *29 '404': *6 x-github: @@ -42079,7 +42659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *69 + - *75 requestBody: required: true content: @@ -42099,7 +42679,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *288 + items: *294 required: - repository_names - properties @@ -42140,7 +42720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *69 + - *75 - *17 - *19 responses: @@ -42152,9 +42732,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42171,8 +42751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response if user is a public member @@ -42196,8 +42776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -42218,8 +42798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -42243,7 +42823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *69 + - *75 - name: type description: Specifies the types of repositories you want returned. in: query @@ -42289,11 +42869,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42312,7 +42892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *69 + - *75 requestBody: required: true content: @@ -42493,7 +43073,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &345 title: Full Repository description: Full Repository type: object @@ -42781,8 +43361,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *289 - required: *290 + properties: *295 + required: *296 nullable: true temp_clone_token: type: string @@ -42869,8 +43449,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true organization: title: Simple User @@ -42879,8 +43459,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *73 - source: *73 + parent: *79 + source: *79 forks: type: integer master_branch: @@ -42897,7 +43477,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &479 + properties: &485 url: type: string format: uri @@ -42913,12 +43493,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &480 + required: &486 - url - key - name - html_url - security_and_analysis: *291 + security_and_analysis: *297 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43002,7 +43582,7 @@ paths: - network_count - subscribers_count examples: - default: &341 + default: &347 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43520,10 +44100,10 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - *17 - *19 - - &605 + - &611 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43541,7 +44121,7 @@ paths: application/json: schema: type: array - items: &318 + items: &324 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -43576,7 +44156,7 @@ paths: source: type: string description: The name of the source - enforcement: &294 + enforcement: &300 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -43589,7 +44169,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &295 + items: &301 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43659,7 +44239,7 @@ paths: conditions: nullable: true anyOf: - - &292 + - &298 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43683,7 +44263,7 @@ paths: match. items: type: string - - &296 + - &302 title: Organization ruleset conditions type: object description: |- @@ -43697,7 +44277,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *292 + - *298 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43731,7 +44311,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *292 + - *298 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43753,7 +44333,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *292 + - *298 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43766,7 +44346,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &293 + items: &299 title: Repository ruleset property targeting definition type: object @@ -43799,17 +44379,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *293 + items: *299 required: - repository_property rules: type: array - items: &606 + items: &612 title: Repository Rule type: object description: A repository rule. oneOf: - - &297 + - &303 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43821,7 +44401,7 @@ paths: type: string enum: - creation - - &298 + - &304 title: update description: Only allow users with bypass permission to update matching refs. @@ -43842,7 +44422,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &299 + - &305 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -43854,7 +44434,7 @@ paths: type: string enum: - deletion - - &300 + - &306 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43866,7 +44446,7 @@ paths: type: string enum: - required_linear_history - - &604 + - &610 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -43944,7 +44524,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &301 + - &307 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -43968,7 +44548,7 @@ paths: type: string required: - required_deployment_environments - - &302 + - &308 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -43980,7 +44560,7 @@ paths: type: string enum: - required_signatures - - &303 + - &309 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -44086,7 +44666,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &304 + - &310 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -44134,7 +44714,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &305 + - &311 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -44146,7 +44726,7 @@ paths: type: string enum: - non_fast_forward - - &306 + - &312 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -44183,7 +44763,7 @@ paths: required: - operator - pattern - - &307 + - &313 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -44220,7 +44800,7 @@ paths: required: - operator - pattern - - &308 + - &314 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44257,7 +44837,7 @@ paths: required: - operator - pattern - - &309 + - &315 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44294,7 +44874,7 @@ paths: required: - operator - pattern - - &310 + - &316 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44331,7 +44911,7 @@ paths: required: - operator - pattern - - &311 + - &317 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -44356,7 +44936,7 @@ paths: type: string required: - restricted_file_paths - - &312 + - &318 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44380,7 +44960,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &313 + - &319 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -44403,7 +44983,7 @@ paths: type: string required: - restricted_file_extensions - - &314 + - &320 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -44428,7 +45008,7 @@ paths: maximum: 100 required: - max_file_size - - &315 + - &321 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -44478,7 +45058,7 @@ paths: - repository_id required: - workflows - - &316 + - &322 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44539,7 +45119,7 @@ paths: - tool required: - code_scanning_tools - - &317 + - &323 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -44601,7 +45181,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -44617,7 +45197,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 requestBody: description: Request body required: true @@ -44638,26 +45218,20 @@ paths: - push - repository default: branch - enforcement: *294 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *295 - conditions: *296 + items: *301 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: &320 + items: &326 title: Repository Rule type: object description: A repository rule. oneOf: - - *297 - - *298 - - *299 - - *300 - - *301 - - *302 - *303 - *304 - *305 @@ -44673,6 +45247,12 @@ paths: - *315 - *316 - *317 + - *318 + - *319 + - *320 + - *321 + - *322 + - *323 required: - name - enforcement @@ -44710,9 +45290,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: &319 + default: &325 value: id: 21 name: super cool ruleset @@ -44753,7 +45333,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *115 + '500': *55 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -44767,8 +45347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *69 - - &607 + - *75 + - &613 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 @@ -44783,7 +45363,7 @@ paths: in: query schema: type: string - - &608 + - &614 name: time_period description: |- The time period to filter by. @@ -44799,14 +45379,14 @@ paths: - week - month default: day - - &609 + - &615 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 - - &610 + - &616 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44826,7 +45406,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &617 title: Rule Suites description: Response type: array @@ -44881,7 +45461,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &612 + default: &618 value: - id: 21 actor_id: 12 @@ -44905,7 +45485,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44924,8 +45504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *69 - - &613 + - *75 + - &619 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44941,7 +45521,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &620 title: Rule Suite description: Response type: object @@ -45040,7 +45620,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &615 + default: &621 value: id: 21 actor_id: 12 @@ -45075,7 +45655,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45101,7 +45681,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45113,11 +45693,11 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *319 + default: *325 '404': *6 - '500': *115 + '500': *55 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -45133,7 +45713,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45159,16 +45739,16 @@ paths: - tag - push - repository - enforcement: *294 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *295 - conditions: *296 + items: *301 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *320 + items: *326 examples: default: value: @@ -45203,12 +45783,12 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *319 + default: *325 '404': *6 '422': *15 - '500': *115 + '500': *55 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -45224,7 +45804,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45235,7 +45815,7 @@ paths: '204': description: Response '404': *6 - '500': *115 + '500': *55 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -45247,7 +45827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *69 + - *75 - *17 - *19 - name: ruleset_id @@ -45263,7 +45843,7 @@ paths: application/json: schema: type: array - items: &321 + items: &327 title: Ruleset version type: object description: The historical version of a ruleset @@ -45287,7 +45867,7 @@ paths: type: string format: date-time examples: - default: &617 + default: &623 value: - version_id: 3 actor: @@ -45305,7 +45885,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45322,7 +45902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45340,9 +45920,9 @@ paths: description: Response content: application/json: - schema: &618 + schema: &624 allOf: - - *321 + - *327 - type: object required: - state @@ -45389,7 +45969,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45411,8 +45991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *69 - - &619 + - *75 + - &625 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -45423,7 +46003,7 @@ paths: enum: - open - resolved - - &620 + - &626 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -45433,7 +46013,7 @@ paths: required: false schema: type: string - - &621 + - &627 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -45442,7 +46022,7 @@ paths: required: false schema: type: string - - &622 + - &628 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -45461,7 +46041,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &623 + - &629 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. @@ -45473,10 +46053,10 @@ paths: - created - updated default: created - - *55 + - *61 - *19 - *17 - - &624 + - &630 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -45486,7 +46066,7 @@ paths: required: false schema: type: string - - &625 + - &631 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45496,7 +46076,7 @@ paths: required: false schema: type: string - - &626 + - &632 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45505,7 +46085,7 @@ paths: required: false schema: type: string - - &627 + - &633 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45514,7 +46094,7 @@ paths: schema: type: boolean default: false - - &628 + - &634 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45523,7 +46103,7 @@ paths: schema: type: boolean default: false - - &629 + - &635 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45542,8 +46122,8 @@ paths: items: type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -45551,21 +46131,21 @@ paths: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &630 + state: &636 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: &631 + resolution: &637 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -45599,7 +46179,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *60 + repository: *66 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -45672,8 +46252,8 @@ paths: pull request. ' - oneOf: &632 - - &634 + oneOf: &638 + - &640 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45725,7 +46305,7 @@ paths: - blob_url - commit_sha - commit_url - - &635 + - &641 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -45780,7 +46360,7 @@ paths: - page_url - commit_sha - commit_url - - &636 + - &642 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45794,7 +46374,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &637 + - &643 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45808,7 +46388,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &638 + - &644 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45822,7 +46402,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &639 + - &645 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45836,7 +46416,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &640 + - &646 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -45850,7 +46430,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &641 + - &647 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -45864,7 +46444,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &642 + - &648 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -45878,7 +46458,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &643 + - &649 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -45892,7 +46472,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &644 + - &650 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -45906,7 +46486,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &645 + - &651 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -45920,7 +46500,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &646 + - &652 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -46123,9 +46703,9 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46150,7 +46730,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *69 + - *75 responses: '200': description: Response @@ -46162,7 +46742,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &323 + pattern_config_version: &329 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -46171,7 +46751,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &322 + items: &328 type: object properties: token_type: @@ -46237,7 +46817,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *322 + items: *328 examples: default: value: @@ -46286,7 +46866,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *69 + - *75 requestBody: required: true content: @@ -46294,7 +46874,7 @@ paths: schema: type: object properties: - pattern_config_version: *323 + pattern_config_version: *329 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -46320,7 +46900,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *323 + custom_pattern_version: *329 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -46374,8 +46954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *69 - - *55 + - *75 + - *61 - name: sort description: The property to sort the results by. in: query @@ -46418,7 +46998,7 @@ paths: application/json: schema: type: array - items: &650 + items: &656 description: A repository security advisory. type: object properties: @@ -46605,7 +47185,7 @@ paths: required: - vector_string - score - cvss_severities: *57 + cvss_severities: *63 cwes: type: array nullable: true @@ -46638,7 +47218,7 @@ paths: login: type: string description: The username of the user credited. - type: *324 + type: *330 credits_detailed: type: array nullable: true @@ -46648,7 +47228,7 @@ paths: type: object properties: user: *4 - type: *324 + type: *330 state: type: string description: The state of the user's acceptance of the @@ -46672,14 +47252,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *193 + items: *198 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *60 + - *66 required: - ghsa_id - cve_id @@ -46709,7 +47289,7 @@ paths: - private_fork additionalProperties: false examples: - default: &651 + default: &657 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47088,7 +47668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *69 + - *75 responses: '200': description: Response @@ -47096,7 +47676,7 @@ paths: application/json: schema: type: array - items: *325 + items: *331 examples: default: value: @@ -47136,8 +47716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -47162,8 +47742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -47190,7 +47770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Immutable releases settings response @@ -47239,7 +47819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -47296,7 +47876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *69 + - *75 - *19 - *17 responses: @@ -47314,9 +47894,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47335,7 +47915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *69 + - *75 requestBody: required: true content: @@ -47384,8 +47964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -47407,8 +47987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -47431,7 +48011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -47449,7 +48029,7 @@ paths: type: integer network_configurations: type: array - items: &326 + items: &332 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -47520,7 +48100,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47539,7 +48119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -47582,9 +48162,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: &327 + default: &333 value: id: 123456789ABCDEF name: My network configuration @@ -47612,8 +48192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 - - &328 + - *75 + - &334 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -47625,11 +48205,11 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: *327 + default: *333 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47648,8 +48228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 - - *328 + - *75 + - *334 requestBody: required: true content: @@ -47689,9 +48269,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: *327 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47710,8 +48290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *69 - - *328 + - *75 + - *334 responses: '204': description: Response @@ -47734,7 +48314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *69 + - *75 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -47788,7 +48368,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47818,8 +48398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *69 - - *71 + - *75 + - *77 - 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`). @@ -47851,13 +48431,13 @@ paths: application/json: schema: type: array - items: *329 + items: *335 examples: - default: *330 - '500': *115 + default: *336 + '500': *55 '403': *29 '404': *6 - '422': *331 + '422': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47875,7 +48455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *69 + - *75 - *17 - *19 - name: team_type @@ -47897,11 +48477,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -47921,7 +48501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *69 + - *75 requestBody: required: true content: @@ -47993,7 +48573,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &338 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48056,8 +48636,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *257 + required: *258 nullable: true members_count: type: integer @@ -48320,7 +48900,7 @@ paths: - repos_count - organization examples: - default: &333 + default: &339 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48390,16 +48970,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *69 - - *71 + - *75 + - *77 responses: '200': description: Response content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -48420,8 +49000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *69 - - *71 + - *75 + - *77 requestBody: required: false content: @@ -48483,16 +49063,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '201': description: Response content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '404': *6 '422': *15 '403': *29 @@ -48517,12 +49097,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response - '422': &334 + '422': &340 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -48545,8 +49125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -48556,12 +49136,12 @@ paths: application/json: schema: type: array - items: *230 + items: *236 examples: - default: *231 + default: *237 headers: - Link: *61 - '422': *334 + Link: *67 + '422': *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48581,8 +49161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *69 - - *71 + - *75 + - *77 - name: role description: Filters members returned by their role in the team. in: query @@ -48605,9 +49185,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48635,15 +49215,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 responses: '200': description: Response content: application/json: - schema: &335 + schema: &341 title: Team Membership description: Team Membership type: object @@ -48670,7 +49250,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &667 + response-if-user-is-a-team-maintainer: &673 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48706,9 +49286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 requestBody: required: false content: @@ -48733,9 +49313,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *341 examples: - response-if-users-membership-with-team-is-now-pending: &668 + response-if-users-membership-with-team-is-now-pending: &674 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48770,9 +49350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 responses: '204': description: Response @@ -48798,8 +49378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -48809,11 +49389,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48840,16 +49420,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *69 - - *71 - - *336 - - *337 + - *75 + - *77 + - *342 + - *343 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &669 + schema: &675 title: Team Repository description: A team's access to a repository. type: object @@ -48872,8 +49452,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true forks: type: integer @@ -49418,10 +49998,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *69 - - *71 - - *336 - - *337 + - *75 + - *77 + - *342 + - *343 requestBody: required: false content: @@ -49466,10 +50046,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *69 - - *71 - - *336 - - *337 + - *75 + - *77 + - *342 + - *343 responses: '204': description: Response @@ -49493,8 +50073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -49504,9 +50084,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - response-if-child-teams-exist: &670 + response-if-child-teams-exist: &676 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49534,7 +50114,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49559,7 +50139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *69 + - *75 - name: security_product in: path description: The security feature to enable or disable. @@ -49660,7 +50240,7 @@ paths: resources: type: object properties: - core: &338 + core: &344 title: Rate Limit type: object properties: @@ -49677,21 +50257,21 @@ paths: - remaining - reset - used - graphql: *338 - search: *338 - code_search: *338 - source_import: *338 - integration_manifest: *338 - code_scanning_upload: *338 - actions_runner_registration: *338 - scim: *338 - dependency_snapshots: *338 - dependency_sbom: *338 - code_scanning_autofix: *338 + graphql: *344 + search: *344 + code_search: *344 + source_import: *344 + integration_manifest: *344 + code_scanning_upload: *344 + actions_runner_registration: *344 + scim: *344 + dependency_snapshots: *344 + dependency_sbom: *344 + code_scanning_autofix: *344 required: - core - search - rate: *338 + rate: *344 required: - rate - resources @@ -49796,14 +50376,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *339 + schema: *345 examples: default-response: summary: Default response @@ -50308,7 +50888,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *340 + '301': *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50326,8 +50906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -50618,10 +51198,10 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 - '307': &342 + default: *347 + '307': &348 description: Temporary Redirect content: application/json: @@ -50650,8 +51230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -50673,7 +51253,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *342 + '307': *348 '404': *6 '409': *54 x-github: @@ -50697,11 +51277,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 - - &375 + - &381 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50724,7 +51304,7 @@ paths: type: integer artifacts: type: array - items: &343 + items: &349 title: Artifact description: An artifact type: object @@ -50802,7 +51382,7 @@ paths: - expires_at - updated_at examples: - default: &376 + default: &382 value: total_count: 2 artifacts: @@ -50841,7 +51421,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50863,9 +51443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *336 - - *337 - - &344 + - *342 + - *343 + - &350 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50877,7 +51457,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *349 examples: default: value: @@ -50915,9 +51495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *336 - - *337 - - *344 + - *342 + - *343 + - *350 responses: '204': description: Response @@ -50941,9 +51521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *336 - - *337 - - *344 + - *342 + - *343 + - *350 - name: archive_format in: path required: true @@ -50957,7 +51537,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': &536 + '410': &542 description: Gone content: application/json: @@ -50982,14 +51562,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &345 + schema: &351 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51022,13 +51602,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *345 + schema: *351 examples: selected_actions: *42 responses: @@ -51057,14 +51637,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &346 + schema: &352 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -51097,13 +51677,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *346 + schema: *352 examples: selected_actions: *44 responses: @@ -51134,14 +51714,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *347 + schema: *353 examples: default: value: @@ -51167,11 +51747,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 - - &348 + - &354 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 @@ -51199,13 +51779,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *55 + - *61 responses: '200': description: Response content: application/json: - schema: &349 + schema: &355 title: Repository actions caches description: Repository actions caches type: object @@ -51247,7 +51827,7 @@ paths: - total_count - actions_caches examples: - default: &350 + default: &356 value: total_count: 1 actions_caches: @@ -51259,7 +51839,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51279,23 +51859,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *336 - - *337 + - *342 + - *343 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *349 + schema: *355 examples: - default: *350 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51315,8 +51895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *336 - - *337 + - *342 + - *343 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51347,9 +51927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *336 - - *337 - - &351 + - *342 + - *343 + - &357 name: job_id description: The unique identifier of the job. in: path @@ -51361,7 +51941,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &385 title: Job description: Information of a job execution in a workflow run type: object @@ -51668,9 +52248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *336 - - *337 - - *351 + - *342 + - *343 + - *357 responses: '302': description: Response @@ -51698,9 +52278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *336 - - *337 - - *351 + - *342 + - *343 + - *357 requestBody: required: false content: @@ -51721,7 +52301,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -51745,8 +52325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Status response @@ -51796,8 +52376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -51831,7 +52411,7 @@ paths: description: Empty response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -51860,8 +52440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -51879,7 +52459,7 @@ paths: type: integer secrets: type: array - items: &381 + items: &387 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51899,7 +52479,7 @@ paths: - created_at - updated_at examples: - default: &382 + default: &388 value: total_count: 2 secrets: @@ -51910,7 +52490,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51932,9 +52512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *336 - - *337 - - *352 + - *342 + - *343 + - *358 - *19 responses: '200': @@ -51951,7 +52531,7 @@ paths: type: integer variables: type: array - items: &385 + items: &391 title: Actions Variable type: object properties: @@ -51981,7 +52561,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &392 value: total_count: 2 variables: @@ -51994,7 +52574,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52014,8 +52594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -52024,12 +52604,12 @@ paths: schema: type: object properties: - enabled: &354 + enabled: &360 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *141 - selected_actions_url: *353 - sha_pinning_required: *142 + allowed_actions: *146 + selected_actions_url: *359 + sha_pinning_required: *147 required: - enabled examples: @@ -52057,8 +52637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -52069,9 +52649,9 @@ paths: schema: type: object properties: - enabled: *354 - allowed_actions: *141 - sha_pinning_required: *142 + enabled: *360 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled examples: @@ -52101,14 +52681,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &355 + schema: &361 type: object properties: access_level: @@ -52125,7 +52705,7 @@ paths: required: - access_level examples: - default: &356 + default: &362 value: access_level: organization x-github: @@ -52149,15 +52729,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *355 + schema: *361 examples: - default: *356 + default: *362 responses: '204': description: Response @@ -52181,14 +52761,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: default: value: @@ -52212,8 +52792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Empty response for successful settings update @@ -52223,7 +52803,7 @@ paths: required: true content: application/json: - schema: *358 + schema: *364 examples: default: summary: Set retention days @@ -52247,16 +52827,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *143 + schema: *148 examples: - default: *359 + default: *365 '404': *6 x-github: enabledForGitHubApps: true @@ -52275,8 +52855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -52286,7 +52866,7 @@ paths: required: true content: application/json: - schema: *143 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -52310,16 +52890,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *360 + schema: *366 examples: - default: *144 + default: *149 '403': *29 '404': *6 x-github: @@ -52339,15 +52919,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *361 + schema: *367 examples: - default: *144 + default: *149 responses: '204': description: Empty response for successful settings update @@ -52371,16 +52951,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *146 + schema: *151 examples: - default: *147 + default: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52399,8 +52979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -52408,9 +52988,9 @@ paths: required: false content: application/json: - schema: *146 + schema: *151 examples: - selected_actions: *147 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52432,16 +53012,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *362 + schema: *368 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52462,8 +53042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Success response @@ -52474,9 +53054,9 @@ paths: required: true content: application/json: - schema: *363 + schema: *369 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52503,8 +53083,8 @@ paths: in: query schema: type: string - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -52522,11 +53102,11 @@ paths: type: integer runners: type: array - items: *158 + items: *163 examples: - default: *159 + default: *164 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52548,8 +53128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -52557,9 +53137,9 @@ paths: application/json: schema: type: array - items: *364 + items: *370 examples: - default: *365 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52581,8 +53161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -52625,7 +53205,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *366 + '201': *372 '404': *6 '422': *7 '409': *54 @@ -52656,16 +53236,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: *367 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52693,16 +53273,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: *368 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52724,17 +53304,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 responses: '200': description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *369 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52755,9 +53335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 responses: '204': description: Response @@ -52783,11 +53363,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 responses: - '200': *162 + '200': *167 '404': *6 x-github: githubCloudOnly: false @@ -52809,9 +53389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 requestBody: required: true content: @@ -52835,7 +53415,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -52859,9 +53439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 requestBody: required: true content: @@ -52886,7 +53466,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -52910,11 +53490,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 responses: - '200': *370 + '200': *376 '404': *6 x-github: githubCloudOnly: false @@ -52941,12 +53521,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 - - *371 + - *342 + - *343 + - *162 + - *377 responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -52972,9 +53552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *336 - - *337 - - &389 + - *342 + - *343 + - &395 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. @@ -52982,7 +53562,7 @@ paths: required: false schema: type: string - - &390 + - &396 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52990,7 +53570,7 @@ paths: required: false schema: type: string - - &391 + - &397 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52999,7 +53579,7 @@ paths: required: false schema: type: string - - &392 + - &398 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 @@ -53026,7 +53606,7 @@ paths: - pending - *17 - *19 - - &393 + - &399 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/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -53035,7 +53615,7 @@ paths: schema: type: string format: date-time - - &372 + - &378 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53044,13 +53624,13 @@ paths: schema: type: boolean default: false - - &394 + - &400 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &395 + - &401 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53073,7 +53653,7 @@ paths: type: integer workflow_runs: type: array - items: &373 + items: &379 title: Workflow Run description: An invocation of a workflow type: object @@ -53168,7 +53748,7 @@ paths: that triggered the run. type: array nullable: true - items: *84 + items: *90 created_at: type: string format: date-time @@ -53221,7 +53801,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &417 + properties: &423 id: type: string description: SHA for the commit @@ -53272,7 +53852,7 @@ paths: - name - email nullable: true - required: &418 + required: &424 - id - tree_id - message @@ -53280,8 +53860,8 @@ paths: - author - committer nullable: true - repository: *156 - head_repository: *156 + repository: *161 + head_repository: *161 head_repository_id: type: integer example: 5 @@ -53319,7 +53899,7 @@ paths: - workflow_url - pull_requests examples: - default: &396 + default: &402 value: total_count: 1 workflow_runs: @@ -53533,7 +54113,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53555,24 +54135,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *336 - - *337 - - &374 + - *342 + - *343 + - &380 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *373 + schema: *379 examples: - default: &377 + default: &383 value: id: 30433642 name: Build @@ -53813,9 +54393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '204': description: Response @@ -53838,9 +54418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '200': description: Response @@ -53959,15 +54539,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -53994,13 +54574,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 - *17 - *19 - - *375 - - *55 + - *381 + - *61 responses: '200': description: Response @@ -54016,11 +54596,11 @@ paths: type: integer artifacts: type: array - items: *343 + items: *349 examples: - default: *376 + default: *382 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54042,25 +54622,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *336 - - *337 - - *374 - - &378 + - *342 + - *343 + - *380 + - &384 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *373 + schema: *379 examples: - default: *377 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54083,10 +54663,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *336 - - *337 - - *374 - - *378 + - *342 + - *343 + - *380 + - *384 - *17 - *19 responses: @@ -54104,9 +54684,9 @@ paths: type: integer jobs: type: array - items: *379 + items: *385 examples: - default: &380 + default: &386 value: total_count: 1 jobs: @@ -54195,7 +54775,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -54219,10 +54799,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *336 - - *337 - - *374 - - *378 + - *342 + - *343 + - *380 + - *384 responses: '302': description: Response @@ -54250,15 +54830,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '202': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54285,9 +54865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 requestBody: required: true content: @@ -54354,15 +54934,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '202': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54389,9 +54969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 - 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 @@ -54421,11 +55001,11 @@ paths: type: integer jobs: type: array - items: *379 + items: *385 examples: - default: *380 + default: *386 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54448,9 +55028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '302': description: Response @@ -54477,14 +55057,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '204': description: Response '403': *29 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54506,9 +55086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '200': description: Response @@ -54568,7 +55148,7 @@ paths: items: type: object properties: - type: &502 + type: &508 type: string description: The type of reviewer. enum: @@ -54578,7 +55158,7 @@ paths: reviewer: anyOf: - *4 - - *193 + - *198 required: - environment - wait_timer @@ -54653,9 +55233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 requestBody: required: true content: @@ -54702,12 +55282,12 @@ paths: application/json: schema: type: array - items: &497 + items: &503 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &740 + properties: &746 url: type: string format: uri @@ -54790,9 +55370,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - required: &741 + properties: *80 + required: *81 + required: &747 - id - node_id - sha @@ -54808,7 +55388,7 @@ paths: - created_at - updated_at examples: - default: &498 + default: &504 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54864,9 +55444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 requestBody: required: false content: @@ -54887,7 +55467,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54910,9 +55490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 requestBody: required: false content: @@ -54933,7 +55513,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54965,9 +55545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '200': description: Response @@ -55104,8 +55684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -55123,11 +55703,11 @@ paths: type: integer secrets: type: array - items: *381 + items: *387 examples: - default: *382 + default: *388 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55150,16 +55730,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *383 + schema: *389 examples: - default: *384 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55181,17 +55761,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '200': description: Response content: application/json: - schema: *381 + schema: *387 examples: - default: &515 + default: &521 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55217,9 +55797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 requestBody: required: true content: @@ -55250,7 +55830,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -55276,9 +55856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '204': description: Response @@ -55303,9 +55883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *336 - - *337 - - *352 + - *342 + - *343 + - *358 - *19 responses: '200': @@ -55322,11 +55902,11 @@ paths: type: integer variables: type: array - items: *385 + items: *391 examples: - default: *386 + default: *392 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55347,8 +55927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -55375,7 +55955,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -55400,17 +55980,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *336 - - *337 - - *167 + - *342 + - *343 + - *172 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: &516 + default: &522 value: name: USERNAME value: octocat @@ -55436,9 +56016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *336 - - *337 - - *167 + - *342 + - *343 + - *172 requestBody: required: true content: @@ -55480,9 +56060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *336 - - *337 - - *167 + - *342 + - *343 + - *172 responses: '204': description: Response @@ -55507,8 +56087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -55526,7 +56106,7 @@ paths: type: integer workflows: type: array - items: &387 + items: &393 title: Workflow description: A GitHub Actions workflow type: object @@ -55610,7 +56190,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55633,9 +56213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *336 - - *337 - - &388 + - *342 + - *343 + - &394 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55650,7 +56230,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *393 examples: default: value: @@ -55683,9 +56263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *336 - - *337 - - *388 + - *342 + - *343 + - *394 responses: '204': description: Response @@ -55710,9 +56290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *336 - - *337 - - *388 + - *342 + - *343 + - *394 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -55799,9 +56379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *336 - - *337 - - *388 + - *342 + - *343 + - *394 responses: '204': description: Response @@ -55828,19 +56408,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *336 - - *337 - - *388 - - *389 - - *390 - - *391 - - *392 - - *17 - - *19 - - *393 - - *372 + - *342 + - *343 - *394 - *395 + - *396 + - *397 + - *398 + - *17 + - *19 + - *399 + - *378 + - *400 + - *401 responses: '200': description: Response @@ -55856,11 +56436,11 @@ paths: type: integer workflow_runs: type: array - items: *373 + items: *379 examples: - default: *396 + default: *402 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55890,9 +56470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *336 - - *337 - - *388 + - *342 + - *343 + - *394 responses: '200': description: Response @@ -55953,9 +56533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *336 - - *337 - - *55 + - *342 + - *343 + - *61 - *17 - *47 - *48 @@ -56099,7 +56679,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '422': *7 x-github: githubCloudOnly: false @@ -56118,8 +56698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -56131,9 +56711,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -56156,8 +56736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *336 - - *337 + - *342 + - *343 - name: assignee in: path required: true @@ -56193,8 +56773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -56306,8 +56886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *47 - *48 @@ -56364,7 +56944,7 @@ paths: initiator: type: string examples: - default: *397 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56384,8 +56964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -56393,7 +56973,7 @@ paths: application/json: schema: type: array - items: &398 + items: &404 title: Autolink reference description: An autolink reference. type: object @@ -56447,8 +57027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -56487,9 +57067,9 @@ paths: description: response content: application/json: - schema: *398 + schema: *404 examples: - default: &399 + default: &405 value: id: 1 key_prefix: TICKET- @@ -56520,9 +57100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *336 - - *337 - - &400 + - *342 + - *343 + - &406 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56534,9 +57114,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *404 examples: - default: *399 + default: *405 '404': *6 x-github: githubCloudOnly: false @@ -56556,9 +57136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *336 - - *337 - - *400 + - *342 + - *343 + - *406 responses: '204': description: Response @@ -56582,8 +57162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response if Dependabot is enabled @@ -56631,8 +57211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -56653,8 +57233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -56674,8 +57254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *336 - - *337 + - *342 + - *343 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56713,7 +57293,7 @@ paths: - url protected: type: boolean - protection: &402 + protection: &408 title: Branch Protection description: Branch Protection type: object @@ -56755,7 +57335,7 @@ paths: required: - contexts - checks - enforce_admins: &405 + enforce_admins: &411 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56770,7 +57350,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &407 + required_pull_request_reviews: &413 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56791,7 +57371,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *193 + items: *198 apps: description: The list of apps with review dismissal access. @@ -56820,7 +57400,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *193 + items: *198 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56846,7 +57426,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &404 + restrictions: &410 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56909,7 +57489,7 @@ paths: type: string teams: type: array - items: *193 + items: *198 apps: type: array items: @@ -57105,7 +57685,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -57123,9 +57703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *336 - - *337 - - &403 + - *342 + - *343 + - &409 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/graphql). @@ -57139,14 +57719,14 @@ paths: description: Response content: application/json: - schema: &413 + schema: &419 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &470 + commit: &476 title: Commit description: Commit type: object @@ -57180,7 +57760,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &401 + properties: &407 name: type: string example: '"Chris Wanstrath"' @@ -57196,7 +57776,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *401 + properties: *407 nullable: true message: type: string @@ -57217,7 +57797,7 @@ paths: required: - sha - url - verification: &522 + verification: &528 title: Verification type: object properties: @@ -57251,12 +57831,12 @@ paths: nullable: true oneOf: - *4 - - *165 + - *170 committer: nullable: true oneOf: - *4 - - *165 + - *170 parents: type: array items: @@ -57287,7 +57867,7 @@ paths: type: integer files: type: array - items: &483 + items: &489 title: Diff Entry description: Diff Entry type: object @@ -57371,7 +57951,7 @@ paths: - self protected: type: boolean - protection: *402 + protection: *408 protection_url: type: string format: uri @@ -57478,7 +58058,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *340 + '301': *346 '404': *6 x-github: githubCloudOnly: false @@ -57500,15 +58080,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *402 + schema: *408 examples: default: value: @@ -57702,9 +58282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -57959,7 +58539,7 @@ paths: url: type: string format: uri - required_status_checks: &410 + required_status_checks: &416 title: Status Check Policy description: Status Check Policy type: object @@ -58035,7 +58615,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 apps: type: array items: *5 @@ -58053,7 +58633,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 apps: type: array items: *5 @@ -58111,7 +58691,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *404 + restrictions: *410 required_conversation_resolution: type: object properties: @@ -58223,9 +58803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58250,17 +58830,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: &406 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58282,17 +58862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: *406 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58311,9 +58891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58338,17 +58918,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *407 + schema: *413 examples: - default: &408 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58444,9 +59024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -58544,9 +59124,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *413 examples: - default: *408 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -58567,9 +59147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58596,17 +59176,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: &409 + default: &415 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58629,17 +59209,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: *409 + default: *415 '404': *6 x-github: githubCloudOnly: false @@ -58659,9 +59239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58686,17 +59266,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *410 + schema: *416 examples: - default: &411 + default: &417 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58722,9 +59302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -58776,9 +59356,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *416 examples: - default: *411 + default: *417 '404': *6 '422': *15 x-github: @@ -58800,9 +59380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58826,9 +59406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response @@ -58862,9 +59442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -58931,9 +59511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -58997,9 +59577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: content: application/json: @@ -59065,15 +59645,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *404 + schema: *410 examples: default: value: @@ -59164,9 +59744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -59189,9 +59769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response @@ -59201,7 +59781,7 @@ paths: type: array items: *5 examples: - default: &412 + default: &418 value: - id: 1 slug: octoapp @@ -59258,9 +59838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59294,7 +59874,7 @@ paths: type: array items: *5 examples: - default: *412 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -59315,9 +59895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59351,7 +59931,7 @@ paths: type: array items: *5 examples: - default: *412 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -59372,9 +59952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59408,7 +59988,7 @@ paths: type: array items: *5 examples: - default: *412 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -59430,9 +60010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response @@ -59440,9 +60020,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 '404': *6 x-github: githubCloudOnly: false @@ -59462,9 +60042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -59500,9 +60080,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -59523,9 +60103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -59561,9 +60141,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -59584,9 +60164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: content: application/json: @@ -59621,9 +60201,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -59645,9 +60225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response @@ -59657,7 +60237,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '404': *6 x-github: githubCloudOnly: false @@ -59681,9 +60261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59716,7 +60296,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -59741,9 +60321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59776,7 +60356,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -59801,9 +60381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59836,7 +60416,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -59863,9 +60443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59887,7 +60467,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *419 examples: default: value: @@ -60003,8 +60583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -60283,7 +60863,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &420 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60394,16 +60974,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *84 - deployment: &733 + items: *90 + deployment: &739 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60470,8 +61050,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -60683,9 +61263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *336 - - *337 - - &415 + - *342 + - *343 + - &421 name: check_run_id description: The unique identifier of the check run. in: path @@ -60697,9 +61277,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *420 examples: - default: &416 + default: &422 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60799,9 +61379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *336 - - *337 - - *415 + - *342 + - *343 + - *421 requestBody: required: true content: @@ -61041,9 +61621,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *420 examples: - default: *416 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61063,9 +61643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *336 - - *337 - - *415 + - *342 + - *343 + - *421 - *17 - *19 responses: @@ -61140,7 +61720,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61160,15 +61740,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *336 - - *337 - - *415 + - *342 + - *343 + - *421 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -61206,8 +61786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -61229,7 +61809,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &419 + schema: &425 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61293,7 +61873,7 @@ paths: nullable: true pull_requests: type: array - items: *84 + items: *90 nullable: true app: title: GitHub app @@ -61304,9 +61884,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - repository: *156 + properties: *80 + required: *81 + repository: *161 created_at: type: string format: date-time @@ -61315,12 +61895,12 @@ paths: type: string format: date-time nullable: true - head_commit: &761 + head_commit: &767 title: Simple Commit description: A commit. type: object - properties: *417 - required: *418 + properties: *423 + required: *424 latest_check_runs_count: type: integer check_runs_url: @@ -61348,7 +61928,7 @@ paths: - check_runs_url - pull_requests examples: - default: &420 + default: &426 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61639,9 +62219,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *419 + schema: *425 examples: - default: *420 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61660,8 +62240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -61722,7 +62302,7 @@ paths: required: - app_id - setting - repository: *156 + repository: *161 examples: default: value: @@ -61970,9 +62550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *336 - - *337 - - &421 + - *342 + - *343 + - &427 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61984,9 +62564,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: *420 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62009,17 +62589,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *336 - - *337 - - *421 - - &476 + - *342 + - *343 + - *427 + - &482 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &477 + - &483 name: status description: Returns check runs with the specified `status`. in: query @@ -62058,9 +62638,9 @@ paths: type: integer check_runs: type: array - items: *414 + items: *420 examples: - default: &478 + default: &484 value: total_count: 1 check_runs: @@ -62142,7 +62722,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62162,15 +62742,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *336 - - *337 - - *421 + - *342 + - *343 + - *427 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -62197,28 +62777,28 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *336 - - *337 - - *422 - - *423 + - *342 + - *343 + - *428 + - *429 - *19 - *17 - - &440 + - &446 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: *424 - - &441 + schema: *430 + - &447 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *55 + - *61 - *47 - *48 - name: sort @@ -62236,13 +62816,13 @@ paths: be returned. in: query required: false - schema: *425 + schema: *431 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *426 + schema: *432 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -62261,14 +62841,14 @@ paths: items: type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: *427 - state: *183 - fixed_at: *179 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *433 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -62276,12 +62856,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: *428 - dismissed_comment: *429 - rule: *430 - tool: *431 - most_recent_instance: *432 + dismissed_at: *185 + dismissed_reason: *434 + dismissed_comment: *435 + rule: *436 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62407,14 +62987,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &433 + '403': &439 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62434,9 +63014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *336 - - *337 - - &434 + - *342 + - *343 + - &440 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62444,23 +63024,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *174 + schema: *179 responses: '200': description: Response content: application/json: - schema: &435 + schema: &441 type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: *427 - state: *183 - fixed_at: *179 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *433 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -62468,9 +63048,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: *428 - dismissed_comment: *429 + dismissed_at: *185 + dismissed_reason: *434 + dismissed_comment: *435 rule: type: object properties: @@ -62524,8 +63104,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *431 - most_recent_instance: *432 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62624,9 +63204,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62644,9 +63224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 requestBody: required: true content: @@ -62661,8 +63241,8 @@ paths: enum: - open - dismissed - dismissed_reason: *428 - dismissed_comment: *429 + dismissed_reason: *434 + dismissed_comment: *435 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62690,7 +63270,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *441 examples: default: value: @@ -62766,14 +63346,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &439 + '403': &445 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': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62793,15 +63373,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 responses: '200': description: Response content: application/json: - schema: &436 + schema: &442 type: object properties: status: @@ -62827,13 +63407,13 @@ paths: - description - started_at examples: - default: &437 + default: &443 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &438 + '400': &444 description: Bad Request content: application/json: @@ -62844,9 +63424,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62869,29 +63449,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 responses: '200': description: OK content: application/json: - schema: *436 + schema: *442 examples: - default: *437 + default: *443 '202': description: Accepted content: application/json: - schema: *436 + schema: *442 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *438 + '400': *444 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62901,7 +63481,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62923,9 +63503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 requestBody: required: false content: @@ -62970,12 +63550,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *438 - '403': *439 + '400': *444 + '403': *445 '404': *6 '422': description: Unprocessable Entity - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62995,13 +63575,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 - *19 - *17 - - *440 - - *441 + - *446 + - *447 responses: '200': description: Response @@ -63012,10 +63592,10 @@ paths: items: type: object properties: - ref: *424 - analysis_key: *442 - environment: *443 - category: *444 + ref: *430 + analysis_key: *448 + environment: *449 + category: *450 state: type: string description: State of a code scanning alert instance. @@ -63030,7 +63610,7 @@ paths: properties: text: type: string - location: *445 + location: *451 html_url: type: string classifications: @@ -63038,7 +63618,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *446 + items: *452 examples: default: value: @@ -63075,9 +63655,9 @@ paths: end_column: 50 classifications: - source - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63109,29 +63689,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *336 - - *337 - - *422 - - *423 + - *342 + - *343 + - *428 + - *429 - *19 - *17 - - *441 + - *447 - 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: *424 + schema: *430 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &447 + schema: &453 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *55 + - *61 - name: sort description: The property by which to sort the results. in: query @@ -63148,23 +63728,23 @@ paths: application/json: schema: type: array - items: &448 + items: &454 type: object properties: - ref: *424 - commit_sha: &456 + ref: *430 + commit_sha: &462 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: *442 + analysis_key: *448 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *444 + category: *450 error: type: string example: error reading field xyz @@ -63188,8 +63768,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *447 - tool: *431 + sarif_id: *453 + tool: *437 deletable: type: boolean warning: @@ -63250,9 +63830,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63286,8 +63866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63300,7 +63880,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: response: summary: application/json response @@ -63354,14 +63934,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *433 + '403': *439 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63441,8 +64021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63495,9 +64075,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': *439 + '403': *445 '404': *6 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63517,8 +64097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -63526,7 +64106,7 @@ paths: application/json: schema: type: array - items: &449 + items: &455 title: CodeQL Database description: A CodeQL database. type: object @@ -63637,9 +64217,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': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63666,8 +64246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: language in: path description: The language of the CodeQL database. @@ -63679,7 +64259,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *455 examples: default: value: @@ -63711,11 +64291,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': &485 + '302': &491 description: Found - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63735,8 +64315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *336 - - *337 + - *342 + - *343 - name: language in: path description: The language of the CodeQL database. @@ -63746,9 +64326,9 @@ paths: responses: '204': description: Response - '403': *439 + '403': *445 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63774,8 +64354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -63784,7 +64364,7 @@ paths: type: object additionalProperties: false properties: - language: &450 + language: &456 type: string description: The language targeted by the CodeQL query enum: @@ -63864,7 +64444,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &454 + schema: &460 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63872,9 +64452,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *60 + controller_repo: *66 actor: *4 - query_language: *450 + query_language: *456 query_pack_url: type: string description: The download url for the query pack. @@ -63921,7 +64501,7 @@ paths: items: type: object properties: - repository: &451 + repository: &457 title: Repository Identifier description: Repository Identifier type: object @@ -63957,7 +64537,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &455 + analysis_status: &461 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63989,7 +64569,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &452 + access_mismatch_repos: &458 type: object properties: repository_count: @@ -64003,7 +64583,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: *451 + items: *457 required: - repository_count - repositories @@ -64025,8 +64605,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *452 - over_limit_repos: *452 + no_codeql_db_repos: *458 + over_limit_repos: *458 required: - access_mismatch_repos - not_found_repos @@ -64042,7 +64622,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &453 + value: &459 summary: Default response value: id: 1 @@ -64188,17 +64768,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *453 + value: *459 repository_lists: summary: Response for a successful variant analysis submission - value: *453 + value: *459 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64219,8 +64799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *336 - - *337 + - *342 + - *343 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64232,11 +64812,11 @@ paths: description: Response content: application/json: - schema: *454 + schema: *460 examples: - default: *453 + default: *459 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64257,7 +64837,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *336 + - *342 - name: repo in: path description: The name of the controller repository. @@ -64291,8 +64871,8 @@ paths: schema: type: object properties: - repository: *60 - analysis_status: *455 + repository: *66 + analysis_status: *461 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64396,7 +64976,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64417,8 +64997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -64503,9 +65083,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64524,8 +65104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -64592,7 +65172,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -64617,7 +65197,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *439 + '403': *445 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64631,7 +65211,7 @@ paths: content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64688,8 +65268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -64697,7 +65277,7 @@ paths: schema: type: object properties: - commit_sha: *456 + commit_sha: *462 ref: type: string description: |- @@ -64755,7 +65335,7 @@ paths: schema: type: object properties: - id: *447 + id: *453 url: type: string description: The REST API URL for checking the status of the upload. @@ -64769,11 +65349,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': *439 + '403': *445 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64792,8 +65372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *336 - - *337 + - *342 + - *343 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64839,10 +65419,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': *433 + '403': *439 '404': description: Not Found if the sarif id does not match any upload - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64864,8 +65444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -64921,7 +65501,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': *187 + '204': *192 '304': *37 '403': *29 '404': *6 @@ -64946,8 +65526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *336 - - *337 + - *342 + - *343 - 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 @@ -65067,8 +65647,8 @@ paths: parameters: - *17 - *19 - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -65084,7 +65664,7 @@ paths: type: integer codespaces: type: array - items: *241 + items: *247 examples: default: value: @@ -65360,7 +65940,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': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -65382,8 +65962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -65446,22 +66026,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65485,8 +66065,8 @@ paths: parameters: - *17 - *19 - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -65526,7 +66106,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *115 + '500': *55 '400': *14 '401': *25 '403': *29 @@ -65550,8 +66130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65586,14 +66166,14 @@ paths: type: integer machines: type: array - items: &676 + items: &682 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *458 - required: *459 + properties: *464 + required: *465 examples: - default: &677 + default: &683 value: total_count: 2 machines: @@ -65610,7 +66190,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -65633,8 +66213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *336 - - *337 + - *342 + - *343 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65718,8 +66298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *336 - - *337 + - *342 + - *343 - 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 @@ -65764,7 +66344,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65785,8 +66365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -65804,7 +66384,7 @@ paths: type: integer secrets: type: array - items: &463 + items: &469 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65824,9 +66404,9 @@ paths: - created_at - updated_at examples: - default: *460 + default: *466 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65847,16 +66427,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *461 + schema: *467 examples: - default: *462 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65876,17 +66456,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '200': description: Response content: application/json: - schema: *463 + schema: *469 examples: - default: *464 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65906,9 +66486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 requestBody: required: true content: @@ -65936,7 +66516,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -65960,9 +66540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '204': description: Response @@ -65990,8 +66570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *336 - - *337 + - *342 + - *343 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66033,7 +66613,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &465 + properties: &471 login: type: string example: octocat @@ -66126,7 +66706,7 @@ paths: user_view_type: type: string example: public - required: &466 + required: &472 - avatar_url - events_url - followers_url @@ -66175,7 +66755,7 @@ paths: admin: false role_name: write headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -66200,9 +66780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *336 - - *337 - - *65 + - *342 + - *343 + - *71 responses: '204': description: Response if user is a collaborator @@ -66248,9 +66828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *336 - - *337 - - *65 + - *342 + - *343 + - *71 requestBody: required: false content: @@ -66276,7 +66856,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &535 + schema: &541 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66287,7 +66867,7 @@ paths: example: 42 type: integer format: int64 - repository: *156 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -66465,7 +67045,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *124 + schema: *129 '403': *29 x-github: triggersNotification: true @@ -66505,9 +67085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *336 - - *337 - - *65 + - *342 + - *343 + - *71 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66538,9 +67118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *336 - - *337 - - *65 + - *342 + - *343 + - *71 responses: '200': description: if user has admin permissions @@ -66560,8 +67140,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *465 - required: *466 + properties: *471 + required: *472 nullable: true required: - permission @@ -66616,8 +67196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -66627,7 +67207,7 @@ paths: application/json: schema: type: array - items: &467 + items: &473 title: Commit Comment description: Commit Comment type: object @@ -66668,8 +67248,8 @@ paths: updated_at: type: string format: date-time - author_association: *76 - reactions: *77 + author_association: *82 + reactions: *83 required: - url - html_url @@ -66685,7 +67265,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &478 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66719,7 +67299,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66744,17 +67324,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '200': description: Response content: application/json: - schema: *467 + schema: *473 examples: - default: &473 + default: &479 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66811,9 +67391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -66835,7 +67415,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *473 examples: default: value: @@ -66886,9 +67466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '204': description: Response @@ -66909,9 +67489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -66937,7 +67517,7 @@ paths: application/json: schema: type: array - items: &468 + items: &474 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -66980,7 +67560,7 @@ paths: - content - created_at examples: - default: &539 + default: &545 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67006,7 +67586,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -67025,9 +67605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -67059,9 +67639,9 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *474 examples: - default: &469 + default: &475 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67090,9 +67670,9 @@ paths: description: Reaction created content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -67114,10 +67694,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *336 - - *337 - - *95 - - &540 + - *342 + - *343 + - *101 + - &546 name: reaction_id description: The unique identifier of the reaction. in: path @@ -67172,8 +67752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *336 - - *337 + - *342 + - *343 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67229,9 +67809,9 @@ paths: application/json: schema: type: array - items: *470 + items: *476 examples: - default: &590 + default: &596 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67301,8 +67881,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *61 - '500': *115 + Link: *67 + '500': *55 '400': *14 '404': *6 '409': *54 @@ -67325,9 +67905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *336 - - *337 - - &471 + - *342 + - *343 + - &477 name: commit_sha description: The SHA of the commit. in: path @@ -67399,9 +67979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *336 - - *337 - - *471 + - *342 + - *343 + - *477 - *17 - *19 responses: @@ -67411,11 +67991,11 @@ paths: application/json: schema: type: array - items: *467 + items: *473 examples: - default: *472 + default: *478 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67441,9 +68021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *336 - - *337 - - *471 + - *342 + - *343 + - *477 requestBody: required: true content: @@ -67478,9 +68058,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *473 examples: - default: *473 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67508,9 +68088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *336 - - *337 - - *471 + - *342 + - *343 + - *477 - *17 - *19 responses: @@ -67520,9 +68100,9 @@ paths: application/json: schema: type: array - items: *474 + items: *480 examples: - default: &582 + default: &588 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68001,7 +68581,7 @@ paths: auto_merge: draft: false headers: - Link: *61 + Link: *67 '409': *54 x-github: githubCloudOnly: false @@ -68059,11 +68639,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *336 - - *337 + - *342 + - *343 - *19 - *17 - - &475 + - &481 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)" @@ -68078,9 +68658,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *476 examples: - default: &569 + default: &575 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68166,8 +68746,8 @@ paths: ..... '422': *15 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 '409': *54 x-github: githubCloudOnly: false @@ -68193,11 +68773,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *336 - - *337 - - *475 - - *476 - - *477 + - *342 + - *343 + - *481 + - *482 + - *483 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68231,11 +68811,11 @@ paths: type: integer check_runs: type: array - items: *414 + items: *420 examples: - default: *478 + default: *484 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68258,9 +68838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *336 - - *337 - - *475 + - *342 + - *343 + - *481 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68268,7 +68848,7 @@ paths: schema: type: integer example: 1 - - *476 + - *482 - *17 - *19 responses: @@ -68286,7 +68866,7 @@ paths: type: integer check_suites: type: array - items: *419 + items: *425 examples: default: value: @@ -68461,7 +69041,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68486,9 +69066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *336 - - *337 - - *475 + - *342 + - *343 + - *481 - *17 - *19 responses: @@ -68555,7 +69135,7 @@ paths: type: string total_count: type: integer - repository: *156 + repository: *161 commit_url: type: string format: uri @@ -68686,9 +69266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *336 - - *337 - - *475 + - *342 + - *343 + - *481 - *17 - *19 responses: @@ -68698,7 +69278,7 @@ paths: application/json: schema: type: array - items: &655 + items: &661 title: Status description: The status of a commit. type: object @@ -68778,8 +69358,8 @@ paths: type: User site_admin: false headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68807,8 +69387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -68837,20 +69417,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *479 - required: *480 + properties: *485 + required: *486 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &481 + properties: &487 url: type: string format: uri html_url: type: string format: uri - required: &482 + required: &488 - url - html_url nullable: true @@ -68858,32 +69438,32 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true contributing: title: Community Health File type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true readme: title: Community Health File type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true issue_template: title: Community Health File type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true pull_request_template: title: Community Health File type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true required: - code_of_conduct @@ -69010,8 +69590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *336 - - *337 + - *342 + - *343 - *19 - *17 - name: basehead @@ -69054,8 +69634,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *470 - merge_base_commit: *470 + base_commit: *476 + merge_base_commit: *476 status: type: string enum: @@ -69075,10 +69655,10 @@ paths: example: 6 commits: type: array - items: *470 + items: *476 files: type: array - items: *483 + items: *489 required: - url - html_url @@ -69321,8 +69901,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69364,8 +69944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *336 - - *337 + - *342 + - *343 - name: path description: path parameter in: path @@ -69525,7 +70105,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &484 + response-if-content-is-a-file-github-object: &490 summary: Response if content is a file value: type: file @@ -69657,7 +70237,7 @@ paths: - size - type - url - - &595 + - &601 title: Content File description: Content File type: object @@ -69858,7 +70438,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *484 + response-if-content-is-a-file: *490 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69927,7 +70507,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *485 + '302': *491 '304': *37 x-github: githubCloudOnly: false @@ -69950,8 +70530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *336 - - *337 + - *342 + - *343 - name: path description: path parameter in: path @@ -70044,7 +70624,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &492 title: File Commit description: File Commit type: object @@ -70196,7 +70776,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *492 examples: example-for-creating-a-file: value: @@ -70250,7 +70830,7 @@ paths: schema: oneOf: - *3 - - &517 + - &523 description: Repository rule violation was detected type: object properties: @@ -70271,7 +70851,7 @@ paths: items: type: object properties: - placeholder_id: &647 + placeholder_id: &653 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70303,8 +70883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *336 - - *337 + - *342 + - *343 - name: path description: path parameter in: path @@ -70365,7 +70945,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *492 examples: default: value: @@ -70400,7 +70980,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70420,8 +71000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *336 - - *337 + - *342 + - *343 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70521,7 +71101,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *61 + Link: *67 '204': description: Response if repository is empty '403': *29 @@ -70544,24 +71124,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *336 - - *337 - - *195 - - *196 - - *197 - - *198 + - *342 + - *343 + - *200 + - *201 + - *202 + - *203 - 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 - - *199 - - *487 - - *200 - - *201 - - *202 - - *55 + - *204 + - *493 + - *205 + - *206 + - *207 + - *61 - *47 - *48 - *17 @@ -70572,11 +71152,11 @@ paths: application/json: schema: type: array - items: &491 + items: &497 type: object description: A Dependabot alert. properties: - number: *174 + number: *179 state: type: string description: The state of the Dependabot alert. @@ -70591,7 +71171,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *56 + package: *62 manifest_path: type: string description: The full path to the dependency manifest file, @@ -70618,13 +71198,13 @@ paths: - unknown - direct - transitive - security_advisory: *488 - security_vulnerability: *59 - url: *177 - html_url: *178 - created_at: *175 - updated_at: *176 - dismissed_at: *180 + security_advisory: *494 + security_vulnerability: *65 + url: *182 + html_url: *183 + created_at: *180 + updated_at: *181 + dismissed_at: *185 dismissed_by: title: Simple User description: A GitHub user. @@ -70648,9 +71228,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *179 - auto_dismissed_at: *489 - dismissal_request: *490 + fixed_at: *184 + auto_dismissed_at: *495 + dismissal_request: *496 assignees: type: array description: The users assigned to this alert. @@ -70905,9 +71485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *336 - - *337 - - &492 + - *342 + - *343 + - &498 name: alert_number in: path description: |- @@ -70916,13 +71496,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *174 + schema: *179 responses: '200': description: Response content: application/json: - schema: *491 + schema: *497 examples: default: value: @@ -71054,9 +71634,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *336 - - *337 - - *492 + - *342 + - *343 + - *498 requestBody: required: true content: @@ -71112,7 +71692,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *497 examples: default: value: @@ -71242,8 +71822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -71261,7 +71841,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &501 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71292,7 +71872,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71314,16 +71894,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *493 + schema: *499 examples: - default: *494 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71343,15 +71923,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '200': description: Response content: application/json: - schema: *495 + schema: *501 examples: default: value: @@ -71377,9 +71957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 requestBody: required: true content: @@ -71407,7 +71987,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -71431,9 +72011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '204': description: Response @@ -71455,8 +72035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *336 - - *337 + - *342 + - *343 - 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 @@ -71592,7 +72172,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *61 + Link: *67 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -71616,8 +72196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -71833,7 +72413,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *61 + Link: *67 '404': *6 '403': *29 x-github: @@ -71856,8 +72436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -71932,7 +72512,7 @@ paths: - version - url additionalProperties: false - metadata: &496 + metadata: &502 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71965,7 +72545,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *496 + metadata: *502 resolved: type: object description: A collection of resolved package dependencies. @@ -71978,7 +72558,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *496 + metadata: *502 relationship: type: string description: A notation of whether a dependency is requested @@ -72107,8 +72687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *336 - - *337 + - *342 + - *343 - name: sha description: The SHA recorded at creation time. in: query @@ -72148,11 +72728,11 @@ paths: application/json: schema: type: array - items: *497 + items: *503 examples: - default: *498 + default: *504 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72216,8 +72796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -72298,7 +72878,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *503 examples: simple-example: summary: Simple example @@ -72371,9 +72951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *336 - - *337 - - &499 + - *342 + - *343 + - &505 name: deployment_id description: deployment_id parameter in: path @@ -72385,7 +72965,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *503 examples: default: value: @@ -72450,9 +73030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *336 - - *337 - - *499 + - *342 + - *343 + - *505 responses: '204': description: Response @@ -72474,9 +73054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *336 - - *337 - - *499 + - *342 + - *343 + - *505 - *17 - *19 responses: @@ -72486,7 +73066,7 @@ paths: application/json: schema: type: array - items: &500 + items: &506 title: Deployment Status description: The status of a deployment. type: object @@ -72577,8 +73157,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -72627,7 +73207,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -72647,9 +73227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *336 - - *337 - - *499 + - *342 + - *343 + - *505 requestBody: required: true content: @@ -72724,9 +73304,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: &501 + default: &507 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72782,9 +73362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *336 - - *337 - - *499 + - *342 + - *343 + - *505 - name: status_id in: path required: true @@ -72795,9 +73375,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: *501 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -72822,8 +73402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -72880,8 +73460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -72898,7 +73478,7 @@ paths: type: integer environments: type: array - items: &503 + items: &509 title: Environment description: Details of a deployment environment type: object @@ -72950,7 +73530,7 @@ paths: type: type: string example: wait_timer - wait_timer: &505 + wait_timer: &511 type: integer example: 30 description: The amount of time to delay a job after @@ -72987,11 +73567,11 @@ paths: items: type: object properties: - type: *502 + type: *508 reviewer: anyOf: - *4 - - *193 + - *198 required: - id - node_id @@ -73011,7 +73591,7 @@ paths: - id - node_id - type - deployment_branch_policy: &506 + deployment_branch_policy: &512 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -73127,9 +73707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *336 - - *337 - - &504 + - *342 + - *343 + - &510 name: environment_name in: path required: true @@ -73142,9 +73722,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *509 examples: - default: &507 + default: &513 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73228,9 +73808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 requestBody: required: false content: @@ -73239,7 +73819,7 @@ paths: type: object nullable: true properties: - wait_timer: *505 + wait_timer: *511 prevent_self_review: type: boolean example: false @@ -73256,13 +73836,13 @@ paths: items: type: object properties: - type: *502 + type: *508 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *506 + deployment_branch_policy: *512 additionalProperties: false examples: default: @@ -73282,9 +73862,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *509 examples: - default: *507 + default: *513 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73308,9 +73888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 responses: '204': description: Default response @@ -73335,9 +73915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 - *17 - *19 responses: @@ -73355,7 +73935,7 @@ paths: example: 2 branch_policies: type: array - items: &508 + items: &514 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73412,9 +73992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 requestBody: required: true content: @@ -73460,9 +74040,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - example-wildcard: &509 + example-wildcard: &515 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73504,10 +74084,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *336 - - *337 - - *504 - - &510 + - *342 + - *343 + - *510 + - &516 name: branch_policy_id in: path required: true @@ -73519,9 +74099,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: *509 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,10 +74120,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *336 - - *337 - - *504 + - *342 + - *343 - *510 + - *516 requestBody: required: true content: @@ -73571,9 +74151,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: *509 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73592,10 +74172,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *336 - - *337 - - *504 + - *342 + - *343 - *510 + - *516 responses: '204': description: Response @@ -73620,9 +74200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *504 - - *337 - - *336 + - *510 + - *343 + - *342 responses: '200': description: List of deployment protection rules @@ -73638,7 +74218,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &511 + items: &517 title: Deployment protection rule description: Deployment protection rule type: object @@ -73657,7 +74237,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &512 + app: &518 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73756,9 +74336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *504 - - *337 - - *336 + - *510 + - *343 + - *342 requestBody: content: application/json: @@ -73779,9 +74359,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *511 + schema: *517 examples: - default: &513 + default: &519 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73816,9 +74396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *504 - - *337 - - *336 + - *510 + - *343 + - *342 - *19 - *17 responses: @@ -73837,7 +74417,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *512 + items: *518 examples: default: value: @@ -73872,10 +74452,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *336 - - *337 - - *504 - - &514 + - *342 + - *343 + - *510 + - &520 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73887,9 +74467,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *517 examples: - default: *513 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73910,10 +74490,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *504 - - *337 - - *336 - - *514 + - *510 + - *343 + - *342 + - *520 responses: '204': description: Response @@ -73939,9 +74519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 - *17 - *19 responses: @@ -73959,11 +74539,11 @@ paths: type: integer secrets: type: array - items: *381 + items: *387 examples: - default: *382 + default: *388 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73986,17 +74566,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 responses: '200': description: Response content: application/json: - schema: *383 + schema: *389 examples: - default: *384 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74018,18 +74598,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *336 - - *337 - - *504 - - *164 + - *342 + - *343 + - *510 + - *169 responses: '200': description: Response content: application/json: - schema: *381 + schema: *387 examples: - default: *515 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74051,10 +74631,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *336 - - *337 - - *504 - - *164 + - *342 + - *343 + - *510 + - *169 requestBody: required: true content: @@ -74085,7 +74665,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -74111,10 +74691,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *336 - - *337 - - *504 - - *164 + - *342 + - *343 + - *510 + - *169 responses: '204': description: Default response @@ -74139,10 +74719,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *336 - - *337 - - *504 - - *352 + - *342 + - *343 + - *510 + - *358 - *19 responses: '200': @@ -74159,11 +74739,11 @@ paths: type: integer variables: type: array - items: *385 + items: *391 examples: - default: *386 + default: *392 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74184,9 +74764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 requestBody: required: true content: @@ -74213,7 +74793,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -74238,18 +74818,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *336 - - *337 - - *504 - - *167 + - *342 + - *343 + - *510 + - *172 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: *516 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74270,10 +74850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *336 - - *337 - - *167 - - *504 + - *342 + - *343 + - *172 + - *510 requestBody: required: true content: @@ -74315,10 +74895,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *336 - - *337 - - *167 - - *504 + - *342 + - *343 + - *172 + - *510 responses: '204': description: Response @@ -74340,8 +74920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -74351,7 +74931,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: 200-response: value: @@ -74409,8 +74989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *336 - - *337 + - *342 + - *343 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74432,7 +75012,7 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: default: value: @@ -74545,7 +75125,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *61 + Link: *67 '400': *14 x-github: githubCloudOnly: false @@ -74569,8 +75149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -74602,9 +75182,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 + default: *347 '400': *14 '422': *15 '403': *29 @@ -74625,8 +75205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -74685,8 +75265,8 @@ paths: application/json: schema: oneOf: - - *124 - - *517 + - *129 + - *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74711,8 +75291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *336 - - *337 + - *342 + - *343 - name: file_sha in: path required: true @@ -74811,8 +75391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -74921,7 +75501,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &524 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75135,15 +75715,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *336 - - *337 - - *471 + - *342 + - *343 + - *477 responses: '200': description: Response content: application/json: - schema: *518 + schema: *524 examples: default: value: @@ -75199,9 +75779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *336 - - *337 - - &519 + - *342 + - *343 + - &525 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. @@ -75218,7 +75798,7 @@ paths: application/json: schema: type: array - items: &520 + items: &526 title: Git Reference description: Git references within a repository type: object @@ -75271,7 +75851,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *61 + Link: *67 '409': *54 x-github: githubCloudOnly: false @@ -75293,17 +75873,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *336 - - *337 - - *519 + - *342 + - *343 + - *525 responses: '200': description: Response content: application/json: - schema: *520 + schema: *526 examples: - default: &521 + default: &527 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75332,8 +75912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -75362,9 +75942,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *526 examples: - default: *521 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75390,9 +75970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *336 - - *337 - - *519 + - *342 + - *343 + - *525 requestBody: required: true content: @@ -75421,9 +76001,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *526 examples: - default: *521 + default: *527 '422': *15 '409': *54 x-github: @@ -75441,9 +76021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *336 - - *337 - - *519 + - *342 + - *343 + - *525 responses: '204': description: Response @@ -75498,8 +76078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -75566,7 +76146,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &529 title: Git Tag description: Metadata for a Git tag type: object @@ -75617,7 +76197,7 @@ paths: - sha - type - url - verification: *522 + verification: *528 required: - sha - url @@ -75627,7 +76207,7 @@ paths: - tag - message examples: - default: &524 + default: &530 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75700,8 +76280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *336 - - *337 + - *342 + - *343 - name: tag_sha in: path required: true @@ -75712,9 +76292,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '404': *6 '409': *54 x-github: @@ -75738,8 +76318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -75812,7 +76392,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &531 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75908,8 +76488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *336 - - *337 + - *342 + - *343 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75932,7 +76512,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *531 examples: default-response: summary: Default response @@ -75991,8 +76571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -76002,7 +76582,7 @@ paths: application/json: schema: type: array - items: &526 + items: &532 title: Webhook description: Webhooks for repositories. type: object @@ -76056,7 +76636,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &769 + last_response: &775 title: Hook Response type: object properties: @@ -76111,7 +76691,7 @@ paths: status: unused message: headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -76130,8 +76710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -76183,9 +76763,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: &527 + default: &533 value: type: Repository id: 12345678 @@ -76233,17 +76813,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '200': description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: *527 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -76263,9 +76843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 requestBody: required: true content: @@ -76310,9 +76890,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: *527 + default: *533 '422': *15 '404': *6 x-github: @@ -76333,9 +76913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '204': description: Response @@ -76359,9 +76939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '200': description: Response @@ -76388,9 +76968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 requestBody: required: false content: @@ -76434,11 +77014,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 - *17 - - *211 + - *216 + - *217 responses: '200': description: Response @@ -76446,9 +77027,9 @@ paths: application/json: schema: type: array - items: *212 + items: *218 examples: - default: *213 + default: *219 '400': *14 '422': *15 x-github: @@ -76467,18 +77048,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 '400': *14 '422': *15 x-github: @@ -76497,9 +77078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 - *16 responses: '202': *39 @@ -76522,9 +77103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '204': description: Response @@ -76549,9 +77130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '204': description: Response @@ -76574,8 +77155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response if immutable releases are enabled @@ -76621,10 +77202,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *336 - - *337 + - *342 + - *343 responses: - '204': *187 + '204': *192 '409': *54 x-github: githubCloudOnly: false @@ -76642,10 +77223,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *336 - - *337 + - *342 + - *343 responses: - '204': *187 + '204': *192 '409': *54 x-github: githubCloudOnly: false @@ -76700,14 +77281,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &528 + schema: &534 title: Import description: A repository import from an external source. type: object @@ -76806,7 +77387,7 @@ paths: - html_url - authors_url examples: - default: &531 + default: &537 value: vcs: subversion use_lfs: true @@ -76822,7 +77403,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': &529 + '503': &535 description: Unavailable due to service under maintenance. content: application/json: @@ -76851,8 +77432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -76900,7 +77481,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: default: value: @@ -76925,7 +77506,7 @@ paths: type: string '422': *15 '404': *6 - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76953,8 +77534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -77003,7 +77584,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: example-1: summary: Example 1 @@ -77051,7 +77632,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': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77074,12 +77655,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77105,9 +77686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *336 - - *337 - - &698 + - *342 + - *343 + - &704 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77121,7 +77702,7 @@ paths: application/json: schema: type: array - items: &530 + items: &536 title: Porter Author description: Porter Author type: object @@ -77175,7 +77756,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': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77200,8 +77781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *336 - - *337 + - *342 + - *343 - name: author_id in: path required: true @@ -77231,7 +77812,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: default: value: @@ -77244,7 +77825,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77268,8 +77849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -77310,7 +77891,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77338,8 +77919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -77366,11 +77947,11 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *531 + default: *537 '422': *15 - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77393,8 +77974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -77402,8 +77983,8 @@ paths: application/json: schema: *22 examples: - default: *532 - '301': *340 + default: *538 + '301': *346 '404': *6 x-github: githubCloudOnly: false @@ -77423,8 +78004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -77432,12 +78013,12 @@ paths: application/json: schema: anyOf: - - *228 + - *234 - type: object properties: {} additionalProperties: false examples: - default: &534 + default: &540 value: limit: collaborators_only origin: repository @@ -77462,13 +78043,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *533 + schema: *539 examples: default: summary: Example request body @@ -77480,9 +78061,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *234 examples: - default: *534 + default: *540 '409': description: Response x-github: @@ -77504,8 +78085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -77528,8 +78109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -77539,9 +78120,9 @@ paths: application/json: schema: type: array - items: *535 + items: *541 examples: - default: &691 + default: &697 value: - id: 1 repository: @@ -77655,7 +78236,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77672,9 +78253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *336 - - *337 - - *232 + - *342 + - *343 + - *238 requestBody: required: false content: @@ -77703,7 +78284,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *541 examples: default: value: @@ -77834,9 +78415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *336 - - *337 - - *232 + - *342 + - *343 + - *238 responses: '204': description: Response @@ -77867,8 +78448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *336 - - *337 + - *342 + - *343 - 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 @@ -77916,7 +78497,7 @@ paths: required: false schema: type: string - - *239 + - *245 - name: sort description: What to sort results by. in: query @@ -77928,8 +78509,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -77939,9 +78520,9 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: &547 + default: &553 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78089,8 +78670,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '422': *15 '404': *6 x-github: @@ -78119,8 +78700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -78202,9 +78783,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: &544 + default: &550 value: id: 1 node_id: MDU6SXNzdWUx @@ -78359,9 +78940,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *116 + '503': *121 '404': *6 - '410': *536 + '410': *542 x-github: triggersNotification: true githubCloudOnly: false @@ -78389,9 +78970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *336 - - *337 - - *103 + - *342 + - *343 + - *109 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78401,7 +78982,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -78411,9 +78992,9 @@ paths: application/json: schema: type: array - items: *537 + items: *543 examples: - default: &546 + default: &552 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78444,7 +79025,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '422': *15 '404': *6 x-github: @@ -78471,17 +79052,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '200': description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: &538 + default: &544 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78536,9 +79117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -78560,9 +79141,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: *538 + default: *544 '422': *15 x-github: githubCloudOnly: false @@ -78580,9 +79161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '204': description: Response @@ -78610,15 +79191,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '200': description: Response content: application/json: - schema: *537 + schema: *543 examples: default: value: @@ -78674,7 +79255,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *536 + '410': *542 '422': *15 x-github: githubCloudOnly: false @@ -78691,17 +79272,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *536 - '503': *116 + '410': *542 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78718,9 +79299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -78746,11 +79327,11 @@ paths: application/json: schema: type: array - items: *468 + items: *474 examples: - default: *539 + default: *545 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -78769,9 +79350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -78803,16 +79384,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '201': description: Reaction created content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -78834,10 +79415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *336 - - *337 - - *95 - - *540 + - *342 + - *343 + - *101 + - *546 responses: '204': description: Response @@ -78857,8 +79438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -78868,7 +79449,7 @@ paths: application/json: schema: type: array - items: &543 + items: &549 title: Issue Event description: Issue Event type: object @@ -78911,8 +79492,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *541 - required: *542 + properties: *547 + required: *548 nullable: true label: title: Issue Event Label @@ -78956,7 +79537,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *193 + requested_team: *198 dismissed_review: title: Issue Event Dismissed Review type: object @@ -79021,7 +79602,7 @@ paths: required: - from - to - author_association: *76 + author_association: *82 lock_reason: type: string nullable: true @@ -79034,8 +79615,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -79202,7 +79783,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -79220,8 +79801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *336 - - *337 + - *342 + - *343 - name: event_id in: path required: true @@ -79232,7 +79813,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: default: value: @@ -79425,7 +80006,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *536 + '410': *542 '403': *29 x-github: githubCloudOnly: false @@ -79459,9 +80040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *336 - - *337 - - &545 + - *342 + - *343 + - &551 name: issue_number description: The number that identifies the issue. in: path @@ -79473,11 +80054,11 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: default: summary: Issue - value: *544 + value: *550 pinned_comment: summary: Issue with pinned comment value: @@ -79676,9 +80257,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *340 + '301': *346 '404': *6 - '410': *536 + '410': *542 '304': *37 x-github: githubCloudOnly: false @@ -79703,9 +80284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -79829,15 +80410,15 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 '422': *15 - '503': *116 + '503': *121 '403': *29 - '301': *340 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79855,9 +80436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -79883,9 +80464,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79901,9 +80482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: content: application/json: @@ -79928,9 +80509,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79952,9 +80533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - name: assignee in: path required: true @@ -79994,10 +80575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *336 - - *337 - - *545 - - *86 + - *342 + - *343 + - *551 + - *92 - *17 - *19 responses: @@ -80007,13 +80588,13 @@ paths: application/json: schema: type: array - items: *537 + items: *543 examples: - default: *546 + default: *552 headers: - Link: *61 + Link: *67 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80042,9 +80623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -80066,16 +80647,16 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: *538 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *536 + '410': *542 '422': *15 '404': *6 x-github: @@ -80103,9 +80684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -80115,14 +80696,14 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *547 + default: *553 headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80150,9 +80731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -80174,17 +80755,17 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *340 + '301': *346 '403': *29 - '410': *536 + '410': *542 '422': *15 '404': *6 x-github: @@ -80215,9 +80796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -80229,15 +80810,15 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 - '301': *340 + default: *550 + '301': *346 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *536 + '410': *542 x-github: triggersNotification: true githubCloudOnly: false @@ -80263,9 +80844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -80275,14 +80856,14 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *547 + default: *553 headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80299,9 +80880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -80315,7 +80896,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &550 + - &556 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80346,8 +80927,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 label: type: object properties: @@ -80369,7 +80950,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &557 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80400,8 +80981,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 label: type: object properties: @@ -80489,8 +81070,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 assigner: *4 required: @@ -80505,7 +81086,7 @@ paths: - performed_via_github_app - assignee - assigner - - &552 + - &558 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80536,8 +81117,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 milestone: type: object properties: @@ -80556,7 +81137,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &559 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80587,8 +81168,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 milestone: type: object properties: @@ -80607,7 +81188,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &560 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80638,8 +81219,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 rename: type: object properties: @@ -80661,7 +81242,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &561 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80692,10 +81273,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 review_requester: *4 - requested_team: *193 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -80708,7 +81289,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &562 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80739,10 +81320,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 review_requester: *4 - requested_team: *193 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -80755,7 +81336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &563 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80786,8 +81367,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 dismissed_review: type: object properties: @@ -80815,7 +81396,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &564 title: Locked Issue Event description: Locked Issue Event type: object @@ -80846,8 +81427,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 lock_reason: type: string example: '"off-topic"' @@ -80863,7 +81444,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &565 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80894,8 +81475,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -80929,7 +81510,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &566 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80960,8 +81541,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -80995,7 +81576,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &567 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81026,8 +81607,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -81061,7 +81642,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &568 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81151,8 +81732,8 @@ paths: name: label color: red headers: - Link: *61 - '410': *536 + Link: *67 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81169,9 +81750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -81181,9 +81762,9 @@ paths: application/json: schema: type: array - items: *548 + items: *554 examples: - default: &661 + default: &667 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -81206,10 +81787,10 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81226,9 +81807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -81238,9 +81819,9 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: &549 + default: &555 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81257,10 +81838,10 @@ paths: color: a2eeef default: false headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81276,9 +81857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -81321,12 +81902,12 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *549 - '301': *340 + default: *555 + '301': *346 '404': *6 - '410': *536 + '410': *542 '422': *15 x-github: githubCloudOnly: false @@ -81343,9 +81924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -81405,12 +81986,12 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *549 - '301': *340 + default: *555 + '301': *346 '404': *6 - '410': *536 + '410': *542 '422': *15 x-github: githubCloudOnly: false @@ -81427,15 +82008,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 responses: '204': description: Response - '301': *340 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81454,9 +82035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - name: name in: path required: true @@ -81469,7 +82050,7 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: default: value: @@ -81480,9 +82061,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *340 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81502,9 +82083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -81532,7 +82113,7 @@ paths: '204': description: Response '403': *29 - '410': *536 + '410': *542 '404': *6 '422': *15 x-github: @@ -81550,9 +82131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 responses: '204': description: Response @@ -81582,20 +82163,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 responses: '200': description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 - '301': *340 + default: *550 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81612,9 +82193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81640,13 +82221,13 @@ paths: application/json: schema: type: array - items: *468 + items: *474 examples: - default: *539 + default: *545 headers: - Link: *61 + Link: *67 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81664,9 +82245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -81698,16 +82279,16 @@ paths: description: Response content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '201': description: Response content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -81729,10 +82310,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *336 - - *337 - - *545 - - *540 + - *342 + - *343 + - *551 + - *546 responses: '204': description: Response @@ -81761,9 +82342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -81785,9 +82366,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81820,9 +82401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -81832,13 +82413,13 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *547 + default: *553 headers: - Link: *61 + Link: *67 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81866,9 +82447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -81895,16 +82476,16 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *536 + '410': *542 '422': *15 '404': *6 x-github: @@ -81924,9 +82505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -81957,13 +82538,13 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 '403': *29 '404': *6 '422': *7 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -81981,9 +82562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -81998,12 +82579,6 @@ paths: description: Timeline Event type: object anyOf: - - *550 - - *551 - - *552 - - *553 - - *554 - - *555 - *556 - *557 - *558 @@ -82011,6 +82586,12 @@ paths: - *560 - *561 - *562 + - *563 + - *564 + - *565 + - *566 + - *567 + - *568 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82053,7 +82634,7 @@ paths: issue_url: type: string format: uri - author_association: *76 + author_association: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -82063,16 +82644,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - reactions: *77 + properties: *80 + required: *81 + reactions: *83 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *563 - required: *564 + properties: *569 + required: *570 nullable: true required: - event @@ -82104,7 +82685,7 @@ paths: properties: type: type: string - issue: *79 + issue: *85 required: - event - created_at @@ -82304,7 +82885,7 @@ paths: type: string body_text: type: string - author_association: *76 + author_association: *82 required: - event - id @@ -82327,7 +82908,7 @@ paths: type: string comments: type: array - items: &584 + items: &590 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82422,7 +83003,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *76 + author_association: *82 _links: type: object properties: @@ -82506,7 +83087,7 @@ paths: enum: - line - file - reactions: *77 + reactions: *83 body_html: type: string example: '"

comment body

"' @@ -82542,7 +83123,7 @@ paths: type: string comments: type: array - items: *467 + items: *473 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82573,8 +83154,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 required: - id @@ -82617,8 +83198,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 required: - id @@ -82661,8 +83242,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 state_reason: type: string nullable: true @@ -82829,9 +83410,9 @@ paths: type: User site_admin: true headers: - Link: *61 + Link: *67 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82848,8 +83429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -82859,7 +83440,7 @@ paths: application/json: schema: type: array - items: &565 + items: &571 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82909,7 +83490,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82925,8 +83506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -82962,9 +83543,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *571 examples: - default: &566 + default: &572 value: id: 1 key: ssh-rsa AAA... @@ -82998,9 +83579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *336 - - *337 - - &567 + - *342 + - *343 + - &573 name: key_id description: The unique identifier of the key. in: path @@ -83012,9 +83593,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *571 examples: - default: *566 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -83032,9 +83613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *336 - - *337 - - *567 + - *342 + - *343 + - *573 responses: '204': description: Response @@ -83054,8 +83635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -83065,11 +83646,11 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *549 + default: *555 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -83088,8 +83669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83125,9 +83706,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: - default: &568 + default: &574 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83159,8 +83740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *336 - - *337 + - *342 + - *343 - name: name in: path required: true @@ -83171,9 +83752,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: - default: *568 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -83190,8 +83771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *336 - - *337 + - *342 + - *343 - name: name in: path required: true @@ -83230,7 +83811,7 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: default: value: @@ -83256,8 +83837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *336 - - *337 + - *342 + - *343 - name: name in: path required: true @@ -83283,8 +83864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -83323,9 +83904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *336 - - *337 - - *440 + - *342 + - *343 + - *446 responses: '200': description: Response @@ -83387,8 +83968,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true required: - _links @@ -83470,8 +84051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83536,8 +84117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83571,9 +84152,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *470 + schema: *476 examples: - default: *569 + default: *575 '204': description: Response when already merged '404': @@ -83598,8 +84179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *336 - - *337 + - *342 + - *343 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83640,12 +84221,12 @@ paths: application/json: schema: type: array - items: &570 + items: &576 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *279 + required: *280 examples: default: value: @@ -83684,7 +84265,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -83701,8 +84282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83742,9 +84323,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *576 examples: - default: &571 + default: &577 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83803,9 +84384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *336 - - *337 - - &572 + - *342 + - *343 + - &578 name: milestone_number description: The number that identifies the milestone. in: path @@ -83817,9 +84398,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *576 examples: - default: *571 + default: *577 '404': *6 x-github: githubCloudOnly: false @@ -83836,9 +84417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *336 - - *337 - - *572 + - *342 + - *343 + - *578 requestBody: required: false content: @@ -83876,9 +84457,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *576 examples: - default: *571 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83894,9 +84475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *336 - - *337 - - *572 + - *342 + - *343 + - *578 responses: '204': description: Response @@ -83917,9 +84498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *336 - - *337 - - *572 + - *342 + - *343 + - *578 - *17 - *19 responses: @@ -83929,11 +84510,11 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *549 + default: *555 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83950,12 +84531,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *336 - - *337 - - *573 - - *574 - - *86 - - *575 + - *342 + - *343 + - *579 + - *580 + - *92 + - *581 - *17 - *19 responses: @@ -83965,11 +84546,11 @@ paths: application/json: schema: type: array - items: *106 + items: *112 examples: - default: *576 + default: *582 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83991,8 +84572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -84050,14 +84631,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &577 + schema: &583 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84182,7 +84763,7 @@ paths: - custom_404 - public examples: - default: &578 + default: &584 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84223,8 +84804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -84278,9 +84859,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *583 examples: - default: *578 + default: *584 '422': *15 '409': *54 x-github: @@ -84303,8 +84884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -84403,8 +84984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -84430,8 +85011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -84441,7 +85022,7 @@ paths: application/json: schema: type: array - items: &579 + items: &585 title: Page Build description: Page Build type: object @@ -84516,7 +85097,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84535,8 +85116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *336 - - *337 + - *342 + - *343 responses: '201': description: Response @@ -84581,16 +85162,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *579 + schema: *585 examples: - default: &580 + default: &586 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84638,8 +85219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *336 - - *337 + - *342 + - *343 - name: build_id in: path required: true @@ -84650,9 +85231,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *585 examples: - default: *580 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84672,8 +85253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -84778,9 +85359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *336 - - *337 - - &581 + - *342 + - *343 + - &587 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84838,11 +85419,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *336 - - *337 - - *581 + - *342 + - *343 + - *587 responses: - '204': *187 + '204': *192 '404': *6 x-github: githubCloudOnly: false @@ -84867,8 +85448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -85099,7 +85680,7 @@ paths: description: Empty response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -85126,8 +85707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Private vulnerability reporting status @@ -85164,10 +85745,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: - '204': *187 + '204': *192 '422': *14 x-github: githubCloudOnly: false @@ -85186,10 +85767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: - '204': *187 + '204': *192 '422': *14 x-github: githubCloudOnly: false @@ -85209,8 +85790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -85218,7 +85799,7 @@ paths: application/json: schema: type: array - items: *288 + items: *294 examples: default: value: @@ -85249,8 +85830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -85262,7 +85843,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *288 + items: *294 required: - properties examples: @@ -85312,8 +85893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *336 - - *337 + - *342 + - *343 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85373,11 +85954,11 @@ paths: application/json: schema: type: array - items: *474 + items: *480 examples: - default: *582 + default: *588 headers: - Link: *61 + Link: *67 '304': *37 '422': *15 x-github: @@ -85407,8 +85988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -85473,7 +86054,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &592 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85584,8 +86165,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *279 + required: *280 nullable: true active_lock_reason: type: string @@ -85628,7 +86209,7 @@ paths: items: *4 requested_teams: type: array - items: *325 + items: *331 head: type: object properties: @@ -85636,7 +86217,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: *4 @@ -85653,7 +86234,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: *4 @@ -85666,14 +86247,14 @@ paths: _links: type: object properties: - comments: *275 - commits: *275 - statuses: *275 - html: *275 - issue: *275 - review_comments: *275 - review_comment: *275 - self: *275 + comments: *281 + commits: *281 + statuses: *281 + html: *281 + issue: *281 + review_comments: *281 + review_comment: *281 + self: *281 required: - comments - commits @@ -85683,8 +86264,8 @@ paths: - review_comments - review_comment - self - author_association: *76 - auto_merge: *583 + author_association: *82 + auto_merge: *589 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -85776,7 +86357,7 @@ paths: - merged_by - review_comments examples: - default: &587 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86303,8 +86884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: sort in: query required: false @@ -86323,7 +86904,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -86333,9 +86914,9 @@ paths: application/json: schema: type: array - items: *584 + items: *590 examples: - default: &589 + default: &595 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86387,7 +86968,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86412,17 +86993,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '200': description: Response content: application/json: - schema: *584 + schema: *590 examples: - default: &585 + default: &591 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86497,9 +87078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -86521,9 +87102,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: - default: *585 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86539,9 +87120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '204': description: Response @@ -86562,9 +87143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86590,11 +87171,11 @@ paths: application/json: schema: type: array - items: *468 + items: *474 examples: - default: *539 + default: *545 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -86613,9 +87194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -86647,16 +87228,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '201': description: Reaction created content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -86678,10 +87259,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *336 - - *337 - - *95 - - *540 + - *342 + - *343 + - *101 + - *546 responses: '204': description: Response @@ -86724,9 +87305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *336 - - *337 - - &588 + - *342 + - *343 + - &594 name: pull_number description: The number that identifies the pull request. in: path @@ -86739,9 +87320,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *586 + schema: *592 examples: - default: *587 + default: *593 '304': *37 '404': *6 '406': @@ -86749,8 +87330,8 @@ paths: content: application/json: schema: *3 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86776,9 +87357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -86820,9 +87401,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *592 examples: - default: *587 + default: *593 '422': *15 '403': *29 x-github: @@ -86844,9 +87425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: true content: @@ -86906,21 +87487,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86946,10 +87527,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *336 - - *337 - - *588 - - *103 + - *342 + - *343 + - *594 + - *109 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86959,7 +87540,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -86969,11 +87550,11 @@ paths: application/json: schema: type: array - items: *584 + items: *590 examples: - default: *589 + default: *595 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87004,9 +87585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: true content: @@ -87111,7 +87692,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: example-for-a-multi-line-comment: value: @@ -87199,10 +87780,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *336 - - *337 - - *588 - - *95 + - *342 + - *343 + - *594 + - *101 requestBody: required: true content: @@ -87224,7 +87805,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: default: value: @@ -87310,9 +87891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 - *17 - *19 responses: @@ -87322,11 +87903,11 @@ paths: application/json: schema: type: array - items: *470 + items: *476 examples: - default: *590 + default: *596 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87354,9 +87935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 - *17 - *19 responses: @@ -87366,7 +87947,7 @@ paths: application/json: schema: type: array - items: *483 + items: *489 examples: default: value: @@ -87382,10 +87963,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *61 + Link: *67 '422': *15 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87404,9 +87985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 responses: '204': description: Response if pull request has been merged @@ -87429,9 +88010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -87542,9 +88123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 responses: '200': description: Response @@ -87560,7 +88141,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 required: - users - teams @@ -87601,7 +88182,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87619,9 +88200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -87658,7 +88239,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *480 examples: default: value: @@ -88194,9 +88775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: true content: @@ -88230,7 +88811,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *480 examples: default: value: @@ -88735,9 +89316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 - *17 - *19 responses: @@ -88747,7 +89328,7 @@ paths: application/json: schema: type: array - items: &591 + items: &597 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88816,7 +89397,7 @@ paths: type: string body_text: type: string - author_association: *76 + author_association: *82 required: - id - node_id @@ -88865,7 +89446,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88898,9 +89479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -88986,9 +89567,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: &593 + default: &599 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89051,10 +89632,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - &592 + - *342 + - *343 + - *594 + - &598 name: review_id description: The unique identifier of the review. in: path @@ -89066,9 +89647,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: &594 + default: &600 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89127,10 +89708,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 requestBody: required: true content: @@ -89153,7 +89734,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: default: value: @@ -89215,18 +89796,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 responses: '200': description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: *593 + default: *599 '422': *7 '404': *6 x-github: @@ -89253,10 +89834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 - *17 - *19 responses: @@ -89335,13 +89916,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *76 + author_association: *82 _links: type: object properties: - self: *275 - html: *275 - pull_request: *275 + self: *281 + html: *281 + pull_request: *281 required: - self - html @@ -89350,7 +89931,7 @@ paths: type: string body_html: type: string - reactions: *77 + reactions: *83 side: description: The side of the first line of the range for a multi-line comment. @@ -89462,7 +90043,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -89491,10 +90072,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 requestBody: required: true content: @@ -89522,7 +90103,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: default: value: @@ -89585,10 +90166,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 requestBody: required: true content: @@ -89623,9 +90204,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: *594 + default: *600 '404': *6 '422': *7 '403': *29 @@ -89647,9 +90228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -89712,8 +90293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *336 - - *337 + - *342 + - *343 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89726,9 +90307,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: &596 + default: &602 value: type: file encoding: base64 @@ -89770,8 +90351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *336 - - *337 + - *342 + - *343 - name: dir description: The alternate path to look for a README file in: path @@ -89791,9 +90372,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: *596 + default: *602 '404': *6 '422': *15 x-github: @@ -89815,8 +90396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -89826,7 +90407,7 @@ paths: application/json: schema: type: array - items: *597 + items: *603 examples: default: value: @@ -89900,7 +90481,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -89920,8 +90501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -89997,9 +90578,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *603 examples: - default: &601 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90104,9 +90685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *336 - - *337 - - &599 + - *342 + - *343 + - &605 name: asset_id description: The unique identifier of the asset. in: path @@ -90118,9 +90699,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &600 + default: &606 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 @@ -90155,7 +90736,7 @@ paths: type: User site_admin: false '404': *6 - '302': *485 + '302': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90171,9 +90752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *336 - - *337 - - *599 + - *342 + - *343 + - *605 requestBody: required: false content: @@ -90201,9 +90782,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *600 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90219,12 +90800,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *336 - - *337 - - *599 + - *342 + - *343 + - *605 responses: '204': description: Response + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90245,8 +90827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -90331,16 +90913,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *597 + schema: *603 examples: - default: *601 + default: *607 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90357,8 +90940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *336 - - *337 + - *342 + - *343 - name: tag description: tag parameter in: path @@ -90371,9 +90954,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *603 examples: - default: *601 + default: *607 '404': *6 x-github: githubCloudOnly: false @@ -90395,9 +90978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *336 - - *337 - - &602 + - *342 + - *343 + - &608 name: release_id description: The unique identifier of the release. in: path @@ -90411,9 +90994,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *597 + schema: *603 examples: - default: *601 + default: *607 '401': description: Unauthorized x-github: @@ -90431,9 +91014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 requestBody: required: false content: @@ -90497,9 +91080,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *603 examples: - default: *601 + default: *607 '404': description: Not Found if the discussion category name is invalid content: @@ -90520,12 +91103,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 responses: '204': description: Response + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90542,9 +91126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 - *17 - *19 responses: @@ -90554,7 +91138,7 @@ paths: application/json: schema: type: array - items: *598 + items: *604 examples: default: value: @@ -90591,7 +91175,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90635,9 +91219,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: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 - name: name in: query required: true @@ -90663,7 +91247,7 @@ paths: description: Response for successful upload content: application/json: - schema: *598 + schema: *604 examples: response-for-successful-upload: value: @@ -90718,9 +91302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90744,11 +91328,11 @@ paths: application/json: schema: type: array - items: *468 + items: *474 examples: - default: *539 + default: *545 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -90767,9 +91351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 requestBody: required: true content: @@ -90799,16 +91383,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '201': description: Reaction created content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -90830,10 +91414,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *336 - - *337 - - *602 - - *540 + - *342 + - *343 + - *608 + - *546 responses: '204': description: Response @@ -90857,9 +91441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 - *17 - *19 responses: @@ -90875,8 +91459,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *297 - - &603 + - *303 + - &609 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90895,69 +91479,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *298 - - *603 - - allOf: - - *299 - - *603 - - allOf: - - *300 - - *603 - - allOf: - - *604 - - *603 - - allOf: - - *301 - - *603 - - allOf: - - *302 - - *603 - - allOf: - - *303 - - *603 - allOf: - *304 - - *603 + - *609 - allOf: - *305 - - *603 + - *609 - allOf: - *306 - - *603 + - *609 + - allOf: + - *610 + - *609 - allOf: - *307 - - *603 + - *609 - allOf: - *308 - - *603 + - *609 - allOf: - *309 - - *603 + - *609 - allOf: - *310 - - *603 + - *609 - allOf: - *311 - - *603 + - *609 - allOf: - *312 - - *603 + - *609 - allOf: - *313 - - *603 + - *609 - allOf: - *314 - - *603 + - *609 - allOf: - *315 - - *603 + - *609 - allOf: - *316 - - *603 + - *609 - allOf: - *317 - - *603 + - *609 + - allOf: + - *318 + - *609 + - allOf: + - *319 + - *609 + - allOf: + - *320 + - *609 + - allOf: + - *321 + - *609 + - allOf: + - *322 + - *609 + - allOf: + - *323 + - *609 examples: default: value: @@ -90996,8 +91580,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 - name: includes_parents @@ -91008,7 +91592,7 @@ paths: schema: type: boolean default: true - - *605 + - *611 responses: '200': description: Response @@ -91016,7 +91600,7 @@ paths: application/json: schema: type: array - items: *318 + items: *324 examples: default: value: @@ -91047,7 +91631,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -91063,8 +91647,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 requestBody: description: Request body required: true @@ -91084,16 +91668,16 @@ paths: - tag - push default: branch - enforcement: *294 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *295 - conditions: *292 + items: *301 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: *606 + items: *612 required: - name - enforcement @@ -91124,9 +91708,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: &616 + default: &622 value: id: 42 name: super cool ruleset @@ -91160,7 +91744,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *115 + '500': *55 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -91174,12 +91758,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *336 - - *337 - - *607 - - *608 - - *609 - - *610 + - *342 + - *343 + - *613 + - *614 + - *615 + - *616 - *17 - *19 responses: @@ -91187,11 +91771,11 @@ paths: description: Response content: application/json: - schema: *611 + schema: *617 examples: - default: *612 + default: *618 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91210,19 +91794,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *336 - - *337 - - *613 + - *342 + - *343 + - *619 responses: '200': description: Response content: application/json: - schema: *614 + schema: *620 examples: - default: *615 + default: *621 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91248,8 +91832,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91269,11 +91853,11 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *616 + default: *622 '404': *6 - '500': *115 + '500': *55 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91289,8 +91873,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91315,16 +91899,16 @@ paths: - branch - tag - push - enforcement: *294 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *295 - conditions: *292 + items: *301 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *606 + items: *612 examples: default: value: @@ -91352,12 +91936,12 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *616 + default: *622 '404': *6 '422': *15 - '500': *115 + '500': *55 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91373,8 +91957,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91385,7 +91969,7 @@ paths: '204': description: Response '404': *6 - '500': *115 + '500': *55 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91397,8 +91981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 - name: ruleset_id @@ -91414,11 +91998,11 @@ paths: application/json: schema: type: array - items: *321 + items: *327 examples: - default: *617 + default: *623 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91435,8 +92019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *336 - - *337 + - *342 + - *343 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91454,7 +92038,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *624 examples: default: value: @@ -91487,7 +92071,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91509,22 +92093,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *336 - - *337 - - *619 - - *620 - - *621 - - *622 - - *623 - - *55 - - *19 - - *17 - - *624 + - *342 + - *343 - *625 - *626 - *627 - *628 - *629 + - *61 + - *19 + - *17 + - *630 + - *631 + - *632 + - *633 + - *634 + - *635 responses: '200': description: Response @@ -91532,11 +92116,11 @@ paths: application/json: schema: type: array - items: &633 + items: &639 type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -91544,15 +92128,15 @@ paths: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *630 - resolution: *631 + state: *636 + resolution: *637 resolved_at: type: string format: date-time @@ -91648,7 +92232,7 @@ paths: pull request. ' - oneOf: *632 + oneOf: *638 nullable: true has_more_locations: type: boolean @@ -91775,7 +92359,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91797,16 +92381,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *336 - - *337 - - *434 - - *629 + - *342 + - *343 + - *440 + - *635 responses: '200': description: Response content: application/json: - schema: *633 + schema: *639 examples: default: value: @@ -91837,7 +92421,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91860,9 +92444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 requestBody: required: true content: @@ -91870,8 +92454,8 @@ paths: schema: type: object properties: - state: *630 - resolution: *631 + state: *636 + resolution: *637 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91887,6 +92471,8 @@ paths: - state - required: - assignee + - required: + - validity examples: default: value: @@ -91905,7 +92491,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *639 examples: default: value: @@ -91978,7 +92564,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92000,9 +92586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 - *19 - *17 responses: @@ -92013,7 +92599,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &791 + items: &797 type: object properties: type: @@ -92039,12 +92625,6 @@ paths: example: commit details: oneOf: - - *634 - - *635 - - *636 - - *637 - - *638 - - *639 - *640 - *641 - *642 @@ -92052,6 +92632,12 @@ paths: - *644 - *645 - *646 + - *647 + - *648 + - *649 + - *650 + - *651 + - *652 examples: default: value: @@ -92111,11 +92697,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *61 + Link: *67 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92137,8 +92723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -92146,14 +92732,14 @@ paths: schema: type: object properties: - reason: &648 + reason: &654 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *647 + placeholder_id: *653 required: - reason - placeholder_id @@ -92170,7 +92756,7 @@ paths: schema: type: object properties: - reason: *648 + reason: *654 expire_at: type: string format: date-time @@ -92193,7 +92779,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92216,13 +92802,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *116 + '503': *121 '200': description: Response content: @@ -92232,7 +92818,7 @@ paths: properties: incremental_scans: type: array - items: &649 + items: &655 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92258,15 +92844,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *649 + items: *655 backfill_scans: type: array - items: *649 + items: *655 custom_pattern_backfill_scans: type: array items: allOf: - - *649 + - *655 - type: object properties: pattern_name: @@ -92336,9 +92922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *336 - - *337 - - *55 + - *342 + - *343 + - *61 - name: sort description: The property to sort the results by. in: query @@ -92381,9 +92967,9 @@ paths: application/json: schema: type: array - items: *650 + items: *656 examples: - default: *651 + default: *657 '400': *14 '404': *6 x-github: @@ -92406,8 +92992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -92480,7 +93066,7 @@ paths: login: type: string description: The username of the user credited. - type: *324 + type: *330 required: - login - type @@ -92567,9 +93153,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *656 examples: - default: &653 + default: &659 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92802,8 +93388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -92907,7 +93493,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *656 examples: default: value: @@ -93054,17 +93640,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *336 - - *337 - - *652 + - *342 + - *343 + - *658 responses: '200': description: Response content: application/json: - schema: *650 + schema: *656 examples: - default: *653 + default: *659 '403': *29 '404': *6 x-github: @@ -93088,9 +93674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *336 - - *337 - - *652 + - *342 + - *343 + - *658 requestBody: required: true content: @@ -93163,7 +93749,7 @@ paths: login: type: string description: The username of the user credited. - type: *324 + type: *330 required: - login - type @@ -93249,17 +93835,17 @@ paths: description: Response content: application/json: - schema: *650 + schema: *656 examples: - default: *653 - add_credit: *653 + default: *659 + add_credit: *659 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *124 + schema: *129 examples: invalid_state_transition: value: @@ -93290,9 +93876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *336 - - *337 - - *652 + - *342 + - *343 + - *658 responses: '202': *39 '400': *14 @@ -93319,17 +93905,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *336 - - *337 - - *652 + - *342 + - *343 + - *658 responses: '202': description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 + default: *347 '400': *14 '422': *15 '403': *29 @@ -93355,8 +93941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -93433,7 +94019,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -93455,8 +94041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93465,7 +94051,7 @@ paths: application/json: schema: type: array - items: &654 + items: &660 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93478,7 +94064,7 @@ paths: - 1124 - -435 '202': *39 - '204': *187 + '204': *192 '422': description: Repository contains more than 10,000 commits x-github: @@ -93498,8 +94084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -93548,7 +94134,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93575,8 +94161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -93650,7 +94236,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93672,8 +94258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93827,8 +94413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93838,7 +94424,7 @@ paths: application/json: schema: type: array - items: *654 + items: *660 examples: default: value: @@ -93851,7 +94437,7 @@ paths: - - 0 - 2 - 21 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93871,8 +94457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *336 - - *337 + - *342 + - *343 - name: sha in: path required: true @@ -93926,7 +94512,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *661 examples: default: value: @@ -93980,8 +94566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -93993,9 +94579,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94013,14 +94599,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &656 + schema: &662 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94088,8 +94674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -94115,7 +94701,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *662 examples: default: value: @@ -94142,8 +94728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -94163,8 +94749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -94220,7 +94806,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94243,8 +94829,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *336 - - *337 + - *342 + - *343 - name: ref in: path required: true @@ -94280,8 +94866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -94291,11 +94877,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -94313,8 +94899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *336 - - *337 + - *342 + - *343 - *19 - *17 responses: @@ -94322,7 +94908,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &663 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94334,7 +94920,7 @@ paths: required: - names examples: - default: &658 + default: &664 value: names: - octocat @@ -94357,8 +94943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -94389,9 +94975,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *663 examples: - default: *658 + default: *664 '404': *6 '422': *7 x-github: @@ -94412,9 +94998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *336 - - *337 - - &659 + - *342 + - *343 + - &665 name: per description: The time frame to display results for. in: query @@ -94443,7 +95029,7 @@ paths: example: 128 clones: type: array - items: &660 + items: &666 title: Traffic type: object properties: @@ -94530,8 +95116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -94621,8 +95207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -94682,9 +95268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *336 - - *337 - - *659 + - *342 + - *343 + - *665 responses: '200': description: Response @@ -94703,7 +95289,7 @@ paths: example: 3782 views: type: array - items: *660 + items: *666 required: - uniques - count @@ -94780,8 +95366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -94817,7 +95403,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *161 examples: default: value: @@ -95055,8 +95641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95079,8 +95665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -95102,8 +95688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -95129,8 +95715,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *336 - - *337 + - *342 + - *343 - name: ref in: path required: true @@ -95222,9 +95808,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 + default: *347 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95265,7 +95851,7 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: default: value: @@ -95371,8 +95957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *145 - - *545 + - *150 + - *551 requestBody: required: true content: @@ -95436,14 +96022,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *548 + items: *554 examples: - default: *661 + default: *667 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -95474,8 +96060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *145 - - *545 + - *150 + - *551 requestBody: required: true content: @@ -95540,14 +96126,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *548 + items: *554 examples: - default: *661 + default: *667 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -95573,16 +96159,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *145 - - *545 - - *235 + - *150 + - *551 + - *241 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -95696,7 +96282,7 @@ paths: html_url: type: string format: uri - repository: *156 + repository: *161 score: type: number file_size: @@ -95714,7 +96300,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &662 + text_matches: &668 title: Search Result Text Matches type: array items: @@ -95828,7 +96414,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *116 + '503': *121 '422': *15 '403': *29 x-github: @@ -95876,7 +96462,7 @@ paths: enum: - author-date - committer-date - - &663 + - &669 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 @@ -95947,7 +96533,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *401 + properties: *407 nullable: true comment_count: type: integer @@ -95967,7 +96553,7 @@ paths: url: type: string format: uri - verification: *522 + verification: *528 required: - author - committer @@ -95986,7 +96572,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *401 + properties: *407 nullable: true parents: type: array @@ -95999,12 +96585,12 @@ paths: type: string sha: type: string - repository: *156 + repository: *161 score: type: number node_id: type: string - text_matches: *662 + text_matches: *668 required: - sha - node_id @@ -96196,7 +96782,7 @@ paths: - interactions - created - updated - - *663 + - *669 - *17 - *19 - name: advanced_search @@ -96218,6 +96804,7 @@ paths: - total_count - incomplete_results - items + - search_type properties: total_count: type: integer @@ -96293,11 +96880,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: type: string state_reason: @@ -96314,8 +96901,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *279 + required: *280 nullable: true comments: type: integer @@ -96329,7 +96916,7 @@ paths: type: string format: date-time nullable: true - text_matches: *662 + text_matches: *668 pull_request: type: object properties: @@ -96362,10 +96949,10 @@ paths: type: string score: type: number - author_association: *76 + author_association: *82 draft: type: boolean - repository: *73 + repository: *79 body_html: type: string body_text: @@ -96373,7 +96960,7 @@ paths: timeline_url: type: string format: uri - type: *236 + type: *242 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -96383,17 +96970,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - reactions: *77 + reactions: *83 required: - assignee - closed_at @@ -96417,6 +97004,29 @@ paths: - created_at - updated_at - score + search_type: + type: string + description: The type of search that was performed. Possible values + are `lexical`, `semantic`, or `hybrid`. + enum: + - lexical + - semantic + - hybrid + lexical_fallback_reason: + type: array + description: When a semantic or hybrid search falls back to lexical + search, this field contains the reasons for the fallback. Only + present when a fallback occurred. + items: + type: string + enum: + - no_text_terms + - quoted_text + - non_issue_target + - or_boolean_not_supported + - no_accessible_repos + - server_error + - only_non_semantic_fields_requested examples: default: value: @@ -96509,7 +97119,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *116 + '503': *121 '422': *15 '304': *37 '403': *29 @@ -96562,7 +97172,7 @@ paths: enum: - created - updated - - *663 + - *669 - *17 - *19 responses: @@ -96606,7 +97216,7 @@ paths: nullable: true score: type: number - text_matches: *662 + text_matches: *668 required: - id - node_id @@ -96691,7 +97301,7 @@ paths: - forks - help-wanted-issues - updated - - *663 + - *669 - *17 - *19 responses: @@ -96919,8 +97529,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true permissions: type: object @@ -96939,7 +97549,7 @@ paths: - admin - pull - push - text_matches: *662 + text_matches: *668 temp_clone_token: type: string allow_merge_commit: @@ -97141,7 +97751,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *116 + '503': *121 '422': *15 '304': *37 x-github: @@ -97239,7 +97849,7 @@ paths: type: string format: uri nullable: true - text_matches: *662 + text_matches: *668 related: type: array nullable: true @@ -97430,7 +98040,7 @@ paths: - followers - repositories - joined - - *663 + - *669 - *17 - *19 responses: @@ -97534,7 +98144,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *662 + text_matches: *668 blog: type: string nullable: true @@ -97593,7 +98203,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *116 + '503': *121 '422': *15 x-github: githubCloudOnly: false @@ -97613,7 +98223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &666 + - &672 name: team_id description: The unique identifier of the team. in: path @@ -97625,9 +98235,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -97654,7 +98264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *666 + - *672 requestBody: required: true content: @@ -97717,16 +98327,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '201': description: Response content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '404': *6 '422': *15 '403': *29 @@ -97754,7 +98364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *666 + - *672 responses: '204': description: Response @@ -97783,7 +98393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *666 + - *672 - *17 - *19 responses: @@ -97793,11 +98403,11 @@ paths: application/json: schema: type: array - items: *230 + items: *236 examples: - default: *231 + default: *237 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97821,7 +98431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *666 + - *672 - name: role description: Filters members returned by their role in the team. in: query @@ -97844,9 +98454,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -97872,8 +98482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '204': description: if user is a member @@ -97909,8 +98519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '204': description: Response @@ -97949,8 +98559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '204': description: Response @@ -97986,16 +98596,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '200': description: Response content: application/json: - schema: *335 + schema: *341 examples: - response-if-user-is-a-team-maintainer: *667 + response-if-user-is-a-team-maintainer: *673 '404': *6 x-github: githubCloudOnly: false @@ -98028,8 +98638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *666 - - *65 + - *672 + - *71 requestBody: required: false content: @@ -98054,9 +98664,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *341 examples: - response-if-users-membership-with-team-is-now-pending: *668 + response-if-users-membership-with-team-is-now-pending: *674 '403': description: Forbidden if team synchronization is set up '422': @@ -98090,8 +98700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '204': description: Response @@ -98118,7 +98728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *666 + - *672 - *17 - *19 responses: @@ -98128,11 +98738,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -98160,15 +98770,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *666 - - *336 - - *337 + - *672 + - *342 + - *343 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *669 + schema: *675 examples: alternative-response-with-extra-repository-information: value: @@ -98319,9 +98929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *666 - - *336 - - *337 + - *672 + - *342 + - *343 requestBody: required: false content: @@ -98371,9 +98981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *666 - - *336 - - *337 + - *672 + - *342 + - *343 responses: '204': description: Response @@ -98398,7 +99008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *666 + - *672 - *17 - *19 responses: @@ -98408,11 +99018,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - response-if-child-teams-exist: *670 + response-if-child-teams-exist: *676 headers: - Link: *61 + Link: *67 '404': *6 '403': *29 '422': *15 @@ -98443,7 +99053,7 @@ paths: application/json: schema: oneOf: - - &672 + - &678 title: Private User description: Private User type: object @@ -98646,7 +99256,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *671 + - *677 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -98799,7 +99409,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *678 examples: default: value: @@ -98878,7 +99488,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '304': *37 '404': *6 '403': *29 @@ -98901,7 +99511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *65 + - *71 responses: '204': description: If the user is blocked @@ -98929,7 +99539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -98953,7 +99563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -99002,11 +99612,11 @@ paths: type: integer codespaces: type: array - items: *241 + items: *247 examples: - default: *242 + default: *248 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99143,21 +99753,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99197,7 +99807,7 @@ paths: type: integer secrets: type: array - items: &673 + items: &679 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99237,9 +99847,9 @@ paths: - visibility - selected_repositories_url examples: - default: *460 + default: *466 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99307,13 +99917,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 responses: '200': description: Response content: application/json: - schema: *673 + schema: *679 examples: default: value: @@ -99343,7 +99953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 requestBody: required: true content: @@ -99388,7 +99998,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -99416,7 +100026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 responses: '204': description: Response @@ -99441,7 +100051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *164 + - *169 responses: '200': description: Response @@ -99457,13 +100067,13 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *194 + default: *199 '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99484,7 +100094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *164 + - *169 requestBody: required: true content: @@ -99516,7 +100126,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99538,7 +100148,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *164 + - *169 - name: repository_id in: path required: true @@ -99550,7 +100160,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99571,7 +100181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *164 + - *169 - name: repository_id in: path required: true @@ -99583,7 +100193,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99603,17 +100213,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '200': description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99637,7 +100247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 requestBody: required: false content: @@ -99667,9 +100277,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '401': *25 '403': *29 '404': *6 @@ -99691,11 +100301,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '202': *39 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99720,13 +100330,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '202': description: Response content: application/json: - schema: &674 + schema: &680 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -99767,7 +100377,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &675 + default: &681 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -99775,7 +100385,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99799,7 +100409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *243 + - *249 - name: export_id in: path required: true @@ -99812,9 +100422,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *680 examples: - default: *675 + default: *681 '404': *6 x-github: githubCloudOnly: false @@ -99835,7 +100445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *243 + - *249 responses: '200': description: Response @@ -99851,11 +100461,11 @@ paths: type: integer machines: type: array - items: *676 + items: *682 examples: - default: *677 + default: *683 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99882,7 +100492,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *243 + - *249 requestBody: required: true content: @@ -99932,13 +100542,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *339 + repository: *345 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *458 - required: *459 + properties: *464 + required: *465 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -100712,17 +101322,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '200': description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '304': *37 - '500': *115 + '500': *55 '400': *14 '401': *25 '402': @@ -100752,16 +101362,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '200': description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: *457 - '500': *115 + default: *463 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -100790,9 +101400,9 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: &688 + default: &694 value: - id: 197 name: hello_docker @@ -100893,7 +101503,7 @@ paths: application/json: schema: type: array - items: &678 + items: &684 title: Email description: Email type: object @@ -100958,16 +101568,16 @@ paths: application/json: schema: type: array - items: *678 + items: *684 examples: - default: &690 + default: &696 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -101035,7 +101645,7 @@ paths: application/json: schema: type: array - items: *678 + items: *684 examples: default: value: @@ -101145,9 +101755,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -101178,9 +101788,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -101200,7 +101810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *65 + - *71 responses: '204': description: if the person is followed by the authenticated user @@ -101230,7 +101840,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -101255,7 +101865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -101291,7 +101901,7 @@ paths: application/json: schema: type: array - items: &679 + items: &685 title: GPG Key description: A unique encryption key type: object @@ -101422,7 +102032,7 @@ paths: - subkeys - revoked examples: - default: &706 + default: &712 value: - id: 3 name: Octocat's GPG Key @@ -101454,7 +102064,7 @@ paths: revoked: false raw_key: string headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -101507,9 +102117,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *685 examples: - default: &680 + default: &686 value: id: 3 name: Octocat's GPG Key @@ -101566,7 +102176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &681 + - &687 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -101578,9 +102188,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *685 examples: - default: *680 + default: *686 '404': *6 '304': *37 '403': *29 @@ -101603,7 +102213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *681 + - *687 responses: '204': description: Response @@ -101746,7 +102356,7 @@ paths: suspended_at: suspended_by: headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -101794,11 +102404,11 @@ paths: type: array items: allOf: - - *73 + - *79 examples: - default: *148 + default: *153 headers: - Link: *61 + Link: *67 '404': *6 '403': *29 '304': *37 @@ -101810,9 +102420,10 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: "Add a single repository to an installation. The authenticated - user must have admin access to the repository. \n\nThis endpoint only works - for PATs (classic) with the `repo` scope." + description: |- + Add a single repository to an installation. The authenticated user must have admin access to the repository. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -101821,7 +102432,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *145 + - *150 responses: '204': description: Response @@ -101835,10 +102446,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: "Remove a single repository from an installation. The authenticated - user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. \n\nThis endpoint only works for - PATs (classic) with the `repo` scope." + description: |- + Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -101847,7 +102458,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *145 + - *150 responses: '204': description: Response @@ -101881,12 +102492,12 @@ paths: application/json: schema: anyOf: - - *228 + - *234 - type: object properties: {} additionalProperties: false examples: - default: *229 + default: *235 '204': description: Response when there are no restrictions x-github: @@ -101910,7 +102521,7 @@ paths: required: true content: application/json: - schema: *533 + schema: *539 examples: default: value: @@ -101921,7 +102532,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *234 examples: default: value: @@ -102002,7 +102613,7 @@ paths: - closed - all default: open - - *239 + - *245 - name: sort description: What to sort results by. in: query @@ -102014,8 +102625,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -102025,11 +102636,11 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *240 + default: *246 headers: - Link: *61 + Link: *67 '404': *6 '304': *37 x-github: @@ -102060,7 +102671,7 @@ paths: application/json: schema: type: array - items: &682 + items: &688 title: Key description: Key type: object @@ -102111,7 +102722,7 @@ paths: verified: false read_only: false headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -102161,9 +102772,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *688 examples: - default: &683 + default: &689 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102196,15 +102807,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *567 + - *573 responses: '200': description: Response content: application/json: - schema: *682 + schema: *688 examples: - default: *683 + default: *689 '404': *6 '304': *37 '403': *29 @@ -102227,7 +102838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *567 + - *573 responses: '204': description: Response @@ -102260,7 +102871,7 @@ paths: application/json: schema: type: array - items: &684 + items: &690 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102317,7 +102928,7 @@ paths: - id - type - login - plan: *97 + plan: *103 required: - billing_cycle - next_billing_date @@ -102328,7 +102939,7 @@ paths: - account - plan examples: - default: &685 + default: &691 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102361,7 +102972,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '304': *37 '401': *25 '404': *6 @@ -102390,11 +103001,11 @@ paths: application/json: schema: type: array - items: *684 + items: *690 examples: - default: *685 + default: *691 headers: - Link: *61 + Link: *67 '304': *37 '401': *25 x-github: @@ -102432,7 +103043,7 @@ paths: application/json: schema: type: array - items: *245 + items: *251 examples: default: value: @@ -102515,7 +103126,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -102540,13 +103151,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *245 + schema: *251 examples: default: value: @@ -102608,7 +103219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *69 + - *75 requestBody: required: true content: @@ -102633,7 +103244,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *251 examples: default: value: @@ -102705,7 +103316,7 @@ paths: application/json: schema: type: array - items: *247 + items: *253 examples: default: value: @@ -102858,7 +103469,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -102958,7 +103569,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -103138,7 +103749,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *248 + - *254 - name: exclude in: query required: false @@ -103151,7 +103762,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -103345,7 +103956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *248 + - *254 responses: '302': description: Response @@ -103371,7 +103982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *248 + - *254 responses: '204': description: Response @@ -103400,8 +104011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *248 - - *686 + - *254 + - *692 responses: '204': description: Response @@ -103425,7 +104036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *248 + - *254 - *17 - *19 responses: @@ -103435,11 +104046,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -103472,11 +104083,11 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -103516,7 +104127,7 @@ paths: - docker - nuget - container - - *687 + - *693 - *19 - *17 responses: @@ -103526,10 +104137,10 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: *688 - '400': *689 + default: *694 + '400': *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103549,16 +104160,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *256 - - *257 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *254 + schema: *260 examples: - default: &707 + default: &713 value: id: 40201 name: octo-name @@ -103671,8 +104282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *256 - - *257 + - *262 + - *263 responses: '204': description: Response @@ -103702,8 +104313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *256 - - *257 + - *262 + - *263 - name: token description: package token schema: @@ -103735,8 +104346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *256 - - *257 + - *262 + - *263 - *19 - *17 - name: state @@ -103756,7 +104367,7 @@ paths: application/json: schema: type: array - items: *258 + items: *264 examples: default: value: @@ -103805,15 +104416,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *256 - - *257 - - *259 + - *262 + - *263 + - *265 responses: '200': description: Response content: application/json: - schema: *258 + schema: *264 examples: default: value: @@ -103849,9 +104460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *256 - - *257 - - *259 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -103881,9 +104492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *256 - - *257 - - *259 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -103920,11 +104531,11 @@ paths: application/json: schema: type: array - items: *678 + items: *684 examples: - default: *690 + default: *696 headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104033,9 +104644,9 @@ paths: application/json: schema: type: array - items: *73 + items: *79 examples: - default: &697 + default: &703 summary: Default response value: - id: 1296269 @@ -104156,7 +104767,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '403': *29 @@ -104339,9 +104950,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 + default: *347 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104379,11 +104990,11 @@ paths: application/json: schema: type: array - items: *535 + items: *541 examples: - default: *691 + default: *697 headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104404,7 +105015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *232 + - *238 responses: '204': description: Response @@ -104427,7 +105038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *232 + - *238 responses: '204': description: Response @@ -104460,7 +105071,7 @@ paths: application/json: schema: type: array - items: &692 + items: &698 title: Social account description: Social media account type: object @@ -104475,12 +105086,12 @@ paths: - provider - url examples: - default: &693 + default: &699 value: - provider: twitter url: https://twitter.com/github headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104537,9 +105148,9 @@ paths: application/json: schema: type: array - items: *692 + items: *698 examples: - default: *693 + default: *699 '422': *15 '304': *37 '404': *6 @@ -104626,7 +105237,7 @@ paths: application/json: schema: type: array - items: &694 + items: &700 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -104646,7 +105257,7 @@ paths: - title - created_at examples: - default: &725 + default: &731 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104657,7 +105268,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104710,9 +105321,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *700 examples: - default: &695 + default: &701 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104742,7 +105353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &696 + - &702 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -104754,9 +105365,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *700 examples: - default: *695 + default: *701 '404': *6 '304': *37 '403': *29 @@ -104779,7 +105390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *696 + - *702 responses: '204': description: Response @@ -104808,7 +105419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &726 + - &732 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 @@ -104821,7 +105432,7 @@ paths: - created - updated default: created - - *55 + - *61 - *17 - *19 responses: @@ -104831,13 +105442,13 @@ paths: application/json: schema: type: array - items: *73 + items: *79 examples: - default-response: *697 + default-response: *703 application/vnd.github.v3.star+json: schema: type: array - items: &727 + items: &733 title: Starred Repository description: Starred Repository type: object @@ -104845,7 +105456,7 @@ paths: starred_at: type: string format: date-time - repo: *73 + repo: *79 required: - starred_at - repo @@ -104973,7 +105584,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -104993,8 +105604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response if this repository is starred by you @@ -105022,8 +105633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -105047,8 +105658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -105081,11 +105692,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -105120,7 +105731,7 @@ paths: application/json: schema: type: array - items: *332 + items: *338 examples: default: value: @@ -105171,7 +105782,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -105198,7 +105809,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *99 + - *105 responses: '200': description: Response @@ -105206,10 +105817,10 @@ paths: application/json: schema: oneOf: - - *672 - - *671 + - *678 + - *677 examples: - default-response: &701 + default-response: &707 summary: Default response value: login: octocat @@ -105244,7 +105855,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &702 + response-with-git-hub-plan-information: &708 summary: Response with GitHub plan information value: login: octocat @@ -105301,14 +105912,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &699 + - &705 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *272 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -105342,9 +105953,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - draft_issue: *279 + draft_issue: *285 '304': *37 '403': *29 '401': *25 @@ -105367,7 +105978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *698 + - *704 - *17 responses: '200': @@ -105378,7 +105989,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: Link: example: ; rel="next" @@ -105402,8 +106013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *699 - - *272 + - *705 + - *278 requestBody: required: true content: @@ -105474,17 +106085,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *700 + schema: *706 examples: table_view: summary: Response for creating a table view - value: *283 + value: *289 board_view: summary: Response for creating a board view with filter - value: *283 + value: *289 roadmap_view: summary: Response for creating a roadmap view - value: *283 + value: *289 '304': *37 '403': *29 '401': *25 @@ -105518,7 +106129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *65 + - *71 responses: '200': description: Response @@ -105526,11 +106137,11 @@ paths: application/json: schema: oneOf: - - *672 - - *671 + - *678 + - *677 examples: - default-response: *701 - response-with-git-hub-plan-information: *702 + default-response: *707 + response-with-git-hub-plan-information: *708 '404': *6 x-github: githubCloudOnly: false @@ -105556,7 +106167,7 @@ paths: - *17 - *47 - *48 - - *65 + - *71 requestBody: required: true content: @@ -105580,8 +106191,8 @@ paths: required: - subject_digests examples: - default: *703 - withPredicateType: *704 + default: *709 + withPredicateType: *710 responses: '200': description: Response @@ -105634,7 +106245,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *705 + default: *711 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105652,7 +106263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *65 + - *71 requestBody: required: true content: @@ -105717,7 +106328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *65 + - *71 - name: subject_digest description: Subject Digest in: path @@ -105748,7 +106359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *65 + - *71 - name: attestation_id description: Attestation ID in: path @@ -105786,7 +106397,7 @@ paths: - *17 - *47 - *48 - - *65 + - *71 - name: subject_digest description: Subject Digest in: path @@ -105839,12 +106450,12 @@ paths: initiator: type: string examples: - default: *397 + default: *403 '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -105870,7 +106481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *65 + - *71 responses: '200': description: Response @@ -105878,9 +106489,9 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: *688 + default: *694 '403': *29 '401': *25 x-github: @@ -105903,7 +106514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -105913,7 +106524,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -105975,8 +106586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *65 - - *69 + - *71 + - *75 - *17 - *19 responses: @@ -105986,7 +106597,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -106063,7 +106674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106073,7 +106684,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -106131,7 +106742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106143,9 +106754,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106162,7 +106773,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106174,9 +106785,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106193,7 +106804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *65 + - *71 - name: target_user in: path required: true @@ -106220,8 +106831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *65 - - *86 + - *71 + - *92 - *17 - *19 responses: @@ -106231,11 +106842,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -106254,7 +106865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106264,11 +106875,11 @@ paths: application/json: schema: type: array - items: *679 + items: *685 examples: - default: *706 + default: *712 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106290,7 +106901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *65 + - *71 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106362,7 +106973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *65 + - *71 responses: '200': description: Response @@ -106370,7 +106981,7 @@ paths: application/json: schema: *22 examples: - default: *532 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106388,7 +106999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106423,7 +107034,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106443,7 +107054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106453,11 +107064,11 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106494,8 +107105,8 @@ paths: - docker - nuget - container - - *687 - - *65 + - *693 + - *71 - *19 - *17 responses: @@ -106505,12 +107116,12 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: *688 + default: *694 '403': *29 '401': *25 - '400': *689 + '400': *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106530,17 +107141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *256 - - *257 - - *65 + - *262 + - *263 + - *71 responses: '200': description: Response content: application/json: - schema: *254 + schema: *260 examples: - default: *707 + default: *713 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106561,9 +107172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *256 - - *257 - - *65 + - *262 + - *263 + - *71 responses: '204': description: Response @@ -106595,9 +107206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *256 - - *257 - - *65 + - *262 + - *263 + - *71 - name: token description: package token schema: @@ -106629,9 +107240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *256 - - *257 - - *65 + - *262 + - *263 + - *71 responses: '200': description: Response @@ -106639,7 +107250,7 @@ paths: application/json: schema: type: array - items: *258 + items: *264 examples: default: value: @@ -106697,16 +107308,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *256 - - *257 - - *259 - - *65 + - *262 + - *263 + - *265 + - *71 responses: '200': description: Response content: application/json: - schema: *258 + schema: *264 examples: default: value: @@ -106741,10 +107352,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *256 - - *257 - - *65 - - *259 + - *262 + - *263 + - *71 + - *265 responses: '204': description: Response @@ -106776,10 +107387,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *256 - - *257 - - *65 - - *259 + - *262 + - *263 + - *71 + - *265 responses: '204': description: Response @@ -106803,7 +107414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *65 + - *71 - name: q description: Limit results to projects of the specified type. in: query @@ -106820,11 +107431,11 @@ paths: application/json: schema: type: array - items: *270 + items: *276 examples: - default: *271 + default: *277 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106844,18 +107455,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *272 - - *65 + - *278 + - *71 responses: '200': description: Response content: application/json: - schema: *270 + schema: *276 examples: - default: *271 + default: *277 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106875,8 +107486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *272 - - *65 + - *278 + - *71 - *17 - *47 - *48 @@ -106887,11 +107498,11 @@ paths: application/json: schema: type: array - items: *276 + items: *282 examples: - default: *708 + default: *714 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106910,8 +107521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *65 - - *272 + - *71 + - *278 requestBody: required: true content: @@ -106949,7 +107560,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *709 + items: *715 required: - name - data_type @@ -106965,7 +107576,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *710 + iteration_configuration: *716 required: - name - data_type @@ -106987,20 +107598,20 @@ paths: value: name: Due date data_type: date - single_select_field: *711 - iteration_field: *712 + single_select_field: *717 + iteration_field: *718 responses: '201': description: Response content: application/json: - schema: *276 + schema: *282 examples: - text_field: *713 - number_field: *714 - date_field: *715 - single_select_field: *716 - iteration_field: *717 + text_field: *719 + number_field: *720 + date_field: *721 + single_select_field: *722 + iteration_field: *723 '304': *37 '403': *29 '401': *25 @@ -107021,19 +107632,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *272 - - *718 - - *65 + - *278 + - *724 + - *71 responses: '200': description: Response content: application/json: - schema: *276 + schema: *282 examples: - default: *719 + default: *725 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107054,8 +107665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *272 - - *65 + - *278 + - *71 - *47 - *48 - *17 @@ -107087,11 +107698,11 @@ paths: application/json: schema: type: array - items: *280 + items: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107110,8 +107721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *65 - - *272 + - *71 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -107181,22 +107792,22 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *279 + value: *285 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *279 + value: *285 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *279 + value: *285 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *279 + value: *285 '304': *37 '403': *29 '401': *25 @@ -107216,9 +107827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *272 - - *65 - - *282 + - *278 + - *71 + - *288 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107238,11 +107849,11 @@ paths: description: Response content: application/json: - schema: *280 + schema: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107261,9 +107872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *272 - - *65 - - *282 + - *278 + - *71 + - *288 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107333,13 +107944,13 @@ paths: description: Response content: application/json: - schema: *280 + schema: *286 examples: - text_field: *281 - number_field: *281 - date_field: *281 - single_select_field: *281 - iteration_field: *281 + text_field: *287 + number_field: *287 + date_field: *287 + single_select_field: *287 + iteration_field: *287 '401': *25 '403': *29 '404': *6 @@ -107359,9 +107970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *272 - - *65 - - *282 + - *278 + - *71 + - *288 responses: '204': description: Response @@ -107383,9 +107994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *272 - - *65 - - *720 + - *278 + - *71 + - *726 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -107411,11 +108022,11 @@ paths: application/json: schema: type: array - items: *280 + items: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107441,7 +108052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107451,7 +108062,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -107516,7 +108127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107526,7 +108137,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -107589,7 +108200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *65 + - *71 - name: type description: Limit results to repositories of the specified type. in: query @@ -107632,11 +108243,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107656,12 +108267,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *65 - - *118 - - *120 - - *119 - - *721 - - *121 + - *71 + - *123 + - *125 + - *124 + - *727 + - *126 responses: '200': description: Response when getting a billing premium request usage report @@ -107768,8 +108379,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107789,10 +108400,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *65 - - *118 - - *722 - - *119 + - *71 + - *123 + - *728 + - *124 responses: '200': description: Response when getting a billing usage report @@ -107862,8 +108473,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107886,13 +108497,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *65 - - *118 - - *120 - - *119 - - *723 - - *121 - - *724 + - *71 + - *123 + - *125 + - *124 + - *729 + - *126 + - *730 responses: '200': description: Response when getting a billing usage summary @@ -107997,8 +108608,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108016,7 +108627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -108026,11 +108637,11 @@ paths: application/json: schema: type: array - items: *692 + items: *698 examples: - default: *693 + default: *699 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108048,7 +108659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -108058,11 +108669,11 @@ paths: application/json: schema: type: array - items: *694 + items: *700 examples: - default: *725 + default: *731 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108084,9 +108695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *65 - - *726 - - *55 + - *71 + - *732 + - *61 - *17 - *19 responses: @@ -108097,13 +108708,13 @@ paths: schema: anyOf: - type: array - items: *727 + items: *733 - type: array - items: *73 + items: *79 examples: - default-response: *697 + default-response: *703 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108120,7 +108731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -108130,11 +108741,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *260 + default: *266 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108260,7 +108871,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &728 + enterprise: &734 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108318,7 +108929,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &729 + installation: &735 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108337,7 +108948,7 @@ x-webhooks: required: - id - node_id - organization: &730 + organization: &736 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108397,13 +109008,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &731 + repository: &737 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &763 + properties: &769 id: description: Unique identifier of the repository example: 42 @@ -108423,8 +109034,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true organization: title: Simple User @@ -109098,7 +109709,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &764 + required: &770 - archive_url - assignees_url - blobs_url @@ -109249,10 +109860,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -109328,11 +109939,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - rule: &732 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + rule: &738 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -109555,11 +110166,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - rule: *732 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + rule: *738 sender: *4 required: - action @@ -109742,11 +110353,11 @@ x-webhooks: - everyone required: - from - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - rule: *732 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + rule: *738 sender: *4 required: - action @@ -109830,7 +110441,7 @@ x-webhooks: type: string enum: - completed - check_run: &734 + check_run: &740 title: CheckRun description: A check performed on the code of a given code change type: object @@ -109883,8 +110494,8 @@ x-webhooks: type: string pull_requests: type: array - items: *84 - repository: *156 + items: *90 + repository: *161 status: example: completed type: string @@ -109921,7 +110532,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *733 + deployment: *739 details_url: example: https://example.com type: string @@ -109971,7 +110582,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *84 + items: *90 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110006,10 +110617,10 @@ x-webhooks: - output - app - pull_requests - installation: *729 - enterprise: *728 - organization: *730 - repository: *731 + installation: *735 + enterprise: *734 + organization: *736 + repository: *737 sender: *4 required: - check_run @@ -110400,11 +111011,11 @@ x-webhooks: type: string enum: - created - check_run: *734 - installation: *729 - enterprise: *728 - organization: *730 - repository: *731 + check_run: *740 + installation: *735 + enterprise: *734 + organization: *736 + repository: *737 sender: *4 required: - check_run @@ -110798,11 +111409,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *734 - installation: *729 - enterprise: *728 - organization: *730 - repository: *731 + check_run: *740 + installation: *735 + enterprise: *734 + organization: *736 + repository: *737 requested_action: description: The action requested by the user. type: object @@ -111205,11 +111816,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *734 - installation: *729 - enterprise: *728 - organization: *730 - repository: *731 + check_run: *740 + installation: *735 + enterprise: *734 + organization: *736 + repository: *737 sender: *4 required: - check_run @@ -112179,10 +112790,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -112871,10 +113482,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -113557,10 +114168,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -113726,7 +114337,7 @@ x-webhooks: required: - login - id - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113871,20 +114482,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &735 + commit_oid: &741 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: *728 - installation: *729 - organization: *730 - ref: &736 + enterprise: *734 + installation: *735 + organization: *736 + ref: &742 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: *731 + repository: *737 sender: *4 required: - action @@ -114049,7 +114660,7 @@ x-webhooks: required: - login - id - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114279,12 +114890,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *735 - enterprise: *728 - installation: *729 - organization: *730 - ref: *736 - repository: *731 + commit_oid: *741 + enterprise: *734 + installation: *735 + organization: *736 + ref: *742 + repository: *737 sender: *4 required: - action @@ -114379,7 +114990,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114550,12 +115161,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *735 - enterprise: *728 - installation: *729 - organization: *730 - ref: *736 - repository: *731 + commit_oid: *741 + enterprise: *734 + installation: *735 + organization: *736 + ref: *742 + repository: *737 sender: *4 required: - action @@ -114721,7 +115332,7 @@ x-webhooks: required: - login - id - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114887,12 +115498,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *735 - enterprise: *728 - installation: *729 - organization: *730 - ref: *736 - repository: *731 + commit_oid: *741 + enterprise: *734 + installation: *735 + organization: *736 + ref: *742 + repository: *737 sender: *4 required: - action @@ -114991,7 +115602,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115166,16 +115777,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *731 + repository: *737 sender: *4 required: - action @@ -115272,7 +115883,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115412,12 +116023,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *735 - enterprise: *728 - installation: *729 - organization: *730 - ref: *736 - repository: *731 + commit_oid: *741 + enterprise: *734 + installation: *735 + organization: *736 + ref: *742 + repository: *737 sender: *4 required: - action @@ -115583,7 +116194,7 @@ x-webhooks: required: - login - id - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115728,10 +116339,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -115986,10 +116597,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -116069,18 +116680,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *730 - pusher_type: &737 + organization: *736 + pusher_type: &743 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &738 + ref: &744 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116090,7 +116701,7 @@ x-webhooks: enum: - tag - branch - repository: *731 + repository: *737 sender: *4 required: - ref @@ -116172,10 +116783,10 @@ x-webhooks: type: string enum: - created - definition: *284 - enterprise: *728 - installation: *729 - organization: *730 + definition: *290 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -116260,9 +116871,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -116339,10 +116950,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *284 - enterprise: *728 - installation: *729 - organization: *730 + definition: *290 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -116419,10 +117030,10 @@ x-webhooks: type: string enum: - updated - definition: *284 - enterprise: *728 - installation: *729 - organization: *730 + definition: *290 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -116499,19 +117110,19 @@ x-webhooks: type: string enum: - updated - enterprise: *728 - installation: *729 - repository: *731 - organization: *730 + enterprise: *734 + installation: *735 + repository: *737 + organization: *736 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *288 + items: *294 old_property_values: type: array description: The old custom property values for the repository. - items: *288 + items: *294 required: - action - repository @@ -116587,18 +117198,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 - pusher_type: *737 - ref: *738 + enterprise: *734 + installation: *735 + organization: *736 + pusher_type: *743 + ref: *744 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *731 + repository: *737 sender: *4 required: - ref @@ -116678,11 +117289,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116762,11 +117373,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116847,11 +117458,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116932,11 +117543,11 @@ x-webhooks: type: string enum: - created - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -117015,11 +117626,11 @@ x-webhooks: type: string enum: - dismissed - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -117098,11 +117709,11 @@ x-webhooks: type: string enum: - fixed - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -117182,11 +117793,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -117265,11 +117876,11 @@ x-webhooks: type: string enum: - reopened - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -117346,9 +117957,9 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - key: &739 + enterprise: *734 + installation: *735 + key: &745 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117384,8 +117995,8 @@ x-webhooks: - verified - created_at - read_only - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -117462,11 +118073,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - key: *739 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + key: *745 + organization: *736 + repository: *737 sender: *4 required: - action @@ -118022,12 +118633,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: &745 + workflow: &751 title: Workflow type: object nullable: true @@ -118768,15 +119379,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *740 - required: *741 + properties: *746 + required: *747 nullable: true pull_requests: type: array - items: *586 - repository: *731 - organization: *730 - installation: *729 + items: *592 + repository: *737 + organization: *736 + installation: *735 sender: *4 responses: '200': @@ -118847,7 +119458,7 @@ x-webhooks: type: string enum: - approved - approver: &742 + approver: &748 type: object properties: avatar_url: @@ -118890,11 +119501,11 @@ x-webhooks: type: string comment: type: string - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - reviewers: &743 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + reviewers: &749 type: array items: type: object @@ -118973,7 +119584,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &744 + workflow_job_run: &750 type: object properties: conclusion: @@ -119704,18 +120315,18 @@ x-webhooks: type: string enum: - rejected - approver: *742 + approver: *748 comment: type: string - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - reviewers: *743 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + reviewers: *749 sender: *4 since: type: string - workflow_job_run: *744 + workflow_job_run: *750 workflow_job_runs: type: array items: @@ -120419,13 +121030,13 @@ x-webhooks: type: string enum: - requested - enterprise: *728 + enterprise: *734 environment: type: string - installation: *729 - organization: *730 - repository: *731 - requestor: &750 + installation: *735 + organization: *736 + repository: *737 + requestor: &756 title: User type: object nullable: true @@ -122314,12 +122925,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: *745 + workflow: *751 workflow_run: title: Deployment Workflow Run type: object @@ -122999,7 +123610,7 @@ x-webhooks: type: string enum: - answered - answer: &748 + answer: &754 type: object properties: author_association: @@ -123156,11 +123767,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123287,11 +123898,11 @@ x-webhooks: - from required: - category - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123374,11 +123985,11 @@ x-webhooks: type: string enum: - closed - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123460,7 +124071,7 @@ x-webhooks: type: string enum: - created - comment: &747 + comment: &753 type: object properties: author_association: @@ -123617,11 +124228,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123704,12 +124315,12 @@ x-webhooks: type: string enum: - deleted - comment: *747 - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + comment: *753 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123804,12 +124415,12 @@ x-webhooks: - from required: - body - comment: *747 - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + comment: *753 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123893,11 +124504,11 @@ x-webhooks: type: string enum: - created - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123979,11 +124590,11 @@ x-webhooks: type: string enum: - deleted - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124083,11 +124694,11 @@ x-webhooks: type: string required: - from - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124169,10 +124780,10 @@ x-webhooks: type: string enum: - labeled - discussion: *746 - enterprise: *728 - installation: *729 - label: &749 + discussion: *752 + enterprise: *734 + installation: *735 + label: &755 title: Label type: object properties: @@ -124204,8 +124815,8 @@ x-webhooks: - color - default - description - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124288,11 +124899,11 @@ x-webhooks: type: string enum: - locked - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124374,11 +124985,11 @@ x-webhooks: type: string enum: - pinned - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124460,11 +125071,11 @@ x-webhooks: type: string enum: - reopened - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124549,16 +125160,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *746 - new_repository: *731 + new_discussion: *752 + new_repository: *737 required: - new_discussion - new_repository - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124641,10 +125252,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *746 - old_answer: *748 - organization: *730 - repository: *731 + discussion: *752 + old_answer: *754 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124726,12 +125337,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *746 - enterprise: *728 - installation: *729 - label: *749 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124814,11 +125425,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124900,11 +125511,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124977,7 +125588,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *728 + enterprise: *734 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -125637,9 +126248,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *729 - organization: *730 - repository: *731 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - forkee @@ -125785,9 +126396,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pages: description: The pages that were updated. type: array @@ -125824,7 +126435,7 @@ x-webhooks: - action - sha - html_url - repository: *731 + repository: *737 sender: *4 required: - pages @@ -125900,10 +126511,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: &751 + organization: *736 + repositories: &757 description: An array of repository objects that the installation can access. type: array @@ -125929,8 +126540,8 @@ x-webhooks: - name - full_name - private - repository: *731 - requester: *750 + repository: *737 + requester: *756 sender: *4 required: - action @@ -126005,11 +126616,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: *751 - repository: *731 + organization: *736 + repositories: *757 + repository: *737 requester: nullable: true sender: *4 @@ -126085,11 +126696,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: *751 - repository: *731 + organization: *736 + repositories: *757 + repository: *737 requester: nullable: true sender: *4 @@ -126165,10 +126776,10 @@ x-webhooks: type: string enum: - added - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories_added: &752 + organization: *736 + repositories_added: &758 description: An array of repository objects, which were added to the installation. type: array @@ -126214,15 +126825,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *731 - repository_selection: &753 + repository: *737 + repository_selection: &759 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *750 + requester: *756 sender: *4 required: - action @@ -126301,10 +126912,10 @@ x-webhooks: type: string enum: - removed - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories_added: *752 + organization: *736 + repositories_added: *758 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126331,9 +126942,9 @@ x-webhooks: - name - full_name - private - repository: *731 - repository_selection: *753 - requester: *750 + repository: *737 + repository_selection: *759 + requester: *756 sender: *4 required: - action @@ -126412,11 +127023,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: *751 - repository: *731 + organization: *736 + repositories: *757 + repository: *737 requester: nullable: true sender: *4 @@ -126594,10 +127205,10 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 target_type: type: string @@ -126676,11 +127287,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: *751 - repository: *731 + organization: *736 + repositories: *757 + repository: *737 requester: nullable: true sender: *4 @@ -126804,8 +127415,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 reactions: title: Reactions type: object @@ -126854,8 +127465,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *563 - required: *564 + properties: *569 + required: *570 nullable: true user: title: User @@ -126940,8 +127551,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127730,8 +128341,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127747,7 +128358,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -128080,8 +128691,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -128161,7 +128772,7 @@ x-webhooks: type: string enum: - deleted - comment: &754 + comment: &760 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128318,8 +128929,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *563 - required: *564 + properties: *569 + required: *570 nullable: true required: - url @@ -128334,8 +128945,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129120,8 +129731,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129137,7 +129748,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -129472,8 +130083,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -129553,7 +130164,7 @@ x-webhooks: type: string enum: - edited - changes: &783 + changes: &789 description: The changes to the comment. type: object properties: @@ -129565,9 +130176,9 @@ x-webhooks: type: string required: - from - comment: *754 - enterprise: *728 - installation: *729 + comment: *760 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130355,8 +130966,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130372,7 +130983,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -130705,8 +131316,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -130787,9 +131398,9 @@ x-webhooks: type: string enum: - pinned - comment: *754 - enterprise: *728 - installation: *729 + comment: *760 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131579,8 +132190,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131596,7 +132207,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -131931,8 +132542,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -132012,9 +132623,9 @@ x-webhooks: type: string enum: - unpinned - comment: *754 - enterprise: *728 - installation: *729 + comment: *760 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132804,8 +133415,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132821,7 +133432,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -133156,8 +133767,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -133240,15 +133851,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 + blocked_issue: *85 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - blocking_issue_repo: *73 - installation: *729 - organization: *730 - repository: *731 + blocking_issue: *85 + blocking_issue_repo: *79 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -133331,15 +133942,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 + blocked_issue: *85 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - blocking_issue_repo: *73 - installation: *729 - organization: *730 - repository: *731 + blocking_issue: *85 + blocking_issue_repo: *79 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -133421,15 +134032,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 - blocked_issue_repo: *73 + blocked_issue: *85 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - installation: *729 - organization: *730 - repository: *731 + blocking_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -133512,15 +134123,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 - blocked_issue_repo: *73 + blocked_issue: *85 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - installation: *729 - organization: *730 - repository: *731 + blocking_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -133600,10 +134211,10 @@ x-webhooks: type: string enum: - assigned - assignee: *750 - enterprise: *728 - installation: *729 - issue: &757 + assignee: *756 + enterprise: *734 + installation: *735 + issue: &763 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134392,14 +135003,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134415,7 +135026,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -134516,8 +135127,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -134597,8 +135208,8 @@ x-webhooks: type: string enum: - closed - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135392,14 +136003,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135415,7 +136026,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -135651,8 +136262,8 @@ x-webhooks: required: - state - closed_at - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -135731,8 +136342,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136517,14 +137128,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136540,7 +137151,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -136640,8 +137251,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -136720,8 +137331,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137528,14 +138139,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137551,7 +138162,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -137630,7 +138241,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &755 + milestone: &761 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137768,8 +138379,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -137868,8 +138479,8 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138658,14 +139269,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138678,7 +139289,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *242 title: description: Title of the issue type: string @@ -138782,9 +139393,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *749 - organization: *730 - repository: *731 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -138864,8 +139475,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139653,14 +140264,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139673,7 +140284,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *242 title: description: Title of the issue type: string @@ -139777,9 +140388,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *749 - organization: *730 - repository: *731 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -139859,8 +140470,8 @@ x-webhooks: type: string enum: - locked - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140672,14 +141283,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140692,7 +141303,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *242 title: description: Title of the issue type: string @@ -140773,8 +141384,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -140853,8 +141464,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141660,14 +142271,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141683,7 +142294,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -141761,9 +142372,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *755 - organization: *730 - repository: *731 + milestone: *761 + organization: *736 + repository: *737 sender: *4 required: - action @@ -142626,11 +143237,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142658,8 +143269,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true user: title: User @@ -142731,7 +143342,7 @@ x-webhooks: required: - login - id - type: *236 + type: *242 required: - id - number @@ -143211,8 +143822,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143996,11 +144607,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144016,7 +144627,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -144029,8 +144640,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true user: title: User @@ -144124,8 +144735,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -144205,9 +144816,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *728 - installation: *729 - issue: &756 + enterprise: *734 + installation: *735 + issue: &762 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144990,14 +145601,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145013,7 +145624,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -145113,8 +145724,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -145193,8 +145804,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146004,14 +146615,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146105,9 +146716,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *236 - organization: *730 - repository: *731 + type: *242 + organization: *736 + repository: *737 sender: *4 required: - action @@ -146973,14 +147584,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146996,7 +147607,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -147575,11 +148186,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *728 - installation: *729 - issue: *756 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *762 + organization: *736 + repository: *737 sender: *4 required: - action @@ -147659,12 +148270,12 @@ x-webhooks: type: string enum: - typed - enterprise: *728 - installation: *729 - issue: *757 - type: *236 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *763 + type: *242 + organization: *736 + repository: *737 sender: *4 required: - action @@ -147745,7 +148356,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &786 + assignee: &792 title: User type: object nullable: true @@ -147815,11 +148426,11 @@ x-webhooks: required: - login - id - enterprise: *728 - installation: *729 - issue: *757 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *763 + organization: *736 + repository: *737 sender: *4 required: - action @@ -147898,12 +148509,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *728 - installation: *729 - issue: *757 - label: *749 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *763 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -147983,8 +148594,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148794,14 +149405,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148817,7 +149428,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -148895,8 +149506,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -148976,11 +149587,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *728 - installation: *729 - issue: *756 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *762 + organization: *736 + repository: *737 sender: *4 required: - action @@ -149059,12 +149670,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *728 - installation: *729 - issue: *757 - type: *236 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *763 + type: *242 + organization: *736 + repository: *737 sender: *4 required: - action @@ -149144,11 +149755,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - label: *749 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -149226,11 +149837,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - label: *749 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -149340,11 +149951,11 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - label: *749 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -149426,9 +150037,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *728 - installation: *729 - marketplace_purchase: &758 + enterprise: *734 + installation: *735 + marketplace_purchase: &764 title: Marketplace Purchase type: object required: @@ -149511,8 +150122,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *730 - previous_marketplace_purchase: &759 + organization: *736 + previous_marketplace_purchase: &765 title: Marketplace Purchase type: object properties: @@ -149592,7 +150203,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *731 + repository: *737 sender: *4 required: - action @@ -149672,10 +150283,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *728 - installation: *729 - marketplace_purchase: *758 - organization: *730 + enterprise: *734 + installation: *735 + marketplace_purchase: *764 + organization: *736 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149758,7 +150369,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *731 + repository: *737 sender: *4 required: - action @@ -149840,10 +150451,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *728 - installation: *729 - marketplace_purchase: *758 - organization: *730 + enterprise: *734 + installation: *735 + marketplace_purchase: *764 + organization: *736 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149925,7 +150536,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *731 + repository: *737 sender: *4 required: - action @@ -150006,8 +150617,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 marketplace_purchase: title: Marketplace Purchase type: object @@ -150089,9 +150700,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *730 - previous_marketplace_purchase: *759 - repository: *731 + organization: *736 + previous_marketplace_purchase: *765 + repository: *737 sender: *4 required: - action @@ -150171,12 +150782,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *728 - installation: *729 - marketplace_purchase: *758 - organization: *730 - previous_marketplace_purchase: *759 - repository: *731 + enterprise: *734 + installation: *735 + marketplace_purchase: *764 + organization: *736 + previous_marketplace_purchase: *765 + repository: *737 sender: *4 required: - action @@ -150278,11 +150889,11 @@ x-webhooks: type: string required: - to - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 sender: *4 required: - action @@ -150382,11 +150993,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 sender: *4 required: - action @@ -150465,11 +151076,11 @@ x-webhooks: type: string enum: - removed - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 sender: *4 required: - action @@ -150547,11 +151158,11 @@ x-webhooks: type: string enum: - added - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150627,7 +151238,7 @@ x-webhooks: required: - login - id - team: &760 + team: &766 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -150850,11 +151461,11 @@ x-webhooks: type: string enum: - removed - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150931,7 +151542,7 @@ x-webhooks: required: - login - id - team: *760 + team: *766 required: - action - scope @@ -151013,8 +151624,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *729 - merge_group: &762 + installation: *735 + merge_group: &768 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151033,15 +151644,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *761 + head_commit: *767 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151127,10 +151738,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *729 - merge_group: *762 - organization: *730 - repository: *731 + installation: *735 + merge_group: *768 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151203,7 +151814,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 + enterprise: *734 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151312,16 +151923,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *729 - organization: *730 + installation: *735 + organization: *736 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *763 - required: *764 + properties: *769 + required: *770 nullable: true sender: *4 required: @@ -151402,11 +152013,11 @@ x-webhooks: type: string enum: - closed - enterprise: *728 - installation: *729 - milestone: *755 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + milestone: *761 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151485,9 +152096,9 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - milestone: &765 + enterprise: *734 + installation: *735 + milestone: &771 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151624,8 +152235,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151704,11 +152315,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - milestone: *755 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + milestone: *761 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151818,11 +152429,11 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - milestone: *755 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + milestone: *761 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151902,11 +152513,11 @@ x-webhooks: type: string enum: - opened - enterprise: *728 - installation: *729 - milestone: *765 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + milestone: *771 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151985,11 +152596,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *750 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + blocked_user: *756 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152068,11 +152679,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *750 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + blocked_user: *756 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152151,9 +152762,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - membership: &766 + enterprise: *734 + installation: *735 + membership: &772 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152260,8 +152871,8 @@ x-webhooks: - role - organization_url - user - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152339,11 +152950,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *728 - installation: *729 - membership: *766 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + membership: *772 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152422,8 +153033,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152539,10 +153150,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 - user: *750 + user: *756 required: - action - invitation @@ -152620,11 +153231,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *728 - installation: *729 - membership: *766 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + membership: *772 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152711,11 +153322,11 @@ x-webhooks: properties: from: type: string - enterprise: *728 - installation: *729 - membership: *766 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + membership: *772 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152792,9 +153403,9 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 package: description: Information about the package. type: object @@ -153293,7 +153904,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &767 + items: &773 title: Ruby Gems metadata type: object properties: @@ -153388,7 +153999,7 @@ x-webhooks: - owner - package_version - registry - repository: *731 + repository: *737 sender: *4 required: - action @@ -153464,9 +154075,9 @@ x-webhooks: type: string enum: - updated - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 package: description: Information about the package. type: object @@ -153819,7 +154430,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *767 + items: *773 source_url: type: string format: uri @@ -153889,7 +154500,7 @@ x-webhooks: - owner - package_version - registry - repository: *731 + repository: *737 sender: *4 required: - action @@ -154065,12 +154676,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *728 + enterprise: *734 id: type: integer - installation: *729 - organization: *730 - repository: *731 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - id @@ -154147,7 +154758,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &768 + personal_access_token_request: &774 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154293,10 +154904,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *728 - organization: *730 + enterprise: *734 + organization: *736 sender: *4 - installation: *729 + installation: *735 required: - action - personal_access_token_request @@ -154373,11 +154984,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *768 - enterprise: *728 - organization: *730 + personal_access_token_request: *774 + enterprise: *734 + organization: *736 sender: *4 - installation: *729 + installation: *735 required: - action - personal_access_token_request @@ -154453,11 +155064,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *768 - enterprise: *728 - organization: *730 + personal_access_token_request: *774 + enterprise: *734 + organization: *736 sender: *4 - installation: *729 + installation: *735 required: - action - personal_access_token_request @@ -154532,11 +155143,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *768 - organization: *730 - enterprise: *728 + personal_access_token_request: *774 + organization: *736 + enterprise: *734 sender: *4 - installation: *729 + installation: *735 required: - action - personal_access_token_request @@ -154641,7 +155252,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *769 + last_response: *775 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -154673,8 +155284,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 zen: description: Random string of GitHub zen. @@ -154919,10 +155530,10 @@ x-webhooks: - from required: - note - enterprise: *728 - installation: *729 - organization: *730 - project_card: &770 + enterprise: *734 + installation: *735 + organization: *736 + project_card: &776 title: Project Card type: object properties: @@ -155041,7 +155652,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *731 + repository: *737 sender: *4 required: - action @@ -155122,11 +155733,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - project_card: *770 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project_card: *776 + repository: *737 sender: *4 required: - action @@ -155206,9 +155817,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 project_card: title: Project Card type: object @@ -155336,8 +155947,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *763 - required: *764 + properties: *769 + required: *770 nullable: true sender: *4 required: @@ -155431,11 +156042,11 @@ x-webhooks: - from required: - note - enterprise: *728 - installation: *729 - organization: *730 - project_card: *770 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project_card: *776 + repository: *737 sender: *4 required: - action @@ -155529,9 +156140,9 @@ x-webhooks: - from required: - column_id - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 project_card: allOf: - title: Project Card @@ -155721,7 +156332,7 @@ x-webhooks: type: string required: - after_id - repository: *731 + repository: *737 sender: *4 required: - action @@ -155801,10 +156412,10 @@ x-webhooks: type: string enum: - closed - enterprise: *728 - installation: *729 - organization: *730 - project: &772 + enterprise: *734 + installation: *735 + organization: *736 + project: &778 title: Project type: object properties: @@ -155928,7 +156539,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *731 + repository: *737 sender: *4 required: - action @@ -156008,10 +156619,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - project_column: &771 + enterprise: *734 + installation: *735 + organization: *736 + project_column: &777 title: Project Column type: object properties: @@ -156050,7 +156661,7 @@ x-webhooks: - name - created_at - updated_at - repository: *731 + repository: *737 sender: *4 required: - action @@ -156129,18 +156740,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - project_column: *771 + enterprise: *734 + installation: *735 + organization: *736 + project_column: *777 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *763 - required: *764 + properties: *769 + required: *770 nullable: true sender: *4 required: @@ -156230,11 +156841,11 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 - project_column: *771 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project_column: *777 + repository: *737 sender: *4 required: - action @@ -156314,11 +156925,11 @@ x-webhooks: type: string enum: - moved - enterprise: *728 - installation: *729 - organization: *730 - project_column: *771 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project_column: *777 + repository: *737 sender: *4 required: - action @@ -156398,11 +157009,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - project: *772 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project: *778 + repository: *737 sender: *4 required: - action @@ -156482,18 +157093,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - project: *772 + enterprise: *734 + installation: *735 + organization: *736 + project: *778 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *763 - required: *764 + properties: *769 + required: *770 nullable: true sender: *4 required: @@ -156595,11 +157206,11 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 - project: *772 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project: *778 + repository: *737 sender: *4 required: - action @@ -156678,11 +157289,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *728 - installation: *729 - organization: *730 - project: *772 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project: *778 + repository: *737 sender: *4 required: - action @@ -156763,9 +157374,9 @@ x-webhooks: type: string enum: - closed - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -156846,9 +157457,9 @@ x-webhooks: type: string enum: - created - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -156929,9 +157540,9 @@ x-webhooks: type: string enum: - deleted - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -157048,9 +157659,9 @@ x-webhooks: type: string to: type: string - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -157133,7 +157744,7 @@ x-webhooks: type: string enum: - archived - changes: &776 + changes: &782 type: object properties: archived_at: @@ -157147,9 +157758,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *729 - organization: *730 - projects_v2_item: &773 + installation: *735 + organization: *736 + projects_v2_item: &779 title: Projects v2 Item description: An item belonging to a project type: object @@ -157167,7 +157778,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *277 + content_type: *283 creator: *4 created_at: type: string @@ -157284,9 +157895,9 @@ x-webhooks: nullable: true to: type: string - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157368,9 +157979,9 @@ x-webhooks: type: string enum: - created - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157451,9 +158062,9 @@ x-webhooks: type: string enum: - deleted - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157559,7 +158170,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &774 + - &780 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -157581,7 +158192,7 @@ x-webhooks: required: - id - name - - &775 + - &781 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -157615,8 +158226,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *774 - - *775 + - *780 + - *781 required: - field_value - type: object @@ -157632,9 +158243,9 @@ x-webhooks: nullable: true required: - body - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157729,9 +158340,9 @@ x-webhooks: to: type: string nullable: true - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157814,10 +158425,10 @@ x-webhooks: type: string enum: - restored - changes: *776 - installation: *729 - organization: *730 - projects_v2_item: *773 + changes: *782 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157899,9 +158510,9 @@ x-webhooks: type: string enum: - reopened - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -157982,14 +158593,14 @@ x-webhooks: type: string enum: - created - installation: *729 - organization: *730 - projects_v2_status_update: &779 + installation: *735 + organization: *736 + projects_v2_status_update: &785 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *777 - required: *778 + properties: *783 + required: *784 sender: *4 required: - action @@ -158070,9 +158681,9 @@ x-webhooks: type: string enum: - deleted - installation: *729 - organization: *730 - projects_v2_status_update: *779 + installation: *735 + organization: *736 + projects_v2_status_update: *785 sender: *4 required: - action @@ -158208,9 +158819,9 @@ x-webhooks: type: string format: date nullable: true - installation: *729 - organization: *730 - projects_v2_status_update: *779 + installation: *735 + organization: *736 + projects_v2_status_update: *785 sender: *4 required: - action @@ -158281,10 +158892,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - repository @@ -158361,13 +158972,13 @@ x-webhooks: type: string enum: - assigned - assignee: *750 - enterprise: *728 - installation: *729 - number: &780 + assignee: *756 + enterprise: *734 + installation: *735 + number: &786 description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -160672,7 +161283,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -160754,11 +161365,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -163058,7 +163669,7 @@ x-webhooks: - draft reason: type: string - repository: *731 + repository: *737 sender: *4 required: - action @@ -163140,11 +163751,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -165444,7 +166055,7 @@ x-webhooks: - draft reason: type: string - repository: *731 + repository: *737 sender: *4 required: - action @@ -165526,13 +166137,13 @@ x-webhooks: type: string enum: - closed - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: &781 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: &787 allOf: - - *586 + - *592 - type: object properties: allow_auto_merge: @@ -165594,7 +166205,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *731 + repository: *737 sender: *4 required: - action @@ -165675,12 +166286,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -165760,11 +166371,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *728 - milestone: *570 - number: *780 - organization: *730 - pull_request: &782 + enterprise: *734 + milestone: *576 + number: *786 + organization: *736 + pull_request: &788 title: Pull Request type: object properties: @@ -168049,7 +168660,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -168128,11 +168739,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -170436,7 +171047,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *731 + repository: *737 sender: *4 required: - action @@ -170560,12 +171171,12 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -170645,11 +171256,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -172938,7 +173549,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -173018,11 +173629,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *728 - installation: *729 - label: *749 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + label: *755 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -175326,7 +175937,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -175407,10 +176018,10 @@ x-webhooks: type: string enum: - locked - enterprise: *728 - installation: *729 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -177712,7 +178323,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -177792,12 +178403,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *728 - milestone: *570 - number: *780 - organization: *730 - pull_request: *782 - repository: *731 + enterprise: *734 + milestone: *576 + number: *786 + organization: *736 + pull_request: *788 + repository: *737 sender: *4 required: - action @@ -177876,12 +178487,12 @@ x-webhooks: type: string enum: - opened - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -177962,12 +178573,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -178047,12 +178658,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -178418,9 +179029,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: type: object properties: @@ -180612,7 +181223,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *731 + repository: *737 sender: *4 required: - action @@ -180692,7 +181303,7 @@ x-webhooks: type: string enum: - deleted - comment: &784 + comment: &790 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -180977,9 +181588,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: type: object properties: @@ -183159,7 +183770,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *731 + repository: *737 sender: *4 required: - action @@ -183239,11 +183850,11 @@ x-webhooks: type: string enum: - edited - changes: *783 - comment: *784 - enterprise: *728 - installation: *729 - organization: *730 + changes: *789 + comment: *790 + enterprise: *734 + installation: *735 + organization: *736 pull_request: type: object properties: @@ -185426,7 +186037,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *731 + repository: *737 sender: *4 required: - action @@ -185507,9 +186118,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -187704,7 +188315,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 + repository: *737 review: description: The review that was affected. type: object @@ -187951,9 +188562,9 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -190007,8 +190618,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 - review: &785 + repository: *737 + review: &791 description: The review that was affected. type: object properties: @@ -190241,12 +190852,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -192551,7 +193162,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 requested_reviewer: title: User type: object @@ -192635,12 +193246,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -194952,7 +195563,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195144,12 +195755,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -197456,7 +198067,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 requested_reviewer: title: User type: object @@ -197541,12 +198152,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -199844,7 +200455,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200025,9 +200636,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -202224,8 +202835,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 - review: *785 + repository: *737 + review: *791 sender: *4 required: - action @@ -202305,9 +202916,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -204399,7 +205010,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 + repository: *737 sender: *4 thread: type: object @@ -204786,9 +205397,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -206866,7 +207477,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 + repository: *737 sender: *4 thread: type: object @@ -207256,10 +207867,10 @@ x-webhooks: type: string before: type: string - enterprise: *728 - installation: *729 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -209552,7 +210163,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -209634,11 +210245,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *786 - enterprise: *728 - installation: *729 - number: *780 - organization: *730 + assignee: *792 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -211943,7 +212554,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -212022,11 +212633,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *728 - installation: *729 - label: *749 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + label: *755 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -214321,7 +214932,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -214402,10 +215013,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *728 - installation: *729 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -216692,7 +217303,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -216892,7 +217503,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *728 + enterprise: *734 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216984,8 +217595,8 @@ x-webhooks: - url - author - committer - installation: *729 - organization: *730 + installation: *735 + organization: *736 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217571,9 +218182,9 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 registry_package: type: object properties: @@ -218019,7 +218630,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *767 + items: *773 summary: type: string tag_name: @@ -218073,7 +218684,7 @@ x-webhooks: - owner - package_version - registry - repository: *731 + repository: *737 sender: *4 required: - action @@ -218151,9 +218762,9 @@ x-webhooks: type: string enum: - updated - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 registry_package: type: object properties: @@ -218461,7 +219072,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *767 + items: *773 summary: type: string tag_name: @@ -218510,7 +219121,7 @@ x-webhooks: - owner - package_version - registry - repository: *731 + repository: *737 sender: *4 required: - action @@ -218587,10 +219198,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - release: &787 + enterprise: *734 + installation: *735 + organization: *736 + release: &793 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218908,7 +219519,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *731 + repository: *737 sender: *4 required: - action @@ -218985,11 +219596,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - release: *787 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + release: *793 + repository: *737 sender: *4 required: - action @@ -219106,11 +219717,11 @@ x-webhooks: type: boolean required: - to - enterprise: *728 - installation: *729 - organization: *730 - release: *787 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + release: *793 + repository: *737 sender: *4 required: - action @@ -219188,9 +219799,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219512,7 +220123,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *731 + repository: *737 sender: *4 required: - action @@ -219588,10 +220199,10 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 - release: &788 + enterprise: *734 + installation: *735 + organization: *736 + release: &794 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219910,7 +220521,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *731 + repository: *737 sender: *4 required: - action @@ -219986,11 +220597,11 @@ x-webhooks: type: string enum: - released - enterprise: *728 - installation: *729 - organization: *730 - release: *787 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + release: *793 + repository: *737 sender: *4 required: - action @@ -220066,11 +220677,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *728 - installation: *729 - organization: *730 - release: *788 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + release: *794 + repository: *737 sender: *4 required: - action @@ -220146,11 +220757,11 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_advisory: *650 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_advisory: *656 sender: *4 required: - action @@ -220226,11 +220837,11 @@ x-webhooks: type: string enum: - reported - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_advisory: *650 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_advisory: *656 sender: *4 required: - action @@ -220306,10 +220917,10 @@ x-webhooks: type: string enum: - archived - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220386,10 +220997,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220467,10 +221078,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220554,10 +221165,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220669,10 +221280,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220744,10 +221355,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 status: type: string @@ -220828,10 +221439,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220908,10 +221519,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221005,10 +221616,10 @@ x-webhooks: - name required: - repository - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221088,11 +221699,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_ruleset: *318 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_ruleset: *324 sender: *4 required: - action @@ -221170,11 +221781,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_ruleset: *318 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_ruleset: *324 sender: *4 required: - action @@ -221252,11 +221863,11 @@ x-webhooks: type: string enum: - edited - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_ruleset: *318 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_ruleset: *324 changes: type: object properties: @@ -221275,16 +221886,16 @@ x-webhooks: properties: added: type: array - items: *292 + items: *298 deleted: type: array - items: *292 + items: *298 updated: type: array items: type: object properties: - condition: *292 + condition: *298 changes: type: object properties: @@ -221317,16 +221928,16 @@ x-webhooks: properties: added: type: array - items: *606 + items: *612 deleted: type: array - items: *606 + items: *612 updated: type: array items: type: object properties: - rule: *606 + rule: *612 changes: type: object properties: @@ -221560,10 +222171,10 @@ x-webhooks: - from required: - owner - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221641,10 +222252,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221722,7 +222333,7 @@ x-webhooks: type: string enum: - create - alert: &789 + alert: &795 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221844,10 +222455,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222053,10 +222664,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222134,11 +222745,11 @@ x-webhooks: type: string enum: - reopen - alert: *789 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *795 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222337,10 +222948,10 @@ x-webhooks: enum: - fixed - open - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222418,11 +223029,11 @@ x-webhooks: type: string enum: - assigned - alert: &790 + alert: &796 type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -222430,8 +223041,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri @@ -222537,10 +223148,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222618,11 +223229,11 @@ x-webhooks: type: string enum: - created - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222703,11 +223314,11 @@ x-webhooks: type: string enum: - created - alert: *790 - installation: *729 - location: *791 - organization: *730 - repository: *731 + alert: *796 + installation: *735 + location: *797 + organization: *736 + repository: *737 sender: *4 required: - location @@ -222945,11 +223556,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -223027,11 +223638,11 @@ x-webhooks: type: string enum: - reopened - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -223109,11 +223720,11 @@ x-webhooks: type: string enum: - resolved - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -223191,12 +223802,12 @@ x-webhooks: type: string enum: - unassigned - alert: *790 + alert: *796 assignee: *4 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -223274,11 +223885,11 @@ x-webhooks: type: string enum: - validated - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -223404,10 +224015,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *731 - enterprise: *728 - installation: *729 - organization: *730 + repository: *737 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -223485,11 +224096,11 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - security_advisory: &792 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + security_advisory: &798 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223505,7 +224116,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *57 + cvss_severities: *63 cwes: type: array items: @@ -223672,11 +224283,11 @@ x-webhooks: type: string enum: - updated - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - security_advisory: *792 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + security_advisory: *798 sender: *4 required: - action @@ -223749,10 +224360,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223769,7 +224380,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *57 + cvss_severities: *63 cwes: type: array items: @@ -223936,11 +224547,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *291 - enterprise: *728 - installation: *729 - organization: *730 - repository: *339 + security_and_analysis: *297 + enterprise: *734 + installation: *735 + organization: *736 + repository: *345 sender: *4 required: - changes @@ -224018,12 +224629,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: &793 + sponsorship: &799 type: object properties: created_at: @@ -224324,12 +224935,12 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - sponsorship @@ -224417,12 +225028,12 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - changes @@ -224499,17 +225110,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &794 + effective_date: &800 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: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - sponsorship @@ -224583,7 +225194,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &795 + changes: &801 type: object properties: tier: @@ -224627,13 +225238,13 @@ x-webhooks: - from required: - tier - effective_date: *794 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + effective_date: *800 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - changes @@ -224710,13 +225321,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *795 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + changes: *801 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - changes @@ -224790,10 +225401,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224876,10 +225487,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225299,15 +225910,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *728 + enterprise: *734 id: description: The unique identifier of the status. type: integer - installation: *729 + installation: *735 name: type: string - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 sha: description: The Commit SHA. @@ -225416,15 +226027,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - parent_issue_repo: *73 + parent_issue: *85 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - installation: *729 - organization: *730 - repository: *731 + sub_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -225508,15 +226119,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - parent_issue_repo: *73 + parent_issue: *85 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - installation: *729 - organization: *730 - repository: *731 + sub_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -225600,15 +226211,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - sub_issue_repo: *73 + sub_issue: *85 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - installation: *729 - organization: *730 - repository: *731 + parent_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -225692,15 +226303,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - sub_issue_repo: *73 + sub_issue: *85 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - installation: *729 - organization: *730 - repository: *731 + parent_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -225777,12 +226388,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - team: &796 + team: &802 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -226005,9 +226616,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -226465,7 +227076,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - team @@ -226541,9 +227152,9 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -227001,7 +227612,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - team @@ -227078,9 +227689,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -227538,7 +228149,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - team @@ -227682,9 +228293,9 @@ x-webhooks: - from required: - permissions - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -228142,7 +228753,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - changes @@ -228220,9 +228831,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -228680,7 +229291,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - team @@ -228756,10 +229367,10 @@ x-webhooks: type: string enum: - started - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -228832,16 +229443,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *728 + enterprise: *734 inputs: type: object nullable: true additionalProperties: true - installation: *729 - organization: *730 + installation: *735 + organization: *736 ref: type: string - repository: *731 + repository: *737 sender: *4 workflow: type: string @@ -228923,10 +229534,10 @@ x-webhooks: type: string enum: - completed - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 workflow_job: allOf: @@ -229163,7 +229774,7 @@ x-webhooks: type: string required: - conclusion - deployment: *497 + deployment: *503 required: - action - repository @@ -229242,10 +229853,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 workflow_job: allOf: @@ -229505,7 +230116,7 @@ x-webhooks: required: - status - steps - deployment: *497 + deployment: *503 required: - action - repository @@ -229584,10 +230195,10 @@ x-webhooks: type: string enum: - queued - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 workflow_job: type: object @@ -229722,7 +230333,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *497 + deployment: *503 required: - action - repository @@ -229801,10 +230412,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 workflow_job: type: object @@ -229940,7 +230551,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *497 + deployment: *503 required: - action - repository @@ -230020,12 +230631,12 @@ x-webhooks: type: string enum: - completed - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: *745 + workflow: *751 workflow_run: title: Workflow Run type: object @@ -231024,12 +231635,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: *745 + workflow: *751 workflow_run: title: Workflow Run type: object @@ -232013,12 +232624,12 @@ x-webhooks: type: string enum: - requested - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: *745 + workflow: *751 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 17b384c18f..c0a925f210 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -3051,6 +3051,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -21744,6 +21757,654 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -88082,271 +88743,375 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "artifact-metadata" - } - } - }, - "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { - "post": { - "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", - "tags": [ - "orgs" - ], - "operationId": "orgs/set-cluster-deployment-records", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "cluster", - "in": "path", - "description": "The cluster name.", - "required": true, - "schema": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "pattern": "^[a-zA-Z0-9._-]+$" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "logical_environment": { - "type": "string", - "description": "The stage of the deployment.", - "minLength": 1, - "maxLength": 128 - }, - "physical_environment": { - "type": "string", - "description": "The physical region of the deployment.", - "maxLength": 128 - }, - "deployments": { - "type": "array", - "description": "The list of deployments to record.", - "maxItems": 1000, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name parameter must also be identical across all entries.\n", - "minLength": 1, - "maxLength": 256 - }, - "digest": { - "type": "string", - "description": "The hex encoded digest of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name and version parameters must also be identical across all entries.\n", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" - }, - "version": { - "type": "string", - "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "maxLength": 100, - "x-multi-segment": true, - "example": "1.2.3" - }, - "status": { - "type": "string", - "description": "The deployment status of the artifact.", - "default": "deployed", - "enum": [ - "deployed", - "decommissioned" - ] - }, - "deployment_name": { - "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", - "minLength": 1, - "maxLength": 256 - }, - "github_repository": { - "type": "string", - "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "maxLength": 100, - "pattern": "^[A-Za-z0-9.\\-_]+$", - "example": "my-github-repo" - }, - "tags": { - "type": "object", - "description": "Key-value pairs to tag the deployment record.", - "additionalProperties": { - "type": "string" - } - }, - "runtime_risks": { - "type": "array", - "description": "A list of runtime risks associated with the deployment.", - "maxItems": 4, - "uniqueItems": true, - "items": { - "type": "string", - "enum": [ - "critical-resource", - "internet-exposed", - "lateral-movement", - "sensitive-data" - ] - } - } - }, - "required": [ - "name", - "deployment_name", - "digest" - ] + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { + "post": { + "summary": "Set cluster deployment records", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-cluster-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cluster", + "in": "path", + "description": "The cluster name.", + "required": true, + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "pattern": "^[a-zA-Z0-9._-]+$" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "logical_environment": { + "type": "string", + "description": "The stage of the deployment.", + "minLength": 1, + "maxLength": 128 + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment.", + "maxLength": 128 + }, + "deployments": { + "type": "array", + "description": "The list of deployments to record.", + "maxItems": 1000, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name parameter must also be identical across all entries.\n", + "minLength": 1, + "maxLength": 256 + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name and version parameters must also be identical across all entries.\n", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", + "maxLength": 100, + "x-multi-segment": true, + "example": "1.2.3" + }, + "status": { + "type": "string", + "description": "The deployment status of the artifact.", + "default": "deployed", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "deployment_name": { + "type": "string", + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", + "minLength": 1, + "maxLength": 256 + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" + }, + "tags": { + "type": "object", + "description": "Key-value pairs to tag the deployment record.", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + } + }, + "required": [ + "name", + "deployment_name", + "digest" + ] + } + } + }, + "required": [ + "logical_environment", + "deployments" + ] + }, + "examples": { + "default": { + "value": { + "logical_environment": "prod", + "physical_environment": "pacific-east", + "deployments": [ + { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "version": "2.1.0", + "status": "deployed", + "deployment_name": "deployment-pod", + "tags": { + "runtime-risk": "sensitive-data" + } + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Deployment records created or updated successfully.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": "integer", + "description": "The ID of the provenance attestation associated with the deployment record.", + "nullable": true + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } - }, - "required": [ - "logical_environment", - "deployments" - ] - }, - "examples": { - "default": { - "value": { - "logical_environment": "prod", - "physical_environment": "pacific-east", - "deployments": [ - { - "name": "awesome-image", - "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", - "version": "2.1.0", - "status": "deployed", - "deployment_name": "deployment-pod", - "tags": { - "runtime-risk": "sensitive-data" - } - } - ] - } } } } - } - }, - "responses": { - "200": { - "description": "Deployment records created or updated successfully.\n", + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "total_count": { - "description": "The number of deployment records created", - "type": "integer" + "message": { + "type": "string" }, - "deployment_records": { - "type": "array", - "items": { - "title": "Artifact Deployment Record", - "description": "Artifact Metadata Deployment Record", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "digest": { - "type": "string" - }, - "logical_environment": { - "type": "string" - }, - "physical_environment": { - "type": "string" - }, - "cluster": { - "type": "string" - }, - "deployment_name": { - "type": "string" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "runtime_risks": { - "type": "array", - "description": "A list of runtime risks associated with the deployment.", - "maxItems": 4, - "uniqueItems": true, - "items": { - "type": "string", - "enum": [ - "critical-resource", - "internet-exposed", - "lateral-movement", - "sensitive-data" - ] - } - }, - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "attestation_id": { - "type": "integer", - "description": "The ID of the provenance attestation associated with the deployment record.", - "nullable": true - } - } - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 1, - "deployment_records": [ - { - "id": 123, - "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", - "logical_environment": "prod", - "physical_environment": "pacific-east", - "cluster": "moda-1", - "deployment_name": "prod-deployment", - "tags": { - "data": "sensitive" - }, - "created": "2011-01-26T19:14:43Z", - "updated_at": "2011-01-26T19:14:43Z", - "attestation_id": 456 - } - ] + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -88555,6 +89320,58 @@ } } } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -93471,6 +94288,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -108613,6 +109434,654 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/organization-1-day": { + "get": { + "summary": "Get Copilot organization usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot organization users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot organization users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -125095,6 +126564,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -155085,6 +156567,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -155110,6 +156603,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -155254,7 +156787,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -155318,12 +156851,12 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { - "description": "The ID of the key you used to encrypt the secret.", + "description": "The ID of the key you used to encrypt the secret. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string" }, "visibility": { @@ -155341,13 +156874,62 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. Defaults to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or `oidc_jfrog` for OIDC authentication.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } }, "required": [ "registry_type", "url", - "encrypted_value", - "key_id", "visibility" ] }, @@ -155378,6 +156960,17 @@ 1296280 ] } + }, + "org-private-registry-with-oidc-azure": { + "summary": "Example of an OIDC private registry configuration using Azure", + "value": { + "registry_type": "docker_registry", + "url": "https://myregistry.azurecr.io", + "auth_type": "oidc_azure", + "visibility": "all", + "tenant_id": "12345678-1234-1234-1234-123456789012", + "client_id": "abcdef01-2345-6789-abcd-ef0123456789" + } } } } @@ -155419,6 +157012,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -155450,6 +157054,46 @@ "type": "integer" } }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -155769,6 +157413,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -155794,6 +157449,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -155862,7 +157557,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -155958,16 +157653,79 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. This field cannot be changed after creation. If provided, it must match the existing `auth_type` of the configuration. To change the authentication type, delete and recreate the configuration.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } } }, "examples": { - "default": { + "secret-based-update": { + "summary": "Update a secret-based private registry", "value": { "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678" } + }, + "oidc-azure-update": { + "summary": "Update an OIDC private registry (Azure)", + "value": { + "tenant_id": "12345678-1234-1234-1234-123456789012", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } } } } @@ -280821,6 +282579,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -281712,6 +283474,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -282624,6 +284390,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -352181,6 +353951,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -496974,6 +498757,32 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -497742,6 +499551,32 @@ } } } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -499809,6 +501644,32 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -514619,6 +516480,11 @@ "required": [ "assignee" ] + }, + { + "required": [ + "validity" + ] } ] }, @@ -545003,7 +546869,8 @@ "required": [ "total_count", "incomplete_results", - "items" + "items", + "search_type" ], "properties": { "total_count": { @@ -547708,6 +549575,31 @@ "score" ] } + }, + "search_type": { + "type": "string", + "description": "The type of search that was performed. Possible values are `lexical`, `semantic`, or `hybrid`.", + "enum": [ + "lexical", + "semantic", + "hybrid" + ] + }, + "lexical_fallback_reason": { + "type": "array", + "description": "When a semantic or hybrid search falls back to lexical search, this field contains the reasons for the fallback. Only present when a fallback occurred.", + "items": { + "type": "string", + "enum": [ + "no_text_terms", + "quoted_text", + "non_issue_target", + "or_boolean_not_supported", + "no_accessible_repos", + "server_error", + "only_non_semantic_fields_requested" + ] + } } } }, @@ -582906,7 +584798,7 @@ "/user/installations/{installation_id}/repositories/{repository_id}": { "put": { "summary": "Add a repository to an app installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -583009,7 +584901,7 @@ }, "delete": { "summary": "Remove a repository from an app installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index cce01e1d4c..0f9c97759e 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -446,7 +446,7 @@ paths: required: false schema: type: string - - &55 + - &61 name: direction description: The direction to sort the results by. in: query @@ -649,7 +649,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &57 + cvss_severities: &63 type: object nullable: true properties: @@ -689,7 +689,7 @@ paths: required: - vector_string - score - epss: &58 + epss: &64 type: object nullable: true readOnly: true @@ -827,7 +827,7 @@ paths: - subscriptions_url - type - url - type: &324 + type: &330 type: string description: The type of credit the user is receiving. enum: @@ -959,7 +959,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &125 + schema: &130 title: Validation Error Simple description: Validation Error Simple type: object @@ -992,7 +992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &652 + - &658 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1110,7 +1110,7 @@ paths: GitHub. type: object nullable: true - properties: &74 + properties: &80 id: description: Unique identifier of the GitHub app example: 37 @@ -1243,7 +1243,7 @@ paths: about itself. example: 5 type: integer - required: &75 + required: &81 - id - node_id - owner @@ -1548,7 +1548,7 @@ paths: schema: type: integer default: 30 - - &211 + - &216 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 @@ -1557,6 +1557,19 @@ paths: required: false schema: type: string + - &217 + name: status + description: Returns webhook deliveries filtered by delivery outcome classification + based on `status_code` range. A `status` of `success` returns deliveries + with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` + returns deliveries with a `status_code` in the 400-599 range (inclusive). + in: query + required: false + schema: + type: string + enum: + - success + - failure responses: '200': description: Response @@ -1564,7 +1577,7 @@ paths: application/json: schema: type: array - items: &212 + items: &218 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1644,7 +1657,7 @@ paths: - installation_id - repository_id examples: - default: &213 + default: &219 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1703,7 +1716,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &124 + schema: &129 title: Validation Error description: Validation Error type: object @@ -1772,7 +1785,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &220 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1886,7 +1899,7 @@ paths: - request - response examples: - default: &215 + default: &221 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2087,7 +2100,7 @@ paths: parameters: - *17 - *19 - - &86 + - &92 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) @@ -2670,7 +2683,7 @@ paths: suspended_at: suspended_by: headers: - Link: &61 + Link: &67 example: ; rel="next", ; rel="last" schema: @@ -2859,11 +2872,11 @@ paths: - selected repositories: type: array - items: &73 + items: &79 title: Repository description: A repository on GitHub. type: object - properties: &289 + properties: &295 id: description: Unique identifier of the repository example: 42 @@ -2883,7 +2896,7 @@ paths: title: License Simple description: License Simple type: object - properties: &82 + properties: &88 key: type: string example: mit @@ -2905,7 +2918,7 @@ paths: html_url: type: string format: uri - required: &83 + required: &89 - key - name - url @@ -3299,7 +3312,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &290 + required: &296 - archive_url - assignees_url - blobs_url @@ -5085,7 +5098,7 @@ paths: responses: '202': *39 '422': *7 - '500': &115 + '500': &55 description: Internal Error content: application/json: @@ -7232,7 +7245,7 @@ paths: required: true content: application/json: - schema: &137 + schema: &142 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -7925,7 +7938,7 @@ paths: description: Response content: application/json: - schema: &185 + schema: &190 type: array description: A list of default code security configurations items: @@ -7941,7 +7954,7 @@ paths: default configuration: *49 examples: - default: &186 + default: &191 value: - default_for_new_repos: public configuration: @@ -8281,7 +8294,7 @@ paths: - *40 - *51 responses: - '204': &187 + '204': &192 description: A header with no content is returned. '400': *14 '403': *29 @@ -8408,7 +8421,7 @@ paths: default: value: default_for_new_repos: all - configuration: &184 + configuration: &189 value: id: 1325 target_type: organization @@ -8493,7 +8506,7 @@ paths: application/json: schema: type: array - items: &188 + items: &193 type: object description: Repositories associated with a code security configuration and attachment status @@ -8511,11 +8524,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &60 + repository: &66 title: Simple Repository description: A GitHub repository. type: object - properties: &113 + properties: &119 id: type: integer format: int64 @@ -8742,7 +8755,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &114 + required: &120 - archive_url - assignees_url - blobs_url @@ -8794,7 +8807,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &189 + repository: &194 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8869,6 +8882,212 @@ paths: enabledForGitHubApps: false category: code-security subcategory: configurations + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - *40 + - &56 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &57 + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for + an enterprise/organization for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report + for the enterprise/organization for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + examples: + default: &58 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics + parameters: + - *40 + responses: + '200': + description: Response + content: + application/json: + schema: &59 + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report + for an enterprise/organization. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics + report for the enterprise/organization. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` + format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` + format. + required: + - download_links + - report_start_day + - report_end_day + examples: + default: &60 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - *40 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics + parameters: + - *40 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -8888,7 +9107,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &195 + - &200 name: state in: query description: |- @@ -8897,7 +9116,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &196 + - &201 name: severity in: query description: |- @@ -8906,7 +9125,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &197 + - &202 name: ecosystem in: query description: |- @@ -8915,14 +9134,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &198 + - &203 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 - - &199 + - &204 name: epss_percentage in: query description: |- @@ -8934,7 +9153,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &487 + - &493 name: has in: query description: |- @@ -8948,7 +9167,7 @@ paths: type: string enum: - patch - - &200 + - &205 name: assignee in: query description: |- @@ -8957,7 +9176,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &201 + - &206 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8967,7 +9186,7 @@ paths: enum: - development - runtime - - &202 + - &207 name: sort in: query description: |- @@ -8982,7 +9201,7 @@ paths: - updated - epss_percentage default: created - - *55 + - *61 - *47 - *48 - *17 @@ -8993,11 +9212,11 @@ paths: application/json: schema: type: array - items: &203 + items: &208 type: object description: A Dependabot alert. properties: - number: &174 + number: &179 type: integer description: The security alert number. readOnly: true @@ -9015,7 +9234,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &56 + package: &62 type: object description: Details for the vulnerable package. readOnly: true @@ -9059,7 +9278,7 @@ paths: - unknown - direct - transitive - security_advisory: &488 + security_advisory: &494 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9089,13 +9308,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &59 + items: &65 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *56 + package: *62 severity: type: string description: The severity of the vulnerability. @@ -9140,8 +9359,8 @@ paths: - medium - high - critical - cvss_severities: *57 - epss: *58 + cvss_severities: *63 + epss: *64 cwes: type: array description: Details for the advisory pertaining to Common @@ -9239,30 +9458,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *59 - url: &177 + security_vulnerability: *65 + url: &182 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &178 + html_url: &183 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &175 + created_at: &180 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: &176 + updated_at: &181 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 - dismissed_at: &180 + dismissed_at: &185 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9292,21 +9511,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &179 + fixed_at: &184 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &489 + auto_dismissed_at: &495 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &490 + dismissal_request: &496 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9349,7 +9568,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *60 + repository: *66 required: - number - state @@ -9368,7 +9587,7 @@ paths: - repository additionalProperties: false examples: - default: &204 + default: &209 value: - number: 2 state: dismissed @@ -9737,7 +9956,7 @@ paths: application/json: schema: type: array - items: &62 + items: &68 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -9808,7 +10027,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -9881,9 +10100,9 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: &70 + default: &76 value: id: 1 name: Justice League @@ -9912,7 +10131,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &63 + - &69 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -9931,7 +10150,7 @@ paths: type: array items: *4 examples: - default: &64 + default: &70 value: - login: octocat id: 1 @@ -9952,7 +10171,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9970,7 +10189,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10001,7 +10220,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10019,7 +10238,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10050,7 +10269,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10068,8 +10287,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *63 - - &65 + - *69 + - &71 name: username description: The handle for the GitHub user account. in: path @@ -10083,7 +10302,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &66 + exampleKey1: &72 value: login: octocat id: 1 @@ -10119,8 +10338,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *63 - - *65 + - *69 + - *71 responses: '201': description: Successfully added team member @@ -10128,7 +10347,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *66 + exampleKey1: *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10146,8 +10365,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *63 - - *65 + - *69 + - *71 responses: '204': description: Response @@ -10169,7 +10388,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *63 + - *69 - *17 - *19 responses: @@ -10179,11 +10398,11 @@ paths: application/json: schema: type: array - items: &67 + items: &73 title: Organization Simple description: A GitHub organization. type: object - properties: &191 + properties: &196 login: type: string example: github @@ -10224,7 +10443,7 @@ paths: type: string example: A great organization nullable: true - required: &192 + required: &197 - login - url - id @@ -10238,7 +10457,7 @@ paths: - avatar_url - description examples: - default: &68 + default: &74 value: login: github id: 1 @@ -10269,7 +10488,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10297,9 +10516,9 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: &110 + default: &116 value: - login: github id: 1 @@ -10330,7 +10549,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10371,8 +10590,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *63 - - &69 + - *69 + - &75 name: org description: The organization name. The name is not case sensitive. in: path @@ -10384,9 +10603,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *67 + schema: *73 examples: - default: *68 + default: *74 '404': description: The team is not assigned to the organization x-github: @@ -10405,16 +10624,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *63 - *69 + - *75 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *67 + schema: *73 examples: - default: *68 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10431,8 +10650,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *63 - *69 + - *75 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10456,7 +10675,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &71 + - &77 name: team_slug description: The slug of the team name. in: path @@ -10468,11 +10687,11 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: *70 + default: *76 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -10490,7 +10709,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *71 + - *77 requestBody: required: true content: @@ -10545,11 +10764,11 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: *70 + default: *76 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -10570,7 +10789,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *71 + - *77 responses: '204': description: Response @@ -10608,7 +10827,7 @@ paths: application/json: schema: type: array - items: &105 + items: &111 title: Event description: Event type: object @@ -10618,7 +10837,7 @@ paths: type: type: string nullable: true - actor: &72 + actor: &78 title: Actor description: Actor type: object @@ -10658,7 +10877,7 @@ paths: - id - name - url - org: *72 + org: *78 payload: oneOf: - title: CreateEvent @@ -10704,7 +10923,7 @@ paths: properties: action: type: string - discussion: &746 + discussion: &752 title: Discussion description: A Discussion in a repository. type: object @@ -10991,7 +11210,7 @@ paths: - id labels: type: array - items: &78 + items: &84 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11066,12 +11285,12 @@ paths: properties: action: type: string - issue: &79 + issue: &85 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &541 + properties: &547 id: type: integer format: int64 @@ -11177,7 +11396,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &273 + properties: &279 url: type: string format: uri @@ -11247,7 +11466,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &274 + required: &280 - closed_issues - creator - description @@ -11326,7 +11545,7 @@ paths: timeline_url: type: string format: uri - type: &236 + type: &242 title: Issue Type description: The type of issue. type: object @@ -11376,7 +11595,7 @@ paths: - node_id - name - description - repository: *73 + repository: *79 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11387,9 +11606,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - author_association: &76 + properties: *80 + required: *81 + author_association: &82 title: author_association type: string example: OWNER @@ -11404,7 +11623,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &77 + reactions: &83 title: Reaction Rollup type: object properties: @@ -11440,7 +11659,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &664 + sub_issues_summary: &670 title: Sub-issues Summary type: object properties: @@ -11465,7 +11684,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &80 + properties: &86 id: description: Unique identifier of the issue comment example: 42 @@ -11508,7 +11727,7 @@ paths: issue_url: type: string format: uri - author_association: *76 + author_association: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -11519,15 +11738,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - reactions: *77 + properties: *80 + required: *81 + reactions: *83 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &563 + properties: &569 pinned_at: type: string format: date-time @@ -11539,11 +11758,11 @@ paths: properties: *20 required: *21 nullable: true - required: &564 + required: &570 - pinned_at - pinned_by nullable: true - required: &81 + required: &87 - id - node_id - html_url @@ -11553,7 +11772,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &665 + issue_dependencies_summary: &671 title: Issue Dependencies Summary type: object properties: @@ -11572,7 +11791,7 @@ paths: - total_blocking issue_field_values: type: array - items: &548 + items: &554 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11633,7 +11852,7 @@ paths: - node_id - data_type - value - required: &542 + required: &548 - closed_at - comments - comments_url @@ -11657,10 +11876,10 @@ paths: assignees: type: array items: *4 - label: *78 + label: *84 labels: type: array - items: *78 + items: *84 required: - action - issue @@ -11669,14 +11888,14 @@ paths: properties: action: type: string - issue: *79 - comment: &537 + issue: *85 + comment: &543 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 required: - action - issue @@ -11849,8 +12068,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true allow_forking: type: boolean @@ -11939,7 +12158,7 @@ paths: type: string number: type: integer - pull_request: &84 + pull_request: &90 title: Pull Request Minimal type: object properties: @@ -12010,10 +12229,10 @@ paths: assignees: type: array items: *4 - label: *78 + label: *84 labels: type: array - items: *78 + items: *84 required: - action - number @@ -12023,7 +12242,7 @@ paths: properties: action: type: string - pull_request: *84 + pull_request: *90 comment: type: object properties: @@ -12274,7 +12493,7 @@ paths: - pull_request updated_at: type: string - pull_request: *84 + pull_request: *90 required: - action - review @@ -12323,7 +12542,7 @@ paths: updated_at: type: string format: date-time - reactions: *77 + reactions: *83 required: - action - comment @@ -12334,7 +12553,7 @@ paths: type: string release: allOf: - - &597 + - &603 title: Release description: A release. type: object @@ -12405,7 +12624,7 @@ paths: author: *4 assets: type: array - items: &598 + items: &604 title: Release Asset description: Data related to a release. type: object @@ -12480,7 +12699,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *77 + reactions: *83 required: - assets_url - upload_url @@ -12572,7 +12791,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &116 + '503': &121 description: Service unavailable content: application/json: @@ -12665,7 +12884,7 @@ paths: _links: type: object properties: - timeline: &85 + timeline: &91 title: Link With Type description: Hypermedia Link with Type type: object @@ -12677,17 +12896,17 @@ paths: required: - href - type - user: *85 - security_advisories: *85 - current_user: *85 - current_user_public: *85 - current_user_actor: *85 - current_user_organization: *85 + user: *91 + security_advisories: *91 + current_user: *91 + current_user_public: *91 + current_user_actor: *91 + current_user_organization: *91 current_user_organizations: type: array - items: *85 - repository_discussions: *85 - repository_discussions_category: *85 + items: *91 + repository_discussions: *91 + repository_discussions_category: *91 required: - timeline - user @@ -12749,7 +12968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *86 + - *92 - *17 - *19 responses: @@ -12759,7 +12978,7 @@ paths: application/json: schema: type: array - items: &87 + items: &93 title: Base Gist description: Base Gist type: object @@ -12844,7 +13063,7 @@ paths: - created_at - updated_at examples: - default: &88 + default: &94 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12889,7 +13108,7 @@ paths: site_admin: false truncated: false headers: - Link: *61 + Link: *67 '304': *37 '403': *29 x-github: @@ -12965,7 +13184,7 @@ paths: description: Response content: application/json: - schema: &89 + schema: &95 title: Gist Simple description: Gist Simple type: object @@ -13133,7 +13352,7 @@ paths: truncated: type: boolean examples: - default: &90 + default: &96 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13237,7 +13456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *86 + - *92 - *17 - *19 responses: @@ -13247,11 +13466,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '403': *29 @@ -13271,7 +13490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *86 + - *92 - *17 - *19 responses: @@ -13281,11 +13500,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '401': *25 '304': *37 '403': *29 @@ -13311,7 +13530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &91 + - &97 name: gist_id description: The unique identifier of the gist. in: path @@ -13323,10 +13542,10 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - default: *90 - '403': &94 + default: *96 + '403': &100 description: Forbidden Gist content: application/json: @@ -13374,7 +13593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *91 + - *97 requestBody: required: true content: @@ -13434,9 +13653,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - updateGist: *90 + updateGist: *96 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13594,7 +13813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -13623,7 +13842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *91 + - *97 - *17 - *19 responses: @@ -13633,7 +13852,7 @@ paths: application/json: schema: type: array - items: &92 + items: &98 title: Gist Comment description: A comment made to a gist. type: object @@ -13668,7 +13887,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *76 + author_association: *82 required: - url - id @@ -13708,7 +13927,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -13733,7 +13952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *91 + - *97 requestBody: required: true content: @@ -13758,9 +13977,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: &93 + default: &99 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -13818,8 +14037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *91 - - &95 + - *97 + - &101 name: comment_id description: The unique identifier of the comment. in: path @@ -13832,12 +14051,12 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: *93 + default: *99 '304': *37 '404': *6 - '403': *94 + '403': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13859,8 +14078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *91 - - *95 + - *97 + - *101 requestBody: required: true content: @@ -13885,9 +14104,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: *93 + default: *99 '404': *6 x-github: githubCloudOnly: false @@ -13904,8 +14123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *91 - - *95 + - *97 + - *101 responses: '204': description: Response @@ -13928,7 +14147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *91 + - *97 - *17 - *19 responses: @@ -14029,7 +14248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *91 + - *97 - *17 - *19 responses: @@ -14039,7 +14258,7 @@ paths: application/json: schema: type: array - items: *89 + items: *95 examples: default: value: @@ -14085,7 +14304,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 '304': *37 '403': *29 @@ -14104,13 +14323,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *91 + - *97 responses: '201': description: Response content: application/json: - schema: *87 + schema: *93 examples: default: value: @@ -14181,7 +14400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *91 + - *97 responses: '204': description: Response if gist is starred @@ -14211,7 +14430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -14233,7 +14452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -14262,7 +14481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *91 + - *97 - name: sha in: path required: true @@ -14273,9 +14492,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - default: *90 + default: *96 '422': *15 '404': *6 '403': *29 @@ -14436,7 +14655,7 @@ paths: type: array items: allOf: - - *73 + - *79 repository_selection: type: string example: selected @@ -14559,7 +14778,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '403': *29 '304': *37 '401': *25 @@ -14643,7 +14862,7 @@ paths: - closed - all default: open - - &239 + - &245 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14661,8 +14880,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - name: collab in: query required: false @@ -14692,9 +14911,9 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: &240 + default: &246 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14939,7 +15158,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '404': *6 @@ -14978,8 +15197,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 examples: default: value: @@ -15264,7 +15483,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &96 + X-CommonMarker-Version: &102 example: 0.17.4 schema: type: string @@ -15319,7 +15538,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *96 + X-CommonMarker-Version: *102 content: text/html: schema: @@ -15348,7 +15567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &99 + - &105 name: account_id description: account_id parameter in: path @@ -15360,7 +15579,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &104 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15390,7 +15609,7 @@ paths: nullable: true id: type: integer - plan: &97 + plan: &103 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15479,7 +15698,7 @@ paths: nullable: true updated_at: type: string - plan: *97 + plan: *103 required: - url - id @@ -15487,7 +15706,7 @@ paths: - login - marketplace_purchase examples: - default: &100 + default: &106 value: url: https://api.github.com/orgs/github type: Organization @@ -15572,9 +15791,9 @@ paths: application/json: schema: type: array - items: *97 + items: *103 examples: - default: &101 + default: &107 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15592,7 +15811,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '404': *6 '401': *25 x-github: @@ -15614,14 +15833,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &102 + - &108 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &103 + - &109 name: sort description: The property to sort the results by. in: query @@ -15651,9 +15870,9 @@ paths: application/json: schema: type: array - items: *98 + items: *104 examples: - default: &104 + default: &110 value: - url: https://api.github.com/orgs/github type: Organization @@ -15704,7 +15923,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '404': *6 '422': *15 '401': *25 @@ -15727,15 +15946,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *99 + - *105 responses: '200': description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *100 + default: *106 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15767,11 +15986,11 @@ paths: application/json: schema: type: array - items: *97 + items: *103 examples: - default: *101 + default: *107 headers: - Link: *61 + Link: *67 '401': *25 x-github: githubCloudOnly: false @@ -15792,8 +16011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *102 - - *103 + - *108 + - *109 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -15813,11 +16032,11 @@ paths: application/json: schema: type: array - items: *98 + items: *104 examples: - default: *104 + default: *110 headers: - Link: *61 + Link: *67 '401': *25 x-github: githubCloudOnly: false @@ -16079,14 +16298,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &336 + - &342 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &337 + - &343 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16103,7 +16322,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -16148,7 +16367,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &340 + '301': &346 description: Moved permanently content: application/json: @@ -16170,7 +16389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &573 + - &579 name: all description: If `true`, show notifications marked as read. in: query @@ -16178,7 +16397,7 @@ paths: schema: type: boolean default: false - - &574 + - &580 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16187,8 +16406,8 @@ paths: schema: type: boolean default: false - - *86 - - &575 + - *92 + - &581 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: @@ -16213,18 +16432,18 @@ paths: application/json: schema: type: array - items: &106 + items: &112 title: Thread description: Thread type: object properties: id: type: string - repository: &156 + repository: &161 title: Minimal Repository description: Minimal Repository type: object - properties: &206 + properties: &211 id: type: integer format: int64 @@ -16508,7 +16727,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &291 + security_and_analysis: &297 nullable: true type: object properties: @@ -16621,7 +16840,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &207 + required: &212 - archive_url - assignees_url - blobs_url @@ -16709,7 +16928,7 @@ paths: - url - subscription_url examples: - default: &576 + default: &582 value: - id: '1' repository: @@ -16791,7 +17010,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -16875,7 +17094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &107 + - &113 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 @@ -16889,7 +17108,7 @@ paths: description: Response content: application/json: - schema: *106 + schema: *112 examples: default: value: @@ -16991,7 +17210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *107 + - *113 responses: '205': description: Reset Content @@ -17013,7 +17232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *107 + - *113 responses: '204': description: No content @@ -17036,13 +17255,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *107 + - *113 responses: '200': description: Response content: application/json: - schema: &108 + schema: &114 title: Thread Subscription description: Thread Subscription type: object @@ -17079,7 +17298,7 @@ paths: - url - subscribed examples: - default: &109 + default: &115 value: subscribed: true ignored: false @@ -17110,7 +17329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *107 + - *113 requestBody: required: false content: @@ -17131,9 +17350,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *114 examples: - default: *109 + default: *115 '304': *37 '403': *29 '401': *25 @@ -17156,7 +17375,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *107 + - *113 responses: '204': description: Response @@ -17251,9 +17470,9 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: Link: example: ; rel="next" @@ -17280,13 +17499,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &111 + schema: &117 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17319,12 +17538,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *111 + schema: *117 examples: selected_actions: *42 responses: @@ -17353,13 +17572,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &112 + schema: &118 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17392,12 +17611,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *112 + schema: *118 examples: selected_actions: *44 responses: @@ -17426,7 +17645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *69 + - *75 - name: page in: query description: The page number of results to fetch. @@ -17470,8 +17689,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *113 - required: *114 + properties: *119 + required: *120 nullable: true additionalProperties: false examples: @@ -17577,7 +17796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -17643,7 +17862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *69 + - *75 requestBody: required: true content: @@ -17692,7 +17911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *69 + - *75 - name: page description: The page number of the results to fetch. in: query @@ -17843,7 +18062,7 @@ paths: total_count: 3 '404': *6 '403': *29 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17864,8 +18083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *69 - - &117 + - *75 + - &122 name: budget_id description: The ID corresponding to the budget. in: path @@ -17961,8 +18180,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17982,8 +18201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *69 - - *117 + - *75 + - *122 requestBody: required: true content: @@ -18174,8 +18393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *69 - - *117 + - *75 + - *122 responses: '200': description: Response when deleting a budget @@ -18201,8 +18420,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18222,8 +18441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *69 - - &118 + - *75 + - &123 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18232,7 +18451,7 @@ paths: required: false schema: type: integer - - &120 + - &125 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18241,7 +18460,7 @@ paths: required: false schema: type: integer - - &119 + - &124 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18256,14 +18475,14 @@ paths: required: false schema: type: string - - &721 + - &727 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &121 + - &126 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18379,8 +18598,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18400,9 +18619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *69 - - *118 - - &722 + - *75 + - *123 + - &728 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18411,7 +18630,7 @@ paths: required: false schema: type: integer - - *119 + - *124 responses: '200': description: Billing usage report response for an organization @@ -18486,8 +18705,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18510,19 +18729,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *69 - - *118 - - *120 - - *119 - - &723 + - *75 + - *123 + - *125 + - *124 + - &729 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *121 - - &724 + - *126 + - &730 name: sku description: The SKU to query for usage. in: query @@ -18632,8 +18851,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18659,13 +18878,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &122 + schema: &127 title: Organization Full description: Organization Full type: object @@ -18979,7 +19198,7 @@ paths: - updated_at - archived_at examples: - default-response: &123 + default-response: &128 value: login: github id: 1 @@ -19078,7 +19297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *69 + - *75 requestBody: required: false content: @@ -19290,17 +19509,17 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 '422': description: Validation failed content: application/json: schema: oneOf: - - *124 - - *125 + - *129 + - *130 '409': *54 x-github: githubCloudOnly: false @@ -19324,7 +19543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *69 + - *75 responses: '202': *39 '404': *6 @@ -19350,7 +19569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -19376,7 +19595,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19397,7 +19616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -19415,7 +19634,7 @@ paths: type: integer repository_cache_usages: type: array - items: &347 + items: &353 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19450,7 +19669,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19470,7 +19689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -19488,7 +19707,7 @@ paths: type: integer runners: type: array - items: &126 + items: &131 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19542,7 +19761,7 @@ paths: - display_name - source nullable: true - machine_size_details: &134 + machine_size_details: &139 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19638,7 +19857,7 @@ paths: - public_ip_enabled - platform examples: - default: &155 + default: &160 value: total_count: 2 runners: @@ -19680,7 +19899,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19698,7 +19917,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -19775,9 +19994,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: &135 + default: &140 value: id: 5 name: My hosted ubuntu runner @@ -19818,7 +20037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -19834,7 +20053,7 @@ paths: type: integer images: type: array - items: &127 + items: &132 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -19885,7 +20104,7 @@ paths: - latest_version - state examples: - default: &129 + default: &134 value: total_count: 2 image_versions: @@ -19916,8 +20135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *69 - - &128 + - *75 + - &133 name: image_definition_id description: Image definition ID of custom image in: path @@ -19929,7 +20148,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *132 examples: default: value: @@ -19959,8 +20178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *69 - - *128 + - *75 + - *133 responses: '204': description: Response @@ -19983,8 +20202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *128 - - *69 + - *133 + - *75 responses: '200': description: Response @@ -20000,7 +20219,7 @@ paths: type: integer image_versions: type: array - items: &130 + items: &135 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20033,7 +20252,7 @@ paths: - created_on - state_details examples: - default: *129 + default: *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20053,9 +20272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *69 - - *128 - - &131 + - *75 + - *133 + - &136 name: version description: Version of a custom image in: path @@ -20068,7 +20287,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *135 examples: default: value: @@ -20094,9 +20313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *69 - - *128 - - *131 + - *75 + - *133 + - *136 responses: '204': description: Response @@ -20117,7 +20336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20133,7 +20352,7 @@ paths: type: integer images: type: array - items: &132 + items: &137 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20169,7 +20388,7 @@ paths: - display_name - source examples: - default: &133 + default: &138 value: id: ubuntu-20.04 platform: linux-x64 @@ -20193,7 +20412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20209,9 +20428,9 @@ paths: type: integer images: type: array - items: *132 + items: *137 examples: - default: *133 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20228,7 +20447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20281,7 +20500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20297,7 +20516,7 @@ paths: type: integer machine_specs: type: array - items: *134 + items: *139 examples: default: value: @@ -20322,7 +20541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20366,8 +20585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *69 - - &136 + - *75 + - &141 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20379,11 +20598,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20401,8 +20620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *69 - - *136 + - *75 + - *141 requestBody: required: true content: @@ -20454,9 +20673,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20472,16 +20691,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *69 - - *136 + - *75 + - *141 responses: '202': description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20501,7 +20720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -20534,12 +20753,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *137 + schema: *142 examples: default: *46 responses: @@ -20573,7 +20792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *69 + - *75 - name: custom_property_name in: path required: true @@ -20606,13 +20825,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *69 + - *75 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &138 + schema: &143 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20626,7 +20845,7 @@ paths: required: - include_claim_keys examples: - default: &139 + default: &144 value: include_claim_keys: - repo @@ -20648,20 +20867,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *138 + schema: *143 examples: - default: *139 + default: *144 responses: '201': description: Empty response content: application/json: - schema: &165 + schema: &170 title: Empty Object description: An object without any properties. type: object @@ -20691,7 +20910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20700,7 +20919,7 @@ paths: schema: type: object properties: - enabled_repositories: &140 + enabled_repositories: &145 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20713,7 +20932,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &141 + allowed_actions: &146 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20721,12 +20940,12 @@ paths: - all - local_only - selected - selected_actions_url: &353 + selected_actions_url: &359 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` is set to `selected`. - sha_pinning_required: &142 + sha_pinning_required: &147 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20757,7 +20976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -20768,9 +20987,9 @@ paths: schema: type: object properties: - enabled_repositories: *140 - allowed_actions: *141 - sha_pinning_required: *142 + enabled_repositories: *145 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled_repositories examples: @@ -20798,13 +21017,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &357 + schema: &363 type: object properties: days: @@ -20841,12 +21060,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &358 + schema: &364 type: object properties: days: @@ -20883,13 +21102,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &143 + schema: &148 type: object properties: approval_policy: @@ -20903,7 +21122,7 @@ paths: required: - approval_policy examples: - default: &359 + default: &365 value: approval_policy: first_time_contributors '404': *6 @@ -20924,7 +21143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -20934,7 +21153,7 @@ paths: required: true content: application/json: - schema: *143 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -20956,13 +21175,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &360 + schema: &366 type: object required: - run_workflows_from_fork_pull_requests @@ -20988,7 +21207,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &144 + default: &149 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21011,12 +21230,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &361 + schema: &367 type: object required: - run_workflows_from_fork_pull_requests @@ -21039,7 +21258,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *144 + default: *149 responses: '204': description: Empty response for successful settings update @@ -21069,7 +21288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -21087,9 +21306,9 @@ paths: type: number repositories: type: array - items: *73 + items: *79 examples: - default: &148 + default: &153 value: total_count: 1 repositories: @@ -21229,7 +21448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21273,8 +21492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *69 - - &145 + - *75 + - &150 name: repository_id description: The unique identifier of the repository. in: path @@ -21302,8 +21521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -21326,13 +21545,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &146 + schema: &151 type: object properties: github_owned_allowed: @@ -21354,7 +21573,7 @@ paths: items: type: string examples: - default: &147 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -21379,7 +21598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21387,9 +21606,9 @@ paths: required: false content: application/json: - schema: *146 + schema: *151 examples: - selected_actions: *147 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21409,7 +21628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -21457,7 +21676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -21504,7 +21723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -21519,9 +21738,9 @@ paths: type: integer repositories: type: array - items: *73 + items: *79 examples: - default: *148 + default: *153 '403': *29 '404': *6 x-github: @@ -21541,7 +21760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -21589,8 +21808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No content @@ -21616,8 +21835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No content @@ -21645,23 +21864,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &362 + schema: &368 type: object properties: - default_workflow_permissions: &149 + default_workflow_permissions: &154 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &150 + can_approve_pull_request_reviews: &155 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21669,7 +21888,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &151 + default: &156 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21694,7 +21913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Success response @@ -21702,13 +21921,13 @@ paths: required: false content: application/json: - schema: &363 + schema: &369 type: object properties: - default_workflow_permissions: *149 - can_approve_pull_request_reviews: *150 + default_workflow_permissions: *154 + can_approve_pull_request_reviews: *155 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21728,7 +21947,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *69 + - *75 - *17 - *19 - name: visible_to_repository @@ -21753,7 +21972,7 @@ paths: type: number runner_groups: type: array - items: &152 + items: &157 type: object properties: id: @@ -21869,7 +22088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -21941,9 +22160,9 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: - default: &154 + default: &159 value: id: 2 name: octo-runner-group @@ -21978,8 +22197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *69 - - &153 + - *75 + - &158 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21991,7 +22210,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: default: value: @@ -22027,8 +22246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -22082,9 +22301,9 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: - default: *154 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22103,8 +22322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *69 - - *153 + - *75 + - *158 responses: '204': description: Response @@ -22127,8 +22346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *17 - *19 responses: @@ -22146,11 +22365,11 @@ paths: type: number runners: type: array - items: *126 + items: *131 examples: - default: *155 + default: *160 headers: - Link: *61 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22170,8 +22389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *19 - *17 responses: @@ -22189,9 +22408,9 @@ paths: type: number repositories: type: array - items: *156 + items: *161 examples: - default: &194 + default: &199 value: total_count: 1 repositories: @@ -22443,8 +22662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -22488,9 +22707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 - - *145 + - *75 + - *158 + - *150 responses: '204': description: Response @@ -22512,9 +22731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 - - *145 + - *75 + - *158 + - *150 responses: '204': description: Response @@ -22537,8 +22756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *17 - *19 responses: @@ -22556,7 +22775,7 @@ paths: type: number runners: type: array - items: &158 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -22585,7 +22804,7 @@ paths: type: boolean labels: type: array - items: &161 + items: &166 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22615,7 +22834,7 @@ paths: - busy - labels examples: - default: &159 + default: &164 value: total_count: 2 runners: @@ -22655,7 +22874,7 @@ paths: name: no-gpu type: custom headers: - Link: *61 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22674,8 +22893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -22719,9 +22938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *69 - - *153 - - &157 + - *75 + - *158 + - &162 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22749,9 +22968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *69 - - *153 - - *157 + - *75 + - *158 + - *162 responses: '204': description: Response @@ -22781,7 +23000,7 @@ paths: in: query schema: type: string - - *69 + - *75 - *17 - *19 responses: @@ -22799,11 +23018,11 @@ paths: type: integer runners: type: array - items: *158 + items: *163 examples: - default: *159 + default: *164 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22825,7 +23044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -22833,7 +23052,7 @@ paths: application/json: schema: type: array - items: &364 + items: &370 title: Runner Application description: Runner Application type: object @@ -22858,7 +23077,7 @@ paths: - download_url - filename examples: - default: &365 + default: &371 value: - os: osx architecture: x64 @@ -22901,7 +23120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -22944,7 +23163,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &366 + '201': &372 description: Response content: application/json: @@ -22954,7 +23173,7 @@ paths: - runner - encoded_jit_config properties: - runner: *158 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23011,13 +23230,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *69 + - *75 responses: '201': description: Response content: application/json: - schema: &160 + schema: &165 title: Authentication Token description: Authentication Token type: object @@ -23039,7 +23258,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *73 + items: *79 single_file: type: string example: config.yaml @@ -23055,7 +23274,7 @@ paths: - token - expires_at examples: - default: &367 + default: &373 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23086,15 +23305,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *69 + - *75 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: &368 + default: &374 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23119,16 +23338,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: '200': description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: &369 + default: &375 value: id: 23 name: MBP @@ -23169,8 +23388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: '204': description: Response @@ -23196,10 +23415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: - '200': &162 + '200': &167 description: Response content: application/json: @@ -23213,7 +23432,7 @@ paths: type: integer labels: type: array - items: *161 + items: *166 examples: default: value: @@ -23252,8 +23471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 requestBody: required: true content: @@ -23277,7 +23496,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -23301,8 +23520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 requestBody: required: true content: @@ -23327,7 +23546,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -23351,10 +23570,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: - '200': &370 + '200': &376 description: Response content: application/json: @@ -23368,7 +23587,7 @@ paths: type: integer labels: type: array - items: *161 + items: *166 examples: default: value: @@ -23409,9 +23628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 - - &371 + - *75 + - *162 + - &377 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23419,7 +23638,7 @@ paths: schema: type: string responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -23444,7 +23663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -23462,7 +23681,7 @@ paths: type: integer secrets: type: array - items: &163 + items: &168 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23512,7 +23731,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23535,13 +23754,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &383 + schema: &389 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23570,7 +23789,7 @@ paths: - key_id - key examples: - default: &384 + default: &390 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23595,8 +23814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *69 - - &164 + - *75 + - &169 name: secret_name description: The name of the secret. in: path @@ -23608,7 +23827,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *168 examples: default: value: @@ -23638,8 +23857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -23696,7 +23915,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -23722,8 +23941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -23749,8 +23968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -23768,9 +23987,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: &168 + default: &173 value: total_count: 1 repositories: @@ -23862,8 +24081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -23915,8 +24134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -23949,8 +24168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -23982,8 +24201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *69 - - &352 + - *75 + - &358 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24007,7 +24226,7 @@ paths: type: integer variables: type: array - items: &166 + items: &171 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24071,7 +24290,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24092,7 +24311,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *69 + - *75 requestBody: required: true content: @@ -24140,7 +24359,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -24165,8 +24384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *69 - - &167 + - *75 + - &172 name: name description: The name of the variable. in: path @@ -24178,7 +24397,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *171 examples: default: value: @@ -24208,8 +24427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 requestBody: required: true content: @@ -24271,8 +24490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 responses: '204': description: Response @@ -24298,8 +24517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - *19 - *17 responses: @@ -24317,9 +24536,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24345,8 +24564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 requestBody: required: true content: @@ -24395,8 +24614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - name: repository_id in: path required: true @@ -24430,8 +24649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - name: repository_id in: path required: true @@ -24472,7 +24691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *69 + - *75 requestBody: required: true content: @@ -24588,7 +24807,7 @@ paths: type: integer deployment_records: type: array - items: &169 + items: &174 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -24632,7 +24851,7 @@ paths: with the deployment record. nullable: true examples: - default: &170 + default: &175 value: total_count: 1 deployment_records: @@ -24647,6 +24866,8 @@ paths: created: '2011-01-26T19:14:43Z' updated_at: '2011-01-26T19:14:43Z' attestation_id: 456 + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24667,7 +24888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *69 + - *75 - name: cluster in: path description: The cluster name. @@ -24803,9 +25024,11 @@ paths: type: integer deployment_records: type: array - items: *169 + items: *174 examples: - default: *170 + default: *175 + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24825,7 +25048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *69 + - *75 requestBody: required: true content: @@ -24960,6 +25183,8 @@ paths: status: active created_at: '2023-10-01T12:00:00Z' updated_at: '2023-10-01T12:00:00Z' + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24977,7 +25202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *69 + - *75 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25002,9 +25227,9 @@ paths: type: integer deployment_records: type: array - items: *169 + items: *174 examples: - default: *170 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25024,7 +25249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *69 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25109,7 +25334,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 requestBody: required: true content: @@ -25133,12 +25358,12 @@ paths: required: - subject_digests examples: - default: &703 + default: &709 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &704 + withPredicateType: &710 value: subject_digests: - sha256:abc123 @@ -25182,7 +25407,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &705 + default: &711 value: attestations_subject_digests: - sha256:abc: @@ -25291,7 +25516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *69 + - *75 requestBody: required: true content: @@ -25356,7 +25581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *69 + - *75 - name: subject_digest description: Subject Digest in: path @@ -25391,7 +25616,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -25439,7 +25664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *69 + - *75 - name: attestation_id description: Attestation ID in: path @@ -25477,7 +25702,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25515,7 +25740,7 @@ paths: initiator: type: string examples: - default: &397 + default: &403 value: attestations: - bundle: @@ -25622,7 +25847,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -25634,7 +25859,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25653,8 +25878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: If the user is blocked @@ -25679,8 +25904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -25700,8 +25925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -25726,15 +25951,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *69 + - *75 - *19 - *17 - - *55 + - *61 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &171 + schema: &176 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25760,7 +25985,7 @@ paths: application/json: schema: type: array - items: &172 + items: &177 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25791,7 +26016,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &193 + items: &198 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25866,7 +26091,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &251 + properties: &257 id: description: Unique identifier of the team type: integer @@ -25938,7 +26163,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &252 + required: &258 - id - node_id - url @@ -25981,7 +26206,7 @@ paths: type: string format: date-time nullable: true - state: *171 + state: *176 contact_link: description: The contact link of the campaign. type: string @@ -26076,9 +26301,9 @@ paths: closed_at: state: open headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26102,7 +26327,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -26201,9 +26426,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: &173 + default: &178 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26252,7 +26477,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26274,7 +26499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -26286,16 +26511,16 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: *173 + default: *178 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26316,7 +26541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -26365,7 +26590,7 @@ paths: type: string format: uri nullable: true - state: *171 + state: *176 examples: default: value: @@ -26375,9 +26600,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: *173 + default: *178 '400': description: Bad Request content: @@ -26389,7 +26614,7 @@ paths: content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26410,7 +26635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -26421,7 +26646,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26443,18 +26668,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *69 - - &422 + - *75 + - &428 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: &181 + schema: &186 type: string description: The name of the tool used to generate the code scanning analysis. - - &423 + - &429 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 @@ -26462,7 +26687,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &182 + schema: &187 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -26471,13 +26696,13 @@ paths: - *48 - *19 - *17 - - *55 + - *61 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &425 + schema: &431 type: string description: State of a code scanning alert. enum: @@ -26500,7 +26725,7 @@ paths: be returned. in: query required: false - schema: &426 + schema: &432 type: string description: Severity of a code scanning alert. enum: @@ -26529,18 +26754,18 @@ paths: items: type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: &427 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: &433 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &183 + state: &188 type: string description: State of a code scanning alert. nullable: true @@ -26548,7 +26773,7 @@ paths: - open - dismissed - fixed - fixed_at: *179 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -26556,8 +26781,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: &428 + dismissed_at: *185 + dismissed_reason: &434 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26566,13 +26791,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &429 + dismissed_comment: &435 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &430 + rule: &436 type: object properties: id: @@ -26625,42 +26850,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &431 + tool: &437 type: object properties: - name: *181 + name: *186 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *182 - most_recent_instance: &432 + guid: *187 + most_recent_instance: &438 type: object properties: - ref: &424 + ref: &430 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &442 + analysis_key: &448 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &443 + environment: &449 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &444 + category: &450 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: *183 + state: *188 commit_sha: type: string message: @@ -26668,7 +26893,13 @@ paths: properties: text: type: string - location: &445 + markdown: + type: string + description: The message text as GitHub-flavored Markdown, + with placeholder links for related locations replaced + by links to the relevant code. Only populated when + related locations are available for the alert instance. + location: &451 type: object description: Describe a region within a file for the alert. properties: @@ -26689,7 +26920,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &446 + items: &452 type: string description: A classification of the file. For example to identify it as generated. @@ -26699,7 +26930,7 @@ paths: - generated - test - library - repository: *60 + repository: *66 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -26954,9 +27185,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26978,7 +27209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *69 + - *75 - name: target_type in: query description: The target type of the code security configuration @@ -27089,7 +27320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *69 + - *75 requestBody: required: true content: @@ -27326,7 +27557,7 @@ paths: application/json: schema: *49 examples: - default: *184 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27348,15 +27579,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *185 + schema: *190 examples: - default: *186 + default: *191 '304': *37 '403': *29 '404': *6 @@ -27382,7 +27613,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *69 + - *75 requestBody: required: true content: @@ -27408,7 +27639,7 @@ paths: - 32 - 91 responses: - '204': *187 + '204': *192 '400': *14 '403': *29 '404': *6 @@ -27434,7 +27665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *69 + - *75 - *51 responses: '200': @@ -27443,7 +27674,7 @@ paths: application/json: schema: *49 examples: - default: *184 + default: *189 '304': *37 '403': *29 '404': *6 @@ -27467,7 +27698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -27740,10 +27971,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *69 + - *75 - *51 responses: - '204': *187 + '204': *192 '400': *14 '403': *29 '404': *6 @@ -27771,7 +28002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -27835,7 +28066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -27881,7 +28112,7 @@ paths: default: value: default_for_new_repos: all - configuration: *184 + configuration: *189 '403': *29 '404': *6 x-github: @@ -27905,7 +28136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *69 + - *75 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -27934,13 +28165,13 @@ paths: application/json: schema: type: array - items: *188 + items: *193 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *189 + repository: *194 '403': *29 '404': *6 x-github: @@ -27964,7 +28195,7 @@ paths: parameters: - *17 - *19 - - *69 + - *75 responses: '200': description: Response @@ -27980,7 +28211,7 @@ paths: type: integer codespaces: type: array - items: &241 + items: &247 type: object title: Codespace description: A codespace. @@ -28005,12 +28236,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *156 + repository: *161 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &458 + properties: &464 name: type: string description: The name of the machine. @@ -28052,7 +28283,7 @@ paths: - ready - in_progress nullable: true - required: &459 + required: &465 - name - display_name - operating_system @@ -28257,7 +28488,7 @@ paths: - pulls_url - recent_folders examples: - default: &242 + default: &248 value: total_count: 3 codespaces: @@ -28667,7 +28898,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -28689,7 +28920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *69 + - *75 deprecated: true requestBody: required: true @@ -28733,7 +28964,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28756,7 +28987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *69 + - *75 deprecated: true requestBody: required: true @@ -28788,7 +29019,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28811,7 +29042,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *69 + - *75 requestBody: required: true content: @@ -28842,7 +29073,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28863,7 +29094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -28881,7 +29112,7 @@ paths: type: integer secrets: type: array - items: &190 + items: &195 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28920,7 +29151,7 @@ paths: - updated_at - visibility examples: - default: &460 + default: &466 value: total_count: 2 secrets: @@ -28933,7 +29164,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28952,13 +29183,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &461 + schema: &467 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28987,7 +29218,7 @@ paths: - key_id - key examples: - default: &462 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29010,23 +29241,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: Response content: application/json: - schema: *190 + schema: *195 examples: - default: &464 + default: &470 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29046,8 +29277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -29102,7 +29333,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -29128,8 +29359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -29154,8 +29385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -29173,9 +29404,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29197,8 +29428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -29248,8 +29479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -29282,8 +29513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -29322,7 +29553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: OK @@ -29431,7 +29662,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29463,7 +29694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *69 + - *75 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -29486,7 +29717,7 @@ paths: currently being billed. seats: type: array - items: &244 + items: &250 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -29503,15 +29734,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *191 - required: *192 + properties: *196 + required: *197 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *193 - - *62 + - *198 + - *68 nullable: true pending_cancellation_date: type: string @@ -29635,8 +29866,8 @@ paths: type: User site_admin: false headers: - Link: *61 - '500': *115 + Link: *67 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29669,7 +29900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -29711,7 +29942,7 @@ paths: default: value: seats_created: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29747,7 +29978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -29789,7 +30020,7 @@ paths: default: value: seats_cancelled: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29827,7 +30058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -29868,7 +30099,7 @@ paths: default: value: seats_created: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29904,7 +30135,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -29946,7 +30177,7 @@ paths: default: value: seats_cancelled: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29982,7 +30213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -30019,7 +30250,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30047,7 +30278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -30072,7 +30303,7 @@ paths: responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30102,7 +30333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -30117,13 +30348,13 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 required: - total_count - repositories examples: - default: *194 - '500': *115 + default: *199 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30151,7 +30382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -30177,7 +30408,7 @@ paths: responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30207,12 +30438,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30241,12 +30472,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30281,7 +30512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *69 + - *75 responses: '200': description: OK @@ -30301,7 +30532,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30334,7 +30565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *69 + - *75 requestBody: description: The content exclusion rules to set required: true @@ -30386,7 +30617,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30425,7 +30656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *69 + - *75 - 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`). @@ -30457,7 +30688,7 @@ paths: application/json: schema: type: array - items: &329 + items: &335 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30764,7 +30995,7 @@ paths: - date additionalProperties: true examples: - default: &330 + default: &336 value: - date: '2024-06-24' total_active_users: 24 @@ -30863,10 +31094,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *115 + '500': *55 '403': *29 '404': *6 - '422': &331 + '422': &337 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -30877,6 +31108,156 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/orgs/{org}/copilot/metrics/reports/organization-1-day": + get: + summary: Get Copilot organization usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day + parameters: + - *75 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": + get: + summary: Get Copilot organization usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics + parameters: + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot organization users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day + parameters: + - *75 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot organization users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics + parameters: + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -30893,12 +31274,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *69 - - *195 - - *196 - - *197 - - *198 - - *199 + - *75 + - *200 + - *201 + - *202 + - *203 + - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -30928,7 +31309,7 @@ paths: enum: - patch - deployment - - *200 + - *205 - name: runtime_risk in: query description: |- @@ -30937,9 +31318,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *201 - - *202 - - *55 + - *206 + - *207 + - *61 - *47 - *48 - *17 @@ -30950,9 +31331,9 @@ paths: application/json: schema: type: array - items: *203 + items: *208 examples: - default: *204 + default: *209 '304': *37 '400': *14 '403': *29 @@ -30978,7 +31359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -30996,7 +31377,7 @@ paths: type: integer secrets: type: array - items: &205 + items: &210 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31046,7 +31427,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31067,13 +31448,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &493 + schema: &499 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31090,7 +31471,7 @@ paths: - key_id - key examples: - default: &494 + default: &500 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31113,14 +31494,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: Response content: application/json: - schema: *205 + schema: *210 examples: default: value: @@ -31148,8 +31529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -31204,7 +31585,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -31228,8 +31609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -31253,8 +31634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -31272,9 +31653,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31295,8 +31676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -31346,8 +31727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -31378,8 +31759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -31409,7 +31790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -31417,7 +31798,7 @@ paths: application/json: schema: type: array - items: &254 + items: &260 title: Package description: A software package type: object @@ -31467,8 +31848,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *206 - required: *207 + properties: *211 + required: *212 nullable: true created_at: type: string @@ -31487,7 +31868,7 @@ paths: - created_at - updated_at examples: - default: &255 + default: &261 value: - id: 197 name: hello_docker @@ -31565,7 +31946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *69 + - *75 - *17 - *19 responses: @@ -31575,7 +31956,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: 200-response: value: @@ -31647,7 +32028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *69 + - *75 - *17 - *19 responses: @@ -31657,7 +32038,7 @@ paths: application/json: schema: type: array - items: &230 + items: &236 title: Organization Invitation description: Organization Invitation type: object @@ -31704,7 +32085,7 @@ paths: - invitation_teams_url - node_id examples: - default: &231 + default: &237 value: - id: 1 login: monalisa @@ -31737,7 +32118,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -31761,7 +32142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *69 + - *75 - *17 - *19 responses: @@ -31771,7 +32152,7 @@ paths: application/json: schema: type: array - items: &208 + items: &213 title: Org Hook description: Org Hook type: object @@ -31859,7 +32240,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -31882,7 +32263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *69 + - *75 requestBody: required: true content: @@ -31942,9 +32323,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: - default: &209 + default: &214 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -31991,8 +32372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *69 - - &210 + - *75 + - &215 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. @@ -32005,9 +32386,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: - default: *209 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -32034,8 +32415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 requestBody: required: false content: @@ -32080,7 +32461,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: default: value: @@ -32121,8 +32502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 responses: '204': description: Response @@ -32149,8 +32530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *69 - - *210 + - *75 + - *215 responses: '200': description: Response @@ -32180,8 +32561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *69 - - *210 + - *75 + - *215 requestBody: required: false content: @@ -32231,10 +32612,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 - *17 - - *211 + - *216 + - *217 responses: '200': description: Response @@ -32242,9 +32624,9 @@ paths: application/json: schema: type: array - items: *212 + items: *218 examples: - default: *213 + default: *219 '400': *14 '422': *15 x-github: @@ -32269,17 +32651,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 '400': *14 '422': *15 x-github: @@ -32304,8 +32686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 - *16 responses: '202': *39 @@ -32334,8 +32716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *69 - - *210 + - *75 + - *215 responses: '204': description: Response @@ -32357,8 +32739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *69 - - &220 + - *75 + - &226 name: actor_type in: path description: The type of the actor @@ -32371,14 +32753,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &221 + - &227 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &216 + - &222 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`.' @@ -32386,7 +32768,7 @@ paths: required: true schema: type: string - - &217 + - &223 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) @@ -32397,7 +32779,7 @@ paths: type: string - *19 - *17 - - *55 + - *61 - name: sort description: The property to sort the results by. in: query @@ -32479,13 +32861,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *69 - - *216 - - *217 + - *75 + - *222 + - *223 - *19 - *17 - - *55 - - &226 + - *61 + - &232 name: sort description: The property to sort the results by. in: query @@ -32562,15 +32944,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *69 - - *216 - - *217 + - *75 + - *222 + - *223 responses: '200': description: Response content: application/json: - schema: &218 + schema: &224 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -32586,7 +32968,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &225 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -32606,24 +32988,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *69 - - &222 + - *75 + - &228 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *216 - - *217 + - *222 + - *223 responses: '200': description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *219 + default: *225 x-github: enabledForGitHubApps: true category: orgs @@ -32641,19 +33023,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *69 - - *216 - - *217 - - *220 - - *221 + - *75 + - *222 + - *223 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *219 + default: *225 x-github: enabledForGitHubApps: true category: orgs @@ -32670,10 +33052,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *69 - - *216 - - *217 - - &223 + - *75 + - *222 + - *223 + - &229 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -32686,7 +33068,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &230 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -32702,7 +33084,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &231 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -32738,19 +33120,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *69 + - *75 + - *228 - *222 - - *216 - - *217 - *223 + - *229 responses: '200': description: Response content: application/json: - schema: *224 + schema: *230 examples: - default: *225 + default: *231 x-github: enabledForGitHubApps: true category: orgs @@ -32767,20 +33149,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *69 - - *220 - - *221 - - *216 - - *217 + - *75 + - *226 + - *227 + - *222 - *223 + - *229 responses: '200': description: Response content: application/json: - schema: *224 + schema: *230 examples: - default: *225 + default: *231 x-github: enabledForGitHubApps: true category: orgs @@ -32797,14 +33179,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *69 + - *75 + - *228 - *222 - - *216 - - *217 + - *223 - *19 - *17 - - *55 - - *226 + - *61 + - *232 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -32877,7 +33259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *69 + - *75 responses: '200': description: Response @@ -32885,7 +33267,7 @@ paths: application/json: schema: *22 examples: - default: &532 + default: &538 value: id: 1 account: @@ -32954,7 +33336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -33024,7 +33406,7 @@ paths: suspended_at: suspended_by: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33043,7 +33425,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -33051,12 +33433,12 @@ paths: application/json: schema: anyOf: - - &228 + - &234 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &227 + limit: &233 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33081,7 +33463,7 @@ paths: properties: {} additionalProperties: false examples: - default: &229 + default: &235 value: limit: collaborators_only origin: organization @@ -33105,18 +33487,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &533 + schema: &539 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *227 + limit: *233 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33140,9 +33522,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *234 examples: - default: *229 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -33160,7 +33542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -33184,7 +33566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *69 + - *75 - *17 - *19 - name: role @@ -33218,11 +33600,11 @@ paths: application/json: schema: type: array - items: *230 + items: *236 examples: - default: *231 + default: *237 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -33243,7 +33625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *69 + - *75 requestBody: required: false content: @@ -33297,7 +33679,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *236 examples: default: value: @@ -33351,8 +33733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *69 - - &232 + - *75 + - &238 name: invitation_id description: The unique identifier of the invitation. in: path @@ -33382,8 +33764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *69 - - *232 + - *75 + - *238 - *17 - *19 responses: @@ -33393,9 +33775,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: &253 + default: &259 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33411,7 +33793,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -33430,7 +33812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -33438,7 +33820,7 @@ paths: application/json: schema: type: array - items: &233 + items: &239 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -33581,7 +33963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -33671,9 +34053,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: &234 + default: &240 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -33728,8 +34110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *69 - - &235 + - *75 + - &241 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -33828,9 +34210,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: *234 + default: *240 '404': *6 '422': *7 x-github: @@ -33854,10 +34236,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *69 - - *235 + - *75 + - *241 responses: - '204': *187 + '204': *192 '404': *6 '422': *7 x-github: @@ -33877,7 +34259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -33885,7 +34267,7 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: default: value: @@ -33923,7 +34305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -33970,9 +34352,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: &237 + default: &243 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34004,8 +34386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *69 - - &238 + - *75 + - &244 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34058,9 +34440,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *237 + default: *243 '404': *6 '422': *7 x-github: @@ -34084,8 +34466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *69 - - *238 + - *75 + - *244 responses: '204': description: Response @@ -34118,7 +34500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *69 + - *75 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34148,7 +34530,7 @@ paths: - closed - all default: open - - *239 + - *245 - name: type description: Can be the name of an issue type. in: query @@ -34166,8 +34548,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -34177,11 +34559,11 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *240 + default: *246 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -34201,7 +34583,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *69 + - *75 - 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) @@ -34239,9 +34621,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -34259,8 +34641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response if requester is an organization member and user is @@ -34294,8 +34676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -34322,8 +34704,8 @@ paths: parameters: - *17 - *19 - - *69 - - *65 + - *75 + - *71 responses: '200': description: Response @@ -34339,11 +34721,11 @@ paths: type: integer codespaces: type: array - items: *241 + items: *247 examples: - default: *242 + default: *248 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -34366,9 +34748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *69 - - *65 - - &243 + - *75 + - *71 + - &249 name: codespace_name in: path required: true @@ -34378,7 +34760,7 @@ paths: responses: '202': *39 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -34401,17 +34783,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *69 - - *65 - - *243 + - *75 + - *71 + - *249 responses: '200': description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: &457 + default: &463 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34553,7 +34935,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -34584,14 +34966,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *244 + schema: *250 examples: default: value: @@ -34635,7 +35017,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -34660,14 +35042,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '200': description: Response content: application/json: - schema: &245 + schema: &251 title: Org Membership description: Org Membership type: object @@ -34711,7 +35093,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *67 + organization: *73 user: title: Simple User description: A GitHub user. @@ -34734,7 +35116,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &246 + response-if-user-has-an-active-admin-membership-with-organization: &252 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -34806,8 +35188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 requestBody: required: false content: @@ -34835,9 +35217,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *251 examples: - response-if-user-already-had-membership-with-organization: *246 + response-if-user-already-had-membership-with-organization: *252 '422': *15 '403': *29 '451': *15 @@ -34862,8 +35244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -34888,7 +35270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *69 + - *75 - *17 - *19 - name: exclude @@ -34909,7 +35291,7 @@ paths: application/json: schema: type: array - items: &247 + items: &253 title: Migration description: A migration. type: object @@ -34950,7 +35332,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *60 + items: *66 url: type: string format: uri @@ -35146,7 +35528,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35162,7 +35544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *69 + - *75 requestBody: required: true content: @@ -35238,7 +35620,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -35416,8 +35798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *69 - - &248 + - *75 + - &254 name: migration_id description: The unique identifier of the migration. in: path @@ -35444,7 +35826,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -35613,8 +35995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *69 - - *248 + - *75 + - *254 responses: '302': description: Response @@ -35635,8 +36017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *69 - - *248 + - *75 + - *254 responses: '204': description: Response @@ -35659,9 +36041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *69 - - *248 - - &685 + - *75 + - *254 + - &691 name: repo_name description: repo_name parameter in: path @@ -35688,8 +36070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *69 - - *248 + - *75 + - *254 - *17 - *19 responses: @@ -35699,9 +36081,9 @@ paths: application/json: schema: type: array - items: *60 + items: *66 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -35727,7 +36109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response - list of organization roles @@ -35743,7 +36125,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &250 + items: &256 title: Organization Role description: Organization roles type: object @@ -35890,8 +36272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -35916,9 +36298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *69 - - *71 - - &249 + - *75 + - *77 + - &255 name: role_id description: The unique identifier of the role. in: path @@ -35953,9 +36335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *69 - - *71 - - *249 + - *75 + - *77 + - *255 responses: '204': description: Response @@ -35980,8 +36362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -36006,9 +36388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *69 - - *65 - - *249 + - *75 + - *71 + - *255 responses: '204': description: Response @@ -36038,9 +36420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *69 - - *65 - - *249 + - *75 + - *71 + - *255 responses: '204': description: Response @@ -36068,14 +36450,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *69 - - *249 + - *75 + - *255 responses: '200': description: Response content: application/json: - schema: *250 + schema: *256 examples: default: value: @@ -36125,8 +36507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *69 - - *249 + - *75 + - *255 - *17 - *19 responses: @@ -36204,8 +36586,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *257 + required: *258 nullable: true type: description: The ownership type of the team @@ -36237,9 +36619,9 @@ paths: - type - parent examples: - default: *253 + default: *259 headers: - Link: *61 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -36266,8 +36648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *69 - - *249 + - *75 + - *255 - *17 - *19 responses: @@ -36295,13 +36677,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &325 + items: &331 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *257 + required: *258 name: nullable: true type: string @@ -36396,9 +36778,9 @@ paths: - type - url examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -36420,7 +36802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *69 + - *75 - 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) @@ -36447,9 +36829,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36472,8 +36854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *69 - - *65 + - *75 + - *71 requestBody: required: false content: @@ -36530,8 +36912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -36588,8 +36970,8 @@ paths: - docker - nuget - container - - *69 - - &686 + - *75 + - &692 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -36625,12 +37007,12 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: *255 + default: *261 '403': *29 '401': *25 - '400': &688 + '400': &694 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -36652,7 +37034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &256 + - &262 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 @@ -36670,20 +37052,20 @@ paths: - docker - nuget - container - - &257 + - &263 name: package_name description: The name of the package. in: path required: true schema: type: string - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *254 + schema: *260 examples: default: value: @@ -36735,9 +37117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *256 - - *257 - - *69 + - *262 + - *263 + - *75 responses: '204': description: Response @@ -36769,9 +37151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *256 - - *257 - - *69 + - *262 + - *263 + - *75 - name: token description: package token schema: @@ -36803,9 +37185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *256 - - *257 - - *69 + - *262 + - *263 + - *75 - *19 - *17 - name: state @@ -36825,7 +37207,7 @@ paths: application/json: schema: type: array - items: &258 + items: &264 title: Package Version description: A version of a software package type: object @@ -36950,10 +37332,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *256 - - *257 - - *69 - - &259 + - *262 + - *263 + - *75 + - &265 name: package_version_id description: Unique identifier of the package version. in: path @@ -36965,7 +37347,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *264 examples: default: value: @@ -37001,10 +37383,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *256 - - *257 - - *69 - - *259 + - *262 + - *263 + - *75 + - *265 responses: '204': description: Response @@ -37036,10 +37418,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *256 - - *257 - - *69 - - *259 + - *262 + - *263 + - *75 + - *265 responses: '204': description: Response @@ -37066,10 +37448,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *69 + - *75 - *17 - *19 - - &260 + - &266 name: sort description: The property by which to sort the results. in: query @@ -37079,8 +37461,8 @@ paths: enum: - created_at default: created_at - - *55 - - &261 + - *61 + - &267 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37091,7 +37473,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &262 + - &268 name: repository description: The name of the repository to use to filter the results. in: query @@ -37099,7 +37481,7 @@ paths: schema: type: string example: Hello-World - - &263 + - &269 name: permission description: The permission to use to filter the results. in: query @@ -37107,7 +37489,7 @@ paths: schema: type: string example: issues_read - - &264 + - &270 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) @@ -37117,7 +37499,7 @@ paths: schema: type: string format: date-time - - &265 + - &271 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) @@ -37127,7 +37509,7 @@ paths: schema: type: string format: date-time - - &266 + - &272 name: token_id description: The ID of the token in: query @@ -37139,7 +37521,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -37271,7 +37653,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37291,7 +37673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *69 + - *75 requestBody: required: true content: @@ -37332,7 +37714,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -37357,7 +37739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *69 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37393,11 +37775,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37418,7 +37800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *69 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37429,7 +37811,7 @@ paths: - *17 - *19 responses: - '500': *115 + '500': *55 '404': *6 '403': *29 '200': @@ -37438,9 +37820,9 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: &267 + default: &273 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37553,7 +37935,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37574,19 +37956,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *69 + - *75 - *17 - *19 - - *260 - - *55 - - *261 - - *262 - - *263 - - *264 - - *265 - *266 + - *61 + - *267 + - *268 + - *269 + - *270 + - *271 + - *272 responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -37713,7 +38095,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37733,7 +38115,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *69 + - *75 requestBody: required: true content: @@ -37768,7 +38150,7 @@ paths: - 1296269 - 1296280 responses: - '500': *115 + '500': *55 '404': *6 '202': *39 '403': *29 @@ -37793,7 +38175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *69 + - *75 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -37821,9 +38203,9 @@ paths: value: action: revoke responses: - '500': *115 + '500': *55 '404': *6 - '204': *187 + '204': *192 '403': *29 '422': *15 x-github: @@ -37845,7 +38227,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *69 + - *75 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -37855,7 +38237,7 @@ paths: - *17 - *19 responses: - '500': *115 + '500': *55 '404': *6 '403': *29 '200': @@ -37864,11 +38246,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *267 + default: *273 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37890,7 +38272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -37908,7 +38290,7 @@ paths: type: integer configurations: type: array - items: &268 + items: &274 title: Organization private registry description: Private registry configuration for an organization type: object @@ -37936,6 +38318,15 @@ paths: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -37964,6 +38355,36 @@ paths: - private - selected type: string + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -37988,7 +38409,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *61 + Link: *67 '400': *14 '404': *6 x-github: @@ -38001,6 +38422,7 @@ paths: description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -38010,7 +38432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -38060,11 +38482,14 @@ paths: description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. + endpoint. Required when `auth_type` is `token` or `username_password`. + Should be omitted for OIDC auth types. type: string pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" key_id: - description: The ID of the key you used to encrypt the secret. + description: The ID of the key you used to encrypt the secret. Required + when `auth_type` is `token` or `username_password`. Should be + omitted for OIDC auth types. type: string visibility: description: Which type of organization repositories have access @@ -38087,11 +38512,58 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. Defaults + to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or + `oidc_jfrog` for OIDC authentication. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string required: - registry_type - url - - encrypted_value - - key_id - visibility examples: org-private-registry-with-private-visibility: @@ -38118,6 +38590,15 @@ paths: selected_repository_ids: - 1296269 - 1296280 + org-private-registry-with-oidc-azure: + summary: Example of an OIDC private registry configuration using Azure + value: + registry_type: docker_registry + url: https://myregistry.azurecr.io + auth_type: oidc_azure + visibility: all + tenant_id: 12345678-1234-1234-1234-123456789012 + client_id: abcdef01-2345-6789-abcd-ef0123456789 responses: '201': description: The organization private registry configuration @@ -38151,6 +38632,15 @@ paths: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -38185,6 +38675,36 @@ paths: private registry when `visibility` is set to `selected`. items: type: integer + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -38198,7 +38718,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &269 + org-private-registry-with-selected-visibility: &275 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -38239,7 +38759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -38265,7 +38785,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -38287,16 +38807,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *268 + schema: *274 examples: - default: *269 + default: *275 '404': *6 x-github: githubCloudOnly: false @@ -38308,6 +38828,7 @@ paths: description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -38317,8 +38838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -38392,12 +38913,71 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. This + field cannot be changed after creation. If provided, it must match + the existing `auth_type` of the configuration. To change the authentication + type, delete and recreate the configuration. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string examples: - default: + secret-based-update: + summary: Update a secret-based private registry value: username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' + oidc-azure-update: + summary: Update an OIDC private registry (Azure) + value: + tenant_id: 12345678-1234-1234-1234-123456789012 + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 responses: '204': description: Response @@ -38422,8 +39002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -38446,7 +39026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *69 + - *75 - name: q description: Limit results to projects of the specified type. in: query @@ -38463,7 +39043,7 @@ paths: application/json: schema: type: array - items: &270 + items: &276 title: Projects v2 Project description: A projects v2 project type: object @@ -38533,7 +39113,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &777 + properties: &783 id: type: number description: The unique identifier of the status update. @@ -38581,7 +39161,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &778 + required: &784 - id - node_id - created_at @@ -38606,7 +39186,7 @@ paths: - deleted_at - deleted_by examples: - default: &271 + default: &277 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -38689,7 +39269,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -38709,24 +39289,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &272 + - &278 name: project_number description: The project's number. in: path required: true schema: type: integer - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *270 + schema: *276 examples: - default: *271 + default: *277 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -38746,8 +39326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *69 - - *272 + - *75 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -38781,7 +39361,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &284 title: Projects v2 Item description: An item belonging to a project type: object @@ -38794,8 +39374,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *79 - - &474 + - *85 + - &480 title: Pull Request Simple description: Pull Request Simple type: object @@ -38901,8 +39481,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *279 + required: *280 nullable: true active_lock_reason: type: string @@ -38934,7 +39514,7 @@ paths: items: *4 requested_teams: type: array - items: *193 + items: *198 head: type: object properties: @@ -38942,7 +39522,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: @@ -38965,7 +39545,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: @@ -38984,7 +39564,7 @@ paths: _links: type: object properties: - comments: &275 + comments: &281 title: Link description: Hypermedia Link type: object @@ -38993,13 +39573,13 @@ paths: type: string required: - href - commits: *275 - statuses: *275 - html: *275 - issue: *275 - review_comments: *275 - review_comment: *275 - self: *275 + commits: *281 + statuses: *281 + html: *281 + issue: *281 + review_comments: *281 + review_comment: *281 + self: *281 required: - comments - commits @@ -39009,8 +39589,8 @@ paths: - review_comments - review_comment - self - author_association: *76 - auto_merge: &583 + author_association: *82 + auto_merge: &589 title: Auto merge description: The status of auto merging a pull request. type: object @@ -39110,7 +39690,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &277 + content_type: &283 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -39150,7 +39730,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &279 + draft_issue: &285 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39224,8 +39804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *272 - - *69 + - *278 + - *75 - *17 - *47 - *48 @@ -39236,7 +39816,7 @@ paths: application/json: schema: type: array - items: &276 + items: &282 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -39386,7 +39966,7 @@ paths: - updated_at - project_url examples: - default: &708 + default: &714 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39497,7 +40077,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -39516,8 +40096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *272 - - *69 + - *278 + - *75 requestBody: required: true content: @@ -39563,7 +40143,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &709 + items: &715 type: object properties: name: @@ -39600,7 +40180,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &710 + iteration_configuration: &716 type: object description: The configuration for iteration fields. properties: @@ -39650,7 +40230,7 @@ paths: value: name: Due date data_type: date - single_select_field: &711 + single_select_field: &717 summary: Create a single select field value: name: Priority @@ -39677,7 +40257,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &712 + iteration_field: &718 summary: Create an iteration field value: name: Sprint @@ -39701,9 +40281,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *276 + schema: *282 examples: - text_field: &713 + text_field: &719 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -39712,7 +40292,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &714 + number_field: &720 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -39721,7 +40301,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &715 + date_field: &721 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -39730,7 +40310,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &716 + single_select_field: &722 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39764,7 +40344,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &717 + iteration_field: &723 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -39809,23 +40389,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *272 - - &718 + - *278 + - &724 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *276 + schema: *282 examples: - default: &719 + default: &725 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39860,7 +40440,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -39881,8 +40461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *272 - - *69 + - *278 + - *75 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -39914,7 +40494,7 @@ paths: application/json: schema: type: array - items: &280 + items: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -39930,7 +40510,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *277 + content_type: *283 content: type: object additionalProperties: true @@ -39973,7 +40553,7 @@ paths: - updated_at - archived_at examples: - default: &281 + default: &287 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -40650,7 +41230,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -40670,8 +41250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *69 - - *272 + - *75 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -40741,22 +41321,22 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *279 + value: *285 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *279 + value: *285 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *279 + value: *285 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *279 + value: *285 '304': *37 '403': *29 '401': *25 @@ -40776,9 +41356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *272 - - *69 - - &282 + - *278 + - *75 + - &288 name: item_id description: The unique identifier of the project item. in: path @@ -40804,11 +41384,11 @@ paths: description: Response content: application/json: - schema: *280 + schema: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -40827,9 +41407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *272 - - *69 - - *282 + - *278 + - *75 + - *288 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -40899,13 +41479,13 @@ paths: description: Response content: application/json: - schema: *280 + schema: *286 examples: - text_field: *281 - number_field: *281 - date_field: *281 - single_select_field: *281 - iteration_field: *281 + text_field: *287 + number_field: *287 + date_field: *287 + single_select_field: *287 + iteration_field: *287 '401': *25 '403': *29 '404': *6 @@ -40925,9 +41505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *272 - - *69 - - *282 + - *278 + - *75 + - *288 responses: '204': description: Response @@ -40950,8 +41530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *69 - - *272 + - *75 + - *278 requestBody: required: true content: @@ -41022,7 +41602,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &700 + schema: &706 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -41120,7 +41700,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &283 + value: &289 value: id: 1 number: 1 @@ -41166,10 +41746,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *283 + value: *289 roadmap_view: summary: Response for creating a roadmap view - value: *283 + value: *289 '304': *37 '403': *29 '401': *25 @@ -41197,9 +41777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *272 - - *69 - - &720 + - *278 + - *75 + - &726 name: view_number description: The number that identifies the project view. in: path @@ -41231,11 +41811,11 @@ paths: application/json: schema: type: array - items: *280 + items: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -41258,7 +41838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -41266,7 +41846,7 @@ paths: application/json: schema: type: array - items: &284 + items: &290 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41334,7 +41914,7 @@ paths: - property_name - value_type examples: - default: &285 + default: &291 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41383,7 +41963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -41394,7 +41974,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *284 + items: *290 minItems: 1 maxItems: 100 required: @@ -41424,9 +42004,9 @@ paths: application/json: schema: type: array - items: *284 + items: *290 examples: - default: *285 + default: *291 '403': *29 '404': *6 x-github: @@ -41447,8 +42027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *69 - - &286 + - *75 + - &292 name: custom_property_name description: The custom property name in: path @@ -41460,9 +42040,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *290 examples: - default: &287 + default: &293 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41496,8 +42076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *69 - - *286 + - *75 + - *292 requestBody: required: true content: @@ -41568,9 +42148,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *290 examples: - default: *287 + default: *293 '403': *29 '404': *6 x-github: @@ -41593,10 +42173,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *69 - - *286 + - *75 + - *292 responses: - '204': *187 + '204': *192 '403': *29 '404': *6 x-github: @@ -41617,7 +42197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *69 + - *75 - *17 - *19 - name: repository_query @@ -41655,7 +42235,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &288 + items: &294 title: Custom Property Value description: Custom property name and associated value type: object @@ -41694,7 +42274,7 @@ paths: - property_name: team value: octocat headers: - Link: *61 + Link: *67 '403': *29 '404': *6 x-github: @@ -41722,7 +42302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *69 + - *75 requestBody: required: true content: @@ -41742,7 +42322,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *288 + items: *294 required: - repository_names - properties @@ -41783,7 +42363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *69 + - *75 - *17 - *19 responses: @@ -41795,9 +42375,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41814,8 +42394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response if user is a public member @@ -41839,8 +42419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -41861,8 +42441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -41886,7 +42466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *69 + - *75 - name: type description: Specifies the types of repositories you want returned. in: query @@ -41932,11 +42512,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *267 + default: *273 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41955,7 +42535,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *69 + - *75 requestBody: required: true content: @@ -42136,7 +42716,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &345 title: Full Repository description: Full Repository type: object @@ -42421,8 +43001,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *289 - required: *290 + properties: *295 + required: *296 nullable: true temp_clone_token: type: string @@ -42506,8 +43086,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true organization: title: Simple User @@ -42516,8 +43096,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *73 - source: *73 + parent: *79 + source: *79 forks: type: integer master_branch: @@ -42534,7 +43114,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &479 + properties: &485 url: type: string format: uri @@ -42550,12 +43130,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &480 + required: &486 - url - key - name - html_url - security_and_analysis: *291 + security_and_analysis: *297 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42639,7 +43219,7 @@ paths: - network_count - subscribers_count examples: - default: &341 + default: &347 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43158,10 +43738,10 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - *17 - *19 - - &605 + - &611 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43179,7 +43759,7 @@ paths: application/json: schema: type: array - items: &318 + items: &324 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -43214,7 +43794,7 @@ paths: source: type: string description: The name of the source - enforcement: &294 + enforcement: &300 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -43227,7 +43807,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &295 + items: &301 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43297,7 +43877,7 @@ paths: conditions: nullable: true anyOf: - - &292 + - &298 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43321,7 +43901,7 @@ paths: match. items: type: string - - &296 + - &302 title: Organization ruleset conditions type: object description: |- @@ -43335,7 +43915,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *292 + - *298 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43369,7 +43949,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *292 + - *298 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43391,7 +43971,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *292 + - *298 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43404,7 +43984,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &293 + items: &299 title: Repository ruleset property targeting definition type: object @@ -43437,17 +44017,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *293 + items: *299 required: - repository_property rules: type: array - items: &606 + items: &612 title: Repository Rule type: object description: A repository rule. oneOf: - - &297 + - &303 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43459,7 +44039,7 @@ paths: type: string enum: - creation - - &298 + - &304 title: update description: Only allow users with bypass permission to update matching refs. @@ -43480,7 +44060,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &299 + - &305 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -43492,7 +44072,7 @@ paths: type: string enum: - deletion - - &300 + - &306 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43504,7 +44084,7 @@ paths: type: string enum: - required_linear_history - - &604 + - &610 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -43582,7 +44162,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &301 + - &307 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -43606,7 +44186,7 @@ paths: type: string required: - required_deployment_environments - - &302 + - &308 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -43618,7 +44198,7 @@ paths: type: string enum: - required_signatures - - &303 + - &309 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -43724,7 +44304,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &304 + - &310 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -43772,7 +44352,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &305 + - &311 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -43784,7 +44364,7 @@ paths: type: string enum: - non_fast_forward - - &306 + - &312 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -43821,7 +44401,7 @@ paths: required: - operator - pattern - - &307 + - &313 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -43858,7 +44438,7 @@ paths: required: - operator - pattern - - &308 + - &314 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43895,7 +44475,7 @@ paths: required: - operator - pattern - - &309 + - &315 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43932,7 +44512,7 @@ paths: required: - operator - pattern - - &310 + - &316 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43969,7 +44549,7 @@ paths: required: - operator - pattern - - &311 + - &317 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -43994,7 +44574,7 @@ paths: type: string required: - restricted_file_paths - - &312 + - &318 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44018,7 +44598,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &313 + - &319 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -44041,7 +44621,7 @@ paths: type: string required: - restricted_file_extensions - - &314 + - &320 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -44066,7 +44646,7 @@ paths: maximum: 100 required: - max_file_size - - &315 + - &321 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -44116,7 +44696,7 @@ paths: - repository_id required: - workflows - - &316 + - &322 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44177,7 +44757,7 @@ paths: - tool required: - code_scanning_tools - - &317 + - &323 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -44239,7 +44819,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -44255,7 +44835,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 requestBody: description: Request body required: true @@ -44276,26 +44856,20 @@ paths: - push - repository default: branch - enforcement: *294 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *295 - conditions: *296 + items: *301 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: &320 + items: &326 title: Repository Rule type: object description: A repository rule. oneOf: - - *297 - - *298 - - *299 - - *300 - - *301 - - *302 - *303 - *304 - *305 @@ -44311,6 +44885,12 @@ paths: - *315 - *316 - *317 + - *318 + - *319 + - *320 + - *321 + - *322 + - *323 required: - name - enforcement @@ -44348,9 +44928,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: &319 + default: &325 value: id: 21 name: super cool ruleset @@ -44391,7 +44971,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *115 + '500': *55 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -44405,8 +44985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *69 - - &607 + - *75 + - &613 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 @@ -44421,7 +45001,7 @@ paths: in: query schema: type: string - - &608 + - &614 name: time_period description: |- The time period to filter by. @@ -44437,14 +45017,14 @@ paths: - week - month default: day - - &609 + - &615 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 - - &610 + - &616 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44464,7 +45044,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &617 title: Rule Suites description: Response type: array @@ -44519,7 +45099,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &612 + default: &618 value: - id: 21 actor_id: 12 @@ -44543,7 +45123,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44562,8 +45142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *69 - - &613 + - *75 + - &619 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44579,7 +45159,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &620 title: Rule Suite description: Response type: object @@ -44678,7 +45258,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &615 + default: &621 value: id: 21 actor_id: 12 @@ -44713,7 +45293,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44739,7 +45319,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44751,11 +45331,11 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *319 + default: *325 '404': *6 - '500': *115 + '500': *55 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -44771,7 +45351,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44797,16 +45377,16 @@ paths: - tag - push - repository - enforcement: *294 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *295 - conditions: *296 + items: *301 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *320 + items: *326 examples: default: value: @@ -44841,12 +45421,12 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *319 + default: *325 '404': *6 '422': *15 - '500': *115 + '500': *55 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -44862,7 +45442,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44873,7 +45453,7 @@ paths: '204': description: Response '404': *6 - '500': *115 + '500': *55 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -44885,7 +45465,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *69 + - *75 - *17 - *19 - name: ruleset_id @@ -44901,7 +45481,7 @@ paths: application/json: schema: type: array - items: &321 + items: &327 title: Ruleset version type: object description: The historical version of a ruleset @@ -44925,7 +45505,7 @@ paths: type: string format: date-time examples: - default: &617 + default: &623 value: - version_id: 3 actor: @@ -44943,7 +45523,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44960,7 +45540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44978,9 +45558,9 @@ paths: description: Response content: application/json: - schema: &618 + schema: &624 allOf: - - *321 + - *327 - type: object required: - state @@ -45027,7 +45607,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45049,8 +45629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *69 - - &619 + - *75 + - &625 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -45061,7 +45641,7 @@ paths: enum: - open - resolved - - &620 + - &626 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -45071,7 +45651,7 @@ paths: required: false schema: type: string - - &621 + - &627 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -45080,7 +45660,7 @@ paths: required: false schema: type: string - - &622 + - &628 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -45099,7 +45679,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &623 + - &629 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. @@ -45111,10 +45691,10 @@ paths: - created - updated default: created - - *55 + - *61 - *19 - *17 - - &624 + - &630 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -45124,7 +45704,7 @@ paths: required: false schema: type: string - - &625 + - &631 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45134,7 +45714,7 @@ paths: required: false schema: type: string - - &626 + - &632 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45143,7 +45723,7 @@ paths: required: false schema: type: string - - &627 + - &633 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45152,7 +45732,7 @@ paths: schema: type: boolean default: false - - &628 + - &634 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45161,7 +45741,7 @@ paths: schema: type: boolean default: false - - &629 + - &635 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45180,8 +45760,8 @@ paths: items: type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -45189,21 +45769,21 @@ paths: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &630 + state: &636 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: &631 + resolution: &637 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -45237,7 +45817,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *60 + repository: *66 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -45310,8 +45890,8 @@ paths: pull request. ' - oneOf: &632 - - &634 + oneOf: &638 + - &640 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45363,7 +45943,7 @@ paths: - blob_url - commit_sha - commit_url - - &635 + - &641 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -45418,7 +45998,7 @@ paths: - page_url - commit_sha - commit_url - - &636 + - &642 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45432,7 +46012,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &637 + - &643 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45446,7 +46026,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &638 + - &644 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45460,7 +46040,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &639 + - &645 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45474,7 +46054,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &640 + - &646 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -45488,7 +46068,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &641 + - &647 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -45502,7 +46082,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &642 + - &648 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -45516,7 +46096,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &643 + - &649 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -45530,7 +46110,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &644 + - &650 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -45544,7 +46124,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &645 + - &651 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -45558,7 +46138,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &646 + - &652 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -45761,9 +46341,9 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45788,7 +46368,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *69 + - *75 responses: '200': description: Response @@ -45800,7 +46380,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &323 + pattern_config_version: &329 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -45809,7 +46389,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &322 + items: &328 type: object properties: token_type: @@ -45875,7 +46455,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *322 + items: *328 examples: default: value: @@ -45924,7 +46504,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *69 + - *75 requestBody: required: true content: @@ -45932,7 +46512,7 @@ paths: schema: type: object properties: - pattern_config_version: *323 + pattern_config_version: *329 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -45958,7 +46538,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *323 + custom_pattern_version: *329 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -46012,8 +46592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *69 - - *55 + - *75 + - *61 - name: sort description: The property to sort the results by. in: query @@ -46056,7 +46636,7 @@ paths: application/json: schema: type: array - items: &650 + items: &656 description: A repository security advisory. type: object properties: @@ -46225,7 +46805,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *57 + cvss_severities: *63 cwes: type: array nullable: true @@ -46258,7 +46838,7 @@ paths: login: type: string description: The username of the user credited. - type: *324 + type: *330 credits_detailed: type: array nullable: true @@ -46268,7 +46848,7 @@ paths: type: object properties: user: *4 - type: *324 + type: *330 state: type: string description: The state of the user's acceptance of the @@ -46292,14 +46872,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *193 + items: *198 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *60 + - *66 required: - ghsa_id - cve_id @@ -46328,7 +46908,7 @@ paths: - private_fork additionalProperties: false examples: - default: &651 + default: &657 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46707,7 +47287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *69 + - *75 responses: '200': description: Response @@ -46715,7 +47295,7 @@ paths: application/json: schema: type: array - items: *325 + items: *331 examples: default: value: @@ -46755,8 +47335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -46781,8 +47361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -46809,7 +47389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Immutable releases settings response @@ -46858,7 +47438,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -46915,7 +47495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *69 + - *75 - *19 - *17 responses: @@ -46933,9 +47513,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46954,7 +47534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *69 + - *75 requestBody: required: true content: @@ -47003,8 +47583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -47026,8 +47606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -47050,7 +47630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -47068,7 +47648,7 @@ paths: type: integer network_configurations: type: array - items: &326 + items: &332 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -47139,7 +47719,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47158,7 +47738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -47201,9 +47781,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: &327 + default: &333 value: id: 123456789ABCDEF name: My network configuration @@ -47231,8 +47811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 - - &328 + - *75 + - &334 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -47244,11 +47824,11 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: *327 + default: *333 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47267,8 +47847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 - - *328 + - *75 + - *334 requestBody: required: true content: @@ -47308,9 +47888,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: *327 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47329,8 +47909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *69 - - *328 + - *75 + - *334 responses: '204': description: Response @@ -47353,7 +47933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *69 + - *75 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -47407,7 +47987,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47437,8 +48017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *69 - - *71 + - *75 + - *77 - 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`). @@ -47470,13 +48050,13 @@ paths: application/json: schema: type: array - items: *329 + items: *335 examples: - default: *330 - '500': *115 + default: *336 + '500': *55 '403': *29 '404': *6 - '422': *331 + '422': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47494,7 +48074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *69 + - *75 - *17 - *19 - name: team_type @@ -47516,11 +48096,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -47540,7 +48120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *69 + - *75 requestBody: required: true content: @@ -47604,7 +48184,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &338 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -47667,8 +48247,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *257 + required: *258 nullable: true members_count: type: integer @@ -47931,7 +48511,7 @@ paths: - repos_count - organization examples: - default: &333 + default: &339 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48001,16 +48581,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *69 - - *71 + - *75 + - *77 responses: '200': description: Response content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -48031,8 +48611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *69 - - *71 + - *75 + - *77 requestBody: required: false content: @@ -48094,16 +48674,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '201': description: Response content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '404': *6 '422': *15 '403': *29 @@ -48128,12 +48708,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response - '422': &334 + '422': &340 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -48156,8 +48736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -48167,12 +48747,12 @@ paths: application/json: schema: type: array - items: *230 + items: *236 examples: - default: *231 + default: *237 headers: - Link: *61 - '422': *334 + Link: *67 + '422': *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48192,8 +48772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *69 - - *71 + - *75 + - *77 - name: role description: Filters members returned by their role in the team. in: query @@ -48216,9 +48796,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48246,15 +48826,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 responses: '200': description: Response content: application/json: - schema: &335 + schema: &341 title: Team Membership description: Team Membership type: object @@ -48281,7 +48861,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &667 + response-if-user-is-a-team-maintainer: &673 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48317,9 +48897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 requestBody: required: false content: @@ -48344,9 +48924,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *341 examples: - response-if-users-membership-with-team-is-now-pending: &668 + response-if-users-membership-with-team-is-now-pending: &674 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48381,9 +48961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 responses: '204': description: Response @@ -48409,8 +48989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -48420,11 +49000,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *267 + default: *273 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48451,16 +49031,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *69 - - *71 - - *336 - - *337 + - *75 + - *77 + - *342 + - *343 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &669 + schema: &675 title: Team Repository description: A team's access to a repository. type: object @@ -48483,8 +49063,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true forks: type: integer @@ -49023,10 +49603,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *69 - - *71 - - *336 - - *337 + - *75 + - *77 + - *342 + - *343 requestBody: required: false content: @@ -49071,10 +49651,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *69 - - *71 - - *336 - - *337 + - *75 + - *77 + - *342 + - *343 responses: '204': description: Response @@ -49098,8 +49678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -49109,9 +49689,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - response-if-child-teams-exist: &670 + response-if-child-teams-exist: &676 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49139,7 +49719,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49164,7 +49744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *69 + - *75 - name: security_product in: path description: The security feature to enable or disable. @@ -49265,7 +49845,7 @@ paths: resources: type: object properties: - core: &338 + core: &344 title: Rate Limit type: object properties: @@ -49282,17 +49862,17 @@ paths: - remaining - reset - used - graphql: *338 - search: *338 - code_search: *338 - source_import: *338 - integration_manifest: *338 - code_scanning_upload: *338 - actions_runner_registration: *338 - scim: *338 - dependency_snapshots: *338 - dependency_sbom: *338 - code_scanning_autofix: *338 + graphql: *344 + search: *344 + code_search: *344 + source_import: *344 + integration_manifest: *344 + code_scanning_upload: *344 + actions_runner_registration: *344 + scim: *344 + dependency_snapshots: *344 + dependency_sbom: *344 + code_scanning_autofix: *344 required: - core - search @@ -49399,14 +49979,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *339 + schema: *345 examples: default-response: summary: Default response @@ -49911,7 +50491,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *340 + '301': *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49929,8 +50509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -50221,10 +50801,10 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 - '307': &342 + default: *347 + '307': &348 description: Temporary Redirect content: application/json: @@ -50253,8 +50833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -50276,7 +50856,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *342 + '307': *348 '404': *6 '409': *54 x-github: @@ -50300,11 +50880,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 - - &375 + - &381 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50327,7 +50907,7 @@ paths: type: integer artifacts: type: array - items: &343 + items: &349 title: Artifact description: An artifact type: object @@ -50405,7 +50985,7 @@ paths: - expires_at - updated_at examples: - default: &376 + default: &382 value: total_count: 2 artifacts: @@ -50444,7 +51024,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50466,9 +51046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *336 - - *337 - - &344 + - *342 + - *343 + - &350 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50480,7 +51060,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *349 examples: default: value: @@ -50518,9 +51098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *336 - - *337 - - *344 + - *342 + - *343 + - *350 responses: '204': description: Response @@ -50544,9 +51124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *336 - - *337 - - *344 + - *342 + - *343 + - *350 - name: archive_format in: path required: true @@ -50560,7 +51140,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': &536 + '410': &542 description: Gone content: application/json: @@ -50585,14 +51165,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &345 + schema: &351 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -50625,13 +51205,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *345 + schema: *351 examples: selected_actions: *42 responses: @@ -50660,14 +51240,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &346 + schema: &352 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -50700,13 +51280,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *346 + schema: *352 examples: selected_actions: *44 responses: @@ -50737,14 +51317,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *347 + schema: *353 examples: default: value: @@ -50770,11 +51350,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 - - &348 + - &354 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 @@ -50802,13 +51382,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *55 + - *61 responses: '200': description: Response content: application/json: - schema: &349 + schema: &355 title: Repository actions caches description: Repository actions caches type: object @@ -50850,7 +51430,7 @@ paths: - total_count - actions_caches examples: - default: &350 + default: &356 value: total_count: 1 actions_caches: @@ -50862,7 +51442,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50882,23 +51462,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *336 - - *337 + - *342 + - *343 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *349 + schema: *355 examples: - default: *350 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50918,8 +51498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *336 - - *337 + - *342 + - *343 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50950,9 +51530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *336 - - *337 - - &351 + - *342 + - *343 + - &357 name: job_id description: The unique identifier of the job. in: path @@ -50964,7 +51544,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &385 title: Job description: Information of a job execution in a workflow run type: object @@ -51271,9 +51851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *336 - - *337 - - *351 + - *342 + - *343 + - *357 responses: '302': description: Response @@ -51301,9 +51881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *336 - - *337 - - *351 + - *342 + - *343 + - *357 requestBody: required: false content: @@ -51324,7 +51904,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -51348,8 +51928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Status response @@ -51399,8 +51979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -51434,7 +52014,7 @@ paths: description: Empty response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -51463,8 +52043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -51482,7 +52062,7 @@ paths: type: integer secrets: type: array - items: &381 + items: &387 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51502,7 +52082,7 @@ paths: - created_at - updated_at examples: - default: &382 + default: &388 value: total_count: 2 secrets: @@ -51513,7 +52093,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51535,9 +52115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *336 - - *337 - - *352 + - *342 + - *343 + - *358 - *19 responses: '200': @@ -51554,7 +52134,7 @@ paths: type: integer variables: type: array - items: &385 + items: &391 title: Actions Variable type: object properties: @@ -51584,7 +52164,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &392 value: total_count: 2 variables: @@ -51597,7 +52177,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51617,8 +52197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -51627,12 +52207,12 @@ paths: schema: type: object properties: - enabled: &354 + enabled: &360 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *141 - selected_actions_url: *353 - sha_pinning_required: *142 + allowed_actions: *146 + selected_actions_url: *359 + sha_pinning_required: *147 required: - enabled examples: @@ -51660,8 +52240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -51672,9 +52252,9 @@ paths: schema: type: object properties: - enabled: *354 - allowed_actions: *141 - sha_pinning_required: *142 + enabled: *360 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled examples: @@ -51704,14 +52284,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &355 + schema: &361 type: object properties: access_level: @@ -51728,7 +52308,7 @@ paths: required: - access_level examples: - default: &356 + default: &362 value: access_level: organization x-github: @@ -51752,15 +52332,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *355 + schema: *361 examples: - default: *356 + default: *362 responses: '204': description: Response @@ -51784,14 +52364,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: default: value: @@ -51815,8 +52395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Empty response for successful settings update @@ -51826,7 +52406,7 @@ paths: required: true content: application/json: - schema: *358 + schema: *364 examples: default: summary: Set retention days @@ -51850,16 +52430,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *143 + schema: *148 examples: - default: *359 + default: *365 '404': *6 x-github: enabledForGitHubApps: true @@ -51878,8 +52458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -51889,7 +52469,7 @@ paths: required: true content: application/json: - schema: *143 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -51913,16 +52493,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *360 + schema: *366 examples: - default: *144 + default: *149 '403': *29 '404': *6 x-github: @@ -51942,15 +52522,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *361 + schema: *367 examples: - default: *144 + default: *149 responses: '204': description: Empty response for successful settings update @@ -51974,16 +52554,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *146 + schema: *151 examples: - default: *147 + default: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52002,8 +52582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -52011,9 +52591,9 @@ paths: required: false content: application/json: - schema: *146 + schema: *151 examples: - selected_actions: *147 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52035,16 +52615,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *362 + schema: *368 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52065,8 +52645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Success response @@ -52077,9 +52657,9 @@ paths: required: true content: application/json: - schema: *363 + schema: *369 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52106,8 +52686,8 @@ paths: in: query schema: type: string - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -52125,11 +52705,11 @@ paths: type: integer runners: type: array - items: *158 + items: *163 examples: - default: *159 + default: *164 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52151,8 +52731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -52160,9 +52740,9 @@ paths: application/json: schema: type: array - items: *364 + items: *370 examples: - default: *365 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52184,8 +52764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -52228,7 +52808,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *366 + '201': *372 '404': *6 '422': *7 '409': *54 @@ -52259,16 +52839,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: *367 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52296,16 +52876,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: *368 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52327,17 +52907,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 responses: '200': description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *369 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52358,9 +52938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 responses: '204': description: Response @@ -52386,11 +52966,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 responses: - '200': *162 + '200': *167 '404': *6 x-github: githubCloudOnly: false @@ -52412,9 +52992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 requestBody: required: true content: @@ -52438,7 +53018,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -52462,9 +53042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 requestBody: required: true content: @@ -52489,7 +53069,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -52513,11 +53093,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 + - *342 + - *343 + - *162 responses: - '200': *370 + '200': *376 '404': *6 x-github: githubCloudOnly: false @@ -52544,12 +53124,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *336 - - *337 - - *157 - - *371 + - *342 + - *343 + - *162 + - *377 responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -52575,9 +53155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *336 - - *337 - - &389 + - *342 + - *343 + - &395 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. @@ -52585,7 +53165,7 @@ paths: required: false schema: type: string - - &390 + - &396 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52593,7 +53173,7 @@ paths: required: false schema: type: string - - &391 + - &397 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52602,7 +53182,7 @@ paths: required: false schema: type: string - - &392 + - &398 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 @@ -52629,7 +53209,7 @@ paths: - pending - *17 - *19 - - &393 + - &399 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/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52638,7 +53218,7 @@ paths: schema: type: string format: date-time - - &372 + - &378 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52647,13 +53227,13 @@ paths: schema: type: boolean default: false - - &394 + - &400 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &395 + - &401 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52676,7 +53256,7 @@ paths: type: integer workflow_runs: type: array - items: &373 + items: &379 title: Workflow Run description: An invocation of a workflow type: object @@ -52771,7 +53351,7 @@ paths: that triggered the run. type: array nullable: true - items: *84 + items: *90 created_at: type: string format: date-time @@ -52824,7 +53404,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &417 + properties: &423 id: type: string description: SHA for the commit @@ -52875,7 +53455,7 @@ paths: - name - email nullable: true - required: &418 + required: &424 - id - tree_id - message @@ -52883,8 +53463,8 @@ paths: - author - committer nullable: true - repository: *156 - head_repository: *156 + repository: *161 + head_repository: *161 head_repository_id: type: integer example: 5 @@ -52922,7 +53502,7 @@ paths: - workflow_url - pull_requests examples: - default: &396 + default: &402 value: total_count: 1 workflow_runs: @@ -53136,7 +53716,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53158,24 +53738,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *336 - - *337 - - &374 + - *342 + - *343 + - &380 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *373 + schema: *379 examples: - default: &377 + default: &383 value: id: 30433642 name: Build @@ -53416,9 +53996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '204': description: Response @@ -53441,9 +54021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '200': description: Response @@ -53562,15 +54142,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -53597,13 +54177,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 - *17 - *19 - - *375 - - *55 + - *381 + - *61 responses: '200': description: Response @@ -53619,11 +54199,11 @@ paths: type: integer artifacts: type: array - items: *343 + items: *349 examples: - default: *376 + default: *382 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53645,25 +54225,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *336 - - *337 - - *374 - - &378 + - *342 + - *343 + - *380 + - &384 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *372 + - *378 responses: '200': description: Response content: application/json: - schema: *373 + schema: *379 examples: - default: *377 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53686,10 +54266,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *336 - - *337 - - *374 - - *378 + - *342 + - *343 + - *380 + - *384 - *17 - *19 responses: @@ -53707,9 +54287,9 @@ paths: type: integer jobs: type: array - items: *379 + items: *385 examples: - default: &380 + default: &386 value: total_count: 1 jobs: @@ -53798,7 +54378,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -53822,10 +54402,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *336 - - *337 - - *374 - - *378 + - *342 + - *343 + - *380 + - *384 responses: '302': description: Response @@ -53853,15 +54433,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '202': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -53888,9 +54468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 requestBody: required: true content: @@ -53957,15 +54537,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '202': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -53992,9 +54572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 - 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 @@ -54024,11 +54604,11 @@ paths: type: integer jobs: type: array - items: *379 + items: *385 examples: - default: *380 + default: *386 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54051,9 +54631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '302': description: Response @@ -54080,14 +54660,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '204': description: Response '403': *29 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54109,9 +54689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '200': description: Response @@ -54171,7 +54751,7 @@ paths: items: type: object properties: - type: &502 + type: &508 type: string description: The type of reviewer. enum: @@ -54181,7 +54761,7 @@ paths: reviewer: anyOf: - *4 - - *193 + - *198 required: - environment - wait_timer @@ -54256,9 +54836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 requestBody: required: true content: @@ -54305,12 +54885,12 @@ paths: application/json: schema: type: array - items: &497 + items: &503 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &740 + properties: &746 url: type: string format: uri @@ -54393,9 +54973,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - required: &741 + properties: *80 + required: *81 + required: &747 - id - node_id - sha @@ -54411,7 +54991,7 @@ paths: - created_at - updated_at examples: - default: &498 + default: &504 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54467,9 +55047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 requestBody: required: false content: @@ -54490,7 +55070,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54513,9 +55093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 requestBody: required: false content: @@ -54536,7 +55116,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54568,9 +55148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *336 - - *337 - - *374 + - *342 + - *343 + - *380 responses: '200': description: Response @@ -54707,8 +55287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -54726,11 +55306,11 @@ paths: type: integer secrets: type: array - items: *381 + items: *387 examples: - default: *382 + default: *388 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54753,16 +55333,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *383 + schema: *389 examples: - default: *384 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54784,17 +55364,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '200': description: Response content: application/json: - schema: *381 + schema: *387 examples: - default: &515 + default: &521 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54820,9 +55400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 requestBody: required: true content: @@ -54853,7 +55433,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54879,9 +55459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '204': description: Response @@ -54906,9 +55486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *336 - - *337 - - *352 + - *342 + - *343 + - *358 - *19 responses: '200': @@ -54925,11 +55505,11 @@ paths: type: integer variables: type: array - items: *385 + items: *391 examples: - default: *386 + default: *392 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54950,8 +55530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -54978,7 +55558,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -55003,17 +55583,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *336 - - *337 - - *167 + - *342 + - *343 + - *172 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: &516 + default: &522 value: name: USERNAME value: octocat @@ -55039,9 +55619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *336 - - *337 - - *167 + - *342 + - *343 + - *172 requestBody: required: true content: @@ -55083,9 +55663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *336 - - *337 - - *167 + - *342 + - *343 + - *172 responses: '204': description: Response @@ -55110,8 +55690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -55129,7 +55709,7 @@ paths: type: integer workflows: type: array - items: &387 + items: &393 title: Workflow description: A GitHub Actions workflow type: object @@ -55213,7 +55793,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55236,9 +55816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *336 - - *337 - - &388 + - *342 + - *343 + - &394 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55253,7 +55833,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *393 examples: default: value: @@ -55286,9 +55866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *336 - - *337 - - *388 + - *342 + - *343 + - *394 responses: '204': description: Response @@ -55313,9 +55893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *336 - - *337 - - *388 + - *342 + - *343 + - *394 responses: '200': description: Response including the workflow run ID and URLs when `return_run_details` @@ -55396,9 +55976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *336 - - *337 - - *388 + - *342 + - *343 + - *394 responses: '204': description: Response @@ -55425,19 +56005,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *336 - - *337 - - *388 - - *389 - - *390 - - *391 - - *392 - - *17 - - *19 - - *393 - - *372 + - *342 + - *343 - *394 - *395 + - *396 + - *397 + - *398 + - *17 + - *19 + - *399 + - *378 + - *400 + - *401 responses: '200': description: Response @@ -55453,11 +56033,11 @@ paths: type: integer workflow_runs: type: array - items: *373 + items: *379 examples: - default: *396 + default: *402 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55487,9 +56067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *336 - - *337 - - *388 + - *342 + - *343 + - *394 responses: '200': description: Response @@ -55550,9 +56130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *336 - - *337 - - *55 + - *342 + - *343 + - *61 - *17 - *47 - *48 @@ -55696,7 +56276,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '422': *7 x-github: githubCloudOnly: false @@ -55715,8 +56295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -55728,9 +56308,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -55753,8 +56333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *336 - - *337 + - *342 + - *343 - name: assignee in: path required: true @@ -55790,8 +56370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -55903,8 +56483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *47 - *48 @@ -55945,7 +56525,7 @@ paths: initiator: type: string examples: - default: *397 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55965,8 +56545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -55974,7 +56554,7 @@ paths: application/json: schema: type: array - items: &398 + items: &404 title: Autolink reference description: An autolink reference. type: object @@ -56028,8 +56608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -56068,9 +56648,9 @@ paths: description: response content: application/json: - schema: *398 + schema: *404 examples: - default: &399 + default: &405 value: id: 1 key_prefix: TICKET- @@ -56101,9 +56681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *336 - - *337 - - &400 + - *342 + - *343 + - &406 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56115,9 +56695,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *404 examples: - default: *399 + default: *405 '404': *6 x-github: githubCloudOnly: false @@ -56137,9 +56717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *336 - - *337 - - *400 + - *342 + - *343 + - *406 responses: '204': description: Response @@ -56163,8 +56743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response if Dependabot is enabled @@ -56212,8 +56792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -56234,8 +56814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -56255,8 +56835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *336 - - *337 + - *342 + - *343 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56294,7 +56874,7 @@ paths: - url protected: type: boolean - protection: &402 + protection: &408 title: Branch Protection description: Branch Protection type: object @@ -56336,7 +56916,7 @@ paths: required: - contexts - checks - enforce_admins: &405 + enforce_admins: &411 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56351,7 +56931,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &407 + required_pull_request_reviews: &413 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56372,7 +56952,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *193 + items: *198 apps: description: The list of apps with review dismissal access. @@ -56401,7 +56981,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *193 + items: *198 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56427,7 +57007,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &404 + restrictions: &410 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56490,7 +57070,7 @@ paths: type: string teams: type: array - items: *193 + items: *198 apps: type: array items: @@ -56686,7 +57266,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -56704,9 +57284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *336 - - *337 - - &403 + - *342 + - *343 + - &409 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/graphql). @@ -56720,14 +57300,14 @@ paths: description: Response content: application/json: - schema: &413 + schema: &419 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &470 + commit: &476 title: Commit description: Commit type: object @@ -56761,7 +57341,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &401 + properties: &407 name: type: string example: '"Chris Wanstrath"' @@ -56777,7 +57357,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *401 + properties: *407 nullable: true message: type: string @@ -56798,7 +57378,7 @@ paths: required: - sha - url - verification: &522 + verification: &528 title: Verification type: object properties: @@ -56832,12 +57412,12 @@ paths: nullable: true oneOf: - *4 - - *165 + - *170 committer: nullable: true oneOf: - *4 - - *165 + - *170 parents: type: array items: @@ -56868,7 +57448,7 @@ paths: type: integer files: type: array - items: &483 + items: &489 title: Diff Entry description: Diff Entry type: object @@ -56952,7 +57532,7 @@ paths: - self protected: type: boolean - protection: *402 + protection: *408 protection_url: type: string format: uri @@ -57059,7 +57639,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *340 + '301': *346 '404': *6 x-github: githubCloudOnly: false @@ -57081,15 +57661,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *402 + schema: *408 examples: default: value: @@ -57283,9 +57863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -57540,7 +58120,7 @@ paths: url: type: string format: uri - required_status_checks: &410 + required_status_checks: &416 title: Status Check Policy description: Status Check Policy type: object @@ -57616,7 +58196,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 apps: type: array items: *5 @@ -57634,7 +58214,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 apps: type: array items: *5 @@ -57692,7 +58272,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *404 + restrictions: *410 required_conversation_resolution: type: object properties: @@ -57804,9 +58384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -57831,17 +58411,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: &406 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57863,17 +58443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: *406 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57892,9 +58472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -57919,17 +58499,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *407 + schema: *413 examples: - default: &408 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58025,9 +58605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -58125,9 +58705,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *413 examples: - default: *408 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -58148,9 +58728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58177,17 +58757,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: &409 + default: &415 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58210,17 +58790,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: *409 + default: *415 '404': *6 x-github: githubCloudOnly: false @@ -58240,9 +58820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58267,17 +58847,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *410 + schema: *416 examples: - default: &411 + default: &417 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58303,9 +58883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -58357,9 +58937,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *416 examples: - default: *411 + default: *417 '404': *6 '422': *15 x-github: @@ -58381,9 +58961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58407,9 +58987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response @@ -58443,9 +59023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -58512,9 +59092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -58578,9 +59158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: content: application/json: @@ -58646,15 +59226,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response content: application/json: - schema: *404 + schema: *410 examples: default: value: @@ -58745,9 +59325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '204': description: Response @@ -58770,9 +59350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response @@ -58782,7 +59362,7 @@ paths: type: array items: *5 examples: - default: &412 + default: &418 value: - id: 1 slug: octoapp @@ -58839,9 +59419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -58875,7 +59455,7 @@ paths: type: array items: *5 examples: - default: *412 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -58896,9 +59476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -58932,7 +59512,7 @@ paths: type: array items: *5 examples: - default: *412 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -58953,9 +59533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -58989,7 +59569,7 @@ paths: type: array items: *5 examples: - default: *412 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -59011,9 +59591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response @@ -59021,9 +59601,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 '404': *6 x-github: githubCloudOnly: false @@ -59043,9 +59623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -59081,9 +59661,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -59104,9 +59684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: false content: @@ -59142,9 +59722,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -59165,9 +59745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: content: application/json: @@ -59202,9 +59782,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -59226,9 +59806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 responses: '200': description: Response @@ -59238,7 +59818,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '404': *6 x-github: githubCloudOnly: false @@ -59262,9 +59842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59297,7 +59877,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -59322,9 +59902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59357,7 +59937,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -59382,9 +59962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59417,7 +59997,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -59444,9 +60024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 requestBody: required: true content: @@ -59468,7 +60048,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *419 examples: default: value: @@ -59584,8 +60164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -59864,7 +60444,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &420 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59975,16 +60555,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *84 - deployment: &733 + items: *90 + deployment: &739 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60051,8 +60631,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -60264,9 +60844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *336 - - *337 - - &415 + - *342 + - *343 + - &421 name: check_run_id description: The unique identifier of the check run. in: path @@ -60278,9 +60858,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *420 examples: - default: &416 + default: &422 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60380,9 +60960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *336 - - *337 - - *415 + - *342 + - *343 + - *421 requestBody: required: true content: @@ -60622,9 +61202,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *420 examples: - default: *416 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60644,9 +61224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *336 - - *337 - - *415 + - *342 + - *343 + - *421 - *17 - *19 responses: @@ -60721,7 +61301,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60741,15 +61321,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *336 - - *337 - - *415 + - *342 + - *343 + - *421 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -60787,8 +61367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -60810,7 +61390,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &419 + schema: &425 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60874,7 +61454,7 @@ paths: nullable: true pull_requests: type: array - items: *84 + items: *90 nullable: true app: title: GitHub app @@ -60885,9 +61465,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - repository: *156 + properties: *80 + required: *81 + repository: *161 created_at: type: string format: date-time @@ -60896,12 +61476,12 @@ paths: type: string format: date-time nullable: true - head_commit: &761 + head_commit: &767 title: Simple Commit description: A commit. type: object - properties: *417 - required: *418 + properties: *423 + required: *424 latest_check_runs_count: type: integer check_runs_url: @@ -60929,7 +61509,7 @@ paths: - check_runs_url - pull_requests examples: - default: &420 + default: &426 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61220,9 +61800,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *419 + schema: *425 examples: - default: *420 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61241,8 +61821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -61303,7 +61883,7 @@ paths: required: - app_id - setting - repository: *156 + repository: *161 examples: default: value: @@ -61551,9 +62131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *336 - - *337 - - &421 + - *342 + - *343 + - &427 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61565,9 +62145,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: *420 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61590,17 +62170,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *336 - - *337 - - *421 - - &476 + - *342 + - *343 + - *427 + - &482 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &477 + - &483 name: status description: Returns check runs with the specified `status`. in: query @@ -61639,9 +62219,9 @@ paths: type: integer check_runs: type: array - items: *414 + items: *420 examples: - default: &478 + default: &484 value: total_count: 1 check_runs: @@ -61723,7 +62303,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61743,15 +62323,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *336 - - *337 - - *421 + - *342 + - *343 + - *427 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -61778,28 +62358,28 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *336 - - *337 - - *422 - - *423 + - *342 + - *343 + - *428 + - *429 - *19 - *17 - - &440 + - &446 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: *424 - - &441 + schema: *430 + - &447 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *55 + - *61 - *47 - *48 - name: sort @@ -61817,13 +62397,13 @@ paths: be returned. in: query required: false - schema: *425 + schema: *431 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *426 + schema: *432 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -61842,14 +62422,14 @@ paths: items: type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: *427 - state: *183 - fixed_at: *179 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *433 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -61857,12 +62437,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: *428 - dismissed_comment: *429 - rule: *430 - tool: *431 - most_recent_instance: *432 + dismissed_at: *185 + dismissed_reason: *434 + dismissed_comment: *435 + rule: *436 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61988,14 +62568,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &433 + '403': &439 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,9 +62595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *336 - - *337 - - &434 + - *342 + - *343 + - &440 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62025,23 +62605,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *174 + schema: *179 responses: '200': description: Response content: application/json: - schema: &435 + schema: &441 type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: *427 - state: *183 - fixed_at: *179 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *433 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -62049,9 +62629,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: *428 - dismissed_comment: *429 + dismissed_at: *185 + dismissed_reason: *434 + dismissed_comment: *435 rule: type: object properties: @@ -62105,8 +62685,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *431 - most_recent_instance: *432 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62205,9 +62785,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62225,9 +62805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 requestBody: required: true content: @@ -62242,8 +62822,8 @@ paths: enum: - open - dismissed - dismissed_reason: *428 - dismissed_comment: *429 + dismissed_reason: *434 + dismissed_comment: *435 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62271,7 +62851,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *441 examples: default: value: @@ -62347,14 +62927,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &439 + '403': &445 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': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62374,15 +62954,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 responses: '200': description: Response content: application/json: - schema: &436 + schema: &442 type: object properties: status: @@ -62408,13 +62988,13 @@ paths: - description - started_at examples: - default: &437 + default: &443 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &438 + '400': &444 description: Bad Request content: application/json: @@ -62425,9 +63005,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62450,29 +63030,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 responses: '200': description: OK content: application/json: - schema: *436 + schema: *442 examples: - default: *437 + default: *443 '202': description: Accepted content: application/json: - schema: *436 + schema: *442 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *438 + '400': *444 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62482,7 +63062,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62504,9 +63084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 requestBody: required: false content: @@ -62551,12 +63131,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *438 - '403': *439 + '400': *444 + '403': *445 '404': *6 '422': description: Unprocessable Entity - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62576,13 +63156,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 - *19 - *17 - - *440 - - *441 + - *446 + - *447 responses: '200': description: Response @@ -62593,10 +63173,10 @@ paths: items: type: object properties: - ref: *424 - analysis_key: *442 - environment: *443 - category: *444 + ref: *430 + analysis_key: *448 + environment: *449 + category: *450 state: type: string description: State of a code scanning alert instance. @@ -62611,7 +63191,7 @@ paths: properties: text: type: string - location: *445 + location: *451 html_url: type: string classifications: @@ -62619,7 +63199,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *446 + items: *452 examples: default: value: @@ -62656,9 +63236,9 @@ paths: end_column: 50 classifications: - source - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62690,29 +63270,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *336 - - *337 - - *422 - - *423 + - *342 + - *343 + - *428 + - *429 - *19 - *17 - - *441 + - *447 - 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: *424 + schema: *430 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &447 + schema: &453 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *55 + - *61 - name: sort description: The property by which to sort the results. in: query @@ -62729,23 +63309,23 @@ paths: application/json: schema: type: array - items: &448 + items: &454 type: object properties: - ref: *424 - commit_sha: &456 + ref: *430 + commit_sha: &462 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: *442 + analysis_key: *448 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *444 + category: *450 error: type: string example: error reading field xyz @@ -62769,8 +63349,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *447 - tool: *431 + sarif_id: *453 + tool: *437 deletable: type: boolean warning: @@ -62831,9 +63411,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62867,8 +63447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62881,7 +63461,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: response: summary: application/json response @@ -62935,14 +63515,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *433 + '403': *439 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63022,8 +63602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63076,9 +63656,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': *439 + '403': *445 '404': *6 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63098,8 +63678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -63107,7 +63687,7 @@ paths: application/json: schema: type: array - items: &449 + items: &455 title: CodeQL Database description: A CodeQL database. type: object @@ -63218,9 +63798,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': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63247,8 +63827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: language in: path description: The language of the CodeQL database. @@ -63260,7 +63840,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *455 examples: default: value: @@ -63292,11 +63872,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': &485 + '302': &491 description: Found - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63316,8 +63896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *336 - - *337 + - *342 + - *343 - name: language in: path description: The language of the CodeQL database. @@ -63327,9 +63907,9 @@ paths: responses: '204': description: Response - '403': *439 + '403': *445 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63355,8 +63935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -63365,7 +63945,7 @@ paths: type: object additionalProperties: false properties: - language: &450 + language: &456 type: string description: The language targeted by the CodeQL query enum: @@ -63445,7 +64025,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &454 + schema: &460 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63453,9 +64033,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *60 + controller_repo: *66 actor: *4 - query_language: *450 + query_language: *456 query_pack_url: type: string description: The download url for the query pack. @@ -63502,7 +64082,7 @@ paths: items: type: object properties: - repository: &451 + repository: &457 title: Repository Identifier description: Repository Identifier type: object @@ -63538,7 +64118,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &455 + analysis_status: &461 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63570,7 +64150,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &452 + access_mismatch_repos: &458 type: object properties: repository_count: @@ -63584,7 +64164,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: *451 + items: *457 required: - repository_count - repositories @@ -63606,8 +64186,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *452 - over_limit_repos: *452 + no_codeql_db_repos: *458 + over_limit_repos: *458 required: - access_mismatch_repos - not_found_repos @@ -63623,7 +64203,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &453 + value: &459 summary: Default response value: id: 1 @@ -63769,17 +64349,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *453 + value: *459 repository_lists: summary: Response for a successful variant analysis submission - value: *453 + value: *459 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63800,8 +64380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *336 - - *337 + - *342 + - *343 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63813,11 +64393,11 @@ paths: description: Response content: application/json: - schema: *454 + schema: *460 examples: - default: *453 + default: *459 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63838,7 +64418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *336 + - *342 - name: repo in: path description: The name of the controller repository. @@ -63872,8 +64452,8 @@ paths: schema: type: object properties: - repository: *60 - analysis_status: *455 + repository: *66 + analysis_status: *461 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63977,7 +64557,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63998,8 +64578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -64082,9 +64662,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *433 + '403': *439 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64103,8 +64683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -64171,7 +64751,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -64196,7 +64776,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *439 + '403': *445 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64210,7 +64790,7 @@ paths: content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64267,8 +64847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -64276,7 +64856,7 @@ paths: schema: type: object properties: - commit_sha: *456 + commit_sha: *462 ref: type: string description: |- @@ -64334,7 +64914,7 @@ paths: schema: type: object properties: - id: *447 + id: *453 url: type: string description: The REST API URL for checking the status of the upload. @@ -64348,11 +64928,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': *439 + '403': *445 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64371,8 +64951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *336 - - *337 + - *342 + - *343 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64418,10 +64998,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': *433 + '403': *439 '404': description: Not Found if the sarif id does not match any upload - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64443,8 +65023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -64500,7 +65080,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': *187 + '204': *192 '304': *37 '403': *29 '404': *6 @@ -64525,8 +65105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *336 - - *337 + - *342 + - *343 - 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 @@ -64646,8 +65226,8 @@ paths: parameters: - *17 - *19 - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -64663,7 +65243,7 @@ paths: type: integer codespaces: type: array - items: *241 + items: *247 examples: default: value: @@ -64939,7 +65519,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': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -64961,8 +65541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -65025,22 +65605,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65064,8 +65644,8 @@ paths: parameters: - *17 - *19 - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -65105,7 +65685,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *115 + '500': *55 '400': *14 '401': *25 '403': *29 @@ -65129,8 +65709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65165,14 +65745,14 @@ paths: type: integer machines: type: array - items: &675 + items: &681 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *458 - required: *459 + properties: *464 + required: *465 examples: - default: &676 + default: &682 value: total_count: 2 machines: @@ -65189,7 +65769,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -65212,8 +65792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *336 - - *337 + - *342 + - *343 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65297,8 +65877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *336 - - *337 + - *342 + - *343 - 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 @@ -65343,7 +65923,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65364,8 +65944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -65383,7 +65963,7 @@ paths: type: integer secrets: type: array - items: &463 + items: &469 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65403,9 +65983,9 @@ paths: - created_at - updated_at examples: - default: *460 + default: *466 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65426,16 +66006,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *461 + schema: *467 examples: - default: *462 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65455,17 +66035,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '200': description: Response content: application/json: - schema: *463 + schema: *469 examples: - default: *464 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65485,9 +66065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 requestBody: required: true content: @@ -65515,7 +66095,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -65539,9 +66119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '204': description: Response @@ -65569,8 +66149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *336 - - *337 + - *342 + - *343 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65612,7 +66192,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &465 + properties: &471 login: type: string example: octocat @@ -65705,7 +66285,7 @@ paths: user_view_type: type: string example: public - required: &466 + required: &472 - avatar_url - events_url - followers_url @@ -65754,7 +66334,7 @@ paths: admin: false role_name: write headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -65779,9 +66359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *336 - - *337 - - *65 + - *342 + - *343 + - *71 responses: '204': description: Response if user is a collaborator @@ -65827,9 +66407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *336 - - *337 - - *65 + - *342 + - *343 + - *71 requestBody: required: false content: @@ -65855,7 +66435,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &535 + schema: &541 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -65866,7 +66446,7 @@ paths: example: 42 type: integer format: int64 - repository: *156 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -66044,7 +66624,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *124 + schema: *129 '403': *29 x-github: triggersNotification: true @@ -66084,9 +66664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *336 - - *337 - - *65 + - *342 + - *343 + - *71 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66117,9 +66697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *336 - - *337 - - *65 + - *342 + - *343 + - *71 responses: '200': description: if user has admin permissions @@ -66139,8 +66719,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *465 - required: *466 + properties: *471 + required: *472 nullable: true required: - permission @@ -66195,8 +66775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -66206,7 +66786,7 @@ paths: application/json: schema: type: array - items: &467 + items: &473 title: Commit Comment description: Commit Comment type: object @@ -66247,8 +66827,8 @@ paths: updated_at: type: string format: date-time - author_association: *76 - reactions: *77 + author_association: *82 + reactions: *83 required: - url - html_url @@ -66264,7 +66844,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &478 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66298,7 +66878,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66323,17 +66903,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '200': description: Response content: application/json: - schema: *467 + schema: *473 examples: - default: &473 + default: &479 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66390,9 +66970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -66414,7 +66994,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *473 examples: default: value: @@ -66465,9 +67045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '204': description: Response @@ -66488,9 +67068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -66516,7 +67096,7 @@ paths: application/json: schema: type: array - items: &468 + items: &474 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -66559,7 +67139,7 @@ paths: - content - created_at examples: - default: &539 + default: &545 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66585,7 +67165,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -66604,9 +67184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -66638,9 +67218,9 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *474 examples: - default: &469 + default: &475 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66669,9 +67249,9 @@ paths: description: Reaction created content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -66693,10 +67273,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *336 - - *337 - - *95 - - &540 + - *342 + - *343 + - *101 + - &546 name: reaction_id description: The unique identifier of the reaction. in: path @@ -66751,8 +67331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *336 - - *337 + - *342 + - *343 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66808,9 +67388,9 @@ paths: application/json: schema: type: array - items: *470 + items: *476 examples: - default: &590 + default: &596 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66880,8 +67460,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *61 - '500': *115 + Link: *67 + '500': *55 '400': *14 '404': *6 '409': *54 @@ -66904,9 +67484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *336 - - *337 - - &471 + - *342 + - *343 + - &477 name: commit_sha description: The SHA of the commit. in: path @@ -66978,9 +67558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *336 - - *337 - - *471 + - *342 + - *343 + - *477 - *17 - *19 responses: @@ -66990,11 +67570,11 @@ paths: application/json: schema: type: array - items: *467 + items: *473 examples: - default: *472 + default: *478 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67020,9 +67600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *336 - - *337 - - *471 + - *342 + - *343 + - *477 requestBody: required: true content: @@ -67057,9 +67637,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *473 examples: - default: *473 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67087,9 +67667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *336 - - *337 - - *471 + - *342 + - *343 + - *477 - *17 - *19 responses: @@ -67099,9 +67679,9 @@ paths: application/json: schema: type: array - items: *474 + items: *480 examples: - default: &582 + default: &588 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67580,7 +68160,7 @@ paths: auto_merge: draft: false headers: - Link: *61 + Link: *67 '409': *54 x-github: githubCloudOnly: false @@ -67638,11 +68218,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *336 - - *337 + - *342 + - *343 - *19 - *17 - - &475 + - &481 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)" @@ -67657,9 +68237,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *476 examples: - default: &569 + default: &575 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67745,8 +68325,8 @@ paths: ..... '422': *15 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 '409': *54 x-github: githubCloudOnly: false @@ -67772,11 +68352,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *336 - - *337 - - *475 - - *476 - - *477 + - *342 + - *343 + - *481 + - *482 + - *483 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67810,11 +68390,11 @@ paths: type: integer check_runs: type: array - items: *414 + items: *420 examples: - default: *478 + default: *484 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67837,9 +68417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *336 - - *337 - - *475 + - *342 + - *343 + - *481 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67847,7 +68427,7 @@ paths: schema: type: integer example: 1 - - *476 + - *482 - *17 - *19 responses: @@ -67865,7 +68445,7 @@ paths: type: integer check_suites: type: array - items: *419 + items: *425 examples: default: value: @@ -68040,7 +68620,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68065,9 +68645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *336 - - *337 - - *475 + - *342 + - *343 + - *481 - *17 - *19 responses: @@ -68134,7 +68714,7 @@ paths: type: string total_count: type: integer - repository: *156 + repository: *161 commit_url: type: string format: uri @@ -68265,9 +68845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *336 - - *337 - - *475 + - *342 + - *343 + - *481 - *17 - *19 responses: @@ -68277,7 +68857,7 @@ paths: application/json: schema: type: array - items: &655 + items: &661 title: Status description: The status of a commit. type: object @@ -68357,8 +68937,8 @@ paths: type: User site_admin: false headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68386,8 +68966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -68416,20 +68996,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *479 - required: *480 + properties: *485 + required: *486 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &481 + properties: &487 url: type: string format: uri html_url: type: string format: uri - required: &482 + required: &488 - url - html_url nullable: true @@ -68437,32 +69017,32 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true contributing: title: Community Health File type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true readme: title: Community Health File type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true issue_template: title: Community Health File type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true pull_request_template: title: Community Health File type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true required: - code_of_conduct @@ -68589,8 +69169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *336 - - *337 + - *342 + - *343 - *19 - *17 - name: basehead @@ -68633,8 +69213,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *470 - merge_base_commit: *470 + base_commit: *476 + merge_base_commit: *476 status: type: string enum: @@ -68654,10 +69234,10 @@ paths: example: 6 commits: type: array - items: *470 + items: *476 files: type: array - items: *483 + items: *489 required: - url - html_url @@ -68900,8 +69480,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68943,8 +69523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *336 - - *337 + - *342 + - *343 - name: path description: path parameter in: path @@ -69104,7 +69684,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &484 + response-if-content-is-a-file-github-object: &490 summary: Response if content is a file value: type: file @@ -69236,7 +69816,7 @@ paths: - size - type - url - - &595 + - &601 title: Content File description: Content File type: object @@ -69437,7 +70017,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *484 + response-if-content-is-a-file: *490 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69506,7 +70086,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *485 + '302': *491 '304': *37 x-github: githubCloudOnly: false @@ -69529,8 +70109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *336 - - *337 + - *342 + - *343 - name: path description: path parameter in: path @@ -69623,7 +70203,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &492 title: File Commit description: File Commit type: object @@ -69775,7 +70355,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *492 examples: example-for-creating-a-file: value: @@ -69829,7 +70409,7 @@ paths: schema: oneOf: - *3 - - &517 + - &523 description: Repository rule violation was detected type: object properties: @@ -69850,7 +70430,7 @@ paths: items: type: object properties: - placeholder_id: &647 + placeholder_id: &653 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69882,8 +70462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *336 - - *337 + - *342 + - *343 - name: path description: path parameter in: path @@ -69944,7 +70524,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *492 examples: default: value: @@ -69979,7 +70559,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69999,8 +70579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *336 - - *337 + - *342 + - *343 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70100,7 +70680,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *61 + Link: *67 '204': description: Response if repository is empty '403': *29 @@ -70123,24 +70703,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *336 - - *337 - - *195 - - *196 - - *197 - - *198 + - *342 + - *343 + - *200 + - *201 + - *202 + - *203 - 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 - - *199 - - *487 - - *200 - - *201 - - *202 - - *55 + - *204 + - *493 + - *205 + - *206 + - *207 + - *61 - *47 - *48 - *17 @@ -70151,11 +70731,11 @@ paths: application/json: schema: type: array - items: &491 + items: &497 type: object description: A Dependabot alert. properties: - number: *174 + number: *179 state: type: string description: The state of the Dependabot alert. @@ -70170,7 +70750,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *56 + package: *62 manifest_path: type: string description: The full path to the dependency manifest file, @@ -70197,13 +70777,13 @@ paths: - unknown - direct - transitive - security_advisory: *488 - security_vulnerability: *59 - url: *177 - html_url: *178 - created_at: *175 - updated_at: *176 - dismissed_at: *180 + security_advisory: *494 + security_vulnerability: *65 + url: *182 + html_url: *183 + created_at: *180 + updated_at: *181 + dismissed_at: *185 dismissed_by: title: Simple User description: A GitHub user. @@ -70227,9 +70807,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *179 - auto_dismissed_at: *489 - dismissal_request: *490 + fixed_at: *184 + auto_dismissed_at: *495 + dismissal_request: *496 assignees: type: array description: The users assigned to this alert. @@ -70484,9 +71064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *336 - - *337 - - &492 + - *342 + - *343 + - &498 name: alert_number in: path description: |- @@ -70495,13 +71075,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *174 + schema: *179 responses: '200': description: Response content: application/json: - schema: *491 + schema: *497 examples: default: value: @@ -70633,9 +71213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *336 - - *337 - - *492 + - *342 + - *343 + - *498 requestBody: required: true content: @@ -70691,7 +71271,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *497 examples: default: value: @@ -70821,8 +71401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -70840,7 +71420,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &501 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70871,7 +71451,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70893,16 +71473,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *493 + schema: *499 examples: - default: *494 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70922,15 +71502,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '200': description: Response content: application/json: - schema: *495 + schema: *501 examples: default: value: @@ -70956,9 +71536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 requestBody: required: true content: @@ -70986,7 +71566,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -71010,9 +71590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *336 - - *337 - - *164 + - *342 + - *343 + - *169 responses: '204': description: Response @@ -71034,8 +71614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *336 - - *337 + - *342 + - *343 - 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 @@ -71171,7 +71751,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *61 + Link: *67 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -71195,8 +71775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -71412,7 +71992,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *61 + Link: *67 '404': *6 '403': *29 x-github: @@ -71435,8 +72015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -71511,7 +72091,7 @@ paths: - version - url additionalProperties: false - metadata: &496 + metadata: &502 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71544,7 +72124,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *496 + metadata: *502 resolved: type: object description: A collection of resolved package dependencies. @@ -71557,7 +72137,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *496 + metadata: *502 relationship: type: string description: A notation of whether a dependency is requested @@ -71686,8 +72266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *336 - - *337 + - *342 + - *343 - name: sha description: The SHA recorded at creation time. in: query @@ -71727,11 +72307,11 @@ paths: application/json: schema: type: array - items: *497 + items: *503 examples: - default: *498 + default: *504 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71795,8 +72375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -71877,7 +72457,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *503 examples: simple-example: summary: Simple example @@ -71950,9 +72530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *336 - - *337 - - &499 + - *342 + - *343 + - &505 name: deployment_id description: deployment_id parameter in: path @@ -71964,7 +72544,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *503 examples: default: value: @@ -72029,9 +72609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *336 - - *337 - - *499 + - *342 + - *343 + - *505 responses: '204': description: Response @@ -72053,9 +72633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *336 - - *337 - - *499 + - *342 + - *343 + - *505 - *17 - *19 responses: @@ -72065,7 +72645,7 @@ paths: application/json: schema: type: array - items: &500 + items: &506 title: Deployment Status description: The status of a deployment. type: object @@ -72156,8 +72736,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -72206,7 +72786,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -72226,9 +72806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *336 - - *337 - - *499 + - *342 + - *343 + - *505 requestBody: required: true content: @@ -72303,9 +72883,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: &501 + default: &507 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72361,9 +72941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *336 - - *337 - - *499 + - *342 + - *343 + - *505 - name: status_id in: path required: true @@ -72374,9 +72954,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: *501 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -72401,8 +72981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -72459,8 +73039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -72477,7 +73057,7 @@ paths: type: integer environments: type: array - items: &503 + items: &509 title: Environment description: Details of a deployment environment type: object @@ -72529,7 +73109,7 @@ paths: type: type: string example: wait_timer - wait_timer: &505 + wait_timer: &511 type: integer example: 30 description: The amount of time to delay a job after @@ -72566,11 +73146,11 @@ paths: items: type: object properties: - type: *502 + type: *508 reviewer: anyOf: - *4 - - *193 + - *198 required: - id - node_id @@ -72590,7 +73170,7 @@ paths: - id - node_id - type - deployment_branch_policy: &506 + deployment_branch_policy: &512 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -72706,9 +73286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *336 - - *337 - - &504 + - *342 + - *343 + - &510 name: environment_name in: path required: true @@ -72721,9 +73301,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *509 examples: - default: &507 + default: &513 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72807,9 +73387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 requestBody: required: false content: @@ -72818,7 +73398,7 @@ paths: type: object nullable: true properties: - wait_timer: *505 + wait_timer: *511 prevent_self_review: type: boolean example: false @@ -72835,13 +73415,13 @@ paths: items: type: object properties: - type: *502 + type: *508 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *506 + deployment_branch_policy: *512 additionalProperties: false examples: default: @@ -72861,9 +73441,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *509 examples: - default: *507 + default: *513 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72887,9 +73467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 responses: '204': description: Default response @@ -72914,9 +73494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 - *17 - *19 responses: @@ -72934,7 +73514,7 @@ paths: example: 2 branch_policies: type: array - items: &508 + items: &514 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72991,9 +73571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 requestBody: required: true content: @@ -73039,9 +73619,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - example-wildcard: &509 + example-wildcard: &515 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73083,10 +73663,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *336 - - *337 - - *504 - - &510 + - *342 + - *343 + - *510 + - &516 name: branch_policy_id in: path required: true @@ -73098,9 +73678,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: *509 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73119,10 +73699,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *336 - - *337 - - *504 + - *342 + - *343 - *510 + - *516 requestBody: required: true content: @@ -73150,9 +73730,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: *509 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73171,10 +73751,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *336 - - *337 - - *504 + - *342 + - *343 - *510 + - *516 responses: '204': description: Response @@ -73199,9 +73779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *504 - - *337 - - *336 + - *510 + - *343 + - *342 responses: '200': description: List of deployment protection rules @@ -73217,7 +73797,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &511 + items: &517 title: Deployment protection rule description: Deployment protection rule type: object @@ -73236,7 +73816,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &512 + app: &518 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73335,9 +73915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *504 - - *337 - - *336 + - *510 + - *343 + - *342 requestBody: content: application/json: @@ -73358,9 +73938,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *511 + schema: *517 examples: - default: &513 + default: &519 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73395,9 +73975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *504 - - *337 - - *336 + - *510 + - *343 + - *342 - *19 - *17 responses: @@ -73416,7 +73996,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *512 + items: *518 examples: default: value: @@ -73451,10 +74031,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *336 - - *337 - - *504 - - &514 + - *342 + - *343 + - *510 + - &520 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73466,9 +74046,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *517 examples: - default: *513 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73489,10 +74069,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *504 - - *337 - - *336 - - *514 + - *510 + - *343 + - *342 + - *520 responses: '204': description: Response @@ -73518,9 +74098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 - *17 - *19 responses: @@ -73538,11 +74118,11 @@ paths: type: integer secrets: type: array - items: *381 + items: *387 examples: - default: *382 + default: *388 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73565,17 +74145,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 responses: '200': description: Response content: application/json: - schema: *383 + schema: *389 examples: - default: *384 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73597,18 +74177,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *336 - - *337 - - *504 - - *164 + - *342 + - *343 + - *510 + - *169 responses: '200': description: Response content: application/json: - schema: *381 + schema: *387 examples: - default: *515 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73630,10 +74210,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *336 - - *337 - - *504 - - *164 + - *342 + - *343 + - *510 + - *169 requestBody: required: true content: @@ -73664,7 +74244,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -73690,10 +74270,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *336 - - *337 - - *504 - - *164 + - *342 + - *343 + - *510 + - *169 responses: '204': description: Default response @@ -73718,10 +74298,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *336 - - *337 - - *504 - - *352 + - *342 + - *343 + - *510 + - *358 - *19 responses: '200': @@ -73738,11 +74318,11 @@ paths: type: integer variables: type: array - items: *385 + items: *391 examples: - default: *386 + default: *392 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73763,9 +74343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *336 - - *337 - - *504 + - *342 + - *343 + - *510 requestBody: required: true content: @@ -73792,7 +74372,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -73817,18 +74397,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *336 - - *337 - - *504 - - *167 + - *342 + - *343 + - *510 + - *172 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: *516 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73849,10 +74429,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *336 - - *337 - - *167 - - *504 + - *342 + - *343 + - *172 + - *510 requestBody: required: true content: @@ -73894,10 +74474,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *336 - - *337 - - *167 - - *504 + - *342 + - *343 + - *172 + - *510 responses: '204': description: Response @@ -73919,8 +74499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -73930,7 +74510,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: 200-response: value: @@ -73988,8 +74568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *336 - - *337 + - *342 + - *343 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74011,7 +74591,7 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: default: value: @@ -74124,7 +74704,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *61 + Link: *67 '400': *14 x-github: githubCloudOnly: false @@ -74148,8 +74728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -74181,9 +74761,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 + default: *347 '400': *14 '422': *15 '403': *29 @@ -74204,8 +74784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -74264,8 +74844,8 @@ paths: application/json: schema: oneOf: - - *124 - - *517 + - *129 + - *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74290,8 +74870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *336 - - *337 + - *342 + - *343 - name: file_sha in: path required: true @@ -74390,8 +74970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -74500,7 +75080,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &524 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74714,15 +75294,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *336 - - *337 - - *471 + - *342 + - *343 + - *477 responses: '200': description: Response content: application/json: - schema: *518 + schema: *524 examples: default: value: @@ -74778,9 +75358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *336 - - *337 - - &519 + - *342 + - *343 + - &525 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. @@ -74797,7 +75377,7 @@ paths: application/json: schema: type: array - items: &520 + items: &526 title: Git Reference description: Git references within a repository type: object @@ -74850,7 +75430,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *61 + Link: *67 '409': *54 x-github: githubCloudOnly: false @@ -74872,17 +75452,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *336 - - *337 - - *519 + - *342 + - *343 + - *525 responses: '200': description: Response content: application/json: - schema: *520 + schema: *526 examples: - default: &521 + default: &527 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74911,8 +75491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -74941,9 +75521,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *526 examples: - default: *521 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74969,9 +75549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *336 - - *337 - - *519 + - *342 + - *343 + - *525 requestBody: required: true content: @@ -75000,9 +75580,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *526 examples: - default: *521 + default: *527 '422': *15 '409': *54 x-github: @@ -75020,9 +75600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *336 - - *337 - - *519 + - *342 + - *343 + - *525 responses: '204': description: Response @@ -75077,8 +75657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -75145,7 +75725,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &529 title: Git Tag description: Metadata for a Git tag type: object @@ -75196,7 +75776,7 @@ paths: - sha - type - url - verification: *522 + verification: *528 required: - sha - url @@ -75206,7 +75786,7 @@ paths: - tag - message examples: - default: &524 + default: &530 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75279,8 +75859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *336 - - *337 + - *342 + - *343 - name: tag_sha in: path required: true @@ -75291,9 +75871,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '404': *6 '409': *54 x-github: @@ -75317,8 +75897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -75391,7 +75971,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &531 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75487,8 +76067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *336 - - *337 + - *342 + - *343 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75511,7 +76091,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *531 examples: default-response: summary: Default response @@ -75570,8 +76150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -75581,7 +76161,7 @@ paths: application/json: schema: type: array - items: &526 + items: &532 title: Webhook description: Webhooks for repositories. type: object @@ -75635,7 +76215,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &769 + last_response: &775 title: Hook Response type: object properties: @@ -75690,7 +76270,7 @@ paths: status: unused message: headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -75709,8 +76289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -75762,9 +76342,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: &527 + default: &533 value: type: Repository id: 12345678 @@ -75812,17 +76392,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '200': description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: *527 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -75842,9 +76422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 requestBody: required: true content: @@ -75889,9 +76469,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: *527 + default: *533 '422': *15 '404': *6 x-github: @@ -75912,9 +76492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '204': description: Response @@ -75938,9 +76518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '200': description: Response @@ -75967,9 +76547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 requestBody: required: false content: @@ -76013,11 +76593,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 - *17 - - *211 + - *216 + - *217 responses: '200': description: Response @@ -76025,9 +76606,9 @@ paths: application/json: schema: type: array - items: *212 + items: *218 examples: - default: *213 + default: *219 '400': *14 '422': *15 x-github: @@ -76046,18 +76627,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 '400': *14 '422': *15 x-github: @@ -76076,9 +76657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 - *16 responses: '202': *39 @@ -76101,9 +76682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '204': description: Response @@ -76128,9 +76709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *336 - - *337 - - *210 + - *342 + - *343 + - *215 responses: '204': description: Response @@ -76153,8 +76734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response if immutable releases are enabled @@ -76200,10 +76781,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *336 - - *337 + - *342 + - *343 responses: - '204': *187 + '204': *192 '409': *54 x-github: githubCloudOnly: false @@ -76221,10 +76802,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *336 - - *337 + - *342 + - *343 responses: - '204': *187 + '204': *192 '409': *54 x-github: githubCloudOnly: false @@ -76279,14 +76860,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &528 + schema: &534 title: Import description: A repository import from an external source. type: object @@ -76385,7 +76966,7 @@ paths: - html_url - authors_url examples: - default: &531 + default: &537 value: vcs: subversion use_lfs: true @@ -76401,7 +76982,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': &529 + '503': &535 description: Unavailable due to service under maintenance. content: application/json: @@ -76430,8 +77011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -76479,7 +77060,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: default: value: @@ -76504,7 +77085,7 @@ paths: type: string '422': *15 '404': *6 - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76532,8 +77113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -76582,7 +77163,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: example-1: summary: Example 1 @@ -76630,7 +77211,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': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76653,12 +77234,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76684,9 +77265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *336 - - *337 - - &698 + - *342 + - *343 + - &704 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76700,7 +77281,7 @@ paths: application/json: schema: type: array - items: &530 + items: &536 title: Porter Author description: Porter Author type: object @@ -76754,7 +77335,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': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76779,8 +77360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *336 - - *337 + - *342 + - *343 - name: author_id in: path required: true @@ -76810,7 +77391,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: default: value: @@ -76823,7 +77404,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76847,8 +77428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -76889,7 +77470,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76917,8 +77498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -76945,11 +77526,11 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *531 + default: *537 '422': *15 - '503': *529 + '503': *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76972,8 +77553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -76981,8 +77562,8 @@ paths: application/json: schema: *22 examples: - default: *532 - '301': *340 + default: *538 + '301': *346 '404': *6 x-github: githubCloudOnly: false @@ -77002,8 +77583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -77011,12 +77592,12 @@ paths: application/json: schema: anyOf: - - *228 + - *234 - type: object properties: {} additionalProperties: false examples: - default: &534 + default: &540 value: limit: collaborators_only origin: repository @@ -77041,13 +77622,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: application/json: - schema: *533 + schema: *539 examples: default: summary: Example request body @@ -77059,9 +77640,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *234 examples: - default: *534 + default: *540 '409': description: Response x-github: @@ -77083,8 +77664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -77107,8 +77688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -77118,9 +77699,9 @@ paths: application/json: schema: type: array - items: *535 + items: *541 examples: - default: &690 + default: &696 value: - id: 1 repository: @@ -77234,7 +77815,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77251,9 +77832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *336 - - *337 - - *232 + - *342 + - *343 + - *238 requestBody: required: false content: @@ -77282,7 +77863,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *541 examples: default: value: @@ -77413,9 +77994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *336 - - *337 - - *232 + - *342 + - *343 + - *238 responses: '204': description: Response @@ -77446,8 +78027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *336 - - *337 + - *342 + - *343 - 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 @@ -77495,7 +78076,7 @@ paths: required: false schema: type: string - - *239 + - *245 - name: sort description: What to sort results by. in: query @@ -77507,8 +78088,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -77518,9 +78099,9 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: &547 + default: &553 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77668,8 +78249,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '422': *15 '404': *6 x-github: @@ -77698,8 +78279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -77774,9 +78355,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: &544 + default: &550 value: id: 1 node_id: MDU6SXNzdWUx @@ -77931,9 +78512,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *116 + '503': *121 '404': *6 - '410': *536 + '410': *542 x-github: triggersNotification: true githubCloudOnly: false @@ -77961,9 +78542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *336 - - *337 - - *103 + - *342 + - *343 + - *109 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -77973,7 +78554,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -77983,9 +78564,9 @@ paths: application/json: schema: type: array - items: *537 + items: *543 examples: - default: &546 + default: &552 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78016,7 +78597,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '422': *15 '404': *6 x-github: @@ -78043,17 +78624,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '200': description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: &538 + default: &544 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78108,9 +78689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -78132,9 +78713,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: *538 + default: *544 '422': *15 x-github: githubCloudOnly: false @@ -78152,9 +78733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '204': description: Response @@ -78182,15 +78763,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '200': description: Response content: application/json: - schema: *537 + schema: *543 examples: default: value: @@ -78246,7 +78827,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *536 + '410': *542 '422': *15 x-github: githubCloudOnly: false @@ -78263,17 +78844,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *536 - '503': *116 + '410': *542 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78290,9 +78871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -78318,11 +78899,11 @@ paths: application/json: schema: type: array - items: *468 + items: *474 examples: - default: *539 + default: *545 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -78341,9 +78922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -78375,16 +78956,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '201': description: Reaction created content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -78406,10 +78987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *336 - - *337 - - *95 - - *540 + - *342 + - *343 + - *101 + - *546 responses: '204': description: Response @@ -78429,8 +79010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -78440,7 +79021,7 @@ paths: application/json: schema: type: array - items: &543 + items: &549 title: Issue Event description: Issue Event type: object @@ -78483,8 +79064,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *541 - required: *542 + properties: *547 + required: *548 nullable: true label: title: Issue Event Label @@ -78528,7 +79109,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *193 + requested_team: *198 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78593,7 +79174,7 @@ paths: required: - from - to - author_association: *76 + author_association: *82 lock_reason: type: string nullable: true @@ -78606,8 +79187,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -78774,7 +79355,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -78792,8 +79373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *336 - - *337 + - *342 + - *343 - name: event_id in: path required: true @@ -78804,7 +79385,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: default: value: @@ -78997,7 +79578,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *536 + '410': *542 '403': *29 x-github: githubCloudOnly: false @@ -79031,9 +79612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *336 - - *337 - - &545 + - *342 + - *343 + - &551 name: issue_number description: The number that identifies the issue. in: path @@ -79045,11 +79626,11 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: default: summary: Issue - value: *544 + value: *550 pinned_comment: summary: Issue with pinned comment value: @@ -79248,9 +79829,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *340 + '301': *346 '404': *6 - '410': *536 + '410': *542 '304': *37 x-github: githubCloudOnly: false @@ -79275,9 +79856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -79396,15 +79977,15 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 '422': *15 - '503': *116 + '503': *121 '403': *29 - '301': *340 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79422,9 +80003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -79450,9 +80031,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79468,9 +80049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: content: application/json: @@ -79495,9 +80076,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79519,9 +80100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - name: assignee in: path required: true @@ -79561,10 +80142,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *336 - - *337 - - *545 - - *86 + - *342 + - *343 + - *551 + - *92 - *17 - *19 responses: @@ -79574,13 +80155,13 @@ paths: application/json: schema: type: array - items: *537 + items: *543 examples: - default: *546 + default: *552 headers: - Link: *61 + Link: *67 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79609,9 +80190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -79633,16 +80214,16 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: *538 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *536 + '410': *542 '422': *15 '404': *6 x-github: @@ -79670,9 +80251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -79682,14 +80263,14 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *547 + default: *553 headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79717,9 +80298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -79741,17 +80322,17 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *340 + '301': *346 '403': *29 - '410': *536 + '410': *542 '422': *15 '404': *6 x-github: @@ -79782,9 +80363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79796,15 +80377,15 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 - '301': *340 + default: *550 + '301': *346 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *536 + '410': *542 x-github: triggersNotification: true githubCloudOnly: false @@ -79830,9 +80411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -79842,14 +80423,14 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *547 + default: *553 headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79866,9 +80447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -79882,7 +80463,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &550 + - &556 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79913,8 +80494,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 label: type: object properties: @@ -79936,7 +80517,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &557 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79967,8 +80548,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 label: type: object properties: @@ -80056,8 +80637,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 assigner: *4 required: @@ -80072,7 +80653,7 @@ paths: - performed_via_github_app - assignee - assigner - - &552 + - &558 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80103,8 +80684,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 milestone: type: object properties: @@ -80123,7 +80704,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &559 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80154,8 +80735,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 milestone: type: object properties: @@ -80174,7 +80755,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &560 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80205,8 +80786,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 rename: type: object properties: @@ -80228,7 +80809,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &561 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80259,10 +80840,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 review_requester: *4 - requested_team: *193 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -80275,7 +80856,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &562 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80306,10 +80887,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 review_requester: *4 - requested_team: *193 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -80322,7 +80903,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &563 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80353,8 +80934,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 dismissed_review: type: object properties: @@ -80382,7 +80963,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &564 title: Locked Issue Event description: Locked Issue Event type: object @@ -80413,8 +80994,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 lock_reason: type: string example: '"off-topic"' @@ -80430,7 +81011,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &565 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80461,8 +81042,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -80496,7 +81077,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &566 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80527,8 +81108,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -80562,7 +81143,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &567 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80593,8 +81174,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -80628,7 +81209,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &568 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80718,8 +81299,8 @@ paths: name: label color: red headers: - Link: *61 - '410': *536 + Link: *67 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80736,9 +81317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -80748,9 +81329,9 @@ paths: application/json: schema: type: array - items: *548 + items: *554 examples: - default: &661 + default: &667 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -80773,10 +81354,10 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80793,9 +81374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -80805,9 +81386,9 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: &549 + default: &555 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80824,10 +81405,10 @@ paths: color: a2eeef default: false headers: - Link: *61 - '301': *340 + Link: *67 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80843,9 +81424,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -80888,12 +81469,12 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *549 - '301': *340 + default: *555 + '301': *346 '404': *6 - '410': *536 + '410': *542 '422': *15 x-github: githubCloudOnly: false @@ -80910,9 +81491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -80972,12 +81553,12 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *549 - '301': *340 + default: *555 + '301': *346 '404': *6 - '410': *536 + '410': *542 '422': *15 x-github: githubCloudOnly: false @@ -80994,15 +81575,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 responses: '204': description: Response - '301': *340 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81021,9 +81602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - name: name in: path required: true @@ -81036,7 +81617,7 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: default: value: @@ -81047,9 +81628,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *340 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81069,9 +81650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: false content: @@ -81099,7 +81680,7 @@ paths: '204': description: Response '403': *29 - '410': *536 + '410': *542 '404': *6 '422': *15 x-github: @@ -81117,9 +81698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 responses: '204': description: Response @@ -81149,20 +81730,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 responses: '200': description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 - '301': *340 + default: *550 + '301': *346 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81179,9 +81760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81207,13 +81788,13 @@ paths: application/json: schema: type: array - items: *468 + items: *474 examples: - default: *539 + default: *545 headers: - Link: *61 + Link: *67 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81231,9 +81812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -81265,16 +81846,16 @@ paths: description: Response content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '201': description: Response content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -81296,10 +81877,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *336 - - *337 - - *545 - - *540 + - *342 + - *343 + - *551 + - *546 responses: '204': description: Response @@ -81328,9 +81909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -81352,9 +81933,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81387,9 +81968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -81399,13 +81980,13 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *547 + default: *553 headers: - Link: *61 + Link: *67 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81433,9 +82014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -81462,16 +82043,16 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *536 + '410': *542 '422': *15 '404': *6 x-github: @@ -81491,9 +82072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 requestBody: required: true content: @@ -81524,13 +82105,13 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *544 + default: *550 '403': *29 '404': *6 '422': *7 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -81548,9 +82129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *336 - - *337 - - *545 + - *342 + - *343 + - *551 - *17 - *19 responses: @@ -81565,12 +82146,6 @@ paths: description: Timeline Event type: object anyOf: - - *550 - - *551 - - *552 - - *553 - - *554 - - *555 - *556 - *557 - *558 @@ -81578,6 +82153,12 @@ paths: - *560 - *561 - *562 + - *563 + - *564 + - *565 + - *566 + - *567 + - *568 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81620,7 +82201,7 @@ paths: issue_url: type: string format: uri - author_association: *76 + author_association: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -81630,16 +82211,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - reactions: *77 + properties: *80 + required: *81 + reactions: *83 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *563 - required: *564 + properties: *569 + required: *570 nullable: true required: - event @@ -81671,7 +82252,7 @@ paths: properties: type: type: string - issue: *79 + issue: *85 required: - event - created_at @@ -81871,7 +82452,7 @@ paths: type: string body_text: type: string - author_association: *76 + author_association: *82 required: - event - id @@ -81894,7 +82475,7 @@ paths: type: string comments: type: array - items: &584 + items: &590 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81989,7 +82570,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *76 + author_association: *82 _links: type: object properties: @@ -82073,7 +82654,7 @@ paths: enum: - line - file - reactions: *77 + reactions: *83 body_html: type: string example: '"

comment body

"' @@ -82109,7 +82690,7 @@ paths: type: string comments: type: array - items: *467 + items: *473 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82140,8 +82721,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 required: - id @@ -82184,8 +82765,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 required: - id @@ -82228,8 +82809,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 state_reason: type: string nullable: true @@ -82396,9 +82977,9 @@ paths: type: User site_admin: true headers: - Link: *61 + Link: *67 '404': *6 - '410': *536 + '410': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82415,8 +82996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -82426,7 +83007,7 @@ paths: application/json: schema: type: array - items: &565 + items: &571 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82476,7 +83057,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82492,8 +83073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -82529,9 +83110,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *571 examples: - default: &566 + default: &572 value: id: 1 key: ssh-rsa AAA... @@ -82565,9 +83146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *336 - - *337 - - &567 + - *342 + - *343 + - &573 name: key_id description: The unique identifier of the key. in: path @@ -82579,9 +83160,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *571 examples: - default: *566 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -82599,9 +83180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *336 - - *337 - - *567 + - *342 + - *343 + - *573 responses: '204': description: Response @@ -82621,8 +83202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -82632,11 +83213,11 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *549 + default: *555 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -82655,8 +83236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -82692,9 +83273,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: - default: &568 + default: &574 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82726,8 +83307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *336 - - *337 + - *342 + - *343 - name: name in: path required: true @@ -82738,9 +83319,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: - default: *568 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -82757,8 +83338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *336 - - *337 + - *342 + - *343 - name: name in: path required: true @@ -82797,7 +83378,7 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: default: value: @@ -82823,8 +83404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *336 - - *337 + - *342 + - *343 - name: name in: path required: true @@ -82850,8 +83431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -82890,9 +83471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *336 - - *337 - - *440 + - *342 + - *343 + - *446 responses: '200': description: Response @@ -82954,8 +83535,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true required: - _links @@ -83037,8 +83618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83103,8 +83684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83138,9 +83719,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *470 + schema: *476 examples: - default: *569 + default: *575 '204': description: Response when already merged '404': @@ -83165,8 +83746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *336 - - *337 + - *342 + - *343 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83207,12 +83788,12 @@ paths: application/json: schema: type: array - items: &570 + items: &576 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *279 + required: *280 examples: default: value: @@ -83251,7 +83832,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -83268,8 +83849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83309,9 +83890,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *576 examples: - default: &571 + default: &577 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83370,9 +83951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *336 - - *337 - - &572 + - *342 + - *343 + - &578 name: milestone_number description: The number that identifies the milestone. in: path @@ -83384,9 +83965,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *576 examples: - default: *571 + default: *577 '404': *6 x-github: githubCloudOnly: false @@ -83403,9 +83984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *336 - - *337 - - *572 + - *342 + - *343 + - *578 requestBody: required: false content: @@ -83443,9 +84024,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *576 examples: - default: *571 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83461,9 +84042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *336 - - *337 - - *572 + - *342 + - *343 + - *578 responses: '204': description: Response @@ -83484,9 +84065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *336 - - *337 - - *572 + - *342 + - *343 + - *578 - *17 - *19 responses: @@ -83496,11 +84077,11 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *549 + default: *555 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83517,12 +84098,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *336 - - *337 - - *573 - - *574 - - *86 - - *575 + - *342 + - *343 + - *579 + - *580 + - *92 + - *581 - *17 - *19 responses: @@ -83532,11 +84113,11 @@ paths: application/json: schema: type: array - items: *106 + items: *112 examples: - default: *576 + default: *582 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83558,8 +84139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -83617,14 +84198,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: &577 + schema: &583 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83749,7 +84330,7 @@ paths: - custom_404 - public examples: - default: &578 + default: &584 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83790,8 +84371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83845,9 +84426,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *583 examples: - default: *578 + default: *584 '422': *15 '409': *54 x-github: @@ -83870,8 +84451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -83970,8 +84551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -83997,8 +84578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -84008,7 +84589,7 @@ paths: application/json: schema: type: array - items: &579 + items: &585 title: Page Build description: Page Build type: object @@ -84083,7 +84664,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84102,8 +84683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *336 - - *337 + - *342 + - *343 responses: '201': description: Response @@ -84148,16 +84729,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *579 + schema: *585 examples: - default: &580 + default: &586 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84205,8 +84786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *336 - - *337 + - *342 + - *343 - name: build_id in: path required: true @@ -84217,9 +84798,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *585 examples: - default: *580 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84239,8 +84820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -84345,9 +84926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *336 - - *337 - - &581 + - *342 + - *343 + - &587 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84405,11 +84986,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *336 - - *337 - - *581 + - *342 + - *343 + - *587 responses: - '204': *187 + '204': *192 '404': *6 x-github: githubCloudOnly: false @@ -84434,8 +85015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -84666,7 +85247,7 @@ paths: description: Empty response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -84693,8 +85274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Private vulnerability reporting status @@ -84731,10 +85312,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: - '204': *187 + '204': *192 '422': *14 x-github: githubCloudOnly: false @@ -84753,10 +85334,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: - '204': *187 + '204': *192 '422': *14 x-github: githubCloudOnly: false @@ -84776,8 +85357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -84785,7 +85366,7 @@ paths: application/json: schema: type: array - items: *288 + items: *294 examples: default: value: @@ -84816,8 +85397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -84829,7 +85410,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *288 + items: *294 required: - properties examples: @@ -84879,8 +85460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *336 - - *337 + - *342 + - *343 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84940,11 +85521,11 @@ paths: application/json: schema: type: array - items: *474 + items: *480 examples: - default: *582 + default: *588 headers: - Link: *61 + Link: *67 '304': *37 '422': *15 x-github: @@ -84974,8 +85555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -85040,7 +85621,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &592 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85151,8 +85732,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *279 + required: *280 nullable: true active_lock_reason: type: string @@ -85184,7 +85765,7 @@ paths: items: *4 requested_teams: type: array - items: *325 + items: *331 head: type: object properties: @@ -85192,7 +85773,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: *4 @@ -85209,7 +85790,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: *4 @@ -85222,14 +85803,14 @@ paths: _links: type: object properties: - comments: *275 - commits: *275 - statuses: *275 - html: *275 - issue: *275 - review_comments: *275 - review_comment: *275 - self: *275 + comments: *281 + commits: *281 + statuses: *281 + html: *281 + issue: *281 + review_comments: *281 + review_comment: *281 + self: *281 required: - comments - commits @@ -85239,8 +85820,8 @@ paths: - review_comments - review_comment - self - author_association: *76 - auto_merge: *583 + author_association: *82 + auto_merge: *589 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -85330,7 +85911,7 @@ paths: - merged_by - review_comments examples: - default: &587 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85857,8 +86438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *336 - - *337 + - *342 + - *343 - name: sort in: query required: false @@ -85877,7 +86458,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -85887,9 +86468,9 @@ paths: application/json: schema: type: array - items: *584 + items: *590 examples: - default: &589 + default: &595 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85941,7 +86522,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85966,17 +86547,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '200': description: Response content: application/json: - schema: *584 + schema: *590 examples: - default: &585 + default: &591 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86051,9 +86632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -86075,9 +86656,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: - default: *585 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86093,9 +86674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 responses: '204': description: Response @@ -86116,9 +86697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86144,11 +86725,11 @@ paths: application/json: schema: type: array - items: *468 + items: *474 examples: - default: *539 + default: *545 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -86167,9 +86748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *336 - - *337 - - *95 + - *342 + - *343 + - *101 requestBody: required: true content: @@ -86201,16 +86782,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '201': description: Reaction created content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -86232,10 +86813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *336 - - *337 - - *95 - - *540 + - *342 + - *343 + - *101 + - *546 responses: '204': description: Response @@ -86278,9 +86859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *336 - - *337 - - &588 + - *342 + - *343 + - &594 name: pull_number description: The number that identifies the pull request. in: path @@ -86293,9 +86874,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *586 + schema: *592 examples: - default: *587 + default: *593 '304': *37 '404': *6 '406': @@ -86303,8 +86884,8 @@ paths: content: application/json: schema: *3 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86330,9 +86911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -86374,9 +86955,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *592 examples: - default: *587 + default: *593 '422': *15 '403': *29 x-github: @@ -86398,9 +86979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: true content: @@ -86460,21 +87041,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86500,10 +87081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *336 - - *337 - - *588 - - *103 + - *342 + - *343 + - *594 + - *109 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86513,7 +87094,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -86523,11 +87104,11 @@ paths: application/json: schema: type: array - items: *584 + items: *590 examples: - default: *589 + default: *595 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86558,9 +87139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: true content: @@ -86665,7 +87246,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: example-for-a-multi-line-comment: value: @@ -86753,10 +87334,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *336 - - *337 - - *588 - - *95 + - *342 + - *343 + - *594 + - *101 requestBody: required: true content: @@ -86778,7 +87359,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: default: value: @@ -86864,9 +87445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 - *17 - *19 responses: @@ -86876,11 +87457,11 @@ paths: application/json: schema: type: array - items: *470 + items: *476 examples: - default: *590 + default: *596 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86908,9 +87489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 - *17 - *19 responses: @@ -86920,7 +87501,7 @@ paths: application/json: schema: type: array - items: *483 + items: *489 examples: default: value: @@ -86936,10 +87517,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *61 + Link: *67 '422': *15 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86958,9 +87539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 responses: '204': description: Response if pull request has been merged @@ -86983,9 +87564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -87096,9 +87677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 responses: '200': description: Response @@ -87114,7 +87695,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 required: - users - teams @@ -87155,7 +87736,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87173,9 +87754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -87212,7 +87793,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *480 examples: default: value: @@ -87748,9 +88329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: true content: @@ -87784,7 +88365,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *480 examples: default: value: @@ -88289,9 +88870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 - *17 - *19 responses: @@ -88301,7 +88882,7 @@ paths: application/json: schema: type: array - items: &591 + items: &597 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88370,7 +88951,7 @@ paths: type: string body_text: type: string - author_association: *76 + author_association: *82 required: - id - node_id @@ -88419,7 +89000,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88452,9 +89033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -88540,9 +89121,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: &593 + default: &599 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88605,10 +89186,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - &592 + - *342 + - *343 + - *594 + - &598 name: review_id description: The unique identifier of the review. in: path @@ -88620,9 +89201,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: &594 + default: &600 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88681,10 +89262,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 requestBody: required: true content: @@ -88707,7 +89288,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: default: value: @@ -88769,18 +89350,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 responses: '200': description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: *593 + default: *599 '422': *7 '404': *6 x-github: @@ -88807,10 +89388,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 - *17 - *19 responses: @@ -88889,13 +89470,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *76 + author_association: *82 _links: type: object properties: - self: *275 - html: *275 - pull_request: *275 + self: *281 + html: *281 + pull_request: *281 required: - self - html @@ -88904,7 +89485,7 @@ paths: type: string body_html: type: string - reactions: *77 + reactions: *83 side: description: The side of the first line of the range for a multi-line comment. @@ -89016,7 +89597,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -89045,10 +89626,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 requestBody: required: true content: @@ -89076,7 +89657,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: default: value: @@ -89139,10 +89720,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *336 - - *337 - - *588 - - *592 + - *342 + - *343 + - *594 + - *598 requestBody: required: true content: @@ -89177,9 +89758,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: *594 + default: *600 '404': *6 '422': *7 '403': *29 @@ -89201,9 +89782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *336 - - *337 - - *588 + - *342 + - *343 + - *594 requestBody: required: false content: @@ -89266,8 +89847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *336 - - *337 + - *342 + - *343 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89280,9 +89861,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: &596 + default: &602 value: type: file encoding: base64 @@ -89324,8 +89905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *336 - - *337 + - *342 + - *343 - name: dir description: The alternate path to look for a README file in: path @@ -89345,9 +89926,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: *596 + default: *602 '404': *6 '422': *15 x-github: @@ -89369,8 +89950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -89380,7 +89961,7 @@ paths: application/json: schema: type: array - items: *597 + items: *603 examples: default: value: @@ -89454,7 +90035,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -89474,8 +90055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -89551,9 +90132,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *603 examples: - default: &601 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89658,9 +90239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *336 - - *337 - - &599 + - *342 + - *343 + - &605 name: asset_id description: The unique identifier of the asset. in: path @@ -89672,9 +90253,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &600 + default: &606 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 @@ -89709,7 +90290,7 @@ paths: type: User site_admin: false '404': *6 - '302': *485 + '302': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89725,9 +90306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *336 - - *337 - - *599 + - *342 + - *343 + - *605 requestBody: required: false content: @@ -89755,9 +90336,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *600 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89773,12 +90354,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *336 - - *337 - - *599 + - *342 + - *343 + - *605 responses: '204': description: Response + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89799,8 +90381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -89885,16 +90467,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response content: application/json: - schema: *597 + schema: *603 examples: - default: *601 + default: *607 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89911,8 +90494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *336 - - *337 + - *342 + - *343 - name: tag description: tag parameter in: path @@ -89925,9 +90508,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *603 examples: - default: *601 + default: *607 '404': *6 x-github: githubCloudOnly: false @@ -89949,9 +90532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *336 - - *337 - - &602 + - *342 + - *343 + - &608 name: release_id description: The unique identifier of the release. in: path @@ -89965,9 +90548,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *597 + schema: *603 examples: - default: *601 + default: *607 '401': description: Unauthorized x-github: @@ -89985,9 +90568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 requestBody: required: false content: @@ -90051,9 +90634,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *603 examples: - default: *601 + default: *607 '404': description: Not Found if the discussion category name is invalid content: @@ -90074,12 +90657,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 responses: '204': description: Response + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90096,9 +90680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 - *17 - *19 responses: @@ -90108,7 +90692,7 @@ paths: application/json: schema: type: array - items: *598 + items: *604 examples: default: value: @@ -90145,7 +90729,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90189,9 +90773,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: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 - name: name in: query required: true @@ -90217,7 +90801,7 @@ paths: description: Response for successful upload content: application/json: - schema: *598 + schema: *604 examples: response-for-successful-upload: value: @@ -90272,9 +90856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90298,11 +90882,11 @@ paths: application/json: schema: type: array - items: *468 + items: *474 examples: - default: *539 + default: *545 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -90321,9 +90905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *336 - - *337 - - *602 + - *342 + - *343 + - *608 requestBody: required: true content: @@ -90353,16 +90937,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '201': description: Reaction created content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '422': *15 x-github: githubCloudOnly: false @@ -90384,10 +90968,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *336 - - *337 - - *602 - - *540 + - *342 + - *343 + - *608 + - *546 responses: '204': description: Response @@ -90411,9 +90995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *336 - - *337 - - *403 + - *342 + - *343 + - *409 - *17 - *19 responses: @@ -90429,8 +91013,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *297 - - &603 + - *303 + - &609 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90449,69 +91033,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *298 - - *603 - - allOf: - - *299 - - *603 - - allOf: - - *300 - - *603 - - allOf: - - *604 - - *603 - - allOf: - - *301 - - *603 - - allOf: - - *302 - - *603 - - allOf: - - *303 - - *603 - allOf: - *304 - - *603 + - *609 - allOf: - *305 - - *603 + - *609 - allOf: - *306 - - *603 + - *609 + - allOf: + - *610 + - *609 - allOf: - *307 - - *603 + - *609 - allOf: - *308 - - *603 + - *609 - allOf: - *309 - - *603 + - *609 - allOf: - *310 - - *603 + - *609 - allOf: - *311 - - *603 + - *609 - allOf: - *312 - - *603 + - *609 - allOf: - *313 - - *603 + - *609 - allOf: - *314 - - *603 + - *609 - allOf: - *315 - - *603 + - *609 - allOf: - *316 - - *603 + - *609 - allOf: - *317 - - *603 + - *609 + - allOf: + - *318 + - *609 + - allOf: + - *319 + - *609 + - allOf: + - *320 + - *609 + - allOf: + - *321 + - *609 + - allOf: + - *322 + - *609 + - allOf: + - *323 + - *609 examples: default: value: @@ -90550,8 +91134,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 - name: includes_parents @@ -90562,7 +91146,7 @@ paths: schema: type: boolean default: true - - *605 + - *611 responses: '200': description: Response @@ -90570,7 +91154,7 @@ paths: application/json: schema: type: array - items: *318 + items: *324 examples: default: value: @@ -90601,7 +91185,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90617,8 +91201,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 requestBody: description: Request body required: true @@ -90638,16 +91222,16 @@ paths: - tag - push default: branch - enforcement: *294 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *295 - conditions: *292 + items: *301 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: *606 + items: *612 required: - name - enforcement @@ -90678,9 +91262,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: &616 + default: &622 value: id: 42 name: super cool ruleset @@ -90714,7 +91298,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *115 + '500': *55 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90728,12 +91312,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *336 - - *337 - - *607 - - *608 - - *609 - - *610 + - *342 + - *343 + - *613 + - *614 + - *615 + - *616 - *17 - *19 responses: @@ -90741,11 +91325,11 @@ paths: description: Response content: application/json: - schema: *611 + schema: *617 examples: - default: *612 + default: *618 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90764,19 +91348,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *336 - - *337 - - *613 + - *342 + - *343 + - *619 responses: '200': description: Response content: application/json: - schema: *614 + schema: *620 examples: - default: *615 + default: *621 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90802,8 +91386,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90823,11 +91407,11 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *616 + default: *622 '404': *6 - '500': *115 + '500': *55 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -90843,8 +91427,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90869,16 +91453,16 @@ paths: - branch - tag - push - enforcement: *294 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *295 - conditions: *292 + items: *301 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *606 + items: *612 examples: default: value: @@ -90906,12 +91490,12 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *616 + default: *622 '404': *6 '422': *15 - '500': *115 + '500': *55 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -90927,8 +91511,8 @@ paths: category: repos subcategory: rules parameters: - - *336 - - *337 + - *342 + - *343 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90939,7 +91523,7 @@ paths: '204': description: Response '404': *6 - '500': *115 + '500': *55 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -90951,8 +91535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 - name: ruleset_id @@ -90968,11 +91552,11 @@ paths: application/json: schema: type: array - items: *321 + items: *327 examples: - default: *617 + default: *623 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90989,8 +91573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *336 - - *337 + - *342 + - *343 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91008,7 +91592,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *624 examples: default: value: @@ -91041,7 +91625,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91063,22 +91647,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *336 - - *337 - - *619 - - *620 - - *621 - - *622 - - *623 - - *55 - - *19 - - *17 - - *624 + - *342 + - *343 - *625 - *626 - *627 - *628 - *629 + - *61 + - *19 + - *17 + - *630 + - *631 + - *632 + - *633 + - *634 + - *635 responses: '200': description: Response @@ -91086,11 +91670,11 @@ paths: application/json: schema: type: array - items: &633 + items: &639 type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -91098,15 +91682,15 @@ paths: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *630 - resolution: *631 + state: *636 + resolution: *637 resolved_at: type: string format: date-time @@ -91202,7 +91786,7 @@ paths: pull request. ' - oneOf: *632 + oneOf: *638 nullable: true has_more_locations: type: boolean @@ -91329,7 +91913,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91351,16 +91935,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *336 - - *337 - - *434 - - *629 + - *342 + - *343 + - *440 + - *635 responses: '200': description: Response content: application/json: - schema: *633 + schema: *639 examples: default: value: @@ -91391,7 +91975,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91414,9 +91998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 requestBody: required: true content: @@ -91424,8 +92008,8 @@ paths: schema: type: object properties: - state: *630 - resolution: *631 + state: *636 + resolution: *637 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91441,6 +92025,8 @@ paths: - state - required: - assignee + - required: + - validity examples: default: value: @@ -91459,7 +92045,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *639 examples: default: value: @@ -91532,7 +92118,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91554,9 +92140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *336 - - *337 - - *434 + - *342 + - *343 + - *440 - *19 - *17 responses: @@ -91567,7 +92153,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &791 + items: &797 type: object properties: type: @@ -91593,12 +92179,6 @@ paths: example: commit details: oneOf: - - *634 - - *635 - - *636 - - *637 - - *638 - - *639 - *640 - *641 - *642 @@ -91606,6 +92186,12 @@ paths: - *644 - *645 - *646 + - *647 + - *648 + - *649 + - *650 + - *651 + - *652 examples: default: value: @@ -91665,11 +92251,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *61 + Link: *67 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91691,8 +92277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -91700,14 +92286,14 @@ paths: schema: type: object properties: - reason: &648 + reason: &654 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *647 + placeholder_id: *653 required: - reason - placeholder_id @@ -91724,7 +92310,7 @@ paths: schema: type: object properties: - reason: *648 + reason: *654 expire_at: type: string format: date-time @@ -91747,7 +92333,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91770,13 +92356,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *116 + '503': *121 '200': description: Response content: @@ -91786,7 +92372,7 @@ paths: properties: incremental_scans: type: array - items: &649 + items: &655 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91812,15 +92398,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *649 + items: *655 backfill_scans: type: array - items: *649 + items: *655 custom_pattern_backfill_scans: type: array items: allOf: - - *649 + - *655 - type: object properties: pattern_name: @@ -91890,9 +92476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *336 - - *337 - - *55 + - *342 + - *343 + - *61 - name: sort description: The property to sort the results by. in: query @@ -91935,9 +92521,9 @@ paths: application/json: schema: type: array - items: *650 + items: *656 examples: - default: *651 + default: *657 '400': *14 '404': *6 x-github: @@ -91960,8 +92546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -92034,7 +92620,7 @@ paths: login: type: string description: The username of the user credited. - type: *324 + type: *330 required: - login - type @@ -92121,9 +92707,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *656 examples: - default: &653 + default: &659 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92356,8 +92942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -92461,7 +93047,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *656 examples: default: value: @@ -92608,17 +93194,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *336 - - *337 - - *652 + - *342 + - *343 + - *658 responses: '200': description: Response content: application/json: - schema: *650 + schema: *656 examples: - default: *653 + default: *659 '403': *29 '404': *6 x-github: @@ -92642,9 +93228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *336 - - *337 - - *652 + - *342 + - *343 + - *658 requestBody: required: true content: @@ -92717,7 +93303,7 @@ paths: login: type: string description: The username of the user credited. - type: *324 + type: *330 required: - login - type @@ -92803,17 +93389,17 @@ paths: description: Response content: application/json: - schema: *650 + schema: *656 examples: - default: *653 - add_credit: *653 + default: *659 + add_credit: *659 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *124 + schema: *129 examples: invalid_state_transition: value: @@ -92844,9 +93430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *336 - - *337 - - *652 + - *342 + - *343 + - *658 responses: '202': *39 '400': *14 @@ -92873,17 +93459,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *336 - - *337 - - *652 + - *342 + - *343 + - *658 responses: '202': description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 + default: *347 '400': *14 '422': *15 '403': *29 @@ -92909,8 +93495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -92987,7 +93573,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -93009,8 +93595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93019,7 +93605,7 @@ paths: application/json: schema: type: array - items: &654 + items: &660 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93032,7 +93618,7 @@ paths: - 1124 - -435 '202': *39 - '204': *187 + '204': *192 '422': description: Repository contains more than 10,000 commits x-github: @@ -93052,8 +93638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -93102,7 +93688,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93129,8 +93715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -93204,7 +93790,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93226,8 +93812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93381,8 +93967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93392,7 +93978,7 @@ paths: application/json: schema: type: array - items: *654 + items: *660 examples: default: value: @@ -93405,7 +93991,7 @@ paths: - - 0 - 2 - 21 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93425,8 +94011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *336 - - *337 + - *342 + - *343 - name: sha in: path required: true @@ -93480,7 +94066,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *661 examples: default: value: @@ -93534,8 +94120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -93547,9 +94133,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93567,14 +94153,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &656 + schema: &662 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93642,8 +94228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: false content: @@ -93669,7 +94255,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *662 examples: default: value: @@ -93696,8 +94282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -93717,8 +94303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -93774,7 +94360,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93797,8 +94383,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *336 - - *337 + - *342 + - *343 - name: ref in: path required: true @@ -93834,8 +94420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *336 - - *337 + - *342 + - *343 - *17 - *19 responses: @@ -93845,11 +94431,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *253 + default: *259 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -93867,8 +94453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *336 - - *337 + - *342 + - *343 - *19 - *17 responses: @@ -93876,7 +94462,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &663 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93888,7 +94474,7 @@ paths: required: - names examples: - default: &658 + default: &664 value: names: - octocat @@ -93911,8 +94497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -93943,9 +94529,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *663 examples: - default: *658 + default: *664 '404': *6 '422': *7 x-github: @@ -93966,9 +94552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *336 - - *337 - - &659 + - *342 + - *343 + - &665 name: per description: The time frame to display results for. in: query @@ -93997,7 +94583,7 @@ paths: example: 128 clones: type: array - items: &660 + items: &666 title: Traffic type: object properties: @@ -94084,8 +94670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -94175,8 +94761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *336 - - *337 + - *342 + - *343 responses: '200': description: Response @@ -94236,9 +94822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *336 - - *337 - - *659 + - *342 + - *343 + - *665 responses: '200': description: Response @@ -94257,7 +94843,7 @@ paths: example: 3782 views: type: array - items: *660 + items: *666 required: - uniques - count @@ -94334,8 +94920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *336 - - *337 + - *342 + - *343 requestBody: required: true content: @@ -94371,7 +94957,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *161 examples: default: value: @@ -94609,8 +95195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94633,8 +95219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -94656,8 +95242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -94683,8 +95269,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *336 - - *337 + - *342 + - *343 - name: ref in: path required: true @@ -94776,9 +95362,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 + default: *347 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94819,7 +95405,7 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: default: value: @@ -94925,8 +95511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *145 - - *545 + - *150 + - *551 requestBody: required: true content: @@ -94990,14 +95576,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *548 + items: *554 examples: - default: *661 + default: *667 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -95028,8 +95614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *145 - - *545 + - *150 + - *551 requestBody: required: true content: @@ -95094,14 +95680,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *548 + items: *554 examples: - default: *661 + default: *667 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -95127,16 +95713,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *145 - - *545 - - *235 + - *150 + - *551 + - *241 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -95250,7 +95836,7 @@ paths: html_url: type: string format: uri - repository: *156 + repository: *161 score: type: number file_size: @@ -95268,7 +95854,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &662 + text_matches: &668 title: Search Result Text Matches type: array items: @@ -95382,7 +95968,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *116 + '503': *121 '422': *15 '403': *29 x-github: @@ -95430,7 +96016,7 @@ paths: enum: - author-date - committer-date - - &663 + - &669 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 @@ -95501,7 +96087,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *401 + properties: *407 nullable: true comment_count: type: integer @@ -95521,7 +96107,7 @@ paths: url: type: string format: uri - verification: *522 + verification: *528 required: - author - committer @@ -95540,7 +96126,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *401 + properties: *407 nullable: true parents: type: array @@ -95553,12 +96139,12 @@ paths: type: string sha: type: string - repository: *156 + repository: *161 score: type: number node_id: type: string - text_matches: *662 + text_matches: *668 required: - sha - node_id @@ -95750,7 +96336,7 @@ paths: - interactions - created - updated - - *663 + - *669 - *17 - *19 - name: advanced_search @@ -95772,6 +96358,7 @@ paths: - total_count - incomplete_results - items + - search_type properties: total_count: type: integer @@ -95847,11 +96434,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: type: string state_reason: @@ -95861,8 +96448,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *279 + required: *280 nullable: true comments: type: integer @@ -95876,7 +96463,7 @@ paths: type: string format: date-time nullable: true - text_matches: *662 + text_matches: *668 pull_request: type: object properties: @@ -95909,10 +96496,10 @@ paths: type: string score: type: number - author_association: *76 + author_association: *82 draft: type: boolean - repository: *73 + repository: *79 body_html: type: string body_text: @@ -95920,7 +96507,7 @@ paths: timeline_url: type: string format: uri - type: *236 + type: *242 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -95930,17 +96517,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - reactions: *77 + reactions: *83 required: - closed_at - comments @@ -95963,6 +96550,29 @@ paths: - created_at - updated_at - score + search_type: + type: string + description: The type of search that was performed. Possible values + are `lexical`, `semantic`, or `hybrid`. + enum: + - lexical + - semantic + - hybrid + lexical_fallback_reason: + type: array + description: When a semantic or hybrid search falls back to lexical + search, this field contains the reasons for the fallback. Only + present when a fallback occurred. + items: + type: string + enum: + - no_text_terms + - quoted_text + - non_issue_target + - or_boolean_not_supported + - no_accessible_repos + - server_error + - only_non_semantic_fields_requested examples: default: value: @@ -96055,7 +96665,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *116 + '503': *121 '422': *15 '304': *37 '403': *29 @@ -96108,7 +96718,7 @@ paths: enum: - created - updated - - *663 + - *669 - *17 - *19 responses: @@ -96152,7 +96762,7 @@ paths: nullable: true score: type: number - text_matches: *662 + text_matches: *668 required: - id - node_id @@ -96237,7 +96847,7 @@ paths: - forks - help-wanted-issues - updated - - *663 + - *669 - *17 - *19 responses: @@ -96465,8 +97075,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true permissions: type: object @@ -96485,7 +97095,7 @@ paths: - admin - pull - push - text_matches: *662 + text_matches: *668 temp_clone_token: type: string allow_merge_commit: @@ -96687,7 +97297,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *116 + '503': *121 '422': *15 '304': *37 x-github: @@ -96785,7 +97395,7 @@ paths: type: string format: uri nullable: true - text_matches: *662 + text_matches: *668 related: type: array nullable: true @@ -96976,7 +97586,7 @@ paths: - followers - repositories - joined - - *663 + - *669 - *17 - *19 responses: @@ -97080,7 +97690,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *662 + text_matches: *668 blog: type: string nullable: true @@ -97139,7 +97749,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *116 + '503': *121 '422': *15 x-github: githubCloudOnly: false @@ -97159,7 +97769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &666 + - &672 name: team_id description: The unique identifier of the team. in: path @@ -97171,9 +97781,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -97200,7 +97810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *666 + - *672 requestBody: required: true content: @@ -97263,16 +97873,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '201': description: Response content: application/json: - schema: *332 + schema: *338 examples: - default: *333 + default: *339 '404': *6 '422': *15 '403': *29 @@ -97300,7 +97910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *666 + - *672 responses: '204': description: Response @@ -97329,7 +97939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *666 + - *672 - *17 - *19 responses: @@ -97339,11 +97949,11 @@ paths: application/json: schema: type: array - items: *230 + items: *236 examples: - default: *231 + default: *237 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97367,7 +97977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *666 + - *672 - name: role description: Filters members returned by their role in the team. in: query @@ -97390,9 +98000,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -97418,8 +98028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '204': description: if user is a member @@ -97455,8 +98065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '204': description: Response @@ -97495,8 +98105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '204': description: Response @@ -97532,16 +98142,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '200': description: Response content: application/json: - schema: *335 + schema: *341 examples: - response-if-user-is-a-team-maintainer: *667 + response-if-user-is-a-team-maintainer: *673 '404': *6 x-github: githubCloudOnly: false @@ -97574,8 +98184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *666 - - *65 + - *672 + - *71 requestBody: required: false content: @@ -97600,9 +98210,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *341 examples: - response-if-users-membership-with-team-is-now-pending: *668 + response-if-users-membership-with-team-is-now-pending: *674 '403': description: Forbidden if team synchronization is set up '422': @@ -97636,8 +98246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *666 - - *65 + - *672 + - *71 responses: '204': description: Response @@ -97664,7 +98274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *666 + - *672 - *17 - *19 responses: @@ -97674,11 +98284,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *267 + default: *273 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -97706,15 +98316,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *666 - - *336 - - *337 + - *672 + - *342 + - *343 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *669 + schema: *675 examples: alternative-response-with-extra-repository-information: value: @@ -97865,9 +98475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *666 - - *336 - - *337 + - *672 + - *342 + - *343 requestBody: required: false content: @@ -97917,9 +98527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *666 - - *336 - - *337 + - *672 + - *342 + - *343 responses: '204': description: Response @@ -97944,7 +98554,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *666 + - *672 - *17 - *19 responses: @@ -97954,11 +98564,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - response-if-child-teams-exist: *670 + response-if-child-teams-exist: *676 headers: - Link: *61 + Link: *67 '404': *6 '403': *29 '422': *15 @@ -97989,7 +98599,7 @@ paths: application/json: schema: oneOf: - - &671 + - &677 title: Private User description: Private User type: object @@ -98192,7 +98802,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &697 + - &703 title: Public User description: Public User type: object @@ -98504,7 +99114,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *677 examples: default: value: @@ -98583,7 +99193,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '304': *37 '404': *6 '403': *29 @@ -98606,7 +99216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *65 + - *71 responses: '204': description: If the user is blocked @@ -98634,7 +99244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -98658,7 +99268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -98707,11 +99317,11 @@ paths: type: integer codespaces: type: array - items: *241 + items: *247 examples: - default: *242 + default: *248 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -98848,21 +99458,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98902,7 +99512,7 @@ paths: type: integer secrets: type: array - items: &672 + items: &678 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98942,9 +99552,9 @@ paths: - visibility - selected_repositories_url examples: - default: *460 + default: *466 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99012,13 +99622,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 responses: '200': description: Response content: application/json: - schema: *672 + schema: *678 examples: default: value: @@ -99048,7 +99658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 requestBody: required: true content: @@ -99093,7 +99703,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -99121,7 +99731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 responses: '204': description: Response @@ -99146,7 +99756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *164 + - *169 responses: '200': description: Response @@ -99162,13 +99772,13 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *194 + default: *199 '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99189,7 +99799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *164 + - *169 requestBody: required: true content: @@ -99221,7 +99831,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99243,7 +99853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *164 + - *169 - name: repository_id in: path required: true @@ -99255,7 +99865,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99276,7 +99886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *164 + - *169 - name: repository_id in: path required: true @@ -99288,7 +99898,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99308,17 +99918,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '200': description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99342,7 +99952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 requestBody: required: false content: @@ -99372,9 +99982,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '401': *25 '403': *29 '404': *6 @@ -99396,11 +100006,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '202': *39 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99425,13 +100035,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '202': description: Response content: application/json: - schema: &673 + schema: &679 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -99472,7 +100082,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &674 + default: &680 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -99480,7 +100090,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99504,7 +100114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *243 + - *249 - name: export_id in: path required: true @@ -99517,9 +100127,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *679 examples: - default: *674 + default: *680 '404': *6 x-github: githubCloudOnly: false @@ -99540,7 +100150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *243 + - *249 responses: '200': description: Response @@ -99556,11 +100166,11 @@ paths: type: integer machines: type: array - items: *675 + items: *681 examples: - default: *676 + default: *682 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99587,7 +100197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *243 + - *249 requestBody: required: true content: @@ -99637,13 +100247,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *339 + repository: *345 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *458 - required: *459 + properties: *464 + required: *465 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -100417,17 +101027,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '200': description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: *457 + default: *463 '304': *37 - '500': *115 + '500': *55 '400': *14 '401': *25 '402': @@ -100457,16 +101067,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *243 + - *249 responses: '200': description: Response content: application/json: - schema: *241 + schema: *247 examples: - default: *457 - '500': *115 + default: *463 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -100495,9 +101105,9 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: &687 + default: &693 value: - id: 197 name: hello_docker @@ -100598,7 +101208,7 @@ paths: application/json: schema: type: array - items: &677 + items: &683 title: Email description: Email type: object @@ -100663,16 +101273,16 @@ paths: application/json: schema: type: array - items: *677 + items: *683 examples: - default: &689 + default: &695 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -100740,7 +101350,7 @@ paths: application/json: schema: type: array - items: *677 + items: *683 examples: default: value: @@ -100850,9 +101460,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -100883,9 +101493,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -100905,7 +101515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *65 + - *71 responses: '204': description: if the person is followed by the authenticated user @@ -100935,7 +101545,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -100960,7 +101570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -100996,7 +101606,7 @@ paths: application/json: schema: type: array - items: &678 + items: &684 title: GPG Key description: A unique encryption key type: object @@ -101127,7 +101737,7 @@ paths: - subkeys - revoked examples: - default: &706 + default: &712 value: - id: 3 name: Octocat's GPG Key @@ -101159,7 +101769,7 @@ paths: revoked: false raw_key: string headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -101212,9 +101822,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *684 examples: - default: &679 + default: &685 value: id: 3 name: Octocat's GPG Key @@ -101271,7 +101881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &680 + - &686 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -101283,9 +101893,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *684 examples: - default: *679 + default: *685 '404': *6 '304': *37 '403': *29 @@ -101308,7 +101918,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *680 + - *686 responses: '204': description: Response @@ -101451,7 +102061,7 @@ paths: suspended_at: suspended_by: headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -101499,11 +102109,11 @@ paths: type: array items: allOf: - - *73 + - *79 examples: - default: *148 + default: *153 headers: - Link: *61 + Link: *67 '404': *6 '403': *29 '304': *37 @@ -101515,9 +102125,10 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: "Add a single repository to an installation. The authenticated - user must have admin access to the repository. \n\nThis endpoint only works - for PATs (classic) with the `repo` scope." + description: |- + Add a single repository to an installation. The authenticated user must have admin access to the repository. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -101526,7 +102137,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *145 + - *150 responses: '204': description: Response @@ -101540,10 +102151,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: "Remove a single repository from an installation. The authenticated - user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. \n\nThis endpoint only works for - PATs (classic) with the `repo` scope." + description: |- + Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -101552,7 +102163,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *145 + - *150 responses: '204': description: Response @@ -101586,12 +102197,12 @@ paths: application/json: schema: anyOf: - - *228 + - *234 - type: object properties: {} additionalProperties: false examples: - default: *229 + default: *235 '204': description: Response when there are no restrictions x-github: @@ -101615,7 +102226,7 @@ paths: required: true content: application/json: - schema: *533 + schema: *539 examples: default: value: @@ -101626,7 +102237,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *234 examples: default: value: @@ -101707,7 +102318,7 @@ paths: - closed - all default: open - - *239 + - *245 - name: sort description: What to sort results by. in: query @@ -101719,8 +102330,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -101730,11 +102341,11 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *240 + default: *246 headers: - Link: *61 + Link: *67 '404': *6 '304': *37 x-github: @@ -101765,7 +102376,7 @@ paths: application/json: schema: type: array - items: &681 + items: &687 title: Key description: Key type: object @@ -101816,7 +102427,7 @@ paths: verified: false read_only: false headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -101866,9 +102477,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *687 examples: - default: &682 + default: &688 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101901,15 +102512,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *567 + - *573 responses: '200': description: Response content: application/json: - schema: *681 + schema: *687 examples: - default: *682 + default: *688 '404': *6 '304': *37 '403': *29 @@ -101932,7 +102543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *567 + - *573 responses: '204': description: Response @@ -101965,7 +102576,7 @@ paths: application/json: schema: type: array - items: &683 + items: &689 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102022,7 +102633,7 @@ paths: - id - type - login - plan: *97 + plan: *103 required: - billing_cycle - next_billing_date @@ -102033,7 +102644,7 @@ paths: - account - plan examples: - default: &684 + default: &690 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102066,7 +102677,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '304': *37 '401': *25 '404': *6 @@ -102095,11 +102706,11 @@ paths: application/json: schema: type: array - items: *683 + items: *689 examples: - default: *684 + default: *690 headers: - Link: *61 + Link: *67 '304': *37 '401': *25 x-github: @@ -102137,7 +102748,7 @@ paths: application/json: schema: type: array - items: *245 + items: *251 examples: default: value: @@ -102220,7 +102831,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -102245,13 +102856,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *245 + schema: *251 examples: default: value: @@ -102313,7 +102924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *69 + - *75 requestBody: required: true content: @@ -102338,7 +102949,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *251 examples: default: value: @@ -102410,7 +103021,7 @@ paths: application/json: schema: type: array - items: *247 + items: *253 examples: default: value: @@ -102563,7 +103174,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -102663,7 +103274,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -102843,7 +103454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *248 + - *254 - name: exclude in: query required: false @@ -102856,7 +103467,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -103050,7 +103661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *248 + - *254 responses: '302': description: Response @@ -103076,7 +103687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *248 + - *254 responses: '204': description: Response @@ -103105,8 +103716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *248 - - *685 + - *254 + - *691 responses: '204': description: Response @@ -103130,7 +103741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *248 + - *254 - *17 - *19 responses: @@ -103140,9 +103751,9 @@ paths: application/json: schema: type: array - items: *60 + items: *66 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -103175,11 +103786,11 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -103219,7 +103830,7 @@ paths: - docker - nuget - container - - *686 + - *692 - *19 - *17 responses: @@ -103229,10 +103840,10 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: *687 - '400': *688 + default: *693 + '400': *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103252,16 +103863,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *256 - - *257 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *254 + schema: *260 examples: - default: &707 + default: &713 value: id: 40201 name: octo-name @@ -103374,8 +103985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *256 - - *257 + - *262 + - *263 responses: '204': description: Response @@ -103405,8 +104016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *256 - - *257 + - *262 + - *263 - name: token description: package token schema: @@ -103438,8 +104049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *256 - - *257 + - *262 + - *263 - *19 - *17 - name: state @@ -103459,7 +104070,7 @@ paths: application/json: schema: type: array - items: *258 + items: *264 examples: default: value: @@ -103508,15 +104119,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *256 - - *257 - - *259 + - *262 + - *263 + - *265 responses: '200': description: Response content: application/json: - schema: *258 + schema: *264 examples: default: value: @@ -103552,9 +104163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *256 - - *257 - - *259 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -103584,9 +104195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *256 - - *257 - - *259 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -103623,11 +104234,11 @@ paths: application/json: schema: type: array - items: *677 + items: *683 examples: - default: *689 + default: *695 headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -103736,9 +104347,9 @@ paths: application/json: schema: type: array - items: *73 + items: *79 examples: - default: &696 + default: &702 summary: Default response value: - id: 1296269 @@ -103859,7 +104470,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '403': *29 @@ -104042,9 +104653,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *341 + default: *347 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104083,11 +104694,11 @@ paths: application/json: schema: type: array - items: *535 + items: *541 examples: - default: *690 + default: *696 headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104108,7 +104719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *232 + - *238 responses: '204': description: Response @@ -104132,7 +104743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *232 + - *238 responses: '204': description: Response @@ -104165,7 +104776,7 @@ paths: application/json: schema: type: array - items: &691 + items: &697 title: Social account description: Social media account type: object @@ -104180,12 +104791,12 @@ paths: - provider - url examples: - default: &692 + default: &698 value: - provider: twitter url: https://twitter.com/github headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104242,9 +104853,9 @@ paths: application/json: schema: type: array - items: *691 + items: *697 examples: - default: *692 + default: *698 '422': *15 '304': *37 '404': *6 @@ -104331,7 +104942,7 @@ paths: application/json: schema: type: array - items: &693 + items: &699 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -104351,7 +104962,7 @@ paths: - title - created_at examples: - default: &725 + default: &731 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104362,7 +104973,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104415,9 +105026,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *699 examples: - default: &694 + default: &700 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104447,7 +105058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &695 + - &701 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -104459,9 +105070,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *699 examples: - default: *694 + default: *700 '404': *6 '304': *37 '403': *29 @@ -104484,7 +105095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *695 + - *701 responses: '204': description: Response @@ -104513,7 +105124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &726 + - &732 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 @@ -104526,7 +105137,7 @@ paths: - created - updated default: created - - *55 + - *61 - *17 - *19 responses: @@ -104536,13 +105147,13 @@ paths: application/json: schema: type: array - items: *73 + items: *79 examples: - default-response: *696 + default-response: *702 application/vnd.github.v3.star+json: schema: type: array - items: &727 + items: &733 title: Starred Repository description: Starred Repository type: object @@ -104550,7 +105161,7 @@ paths: starred_at: type: string format: date-time - repo: *73 + repo: *79 required: - starred_at - repo @@ -104678,7 +105289,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -104698,8 +105309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response if this repository is starred by you @@ -104727,8 +105338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -104752,8 +105363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *336 - - *337 + - *342 + - *343 responses: '204': description: Response @@ -104786,11 +105397,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *267 + default: *273 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -104825,7 +105436,7 @@ paths: application/json: schema: type: array - items: *332 + items: *338 examples: default: value: @@ -104876,7 +105487,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104903,7 +105514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *99 + - *105 responses: '200': description: Response @@ -104911,10 +105522,10 @@ paths: application/json: schema: oneOf: - - *671 - - *697 + - *677 + - *703 examples: - default-response: &701 + default-response: &707 summary: Default response value: login: octocat @@ -104949,7 +105560,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &702 + response-with-git-hub-plan-information: &708 summary: Response with GitHub plan information value: login: octocat @@ -105006,14 +105617,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &699 + - &705 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *272 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -105047,9 +105658,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - draft_issue: *279 + draft_issue: *285 '304': *37 '403': *29 '401': *25 @@ -105072,7 +105683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *698 + - *704 - *17 responses: '200': @@ -105083,7 +105694,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: Link: example: ; rel="next" @@ -105107,8 +105718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *699 - - *272 + - *705 + - *278 requestBody: required: true content: @@ -105179,17 +105790,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *700 + schema: *706 examples: table_view: summary: Response for creating a table view - value: *283 + value: *289 board_view: summary: Response for creating a board view with filter - value: *283 + value: *289 roadmap_view: summary: Response for creating a roadmap view - value: *283 + value: *289 '304': *37 '403': *29 '401': *25 @@ -105223,7 +105834,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *65 + - *71 responses: '200': description: Response @@ -105231,11 +105842,11 @@ paths: application/json: schema: oneOf: - - *671 - - *697 + - *677 + - *703 examples: - default-response: *701 - response-with-git-hub-plan-information: *702 + default-response: *707 + response-with-git-hub-plan-information: *708 '404': *6 x-github: githubCloudOnly: false @@ -105261,7 +105872,7 @@ paths: - *17 - *47 - *48 - - *65 + - *71 requestBody: required: true content: @@ -105285,8 +105896,8 @@ paths: required: - subject_digests examples: - default: *703 - withPredicateType: *704 + default: *709 + withPredicateType: *710 responses: '200': description: Response @@ -105325,7 +105936,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *705 + default: *711 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105343,7 +105954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *65 + - *71 requestBody: required: true content: @@ -105408,7 +106019,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *65 + - *71 - name: subject_digest description: Subject Digest in: path @@ -105439,7 +106050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *65 + - *71 - name: attestation_id description: Attestation ID in: path @@ -105477,7 +106088,7 @@ paths: - *17 - *47 - *48 - - *65 + - *71 - name: subject_digest description: Subject Digest in: path @@ -105514,12 +106125,12 @@ paths: initiator: type: string examples: - default: *397 + default: *403 '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -105545,7 +106156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *65 + - *71 responses: '200': description: Response @@ -105553,9 +106164,9 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: *687 + default: *693 '403': *29 '401': *25 x-github: @@ -105578,7 +106189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -105588,7 +106199,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -105650,8 +106261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *65 - - *69 + - *71 + - *75 - *17 - *19 responses: @@ -105661,7 +106272,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -105738,7 +106349,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -105748,7 +106359,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -105806,7 +106417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -105818,9 +106429,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105837,7 +106448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *65 + - *71 - *17 - *19 responses: @@ -105849,9 +106460,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105868,7 +106479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *65 + - *71 - name: target_user in: path required: true @@ -105895,8 +106506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *65 - - *86 + - *71 + - *92 - *17 - *19 responses: @@ -105906,11 +106517,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -105929,7 +106540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -105939,11 +106550,11 @@ paths: application/json: schema: type: array - items: *678 + items: *684 examples: - default: *706 + default: *712 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105965,7 +106576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *65 + - *71 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106037,7 +106648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *65 + - *71 responses: '200': description: Response @@ -106045,7 +106656,7 @@ paths: application/json: schema: *22 examples: - default: *532 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,7 +106674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106098,7 +106709,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106118,7 +106729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106128,11 +106739,11 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106169,8 +106780,8 @@ paths: - docker - nuget - container - - *686 - - *65 + - *692 + - *71 - *19 - *17 responses: @@ -106180,12 +106791,12 @@ paths: application/json: schema: type: array - items: *254 + items: *260 examples: - default: *687 + default: *693 '403': *29 '401': *25 - '400': *688 + '400': *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106205,17 +106816,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *256 - - *257 - - *65 + - *262 + - *263 + - *71 responses: '200': description: Response content: application/json: - schema: *254 + schema: *260 examples: - default: *707 + default: *713 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106236,9 +106847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *256 - - *257 - - *65 + - *262 + - *263 + - *71 responses: '204': description: Response @@ -106270,9 +106881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *256 - - *257 - - *65 + - *262 + - *263 + - *71 - name: token description: package token schema: @@ -106304,9 +106915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *256 - - *257 - - *65 + - *262 + - *263 + - *71 responses: '200': description: Response @@ -106314,7 +106925,7 @@ paths: application/json: schema: type: array - items: *258 + items: *264 examples: default: value: @@ -106372,16 +106983,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *256 - - *257 - - *259 - - *65 + - *262 + - *263 + - *265 + - *71 responses: '200': description: Response content: application/json: - schema: *258 + schema: *264 examples: default: value: @@ -106416,10 +107027,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *256 - - *257 - - *65 - - *259 + - *262 + - *263 + - *71 + - *265 responses: '204': description: Response @@ -106451,10 +107062,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *256 - - *257 - - *65 - - *259 + - *262 + - *263 + - *71 + - *265 responses: '204': description: Response @@ -106478,7 +107089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *65 + - *71 - name: q description: Limit results to projects of the specified type. in: query @@ -106495,11 +107106,11 @@ paths: application/json: schema: type: array - items: *270 + items: *276 examples: - default: *271 + default: *277 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106519,18 +107130,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *272 - - *65 + - *278 + - *71 responses: '200': description: Response content: application/json: - schema: *270 + schema: *276 examples: - default: *271 + default: *277 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106550,8 +107161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *272 - - *65 + - *278 + - *71 - *17 - *47 - *48 @@ -106562,11 +107173,11 @@ paths: application/json: schema: type: array - items: *276 + items: *282 examples: - default: *708 + default: *714 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106585,8 +107196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *65 - - *272 + - *71 + - *278 requestBody: required: true content: @@ -106624,7 +107235,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *709 + items: *715 required: - name - data_type @@ -106640,7 +107251,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *710 + iteration_configuration: *716 required: - name - data_type @@ -106662,20 +107273,20 @@ paths: value: name: Due date data_type: date - single_select_field: *711 - iteration_field: *712 + single_select_field: *717 + iteration_field: *718 responses: '201': description: Response content: application/json: - schema: *276 + schema: *282 examples: - text_field: *713 - number_field: *714 - date_field: *715 - single_select_field: *716 - iteration_field: *717 + text_field: *719 + number_field: *720 + date_field: *721 + single_select_field: *722 + iteration_field: *723 '304': *37 '403': *29 '401': *25 @@ -106696,19 +107307,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *272 - - *718 - - *65 + - *278 + - *724 + - *71 responses: '200': description: Response content: application/json: - schema: *276 + schema: *282 examples: - default: *719 + default: *725 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106729,8 +107340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *272 - - *65 + - *278 + - *71 - *47 - *48 - *17 @@ -106762,11 +107373,11 @@ paths: application/json: schema: type: array - items: *280 + items: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106785,8 +107396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *65 - - *272 + - *71 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -106856,22 +107467,22 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *279 + value: *285 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *279 + value: *285 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *279 + value: *285 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *279 + value: *285 '304': *37 '403': *29 '401': *25 @@ -106891,9 +107502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *272 - - *65 - - *282 + - *278 + - *71 + - *288 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -106913,11 +107524,11 @@ paths: description: Response content: application/json: - schema: *280 + schema: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -106936,9 +107547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *272 - - *65 - - *282 + - *278 + - *71 + - *288 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107008,13 +107619,13 @@ paths: description: Response content: application/json: - schema: *280 + schema: *286 examples: - text_field: *281 - number_field: *281 - date_field: *281 - single_select_field: *281 - iteration_field: *281 + text_field: *287 + number_field: *287 + date_field: *287 + single_select_field: *287 + iteration_field: *287 '401': *25 '403': *29 '404': *6 @@ -107034,9 +107645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *272 - - *65 - - *282 + - *278 + - *71 + - *288 responses: '204': description: Response @@ -107058,9 +107669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *272 - - *65 - - *720 + - *278 + - *71 + - *726 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -107086,11 +107697,11 @@ paths: application/json: schema: type: array - items: *280 + items: *286 examples: - default: *281 + default: *287 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107116,7 +107727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107126,7 +107737,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -107191,7 +107802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107201,7 +107812,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -107264,7 +107875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *65 + - *71 - name: type description: Limit results to repositories of the specified type. in: query @@ -107307,11 +107918,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *267 + default: *273 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107331,12 +107942,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *65 - - *118 - - *120 - - *119 - - *721 - - *121 + - *71 + - *123 + - *125 + - *124 + - *727 + - *126 responses: '200': description: Response when getting a billing premium request usage report @@ -107443,8 +108054,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107464,10 +108075,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *65 - - *118 - - *722 - - *119 + - *71 + - *123 + - *728 + - *124 responses: '200': description: Response when getting a billing usage report @@ -107537,8 +108148,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107561,13 +108172,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *65 - - *118 - - *120 - - *119 - - *723 - - *121 - - *724 + - *71 + - *123 + - *125 + - *124 + - *729 + - *126 + - *730 responses: '200': description: Response when getting a billing usage summary @@ -107672,8 +108283,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107691,7 +108302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107701,11 +108312,11 @@ paths: application/json: schema: type: array - items: *691 + items: *697 examples: - default: *692 + default: *698 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107723,7 +108334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107733,11 +108344,11 @@ paths: application/json: schema: type: array - items: *693 + items: *699 examples: - default: *725 + default: *731 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107759,9 +108370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *65 - - *726 - - *55 + - *71 + - *732 + - *61 - *17 - *19 responses: @@ -107772,13 +108383,13 @@ paths: schema: anyOf: - type: array - items: *727 + items: *733 - type: array - items: *73 + items: *79 examples: - default-response: *696 + default-response: *702 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107795,7 +108406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107805,11 +108416,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *267 + default: *273 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107935,7 +108546,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &728 + enterprise: &734 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -107993,7 +108604,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &729 + installation: &735 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108012,7 +108623,7 @@ x-webhooks: required: - id - node_id - organization: &730 + organization: &736 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108072,13 +108683,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &731 + repository: &737 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &763 + properties: &769 id: description: Unique identifier of the repository example: 42 @@ -108098,8 +108709,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true organization: title: Simple User @@ -108762,7 +109373,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &764 + required: &770 - archive_url - assignees_url - blobs_url @@ -108913,10 +109524,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -108992,11 +109603,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - rule: &732 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + rule: &738 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -109219,11 +109830,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - rule: *732 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + rule: *738 sender: *4 required: - action @@ -109406,11 +110017,11 @@ x-webhooks: - everyone required: - from - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - rule: *732 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + rule: *738 sender: *4 required: - action @@ -109494,7 +110105,7 @@ x-webhooks: type: string enum: - completed - check_run: &734 + check_run: &740 title: CheckRun description: A check performed on the code of a given code change type: object @@ -109547,8 +110158,8 @@ x-webhooks: type: string pull_requests: type: array - items: *84 - repository: *156 + items: *90 + repository: *161 status: example: completed type: string @@ -109585,7 +110196,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *733 + deployment: *739 details_url: example: https://example.com type: string @@ -109635,7 +110246,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *84 + items: *90 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -109670,10 +110281,10 @@ x-webhooks: - output - app - pull_requests - installation: *729 - enterprise: *728 - organization: *730 - repository: *731 + installation: *735 + enterprise: *734 + organization: *736 + repository: *737 sender: *4 required: - check_run @@ -110064,11 +110675,11 @@ x-webhooks: type: string enum: - created - check_run: *734 - installation: *729 - enterprise: *728 - organization: *730 - repository: *731 + check_run: *740 + installation: *735 + enterprise: *734 + organization: *736 + repository: *737 sender: *4 required: - check_run @@ -110462,11 +111073,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *734 - installation: *729 - enterprise: *728 - organization: *730 - repository: *731 + check_run: *740 + installation: *735 + enterprise: *734 + organization: *736 + repository: *737 requested_action: description: The action requested by the user. type: object @@ -110869,11 +111480,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *734 - installation: *729 - enterprise: *728 - organization: *730 - repository: *731 + check_run: *740 + installation: *735 + enterprise: *734 + organization: *736 + repository: *737 sender: *4 required: - check_run @@ -111843,10 +112454,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -112535,10 +113146,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -113221,10 +113832,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -113390,7 +114001,7 @@ x-webhooks: required: - login - id - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113535,20 +114146,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &735 + commit_oid: &741 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: *728 - installation: *729 - organization: *730 - ref: &736 + enterprise: *734 + installation: *735 + organization: *736 + ref: &742 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: *731 + repository: *737 sender: *4 required: - action @@ -113713,7 +114324,7 @@ x-webhooks: required: - login - id - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113943,12 +114554,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *735 - enterprise: *728 - installation: *729 - organization: *730 - ref: *736 - repository: *731 + commit_oid: *741 + enterprise: *734 + installation: *735 + organization: *736 + ref: *742 + repository: *737 sender: *4 required: - action @@ -114043,7 +114654,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114214,12 +114825,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *735 - enterprise: *728 - installation: *729 - organization: *730 - ref: *736 - repository: *731 + commit_oid: *741 + enterprise: *734 + installation: *735 + organization: *736 + ref: *742 + repository: *737 sender: *4 required: - action @@ -114385,7 +114996,7 @@ x-webhooks: required: - login - id - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114551,12 +115162,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *735 - enterprise: *728 - installation: *729 - organization: *730 - ref: *736 - repository: *731 + commit_oid: *741 + enterprise: *734 + installation: *735 + organization: *736 + ref: *742 + repository: *737 sender: *4 required: - action @@ -114655,7 +115266,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114830,16 +115441,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *731 + repository: *737 sender: *4 required: - action @@ -114936,7 +115547,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115076,12 +115687,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *735 - enterprise: *728 - installation: *729 - organization: *730 - ref: *736 - repository: *731 + commit_oid: *741 + enterprise: *734 + installation: *735 + organization: *736 + ref: *742 + repository: *737 sender: *4 required: - action @@ -115247,7 +115858,7 @@ x-webhooks: required: - login - id - dismissed_comment: *429 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115392,10 +116003,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -115650,10 +116261,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -115733,18 +116344,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *730 - pusher_type: &737 + organization: *736 + pusher_type: &743 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &738 + ref: &744 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -115754,7 +116365,7 @@ x-webhooks: enum: - tag - branch - repository: *731 + repository: *737 sender: *4 required: - ref @@ -115836,10 +116447,10 @@ x-webhooks: type: string enum: - created - definition: *284 - enterprise: *728 - installation: *729 - organization: *730 + definition: *290 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -115924,9 +116535,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -116003,10 +116614,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *284 - enterprise: *728 - installation: *729 - organization: *730 + definition: *290 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -116083,10 +116694,10 @@ x-webhooks: type: string enum: - updated - definition: *284 - enterprise: *728 - installation: *729 - organization: *730 + definition: *290 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -116163,19 +116774,19 @@ x-webhooks: type: string enum: - updated - enterprise: *728 - installation: *729 - repository: *731 - organization: *730 + enterprise: *734 + installation: *735 + repository: *737 + organization: *736 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *288 + items: *294 old_property_values: type: array description: The old custom property values for the repository. - items: *288 + items: *294 required: - action - repository @@ -116251,18 +116862,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 - pusher_type: *737 - ref: *738 + enterprise: *734 + installation: *735 + organization: *736 + pusher_type: *743 + ref: *744 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *731 + repository: *737 sender: *4 required: - ref @@ -116342,11 +116953,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116426,11 +117037,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116511,11 +117122,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116596,11 +117207,11 @@ x-webhooks: type: string enum: - created - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116679,11 +117290,11 @@ x-webhooks: type: string enum: - dismissed - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116762,11 +117373,11 @@ x-webhooks: type: string enum: - fixed - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116846,11 +117457,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -116929,11 +117540,11 @@ x-webhooks: type: string enum: - reopened - alert: *491 - installation: *729 - organization: *730 - enterprise: *728 - repository: *731 + alert: *497 + installation: *735 + organization: *736 + enterprise: *734 + repository: *737 sender: *4 required: - action @@ -117010,9 +117621,9 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - key: &739 + enterprise: *734 + installation: *735 + key: &745 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117048,8 +117659,8 @@ x-webhooks: - verified - created_at - read_only - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -117126,11 +117737,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - key: *739 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + key: *745 + organization: *736 + repository: *737 sender: *4 required: - action @@ -117686,12 +118297,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: &745 + workflow: &751 title: Workflow type: object nullable: true @@ -118432,15 +119043,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *740 - required: *741 + properties: *746 + required: *747 nullable: true pull_requests: type: array - items: *586 - repository: *731 - organization: *730 - installation: *729 + items: *592 + repository: *737 + organization: *736 + installation: *735 sender: *4 responses: '200': @@ -118511,7 +119122,7 @@ x-webhooks: type: string enum: - approved - approver: &742 + approver: &748 type: object properties: avatar_url: @@ -118554,11 +119165,11 @@ x-webhooks: type: string comment: type: string - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - reviewers: &743 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + reviewers: &749 type: array items: type: object @@ -118637,7 +119248,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &744 + workflow_job_run: &750 type: object properties: conclusion: @@ -119368,18 +119979,18 @@ x-webhooks: type: string enum: - rejected - approver: *742 + approver: *748 comment: type: string - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - reviewers: *743 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + reviewers: *749 sender: *4 since: type: string - workflow_job_run: *744 + workflow_job_run: *750 workflow_job_runs: type: array items: @@ -120083,13 +120694,13 @@ x-webhooks: type: string enum: - requested - enterprise: *728 + enterprise: *734 environment: type: string - installation: *729 - organization: *730 - repository: *731 - requestor: &750 + installation: *735 + organization: *736 + repository: *737 + requestor: &756 title: User type: object nullable: true @@ -121978,12 +122589,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: *745 + workflow: *751 workflow_run: title: Deployment Workflow Run type: object @@ -122663,7 +123274,7 @@ x-webhooks: type: string enum: - answered - answer: &748 + answer: &754 type: object properties: author_association: @@ -122820,11 +123431,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -122951,11 +123562,11 @@ x-webhooks: - from required: - category - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123038,11 +123649,11 @@ x-webhooks: type: string enum: - closed - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123124,7 +123735,7 @@ x-webhooks: type: string enum: - created - comment: &747 + comment: &753 type: object properties: author_association: @@ -123281,11 +123892,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123368,12 +123979,12 @@ x-webhooks: type: string enum: - deleted - comment: *747 - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + comment: *753 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123468,12 +124079,12 @@ x-webhooks: - from required: - body - comment: *747 - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + comment: *753 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123557,11 +124168,11 @@ x-webhooks: type: string enum: - created - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123643,11 +124254,11 @@ x-webhooks: type: string enum: - deleted - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123747,11 +124358,11 @@ x-webhooks: type: string required: - from - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123833,10 +124444,10 @@ x-webhooks: type: string enum: - labeled - discussion: *746 - enterprise: *728 - installation: *729 - label: &749 + discussion: *752 + enterprise: *734 + installation: *735 + label: &755 title: Label type: object properties: @@ -123868,8 +124479,8 @@ x-webhooks: - color - default - description - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -123952,11 +124563,11 @@ x-webhooks: type: string enum: - locked - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124038,11 +124649,11 @@ x-webhooks: type: string enum: - pinned - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124124,11 +124735,11 @@ x-webhooks: type: string enum: - reopened - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124213,16 +124824,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *746 - new_repository: *731 + new_discussion: *752 + new_repository: *737 required: - new_discussion - new_repository - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124305,10 +124916,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *746 - old_answer: *748 - organization: *730 - repository: *731 + discussion: *752 + old_answer: *754 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124390,12 +125001,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *746 - enterprise: *728 - installation: *729 - label: *749 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124478,11 +125089,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124564,11 +125175,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *746 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + discussion: *752 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -124641,7 +125252,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *728 + enterprise: *734 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -125301,9 +125912,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *729 - organization: *730 - repository: *731 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - forkee @@ -125449,9 +126060,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pages: description: The pages that were updated. type: array @@ -125488,7 +126099,7 @@ x-webhooks: - action - sha - html_url - repository: *731 + repository: *737 sender: *4 required: - pages @@ -125564,10 +126175,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: &751 + organization: *736 + repositories: &757 description: An array of repository objects that the installation can access. type: array @@ -125593,8 +126204,8 @@ x-webhooks: - name - full_name - private - repository: *731 - requester: *750 + repository: *737 + requester: *756 sender: *4 required: - action @@ -125669,11 +126280,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: *751 - repository: *731 + organization: *736 + repositories: *757 + repository: *737 requester: nullable: true sender: *4 @@ -125749,11 +126360,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: *751 - repository: *731 + organization: *736 + repositories: *757 + repository: *737 requester: nullable: true sender: *4 @@ -125829,10 +126440,10 @@ x-webhooks: type: string enum: - added - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories_added: &752 + organization: *736 + repositories_added: &758 description: An array of repository objects, which were added to the installation. type: array @@ -125878,15 +126489,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *731 - repository_selection: &753 + repository: *737 + repository_selection: &759 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *750 + requester: *756 sender: *4 required: - action @@ -125965,10 +126576,10 @@ x-webhooks: type: string enum: - removed - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories_added: *752 + organization: *736 + repositories_added: *758 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125995,9 +126606,9 @@ x-webhooks: - name - full_name - private - repository: *731 - repository_selection: *753 - requester: *750 + repository: *737 + repository_selection: *759 + requester: *756 sender: *4 required: - action @@ -126076,11 +126687,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: *751 - repository: *731 + organization: *736 + repositories: *757 + repository: *737 requester: nullable: true sender: *4 @@ -126258,10 +126869,10 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 target_type: type: string @@ -126340,11 +126951,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *728 + enterprise: *734 installation: *22 - organization: *730 - repositories: *751 - repository: *731 + organization: *736 + repositories: *757 + repository: *737 requester: nullable: true sender: *4 @@ -126468,8 +127079,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 reactions: title: Reactions type: object @@ -126518,8 +127129,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *563 - required: *564 + properties: *569 + required: *570 nullable: true user: title: User @@ -126604,8 +127215,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127394,8 +128005,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127411,7 +128022,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -127744,8 +128355,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -127825,7 +128436,7 @@ x-webhooks: type: string enum: - deleted - comment: &754 + comment: &760 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -127982,8 +128593,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *563 - required: *564 + properties: *569 + required: *570 nullable: true required: - url @@ -127998,8 +128609,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128784,8 +129395,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128801,7 +129412,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -129136,8 +129747,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -129217,7 +129828,7 @@ x-webhooks: type: string enum: - edited - changes: &783 + changes: &789 description: The changes to the comment. type: object properties: @@ -129229,9 +129840,9 @@ x-webhooks: type: string required: - from - comment: *754 - enterprise: *728 - installation: *729 + comment: *760 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130019,8 +130630,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130036,7 +130647,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -130369,8 +130980,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -130451,9 +131062,9 @@ x-webhooks: type: string enum: - pinned - comment: *754 - enterprise: *728 - installation: *729 + comment: *760 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131243,8 +131854,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131260,7 +131871,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -131595,8 +132206,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -131676,9 +132287,9 @@ x-webhooks: type: string enum: - unpinned - comment: *754 - enterprise: *728 - installation: *729 + comment: *760 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132468,8 +133079,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132485,7 +133096,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -132820,8 +133431,8 @@ x-webhooks: - state - locked - assignee - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -132904,15 +133515,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 + blocked_issue: *85 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - blocking_issue_repo: *73 - installation: *729 - organization: *730 - repository: *731 + blocking_issue: *85 + blocking_issue_repo: *79 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -132995,15 +133606,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 + blocked_issue: *85 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - blocking_issue_repo: *73 - installation: *729 - organization: *730 - repository: *731 + blocking_issue: *85 + blocking_issue_repo: *79 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -133085,15 +133696,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 - blocked_issue_repo: *73 + blocked_issue: *85 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - installation: *729 - organization: *730 - repository: *731 + blocking_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -133176,15 +133787,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 - blocked_issue_repo: *73 + blocked_issue: *85 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - installation: *729 - organization: *730 - repository: *731 + blocking_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -133264,10 +133875,10 @@ x-webhooks: type: string enum: - assigned - assignee: *750 - enterprise: *728 - installation: *729 - issue: &757 + assignee: *756 + enterprise: *734 + installation: *735 + issue: &763 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134056,14 +134667,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134079,7 +134690,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -134180,8 +134791,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -134261,8 +134872,8 @@ x-webhooks: type: string enum: - closed - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135056,14 +135667,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135079,7 +135690,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -135315,8 +135926,8 @@ x-webhooks: required: - state - closed_at - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -135395,8 +136006,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136181,14 +136792,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136204,7 +136815,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -136304,8 +136915,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -136384,8 +136995,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137192,14 +137803,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137215,7 +137826,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -137294,7 +137905,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &755 + milestone: &761 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137432,8 +138043,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -137532,8 +138143,8 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138322,14 +138933,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138342,7 +138953,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *242 title: description: Title of the issue type: string @@ -138446,9 +139057,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *749 - organization: *730 - repository: *731 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -138528,8 +139139,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139317,14 +139928,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139337,7 +139948,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *242 title: description: Title of the issue type: string @@ -139441,9 +140052,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *749 - organization: *730 - repository: *731 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -139523,8 +140134,8 @@ x-webhooks: type: string enum: - locked - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140336,14 +140947,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140356,7 +140967,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *242 title: description: Title of the issue type: string @@ -140437,8 +141048,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -140517,8 +141128,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141324,14 +141935,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141347,7 +141958,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -141425,9 +142036,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *755 - organization: *730 - repository: *731 + milestone: *761 + organization: *736 + repository: *737 sender: *4 required: - action @@ -142290,11 +142901,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142322,8 +142933,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true user: title: User @@ -142395,7 +143006,7 @@ x-webhooks: required: - login - id - type: *236 + type: *242 required: - id - number @@ -142875,8 +143486,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143660,11 +144271,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143680,7 +144291,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -143693,8 +144304,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true user: title: User @@ -143788,8 +144399,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -143869,9 +144480,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *728 - installation: *729 - issue: &756 + enterprise: *734 + installation: *735 + issue: &762 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144654,14 +145265,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144677,7 +145288,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -144777,8 +145388,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -144857,8 +145468,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145668,14 +146279,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145769,9 +146380,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *236 - organization: *730 - repository: *731 + type: *242 + organization: *736 + repository: *737 sender: *4 required: - action @@ -146637,14 +147248,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146660,7 +147271,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -147239,11 +147850,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *728 - installation: *729 - issue: *756 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *762 + organization: *736 + repository: *737 sender: *4 required: - action @@ -147323,12 +147934,12 @@ x-webhooks: type: string enum: - typed - enterprise: *728 - installation: *729 - issue: *757 - type: *236 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *763 + type: *242 + organization: *736 + repository: *737 sender: *4 required: - action @@ -147409,7 +148020,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &786 + assignee: &792 title: User type: object nullable: true @@ -147479,11 +148090,11 @@ x-webhooks: required: - login - id - enterprise: *728 - installation: *729 - issue: *757 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *763 + organization: *736 + repository: *737 sender: *4 required: - action @@ -147562,12 +148173,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *728 - installation: *729 - issue: *757 - label: *749 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *763 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -147647,8 +148258,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148458,14 +149069,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *670 + issue_dependencies_summary: *671 issue_field_values: type: array - items: *548 + items: *554 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148481,7 +149092,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *242 updated_at: type: string format: date-time @@ -148559,8 +149170,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -148640,11 +149251,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *728 - installation: *729 - issue: *756 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *762 + organization: *736 + repository: *737 sender: *4 required: - action @@ -148723,12 +149334,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *728 - installation: *729 - issue: *757 - type: *236 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + issue: *763 + type: *242 + organization: *736 + repository: *737 sender: *4 required: - action @@ -148808,11 +149419,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - label: *749 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -148890,11 +149501,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - label: *749 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -149004,11 +149615,11 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - label: *749 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + label: *755 + organization: *736 + repository: *737 sender: *4 required: - action @@ -149090,9 +149701,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *728 - installation: *729 - marketplace_purchase: &758 + enterprise: *734 + installation: *735 + marketplace_purchase: &764 title: Marketplace Purchase type: object required: @@ -149175,8 +149786,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *730 - previous_marketplace_purchase: &759 + organization: *736 + previous_marketplace_purchase: &765 title: Marketplace Purchase type: object properties: @@ -149256,7 +149867,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *731 + repository: *737 sender: *4 required: - action @@ -149336,10 +149947,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *728 - installation: *729 - marketplace_purchase: *758 - organization: *730 + enterprise: *734 + installation: *735 + marketplace_purchase: *764 + organization: *736 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149422,7 +150033,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *731 + repository: *737 sender: *4 required: - action @@ -149504,10 +150115,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *728 - installation: *729 - marketplace_purchase: *758 - organization: *730 + enterprise: *734 + installation: *735 + marketplace_purchase: *764 + organization: *736 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149589,7 +150200,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *731 + repository: *737 sender: *4 required: - action @@ -149670,8 +150281,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 marketplace_purchase: title: Marketplace Purchase type: object @@ -149753,9 +150364,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *730 - previous_marketplace_purchase: *759 - repository: *731 + organization: *736 + previous_marketplace_purchase: *765 + repository: *737 sender: *4 required: - action @@ -149835,12 +150446,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *728 - installation: *729 - marketplace_purchase: *758 - organization: *730 - previous_marketplace_purchase: *759 - repository: *731 + enterprise: *734 + installation: *735 + marketplace_purchase: *764 + organization: *736 + previous_marketplace_purchase: *765 + repository: *737 sender: *4 required: - action @@ -149942,11 +150553,11 @@ x-webhooks: type: string required: - to - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 sender: *4 required: - action @@ -150046,11 +150657,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 sender: *4 required: - action @@ -150129,11 +150740,11 @@ x-webhooks: type: string enum: - removed - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 sender: *4 required: - action @@ -150211,11 +150822,11 @@ x-webhooks: type: string enum: - added - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150291,7 +150902,7 @@ x-webhooks: required: - login - id - team: &760 + team: &766 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -150514,11 +151125,11 @@ x-webhooks: type: string enum: - removed - enterprise: *728 - installation: *729 - member: *750 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + member: *756 + organization: *736 + repository: *737 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150595,7 +151206,7 @@ x-webhooks: required: - login - id - team: *760 + team: *766 required: - action - scope @@ -150677,8 +151288,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *729 - merge_group: &762 + installation: *735 + merge_group: &768 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -150697,15 +151308,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *761 + head_commit: *767 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -150791,10 +151402,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *729 - merge_group: *762 - organization: *730 - repository: *731 + installation: *735 + merge_group: *768 + organization: *736 + repository: *737 sender: *4 required: - action @@ -150867,7 +151478,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 + enterprise: *734 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -150976,16 +151587,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *729 - organization: *730 + installation: *735 + organization: *736 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *763 - required: *764 + properties: *769 + required: *770 nullable: true sender: *4 required: @@ -151066,11 +151677,11 @@ x-webhooks: type: string enum: - closed - enterprise: *728 - installation: *729 - milestone: *755 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + milestone: *761 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151149,9 +151760,9 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - milestone: &765 + enterprise: *734 + installation: *735 + milestone: &771 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151288,8 +151899,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151368,11 +151979,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - milestone: *755 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + milestone: *761 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151482,11 +152093,11 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - milestone: *755 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + milestone: *761 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151566,11 +152177,11 @@ x-webhooks: type: string enum: - opened - enterprise: *728 - installation: *729 - milestone: *765 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + milestone: *771 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151649,11 +152260,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *750 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + blocked_user: *756 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151732,11 +152343,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *750 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + blocked_user: *756 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -151815,9 +152426,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - membership: &766 + enterprise: *734 + installation: *735 + membership: &772 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -151924,8 +152535,8 @@ x-webhooks: - role - organization_url - user - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152003,11 +152614,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *728 - installation: *729 - membership: *766 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + membership: *772 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152086,8 +152697,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152203,10 +152814,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 - user: *750 + user: *756 required: - action - invitation @@ -152284,11 +152895,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *728 - installation: *729 - membership: *766 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + membership: *772 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152375,11 +152986,11 @@ x-webhooks: properties: from: type: string - enterprise: *728 - installation: *729 - membership: *766 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + membership: *772 + organization: *736 + repository: *737 sender: *4 required: - action @@ -152456,9 +153067,9 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 package: description: Information about the package. type: object @@ -152957,7 +153568,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &767 + items: &773 title: Ruby Gems metadata type: object properties: @@ -153052,7 +153663,7 @@ x-webhooks: - owner - package_version - registry - repository: *731 + repository: *737 sender: *4 required: - action @@ -153128,9 +153739,9 @@ x-webhooks: type: string enum: - updated - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 package: description: Information about the package. type: object @@ -153483,7 +154094,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *767 + items: *773 source_url: type: string format: uri @@ -153553,7 +154164,7 @@ x-webhooks: - owner - package_version - registry - repository: *731 + repository: *737 sender: *4 required: - action @@ -153729,12 +154340,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *728 + enterprise: *734 id: type: integer - installation: *729 - organization: *730 - repository: *731 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - id @@ -153811,7 +154422,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &768 + personal_access_token_request: &774 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -153957,10 +154568,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *728 - organization: *730 + enterprise: *734 + organization: *736 sender: *4 - installation: *729 + installation: *735 required: - action - personal_access_token_request @@ -154037,11 +154648,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *768 - enterprise: *728 - organization: *730 + personal_access_token_request: *774 + enterprise: *734 + organization: *736 sender: *4 - installation: *729 + installation: *735 required: - action - personal_access_token_request @@ -154117,11 +154728,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *768 - enterprise: *728 - organization: *730 + personal_access_token_request: *774 + enterprise: *734 + organization: *736 sender: *4 - installation: *729 + installation: *735 required: - action - personal_access_token_request @@ -154196,11 +154807,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *768 - organization: *730 - enterprise: *728 + personal_access_token_request: *774 + organization: *736 + enterprise: *734 sender: *4 - installation: *729 + installation: *735 required: - action - personal_access_token_request @@ -154305,7 +154916,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *769 + last_response: *775 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -154337,8 +154948,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 zen: description: Random string of GitHub zen. @@ -154583,10 +155194,10 @@ x-webhooks: - from required: - note - enterprise: *728 - installation: *729 - organization: *730 - project_card: &770 + enterprise: *734 + installation: *735 + organization: *736 + project_card: &776 title: Project Card type: object properties: @@ -154705,7 +155316,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *731 + repository: *737 sender: *4 required: - action @@ -154786,11 +155397,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - project_card: *770 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project_card: *776 + repository: *737 sender: *4 required: - action @@ -154870,9 +155481,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 project_card: title: Project Card type: object @@ -155000,8 +155611,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *763 - required: *764 + properties: *769 + required: *770 nullable: true sender: *4 required: @@ -155095,11 +155706,11 @@ x-webhooks: - from required: - note - enterprise: *728 - installation: *729 - organization: *730 - project_card: *770 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project_card: *776 + repository: *737 sender: *4 required: - action @@ -155193,9 +155804,9 @@ x-webhooks: - from required: - column_id - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 project_card: allOf: - title: Project Card @@ -155385,7 +155996,7 @@ x-webhooks: type: string required: - after_id - repository: *731 + repository: *737 sender: *4 required: - action @@ -155465,10 +156076,10 @@ x-webhooks: type: string enum: - closed - enterprise: *728 - installation: *729 - organization: *730 - project: &772 + enterprise: *734 + installation: *735 + organization: *736 + project: &778 title: Project type: object properties: @@ -155592,7 +156203,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *731 + repository: *737 sender: *4 required: - action @@ -155672,10 +156283,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - project_column: &771 + enterprise: *734 + installation: *735 + organization: *736 + project_column: &777 title: Project Column type: object properties: @@ -155714,7 +156325,7 @@ x-webhooks: - name - created_at - updated_at - repository: *731 + repository: *737 sender: *4 required: - action @@ -155793,18 +156404,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - project_column: *771 + enterprise: *734 + installation: *735 + organization: *736 + project_column: *777 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *763 - required: *764 + properties: *769 + required: *770 nullable: true sender: *4 required: @@ -155894,11 +156505,11 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 - project_column: *771 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project_column: *777 + repository: *737 sender: *4 required: - action @@ -155978,11 +156589,11 @@ x-webhooks: type: string enum: - moved - enterprise: *728 - installation: *729 - organization: *730 - project_column: *771 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project_column: *777 + repository: *737 sender: *4 required: - action @@ -156062,11 +156673,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - project: *772 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project: *778 + repository: *737 sender: *4 required: - action @@ -156146,18 +156757,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - project: *772 + enterprise: *734 + installation: *735 + organization: *736 + project: *778 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *763 - required: *764 + properties: *769 + required: *770 nullable: true sender: *4 required: @@ -156259,11 +156870,11 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 - project: *772 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project: *778 + repository: *737 sender: *4 required: - action @@ -156342,11 +156953,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *728 - installation: *729 - organization: *730 - project: *772 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + project: *778 + repository: *737 sender: *4 required: - action @@ -156427,9 +157038,9 @@ x-webhooks: type: string enum: - closed - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -156510,9 +157121,9 @@ x-webhooks: type: string enum: - created - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -156593,9 +157204,9 @@ x-webhooks: type: string enum: - deleted - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -156712,9 +157323,9 @@ x-webhooks: type: string to: type: string - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -156797,7 +157408,7 @@ x-webhooks: type: string enum: - archived - changes: &776 + changes: &782 type: object properties: archived_at: @@ -156811,9 +157422,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *729 - organization: *730 - projects_v2_item: &773 + installation: *735 + organization: *736 + projects_v2_item: &779 title: Projects v2 Item description: An item belonging to a project type: object @@ -156831,7 +157442,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *277 + content_type: *283 creator: *4 created_at: type: string @@ -156948,9 +157559,9 @@ x-webhooks: nullable: true to: type: string - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157032,9 +157643,9 @@ x-webhooks: type: string enum: - created - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157115,9 +157726,9 @@ x-webhooks: type: string enum: - deleted - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157223,7 +157834,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &774 + - &780 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -157245,7 +157856,7 @@ x-webhooks: required: - id - name - - &775 + - &781 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -157279,8 +157890,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *774 - - *775 + - *780 + - *781 required: - field_value - type: object @@ -157296,9 +157907,9 @@ x-webhooks: nullable: true required: - body - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157393,9 +158004,9 @@ x-webhooks: to: type: string nullable: true - installation: *729 - organization: *730 - projects_v2_item: *773 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157478,10 +158089,10 @@ x-webhooks: type: string enum: - restored - changes: *776 - installation: *729 - organization: *730 - projects_v2_item: *773 + changes: *782 + installation: *735 + organization: *736 + projects_v2_item: *779 sender: *4 required: - action @@ -157563,9 +158174,9 @@ x-webhooks: type: string enum: - reopened - installation: *729 - organization: *730 - projects_v2: *270 + installation: *735 + organization: *736 + projects_v2: *276 sender: *4 required: - action @@ -157646,14 +158257,14 @@ x-webhooks: type: string enum: - created - installation: *729 - organization: *730 - projects_v2_status_update: &779 + installation: *735 + organization: *736 + projects_v2_status_update: &785 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *777 - required: *778 + properties: *783 + required: *784 sender: *4 required: - action @@ -157734,9 +158345,9 @@ x-webhooks: type: string enum: - deleted - installation: *729 - organization: *730 - projects_v2_status_update: *779 + installation: *735 + organization: *736 + projects_v2_status_update: *785 sender: *4 required: - action @@ -157872,9 +158483,9 @@ x-webhooks: type: string format: date nullable: true - installation: *729 - organization: *730 - projects_v2_status_update: *779 + installation: *735 + organization: *736 + projects_v2_status_update: *785 sender: *4 required: - action @@ -157945,10 +158556,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - repository @@ -158025,13 +158636,13 @@ x-webhooks: type: string enum: - assigned - assignee: *750 - enterprise: *728 - installation: *729 - number: &780 + assignee: *756 + enterprise: *734 + installation: *735 + number: &786 description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -160318,7 +160929,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -160400,11 +161011,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -162686,7 +163297,7 @@ x-webhooks: - draft reason: type: string - repository: *731 + repository: *737 sender: *4 required: - action @@ -162768,11 +163379,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -165054,7 +165665,7 @@ x-webhooks: - draft reason: type: string - repository: *731 + repository: *737 sender: *4 required: - action @@ -165136,13 +165747,13 @@ x-webhooks: type: string enum: - closed - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: &781 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: &787 allOf: - - *586 + - *592 - type: object properties: allow_auto_merge: @@ -165204,7 +165815,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *731 + repository: *737 sender: *4 required: - action @@ -165285,12 +165896,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -165370,11 +165981,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *728 - milestone: *570 - number: *780 - organization: *730 - pull_request: &782 + enterprise: *734 + milestone: *576 + number: *786 + organization: *736 + pull_request: &788 title: Pull Request type: object properties: @@ -167655,7 +168266,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -167734,11 +168345,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -170038,7 +170649,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *731 + repository: *737 sender: *4 required: - action @@ -170162,12 +170773,12 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -170247,11 +170858,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -172536,7 +173147,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -172616,11 +173227,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *728 - installation: *729 - label: *749 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + label: *755 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -174906,7 +175517,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -174987,10 +175598,10 @@ x-webhooks: type: string enum: - locked - enterprise: *728 - installation: *729 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -177274,7 +177885,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -177354,12 +177965,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *728 - milestone: *570 - number: *780 - organization: *730 - pull_request: *782 - repository: *731 + enterprise: *734 + milestone: *576 + number: *786 + organization: *736 + pull_request: *788 + repository: *737 sender: *4 required: - action @@ -177438,12 +178049,12 @@ x-webhooks: type: string enum: - opened - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -177524,12 +178135,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -177609,12 +178220,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *728 - installation: *729 - number: *780 - organization: *730 - pull_request: *781 - repository: *731 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 + pull_request: *787 + repository: *737 sender: *4 required: - action @@ -177980,9 +178591,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: type: object properties: @@ -180156,7 +180767,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *731 + repository: *737 sender: *4 required: - action @@ -180236,7 +180847,7 @@ x-webhooks: type: string enum: - deleted - comment: &784 + comment: &790 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -180521,9 +181132,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: type: object properties: @@ -182685,7 +183296,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *731 + repository: *737 sender: *4 required: - action @@ -182765,11 +183376,11 @@ x-webhooks: type: string enum: - edited - changes: *783 - comment: *784 - enterprise: *728 - installation: *729 - organization: *730 + changes: *789 + comment: *790 + enterprise: *734 + installation: *735 + organization: *736 pull_request: type: object properties: @@ -184934,7 +185545,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *731 + repository: *737 sender: *4 required: - action @@ -185015,9 +185626,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -187194,7 +187805,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 + repository: *737 review: description: The review that was affected. type: object @@ -187441,9 +188052,9 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -189493,8 +190104,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 - review: &785 + repository: *737 + review: &791 description: The review that was affected. type: object properties: @@ -189727,12 +190338,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -192019,7 +192630,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 requested_reviewer: title: User type: object @@ -192103,12 +192714,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -194402,7 +195013,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194594,12 +195205,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -196888,7 +197499,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 requested_reviewer: title: User type: object @@ -196973,12 +197584,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *728 - installation: *729 + enterprise: *734 + installation: *735 number: description: The pull request number. type: integer - organization: *730 + organization: *736 pull_request: title: Pull Request type: object @@ -199258,7 +199869,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199439,9 +200050,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -201620,8 +202231,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 - review: *785 + repository: *737 + review: *791 sender: *4 required: - action @@ -201701,9 +202312,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -203791,7 +204402,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 + repository: *737 sender: *4 thread: type: object @@ -204178,9 +204789,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 pull_request: title: Simple Pull Request type: object @@ -206254,7 +206865,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *731 + repository: *737 sender: *4 thread: type: object @@ -206644,10 +207255,10 @@ x-webhooks: type: string before: type: string - enterprise: *728 - installation: *729 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -208922,7 +209533,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -209004,11 +209615,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *786 - enterprise: *728 - installation: *729 - number: *780 - organization: *730 + assignee: *792 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -211295,7 +211906,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -211374,11 +211985,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *728 - installation: *729 - label: *749 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + label: *755 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -213655,7 +214266,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -213736,10 +214347,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *728 - installation: *729 - number: *780 - organization: *730 + enterprise: *734 + installation: *735 + number: *786 + organization: *736 pull_request: title: Pull Request type: object @@ -216008,7 +216619,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *731 + repository: *737 sender: *4 required: - action @@ -216208,7 +216819,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *728 + enterprise: *734 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216300,8 +216911,8 @@ x-webhooks: - url - author - committer - installation: *729 - organization: *730 + installation: *735 + organization: *736 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -216887,9 +217498,9 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 registry_package: type: object properties: @@ -217335,7 +217946,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *767 + items: *773 summary: type: string tag_name: @@ -217389,7 +218000,7 @@ x-webhooks: - owner - package_version - registry - repository: *731 + repository: *737 sender: *4 required: - action @@ -217467,9 +218078,9 @@ x-webhooks: type: string enum: - updated - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 registry_package: type: object properties: @@ -217777,7 +218388,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *767 + items: *773 summary: type: string tag_name: @@ -217826,7 +218437,7 @@ x-webhooks: - owner - package_version - registry - repository: *731 + repository: *737 sender: *4 required: - action @@ -217903,10 +218514,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - release: &787 + enterprise: *734 + installation: *735 + organization: *736 + release: &793 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218224,7 +218835,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *731 + repository: *737 sender: *4 required: - action @@ -218301,11 +218912,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - release: *787 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + release: *793 + repository: *737 sender: *4 required: - action @@ -218422,11 +219033,11 @@ x-webhooks: type: boolean required: - to - enterprise: *728 - installation: *729 - organization: *730 - release: *787 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + release: *793 + repository: *737 sender: *4 required: - action @@ -218504,9 +219115,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -218828,7 +219439,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *731 + repository: *737 sender: *4 required: - action @@ -218904,10 +219515,10 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 - release: &788 + enterprise: *734 + installation: *735 + organization: *736 + release: &794 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219226,7 +219837,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *731 + repository: *737 sender: *4 required: - action @@ -219302,11 +219913,11 @@ x-webhooks: type: string enum: - released - enterprise: *728 - installation: *729 - organization: *730 - release: *787 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + release: *793 + repository: *737 sender: *4 required: - action @@ -219382,11 +219993,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *728 - installation: *729 - organization: *730 - release: *788 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + release: *794 + repository: *737 sender: *4 required: - action @@ -219462,11 +220073,11 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_advisory: *650 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_advisory: *656 sender: *4 required: - action @@ -219542,11 +220153,11 @@ x-webhooks: type: string enum: - reported - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_advisory: *650 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_advisory: *656 sender: *4 required: - action @@ -219622,10 +220233,10 @@ x-webhooks: type: string enum: - archived - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -219702,10 +220313,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -219783,10 +220394,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -219870,10 +220481,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -219985,10 +220596,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220060,10 +220671,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 status: type: string @@ -220144,10 +220755,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220224,10 +220835,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220321,10 +220932,10 @@ x-webhooks: - name required: - repository - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220404,11 +221015,11 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_ruleset: *318 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_ruleset: *324 sender: *4 required: - action @@ -220486,11 +221097,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_ruleset: *318 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_ruleset: *324 sender: *4 required: - action @@ -220568,11 +221179,11 @@ x-webhooks: type: string enum: - edited - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - repository_ruleset: *318 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + repository_ruleset: *324 changes: type: object properties: @@ -220591,16 +221202,16 @@ x-webhooks: properties: added: type: array - items: *292 + items: *298 deleted: type: array - items: *292 + items: *298 updated: type: array items: type: object properties: - condition: *292 + condition: *298 changes: type: object properties: @@ -220633,16 +221244,16 @@ x-webhooks: properties: added: type: array - items: *606 + items: *612 deleted: type: array - items: *606 + items: *612 updated: type: array items: type: object properties: - rule: *606 + rule: *612 changes: type: object properties: @@ -220876,10 +221487,10 @@ x-webhooks: - from required: - owner - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -220957,10 +221568,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221038,7 +221649,7 @@ x-webhooks: type: string enum: - create - alert: &789 + alert: &795 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221160,10 +221771,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221369,10 +221980,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221450,11 +222061,11 @@ x-webhooks: type: string enum: - reopen - alert: *789 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *795 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221653,10 +222264,10 @@ x-webhooks: enum: - fixed - open - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221734,11 +222345,11 @@ x-webhooks: type: string enum: - assigned - alert: &790 + alert: &796 type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -221746,8 +222357,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri @@ -221853,10 +222464,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -221934,11 +222545,11 @@ x-webhooks: type: string enum: - created - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222019,11 +222630,11 @@ x-webhooks: type: string enum: - created - alert: *790 - installation: *729 - location: *791 - organization: *730 - repository: *731 + alert: *796 + installation: *735 + location: *797 + organization: *736 + repository: *737 sender: *4 required: - location @@ -222261,11 +222872,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222343,11 +222954,11 @@ x-webhooks: type: string enum: - reopened - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222425,11 +223036,11 @@ x-webhooks: type: string enum: - resolved - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222507,12 +223118,12 @@ x-webhooks: type: string enum: - unassigned - alert: *790 + alert: *796 assignee: *4 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222590,11 +223201,11 @@ x-webhooks: type: string enum: - validated - alert: *790 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + alert: *796 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -222720,10 +223331,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *731 - enterprise: *728 - installation: *729 - organization: *730 + repository: *737 + enterprise: *734 + installation: *735 + organization: *736 sender: *4 required: - action @@ -222801,16 +223412,16 @@ x-webhooks: type: string enum: - published - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - security_advisory: &792 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + security_advisory: &798 description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *57 + cvss_severities: *63 cwes: type: array items: @@ -222976,11 +223587,11 @@ x-webhooks: type: string enum: - updated - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 - security_advisory: *792 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 + security_advisory: *798 sender: *4 required: - action @@ -223053,16 +223664,16 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 security_advisory: description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *57 + cvss_severities: *63 cwes: type: array items: @@ -223228,11 +223839,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *291 - enterprise: *728 - installation: *729 - organization: *730 - repository: *339 + security_and_analysis: *297 + enterprise: *734 + installation: *735 + organization: *736 + repository: *345 sender: *4 required: - changes @@ -223310,12 +223921,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: &793 + sponsorship: &799 type: object properties: created_at: @@ -223616,12 +224227,12 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - sponsorship @@ -223709,12 +224320,12 @@ x-webhooks: type: string required: - from - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - changes @@ -223791,17 +224402,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &794 + effective_date: &800 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: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - sponsorship @@ -223875,7 +224486,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &795 + changes: &801 type: object properties: tier: @@ -223919,13 +224530,13 @@ x-webhooks: - from required: - tier - effective_date: *794 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + effective_date: *800 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - changes @@ -224002,13 +224613,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *795 - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + changes: *801 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - sponsorship: *793 + sponsorship: *799 required: - action - changes @@ -224082,10 +224693,10 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224168,10 +224779,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224591,15 +225202,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *728 + enterprise: *734 id: description: The unique identifier of the status. type: integer - installation: *729 + installation: *735 name: type: string - organization: *730 - repository: *731 + organization: *736 + repository: *737 sender: *4 sha: description: The Commit SHA. @@ -224708,15 +225319,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - parent_issue_repo: *73 + parent_issue: *85 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - installation: *729 - organization: *730 - repository: *731 + sub_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -224800,15 +225411,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - parent_issue_repo: *73 + parent_issue: *85 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - installation: *729 - organization: *730 - repository: *731 + sub_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -224892,15 +225503,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - sub_issue_repo: *73 + sub_issue: *85 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - installation: *729 - organization: *730 - repository: *731 + parent_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -224984,15 +225595,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - sub_issue_repo: *73 + sub_issue: *85 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - installation: *729 - organization: *730 - repository: *731 + parent_issue: *85 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -225069,12 +225680,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - team: &796 + team: &802 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225297,9 +225908,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -225757,7 +226368,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - team @@ -225833,9 +226444,9 @@ x-webhooks: type: string enum: - created - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -226293,7 +226904,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - team @@ -226370,9 +226981,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -226830,7 +227441,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - team @@ -226974,9 +227585,9 @@ x-webhooks: - from required: - permissions - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -227434,7 +228045,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - changes @@ -227512,9 +228123,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *728 - installation: *729 - organization: *730 + enterprise: *734 + installation: *735 + organization: *736 repository: title: Repository description: A git repository @@ -227972,7 +228583,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *796 + team: *802 required: - action - team @@ -228048,10 +228659,10 @@ x-webhooks: type: string enum: - started - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 required: - action @@ -228124,16 +228735,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *728 + enterprise: *734 inputs: type: object nullable: true additionalProperties: true - installation: *729 - organization: *730 + installation: *735 + organization: *736 ref: type: string - repository: *731 + repository: *737 sender: *4 workflow: type: string @@ -228215,10 +228826,10 @@ x-webhooks: type: string enum: - completed - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 workflow_job: allOf: @@ -228455,7 +229066,7 @@ x-webhooks: type: string required: - conclusion - deployment: *497 + deployment: *503 required: - action - repository @@ -228534,10 +229145,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 workflow_job: allOf: @@ -228797,7 +229408,7 @@ x-webhooks: required: - status - steps - deployment: *497 + deployment: *503 required: - action - repository @@ -228876,10 +229487,10 @@ x-webhooks: type: string enum: - queued - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 workflow_job: type: object @@ -229014,7 +229625,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *497 + deployment: *503 required: - action - repository @@ -229093,10 +229704,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 workflow_job: type: object @@ -229232,7 +229843,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *497 + deployment: *503 required: - action - repository @@ -229312,12 +229923,12 @@ x-webhooks: type: string enum: - completed - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: *745 + workflow: *751 workflow_run: title: Workflow Run type: object @@ -230316,12 +230927,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: *745 + workflow: *751 workflow_run: title: Workflow Run type: object @@ -231305,12 +231916,12 @@ x-webhooks: type: string enum: - requested - enterprise: *728 - installation: *729 - organization: *730 - repository: *731 + enterprise: *734 + installation: *735 + organization: *736 + repository: *737 sender: *4 - workflow: *745 + workflow: *751 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index d1453040a1..55ae374984 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -3223,6 +3223,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -22050,6 +22063,654 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -93496,271 +94157,375 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "artifact-metadata" - } - } - }, - "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { - "post": { - "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", - "tags": [ - "orgs" - ], - "operationId": "orgs/set-cluster-deployment-records", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "cluster", - "in": "path", - "description": "The cluster name.", - "required": true, - "schema": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "pattern": "^[a-zA-Z0-9._-]+$" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "logical_environment": { - "type": "string", - "description": "The stage of the deployment.", - "minLength": 1, - "maxLength": 128 - }, - "physical_environment": { - "type": "string", - "description": "The physical region of the deployment.", - "maxLength": 128 - }, - "deployments": { - "type": "array", - "description": "The list of deployments to record.", - "maxItems": 1000, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name parameter must also be identical across all entries.\n", - "minLength": 1, - "maxLength": 256 - }, - "digest": { - "type": "string", - "description": "The hex encoded digest of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name and version parameters must also be identical across all entries.\n", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" - }, - "version": { - "type": "string", - "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "maxLength": 100, - "x-multi-segment": true, - "example": "1.2.3" - }, - "status": { - "type": "string", - "description": "The deployment status of the artifact.", - "default": "deployed", - "enum": [ - "deployed", - "decommissioned" - ] - }, - "deployment_name": { - "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", - "minLength": 1, - "maxLength": 256 - }, - "github_repository": { - "type": "string", - "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "maxLength": 100, - "pattern": "^[A-Za-z0-9.\\-_]+$", - "example": "my-github-repo" - }, - "tags": { - "type": "object", - "description": "Key-value pairs to tag the deployment record.", - "additionalProperties": { - "type": "string" - } - }, - "runtime_risks": { - "type": "array", - "description": "A list of runtime risks associated with the deployment.", - "maxItems": 4, - "uniqueItems": true, - "items": { - "type": "string", - "enum": [ - "critical-resource", - "internet-exposed", - "lateral-movement", - "sensitive-data" - ] - } - } - }, - "required": [ - "name", - "deployment_name", - "digest" - ] + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { + "post": { + "summary": "Set cluster deployment records", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-cluster-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cluster", + "in": "path", + "description": "The cluster name.", + "required": true, + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "pattern": "^[a-zA-Z0-9._-]+$" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "logical_environment": { + "type": "string", + "description": "The stage of the deployment.", + "minLength": 1, + "maxLength": 128 + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment.", + "maxLength": 128 + }, + "deployments": { + "type": "array", + "description": "The list of deployments to record.", + "maxItems": 1000, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name parameter must also be identical across all entries.\n", + "minLength": 1, + "maxLength": 256 + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact. Note that if multiple deployments have identical 'digest' parameter values,\nthe name and version parameters must also be identical across all entries.\n", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", + "maxLength": 100, + "x-multi-segment": true, + "example": "1.2.3" + }, + "status": { + "type": "string", + "description": "The deployment status of the artifact.", + "default": "deployed", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "deployment_name": { + "type": "string", + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", + "minLength": 1, + "maxLength": 256 + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" + }, + "tags": { + "type": "object", + "description": "Key-value pairs to tag the deployment record.", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + } + }, + "required": [ + "name", + "deployment_name", + "digest" + ] + } + } + }, + "required": [ + "logical_environment", + "deployments" + ] + }, + "examples": { + "default": { + "value": { + "logical_environment": "prod", + "physical_environment": "pacific-east", + "deployments": [ + { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "version": "2.1.0", + "status": "deployed", + "deployment_name": "deployment-pod", + "tags": { + "runtime-risk": "sensitive-data" + } + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Deployment records created or updated successfully.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": "integer", + "description": "The ID of the provenance attestation associated with the deployment record.", + "nullable": true + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } - }, - "required": [ - "logical_environment", - "deployments" - ] - }, - "examples": { - "default": { - "value": { - "logical_environment": "prod", - "physical_environment": "pacific-east", - "deployments": [ - { - "name": "awesome-image", - "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", - "version": "2.1.0", - "status": "deployed", - "deployment_name": "deployment-pod", - "tags": { - "runtime-risk": "sensitive-data" - } - } - ] - } } } } - } - }, - "responses": { - "200": { - "description": "Deployment records created or updated successfully.\n", + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "total_count": { - "description": "The number of deployment records created", - "type": "integer" + "message": { + "type": "string" }, - "deployment_records": { - "type": "array", - "items": { - "title": "Artifact Deployment Record", - "description": "Artifact Metadata Deployment Record", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "digest": { - "type": "string" - }, - "logical_environment": { - "type": "string" - }, - "physical_environment": { - "type": "string" - }, - "cluster": { - "type": "string" - }, - "deployment_name": { - "type": "string" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "runtime_risks": { - "type": "array", - "description": "A list of runtime risks associated with the deployment.", - "maxItems": 4, - "uniqueItems": true, - "items": { - "type": "string", - "enum": [ - "critical-resource", - "internet-exposed", - "lateral-movement", - "sensitive-data" - ] - } - }, - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "attestation_id": { - "type": "integer", - "description": "The ID of the provenance attestation associated with the deployment record.", - "nullable": true - } - } - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 1, - "deployment_records": [ - { - "id": 123, - "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", - "logical_environment": "prod", - "physical_environment": "pacific-east", - "cluster": "moda-1", - "deployment_name": "prod-deployment", - "tags": { - "data": "sensitive" - }, - "created": "2011-01-26T19:14:43Z", - "updated_at": "2011-01-26T19:14:43Z", - "attestation_id": 456 - } - ] + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -93969,6 +94734,58 @@ } } } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -98980,6 +99797,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -114164,6 +114985,654 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/organization-1-day": { + "get": { + "summary": "Get Copilot organization usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot organization users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot organization users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -131359,6 +132828,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -165265,6 +166747,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -165290,6 +166783,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -165434,7 +166967,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -165498,12 +167031,12 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { - "description": "The ID of the key you used to encrypt the secret.", + "description": "The ID of the key you used to encrypt the secret. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string" }, "visibility": { @@ -165521,13 +167054,62 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. Defaults to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or `oidc_jfrog` for OIDC authentication.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } }, "required": [ "registry_type", "url", - "encrypted_value", - "key_id", "visibility" ] }, @@ -165558,6 +167140,17 @@ 1296280 ] } + }, + "org-private-registry-with-oidc-azure": { + "summary": "Example of an OIDC private registry configuration using Azure", + "value": { + "registry_type": "docker_registry", + "url": "https://myregistry.azurecr.io", + "auth_type": "oidc_azure", + "visibility": "all", + "tenant_id": "12345678-1234-1234-1234-123456789012", + "client_id": "abcdef01-2345-6789-abcd-ef0123456789" + } } } } @@ -165599,6 +167192,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -165630,6 +167234,46 @@ "type": "integer" } }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -165949,6 +167593,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -165974,6 +167629,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -166042,7 +167737,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -166138,16 +167833,79 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. This field cannot be changed after creation. If provided, it must match the existing `auth_type` of the configuration. To change the authentication type, delete and recreate the configuration.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } } }, "examples": { - "default": { + "secret-based-update": { + "summary": "Update a secret-based private registry", "value": { "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678" } + }, + "oidc-azure-update": { + "summary": "Update an OIDC private registry (Azure)", + "value": { + "tenant_id": "12345678-1234-1234-1234-123456789012", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } } } } @@ -294438,6 +296196,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -295329,6 +297091,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -296241,6 +298007,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -367540,6 +369310,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -520755,6 +522538,32 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -521523,6 +523332,32 @@ } } } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -523590,6 +525425,32 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -538400,6 +540261,11 @@ "required": [ "assignee" ] + }, + { + "required": [ + "validity" + ] } ] }, @@ -569926,7 +571792,8 @@ "required": [ "total_count", "incomplete_results", - "items" + "items", + "search_type" ], "properties": { "total_count": { @@ -572911,6 +574778,31 @@ } ] } + }, + "search_type": { + "type": "string", + "description": "The type of search that was performed. Possible values are `lexical`, `semantic`, or `hybrid`.", + "enum": [ + "lexical", + "semantic", + "hybrid" + ] + }, + "lexical_fallback_reason": { + "type": "array", + "description": "When a semantic or hybrid search falls back to lexical search, this field contains the reasons for the fallback. Only present when a fallback occurred.", + "items": { + "type": "string", + "enum": [ + "no_text_terms", + "quoted_text", + "non_issue_target", + "or_boolean_not_supported", + "no_accessible_repos", + "server_error", + "only_non_semantic_fields_requested" + ] + } } } }, @@ -608849,7 +610741,7 @@ "/user/installations/{installation_id}/repositories/{repository_id}": { "put": { "summary": "Add a repository to an app installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -608952,7 +610844,7 @@ }, "delete": { "summary": "Remove a repository from an app installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index a175d569d9..a85946f4ab 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -480,7 +480,7 @@ paths: required: false schema: type: string - - &55 + - &61 name: direction description: The direction to sort the results by. in: query @@ -701,7 +701,7 @@ paths: required: - vector_string - score - cvss_severities: &57 + cvss_severities: &63 type: object nullable: true properties: @@ -741,7 +741,7 @@ paths: required: - vector_string - score - epss: &58 + epss: &64 type: object nullable: true readOnly: true @@ -879,7 +879,7 @@ paths: - subscriptions_url - type - url - type: &326 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -1039,7 +1039,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &125 + schema: &130 title: Validation Error Simple description: Validation Error Simple type: object @@ -1072,7 +1072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &655 + - &661 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1190,7 +1190,7 @@ paths: GitHub. type: object nullable: true - properties: &74 + properties: &80 id: description: Unique identifier of the GitHub app example: 37 @@ -1323,7 +1323,7 @@ paths: about itself. example: 5 type: integer - required: &75 + required: &81 - id - node_id - owner @@ -1628,7 +1628,7 @@ paths: schema: type: integer default: 30 - - &212 + - &217 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 @@ -1637,6 +1637,19 @@ paths: required: false schema: type: string + - &218 + name: status + description: Returns webhook deliveries filtered by delivery outcome classification + based on `status_code` range. A `status` of `success` returns deliveries + with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` + returns deliveries with a `status_code` in the 400-599 range (inclusive). + in: query + required: false + schema: + type: string + enum: + - success + - failure responses: '200': description: Response @@ -1644,7 +1657,7 @@ paths: application/json: schema: type: array - items: &213 + items: &219 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1724,7 +1737,7 @@ paths: - installation_id - repository_id examples: - default: &214 + default: &220 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1783,7 +1796,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &124 + schema: &129 title: Validation Error description: Validation Error type: object @@ -1852,7 +1865,7 @@ paths: description: Response content: application/json: - schema: &215 + schema: &221 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1966,7 +1979,7 @@ paths: - request - response examples: - default: &216 + default: &222 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2167,7 +2180,7 @@ paths: parameters: - *17 - *19 - - &86 + - &92 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) @@ -2750,7 +2763,7 @@ paths: suspended_at: suspended_by: headers: - Link: &61 + Link: &67 example: ; rel="next", ; rel="last" schema: @@ -2947,11 +2960,11 @@ paths: - selected repositories: type: array - items: &73 + items: &79 title: Repository description: A repository on GitHub. type: object - properties: &290 + properties: &296 id: description: Unique identifier of the repository example: 42 @@ -2971,7 +2984,7 @@ paths: title: License Simple description: License Simple type: object - properties: &82 + properties: &88 key: type: string example: mit @@ -2993,7 +3006,7 @@ paths: html_url: type: string format: uri - required: &83 + required: &89 - key - name - url @@ -3402,7 +3415,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &291 + required: &297 - archive_url - assignees_url - blobs_url @@ -3476,7 +3489,7 @@ paths: - watchers_count - created_at - updated_at - x-github-breaking-changes: &292 + x-github-breaking-changes: &298 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -5278,7 +5291,7 @@ paths: responses: '202': *39 '422': *7 - '500': &115 + '500': &55 description: Internal Error content: application/json: @@ -7425,7 +7438,7 @@ paths: required: true content: application/json: - schema: &137 + schema: &142 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -8118,7 +8131,7 @@ paths: description: Response content: application/json: - schema: &185 + schema: &190 type: array description: A list of default code security configurations items: @@ -8134,7 +8147,7 @@ paths: default configuration: *49 examples: - default: &186 + default: &191 value: - default_for_new_repos: public configuration: @@ -8474,7 +8487,7 @@ paths: - *40 - *51 responses: - '204': &187 + '204': &192 description: A header with no content is returned. '400': *14 '403': *29 @@ -8601,7 +8614,7 @@ paths: default: value: default_for_new_repos: all - configuration: &184 + configuration: &189 value: id: 1325 target_type: organization @@ -8686,7 +8699,7 @@ paths: application/json: schema: type: array - items: &188 + items: &193 type: object description: Repositories associated with a code security configuration and attachment status @@ -8704,11 +8717,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &60 + repository: &66 title: Simple Repository description: A GitHub repository. type: object - properties: &113 + properties: &119 id: type: integer format: int64 @@ -8935,7 +8948,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &114 + required: &120 - archive_url - assignees_url - blobs_url @@ -8987,7 +9000,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &189 + repository: &194 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -9062,6 +9075,212 @@ paths: enabledForGitHubApps: false category: code-security subcategory: configurations + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - *40 + - &56 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &57 + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for + an enterprise/organization for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report + for the enterprise/organization for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + examples: + default: &58 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics + parameters: + - *40 + responses: + '200': + description: Response + content: + application/json: + schema: &59 + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report + for an enterprise/organization. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics + report for the enterprise/organization. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` + format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` + format. + required: + - download_links + - report_start_day + - report_end_day + examples: + default: &60 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - *40 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics + parameters: + - *40 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -9081,7 +9300,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &195 + - &200 name: state in: query description: |- @@ -9090,7 +9309,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &196 + - &201 name: severity in: query description: |- @@ -9099,7 +9318,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &197 + - &202 name: ecosystem in: query description: |- @@ -9108,14 +9327,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &198 + - &203 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 - - &199 + - &204 name: epss_percentage in: query description: |- @@ -9127,7 +9346,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &489 + - &495 name: has in: query description: |- @@ -9141,7 +9360,7 @@ paths: type: string enum: - patch - - &200 + - &205 name: assignee in: query description: |- @@ -9150,7 +9369,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &201 + - &206 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9160,7 +9379,7 @@ paths: enum: - development - runtime - - &202 + - &207 name: sort in: query description: |- @@ -9175,7 +9394,7 @@ paths: - updated - epss_percentage default: created - - *55 + - *61 - *47 - *48 - *17 @@ -9186,11 +9405,11 @@ paths: application/json: schema: type: array - items: &203 + items: &208 type: object description: A Dependabot alert. properties: - number: &174 + number: &179 type: integer description: The security alert number. readOnly: true @@ -9208,7 +9427,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &56 + package: &62 type: object description: Details for the vulnerable package. readOnly: true @@ -9252,7 +9471,7 @@ paths: - unknown - direct - transitive - security_advisory: &490 + security_advisory: &496 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9282,13 +9501,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &59 + items: &65 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *56 + package: *62 severity: type: string description: The severity of the vulnerability. @@ -9354,8 +9573,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *57 - epss: *58 + cvss_severities: *63 + epss: *64 cwes: type: array description: Details for the advisory pertaining to Common @@ -9473,30 +9692,30 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *59 - url: &177 + security_vulnerability: *65 + url: &182 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &178 + html_url: &183 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &175 + created_at: &180 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: &176 + updated_at: &181 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 - dismissed_at: &180 + dismissed_at: &185 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9526,21 +9745,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &179 + fixed_at: &184 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &491 + auto_dismissed_at: &497 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &492 + dismissal_request: &498 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9583,7 +9802,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *60 + repository: *66 required: - number - state @@ -9602,7 +9821,7 @@ paths: - repository additionalProperties: false examples: - default: &204 + default: &209 value: - number: 2 state: dismissed @@ -9971,7 +10190,7 @@ paths: application/json: schema: type: array - items: &62 + items: &68 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10042,7 +10261,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -10115,9 +10334,9 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: &70 + default: &76 value: id: 1 name: Justice League @@ -10146,7 +10365,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &63 + - &69 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10165,7 +10384,7 @@ paths: type: array items: *4 examples: - default: &64 + default: &70 value: - login: octocat id: 1 @@ -10186,7 +10405,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10204,7 +10423,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10235,7 +10454,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10253,7 +10472,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10284,7 +10503,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10302,8 +10521,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *63 - - &65 + - *69 + - &71 name: username description: The handle for the GitHub user account. in: path @@ -10317,7 +10536,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &66 + exampleKey1: &72 value: login: octocat id: 1 @@ -10353,8 +10572,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *63 - - *65 + - *69 + - *71 responses: '201': description: Successfully added team member @@ -10362,7 +10581,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *66 + exampleKey1: *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10380,8 +10599,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *63 - - *65 + - *69 + - *71 responses: '204': description: Response @@ -10403,7 +10622,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *63 + - *69 - *17 - *19 responses: @@ -10413,11 +10632,11 @@ paths: application/json: schema: type: array - items: &67 + items: &73 title: Organization Simple description: A GitHub organization. type: object - properties: &191 + properties: &196 login: type: string example: github @@ -10458,7 +10677,7 @@ paths: type: string example: A great organization nullable: true - required: &192 + required: &197 - login - url - id @@ -10472,7 +10691,7 @@ paths: - avatar_url - description examples: - default: &68 + default: &74 value: login: github id: 1 @@ -10503,7 +10722,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10531,9 +10750,9 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: &110 + default: &116 value: - login: github id: 1 @@ -10564,7 +10783,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *63 + - *69 requestBody: required: true content: @@ -10605,8 +10824,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *63 - - &69 + - *69 + - &75 name: org description: The organization name. The name is not case sensitive. in: path @@ -10618,9 +10837,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *67 + schema: *73 examples: - default: *68 + default: *74 '404': description: The team is not assigned to the organization x-github: @@ -10639,16 +10858,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *63 - *69 + - *75 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *67 + schema: *73 examples: - default: *68 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10665,8 +10884,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *63 - *69 + - *75 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10690,7 +10909,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &71 + - &77 name: team_slug description: The slug of the team name. in: path @@ -10702,11 +10921,11 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: *70 + default: *76 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -10724,7 +10943,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *71 + - *77 requestBody: required: true content: @@ -10779,11 +10998,11 @@ paths: description: Response content: application/json: - schema: *62 + schema: *68 examples: - default: *70 + default: *76 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -10804,7 +11023,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *71 + - *77 responses: '204': description: Response @@ -10842,7 +11061,7 @@ paths: application/json: schema: type: array - items: &105 + items: &111 title: Event description: Event type: object @@ -10852,7 +11071,7 @@ paths: type: type: string nullable: true - actor: &72 + actor: &78 title: Actor description: Actor type: object @@ -10892,7 +11111,7 @@ paths: - id - name - url - org: *72 + org: *78 payload: oneOf: - title: CreateEvent @@ -10938,7 +11157,7 @@ paths: properties: action: type: string - discussion: &749 + discussion: &755 title: Discussion description: A Discussion in a repository. type: object @@ -11225,7 +11444,7 @@ paths: - id labels: type: array - items: &78 + items: &84 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11300,12 +11519,12 @@ paths: properties: action: type: string - issue: &79 + issue: &85 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &543 + properties: &549 id: type: integer format: int64 @@ -11418,7 +11637,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &274 + properties: &280 url: type: string format: uri @@ -11488,7 +11707,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &275 + required: &281 - closed_issues - creator - description @@ -11567,7 +11786,7 @@ paths: timeline_url: type: string format: uri - type: &237 + type: &243 title: Issue Type description: The type of issue. type: object @@ -11617,7 +11836,7 @@ paths: - node_id - name - description - repository: *73 + repository: *79 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11628,9 +11847,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - author_association: &76 + properties: *80 + required: *81 + author_association: &82 title: author_association type: string example: OWNER @@ -11645,7 +11864,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &77 + reactions: &83 title: Reaction Rollup type: object properties: @@ -11681,7 +11900,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &667 + sub_issues_summary: &673 title: Sub-issues Summary type: object properties: @@ -11706,7 +11925,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &80 + properties: &86 id: description: Unique identifier of the issue comment example: 42 @@ -11749,7 +11968,7 @@ paths: issue_url: type: string format: uri - author_association: *76 + author_association: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -11760,15 +11979,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - reactions: *77 + properties: *80 + required: *81 + reactions: *83 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &566 + properties: &572 pinned_at: type: string format: date-time @@ -11780,11 +11999,11 @@ paths: properties: *20 required: *21 nullable: true - required: &567 + required: &573 - pinned_at - pinned_by nullable: true - required: &81 + required: &87 - id - node_id - html_url @@ -11794,7 +12013,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &668 + issue_dependencies_summary: &674 title: Issue Dependencies Summary type: object properties: @@ -11813,7 +12032,7 @@ paths: - total_blocking issue_field_values: type: array - items: &551 + items: &557 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11874,7 +12093,7 @@ paths: - node_id - data_type - value - required: &544 + required: &550 - assignee - closed_at - comments @@ -11895,7 +12114,7 @@ paths: - user - created_at - updated_at - x-github-breaking-changes: &545 + x-github-breaking-changes: &551 - changeset: deprecate_beta_media_type patch: properties: @@ -11942,10 +12161,10 @@ paths: assignees: type: array items: *4 - label: *78 + label: *84 labels: type: array - items: *78 + items: *84 required: - action - issue @@ -11954,14 +12173,14 @@ paths: properties: action: type: string - issue: *79 - comment: &539 + issue: *85 + comment: &545 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 required: - action - issue @@ -12134,8 +12353,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true allow_forking: type: boolean @@ -12224,7 +12443,7 @@ paths: type: string number: type: integer - pull_request: &84 + pull_request: &90 title: Pull Request Minimal type: object properties: @@ -12295,10 +12514,10 @@ paths: assignees: type: array items: *4 - label: *78 + label: *84 labels: type: array - items: *78 + items: *84 required: - action - number @@ -12308,7 +12527,7 @@ paths: properties: action: type: string - pull_request: *84 + pull_request: *90 comment: type: object properties: @@ -12559,7 +12778,7 @@ paths: - pull_request updated_at: type: string - pull_request: *84 + pull_request: *90 required: - action - review @@ -12608,7 +12827,7 @@ paths: updated_at: type: string format: date-time - reactions: *77 + reactions: *83 required: - action - comment @@ -12619,7 +12838,7 @@ paths: type: string release: allOf: - - &600 + - &606 title: Release description: A release. type: object @@ -12690,7 +12909,7 @@ paths: author: *4 assets: type: array - items: &601 + items: &607 title: Release Asset description: Data related to a release. type: object @@ -12765,7 +12984,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *77 + reactions: *83 required: - assets_url - upload_url @@ -12857,7 +13076,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &116 + '503': &121 description: Service unavailable content: application/json: @@ -12950,7 +13169,7 @@ paths: _links: type: object properties: - timeline: &85 + timeline: &91 title: Link With Type description: Hypermedia Link with Type type: object @@ -12962,17 +13181,17 @@ paths: required: - href - type - user: *85 - security_advisories: *85 - current_user: *85 - current_user_public: *85 - current_user_actor: *85 - current_user_organization: *85 + user: *91 + security_advisories: *91 + current_user: *91 + current_user_public: *91 + current_user_actor: *91 + current_user_organization: *91 current_user_organizations: type: array - items: *85 - repository_discussions: *85 - repository_discussions_category: *85 + items: *91 + repository_discussions: *91 + repository_discussions_category: *91 required: - timeline - user @@ -13034,7 +13253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *86 + - *92 - *17 - *19 responses: @@ -13044,7 +13263,7 @@ paths: application/json: schema: type: array - items: &87 + items: &93 title: Base Gist description: Base Gist type: object @@ -13172,7 +13391,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &88 + default: &94 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13217,7 +13436,7 @@ paths: site_admin: false truncated: false headers: - Link: *61 + Link: *67 '304': *37 '403': *29 x-github: @@ -13293,7 +13512,7 @@ paths: description: Response content: application/json: - schema: &89 + schema: &95 title: Gist Simple description: Gist Simple type: object @@ -13310,7 +13529,7 @@ paths: url: type: string format: uri - user: &674 + user: &680 title: Public User description: Public User type: object @@ -13680,7 +13899,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &90 + default: &96 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13784,7 +14003,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *86 + - *92 - *17 - *19 responses: @@ -13794,11 +14013,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '403': *29 @@ -13818,7 +14037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *86 + - *92 - *17 - *19 responses: @@ -13828,11 +14047,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '401': *25 '304': *37 '403': *29 @@ -13858,7 +14077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &91 + - &97 name: gist_id description: The unique identifier of the gist. in: path @@ -13870,10 +14089,10 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - default: *90 - '403': &94 + default: *96 + '403': &100 description: Forbidden Gist content: application/json: @@ -13921,7 +14140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *91 + - *97 requestBody: required: true content: @@ -13981,9 +14200,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - updateGist: *90 + updateGist: *96 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14141,7 +14360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -14170,7 +14389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *91 + - *97 - *17 - *19 responses: @@ -14180,7 +14399,7 @@ paths: application/json: schema: type: array - items: &92 + items: &98 title: Gist Comment description: A comment made to a gist. type: object @@ -14215,7 +14434,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *76 + author_association: *82 required: - url - id @@ -14255,7 +14474,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -14280,7 +14499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *91 + - *97 requestBody: required: true content: @@ -14305,9 +14524,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: &93 + default: &99 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14365,8 +14584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *91 - - &95 + - *97 + - &101 name: comment_id description: The unique identifier of the comment. in: path @@ -14379,12 +14598,12 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: *93 + default: *99 '304': *37 '404': *6 - '403': *94 + '403': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14406,8 +14625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *91 - - *95 + - *97 + - *101 requestBody: required: true content: @@ -14432,9 +14651,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *98 examples: - default: *93 + default: *99 '404': *6 x-github: githubCloudOnly: false @@ -14451,8 +14670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *91 - - *95 + - *97 + - *101 responses: '204': description: Response @@ -14475,7 +14694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *91 + - *97 - *17 - *19 responses: @@ -14576,7 +14795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *91 + - *97 - *17 - *19 responses: @@ -14586,7 +14805,7 @@ paths: application/json: schema: type: array - items: *89 + items: *95 examples: default: value: @@ -14632,7 +14851,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 '304': *37 '403': *29 @@ -14651,13 +14870,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *91 + - *97 responses: '201': description: Response content: application/json: - schema: *87 + schema: *93 examples: default: value: @@ -14728,7 +14947,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *91 + - *97 responses: '204': description: Response if gist is starred @@ -14758,7 +14977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -14780,7 +14999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *91 + - *97 responses: '204': description: Response @@ -14809,7 +15028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *91 + - *97 - name: sha in: path required: true @@ -14820,9 +15039,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *95 examples: - default: *90 + default: *96 '422': *15 '404': *6 '403': *29 @@ -14983,7 +15202,7 @@ paths: type: array items: allOf: - - *73 + - *79 repository_selection: type: string example: selected @@ -15106,7 +15325,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '403': *29 '304': *37 '401': *25 @@ -15190,7 +15409,7 @@ paths: - closed - all default: open - - &240 + - &246 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15208,8 +15427,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - name: collab in: query required: false @@ -15239,9 +15458,9 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: &241 + default: &247 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15486,7 +15705,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '404': *6 @@ -15525,8 +15744,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 examples: default: value: @@ -15811,7 +16030,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &96 + X-CommonMarker-Version: &102 example: 0.17.4 schema: type: string @@ -15866,7 +16085,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *96 + X-CommonMarker-Version: *102 content: text/html: schema: @@ -15895,7 +16114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &99 + - &105 name: account_id description: account_id parameter in: path @@ -15907,7 +16126,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &104 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15937,7 +16156,7 @@ paths: nullable: true id: type: integer - plan: &97 + plan: &103 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16026,7 +16245,7 @@ paths: nullable: true updated_at: type: string - plan: *97 + plan: *103 required: - url - id @@ -16034,7 +16253,7 @@ paths: - login - marketplace_purchase examples: - default: &100 + default: &106 value: url: https://api.github.com/orgs/github type: Organization @@ -16119,9 +16338,9 @@ paths: application/json: schema: type: array - items: *97 + items: *103 examples: - default: &101 + default: &107 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16139,7 +16358,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '404': *6 '401': *25 x-github: @@ -16161,14 +16380,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &102 + - &108 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &103 + - &109 name: sort description: The property to sort the results by. in: query @@ -16198,9 +16417,9 @@ paths: application/json: schema: type: array - items: *98 + items: *104 examples: - default: &104 + default: &110 value: - url: https://api.github.com/orgs/github type: Organization @@ -16251,7 +16470,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '404': *6 '422': *15 '401': *25 @@ -16274,15 +16493,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *99 + - *105 responses: '200': description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *100 + default: *106 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -16314,11 +16533,11 @@ paths: application/json: schema: type: array - items: *97 + items: *103 examples: - default: *101 + default: *107 headers: - Link: *61 + Link: *67 '401': *25 x-github: githubCloudOnly: false @@ -16339,8 +16558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *102 - - *103 + - *108 + - *109 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16360,11 +16579,11 @@ paths: application/json: schema: type: array - items: *98 + items: *104 examples: - default: *104 + default: *110 headers: - Link: *61 + Link: *67 '401': *25 x-github: githubCloudOnly: false @@ -16626,14 +16845,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &338 + - &344 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &339 + - &345 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16650,7 +16869,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -16695,7 +16914,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &342 + '301': &348 description: Moved permanently content: application/json: @@ -16717,7 +16936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &576 + - &582 name: all description: If `true`, show notifications marked as read. in: query @@ -16725,7 +16944,7 @@ paths: schema: type: boolean default: false - - &577 + - &583 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16734,8 +16953,8 @@ paths: schema: type: boolean default: false - - *86 - - &578 + - *92 + - &584 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: @@ -16760,18 +16979,18 @@ paths: application/json: schema: type: array - items: &106 + items: &112 title: Thread description: Thread type: object properties: id: type: string - repository: &156 + repository: &161 title: Minimal Repository description: Minimal Repository type: object - properties: &206 + properties: &211 id: type: integer format: int64 @@ -17057,7 +17276,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &293 + security_and_analysis: &299 nullable: true type: object properties: @@ -17170,7 +17389,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &207 + required: &212 - archive_url - assignees_url - blobs_url @@ -17217,7 +17436,7 @@ paths: - teams_url - trees_url - url - x-github-breaking-changes: &208 + x-github-breaking-changes: &213 - changeset: remove_has_downloads patch: properties: @@ -17264,7 +17483,7 @@ paths: - url - subscription_url examples: - default: &579 + default: &585 value: - id: '1' repository: @@ -17346,7 +17565,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -17430,7 +17649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &107 + - &113 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 @@ -17444,7 +17663,7 @@ paths: description: Response content: application/json: - schema: *106 + schema: *112 examples: default: value: @@ -17546,7 +17765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *107 + - *113 responses: '205': description: Reset Content @@ -17568,7 +17787,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *107 + - *113 responses: '204': description: No content @@ -17591,13 +17810,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *107 + - *113 responses: '200': description: Response content: application/json: - schema: &108 + schema: &114 title: Thread Subscription description: Thread Subscription type: object @@ -17634,7 +17853,7 @@ paths: - url - subscribed examples: - default: &109 + default: &115 value: subscribed: true ignored: false @@ -17665,7 +17884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *107 + - *113 requestBody: required: false content: @@ -17686,9 +17905,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *114 examples: - default: *109 + default: *115 '304': *37 '403': *29 '401': *25 @@ -17711,7 +17930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *107 + - *113 responses: '204': description: Response @@ -17806,9 +18025,9 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: Link: example: ; rel="next" @@ -17835,13 +18054,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &111 + schema: &117 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17874,12 +18093,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *111 + schema: *117 examples: selected_actions: *42 responses: @@ -17908,13 +18127,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &112 + schema: &118 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17947,12 +18166,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *112 + schema: *118 examples: selected_actions: *44 responses: @@ -17981,7 +18200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *69 + - *75 - name: page in: query description: The page number of results to fetch. @@ -18025,8 +18244,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *113 - required: *114 + properties: *119 + required: *120 nullable: true additionalProperties: false examples: @@ -18132,7 +18351,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -18198,7 +18417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *69 + - *75 requestBody: required: true content: @@ -18247,7 +18466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *69 + - *75 - name: page description: The page number of the results to fetch. in: query @@ -18398,7 +18617,7 @@ paths: total_count: 3 '404': *6 '403': *29 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18419,8 +18638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *69 - - &117 + - *75 + - &122 name: budget_id description: The ID corresponding to the budget. in: path @@ -18516,8 +18735,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18537,8 +18756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *69 - - *117 + - *75 + - *122 requestBody: required: true content: @@ -18729,8 +18948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *69 - - *117 + - *75 + - *122 responses: '200': description: Response when deleting a budget @@ -18756,8 +18975,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18777,8 +18996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *69 - - &118 + - *75 + - &123 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18787,7 +19006,7 @@ paths: required: false schema: type: integer - - &120 + - &125 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18796,7 +19015,7 @@ paths: required: false schema: type: integer - - &119 + - &124 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18811,14 +19030,14 @@ paths: required: false schema: type: string - - &724 + - &730 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &121 + - &126 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18934,8 +19153,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18955,9 +19174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *69 - - *118 - - &725 + - *75 + - *123 + - &731 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18966,7 +19185,7 @@ paths: required: false schema: type: integer - - *119 + - *124 responses: '200': description: Billing usage report response for an organization @@ -19041,8 +19260,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19065,19 +19284,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *69 - - *118 - - *120 - - *119 - - &726 + - *75 + - *123 + - *125 + - *124 + - &732 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *121 - - &727 + - *126 + - &733 name: sku description: The SKU to query for usage. in: query @@ -19187,8 +19406,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19214,13 +19433,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &122 + schema: &127 title: Organization Full description: Organization Full type: object @@ -19545,7 +19764,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &123 + default-response: &128 value: login: github id: 1 @@ -19651,7 +19870,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *69 + - *75 requestBody: required: false content: @@ -19867,17 +20086,17 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 '422': description: Validation failed content: application/json: schema: oneOf: - - *124 - - *125 + - *129 + - *130 '409': *54 x-github: githubCloudOnly: false @@ -19911,7 +20130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *69 + - *75 responses: '202': *39 '404': *6 @@ -19942,7 +20161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -19968,7 +20187,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19989,7 +20208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -20007,7 +20226,7 @@ paths: type: integer repository_cache_usages: type: array - items: &349 + items: &355 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20042,7 +20261,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20062,7 +20281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -20080,7 +20299,7 @@ paths: type: integer runners: type: array - items: &126 + items: &131 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20134,7 +20353,7 @@ paths: - display_name - source nullable: true - machine_size_details: &134 + machine_size_details: &139 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20230,7 +20449,7 @@ paths: - public_ip_enabled - platform examples: - default: &155 + default: &160 value: total_count: 2 runners: @@ -20272,7 +20491,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20290,7 +20509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -20367,9 +20586,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: &135 + default: &140 value: id: 5 name: My hosted ubuntu runner @@ -20410,7 +20629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20426,7 +20645,7 @@ paths: type: integer images: type: array - items: &127 + items: &132 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20477,7 +20696,7 @@ paths: - latest_version - state examples: - default: &129 + default: &134 value: total_count: 2 image_versions: @@ -20508,8 +20727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *69 - - &128 + - *75 + - &133 name: image_definition_id description: Image definition ID of custom image in: path @@ -20521,7 +20740,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *132 examples: default: value: @@ -20551,8 +20770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *69 - - *128 + - *75 + - *133 responses: '204': description: Response @@ -20575,8 +20794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *128 - - *69 + - *133 + - *75 responses: '200': description: Response @@ -20592,7 +20811,7 @@ paths: type: integer image_versions: type: array - items: &130 + items: &135 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20625,7 +20844,7 @@ paths: - created_on - state_details examples: - default: *129 + default: *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20645,9 +20864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *69 - - *128 - - &131 + - *75 + - *133 + - &136 name: version description: Version of a custom image in: path @@ -20660,7 +20879,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *135 examples: default: value: @@ -20686,9 +20905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *69 - - *128 - - *131 + - *75 + - *133 + - *136 responses: '204': description: Response @@ -20709,7 +20928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20725,7 +20944,7 @@ paths: type: integer images: type: array - items: &132 + items: &137 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20761,7 +20980,7 @@ paths: - display_name - source examples: - default: &133 + default: &138 value: id: ubuntu-20.04 platform: linux-x64 @@ -20785,7 +21004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20801,9 +21020,9 @@ paths: type: integer images: type: array - items: *132 + items: *137 examples: - default: *133 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20820,7 +21039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20873,7 +21092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20889,7 +21108,7 @@ paths: type: integer machine_specs: type: array - items: *134 + items: *139 examples: default: value: @@ -20914,7 +21133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -20958,8 +21177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *69 - - &136 + - *75 + - &141 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20971,11 +21190,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20993,8 +21212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *69 - - *136 + - *75 + - *141 requestBody: required: true content: @@ -21046,9 +21265,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21064,16 +21283,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *69 - - *136 + - *75 + - *141 responses: '202': description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *135 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21093,7 +21312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -21126,12 +21345,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *137 + schema: *142 examples: default: *46 responses: @@ -21165,7 +21384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *69 + - *75 - name: custom_property_name in: path required: true @@ -21198,13 +21417,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *69 + - *75 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &138 + schema: &143 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21218,7 +21437,7 @@ paths: required: - include_claim_keys examples: - default: &139 + default: &144 value: include_claim_keys: - repo @@ -21240,20 +21459,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: *138 + schema: *143 examples: - default: *139 + default: *144 responses: '201': description: Empty response content: application/json: - schema: &165 + schema: &170 title: Empty Object description: An object without any properties. type: object @@ -21283,7 +21502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -21292,7 +21511,7 @@ paths: schema: type: object properties: - enabled_repositories: &140 + enabled_repositories: &145 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21305,7 +21524,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &141 + allowed_actions: &146 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21313,12 +21532,12 @@ paths: - all - local_only - selected - selected_actions_url: &355 + selected_actions_url: &361 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` is set to `selected`. - sha_pinning_required: &142 + sha_pinning_required: &147 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21349,7 +21568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21360,9 +21579,9 @@ paths: schema: type: object properties: - enabled_repositories: *140 - allowed_actions: *141 - sha_pinning_required: *142 + enabled_repositories: *145 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled_repositories examples: @@ -21390,13 +21609,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &359 + schema: &365 type: object properties: days: @@ -21433,12 +21652,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &360 + schema: &366 type: object properties: days: @@ -21475,13 +21694,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &143 + schema: &148 type: object properties: approval_policy: @@ -21495,7 +21714,7 @@ paths: required: - approval_policy examples: - default: &361 + default: &367 value: approval_policy: first_time_contributors '404': *6 @@ -21516,7 +21735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21526,7 +21745,7 @@ paths: required: true content: application/json: - schema: *143 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -21548,13 +21767,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &362 + schema: &368 type: object required: - run_workflows_from_fork_pull_requests @@ -21580,7 +21799,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &144 + default: &149 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21603,12 +21822,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &363 + schema: &369 type: object required: - run_workflows_from_fork_pull_requests @@ -21631,7 +21850,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *144 + default: *149 responses: '204': description: Empty response for successful settings update @@ -21661,7 +21880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -21679,9 +21898,9 @@ paths: type: number repositories: type: array - items: *73 + items: *79 examples: - default: &148 + default: &153 value: total_count: 1 repositories: @@ -21821,7 +22040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21865,8 +22084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *69 - - &145 + - *75 + - &150 name: repository_id description: The unique identifier of the repository. in: path @@ -21894,8 +22113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -21918,13 +22137,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &146 + schema: &151 type: object properties: github_owned_allowed: @@ -21946,7 +22165,7 @@ paths: items: type: string examples: - default: &147 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -21971,7 +22190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -21979,9 +22198,9 @@ paths: required: false content: application/json: - schema: *146 + schema: *151 examples: - selected_actions: *147 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22001,7 +22220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -22049,7 +22268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -22096,7 +22315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -22111,9 +22330,9 @@ paths: type: integer repositories: type: array - items: *73 + items: *79 examples: - default: *148 + default: *153 '403': *29 '404': *6 x-github: @@ -22133,7 +22352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -22181,8 +22400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No content @@ -22208,8 +22427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No content @@ -22237,23 +22456,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &364 + schema: &370 type: object properties: - default_workflow_permissions: &149 + default_workflow_permissions: &154 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &150 + can_approve_pull_request_reviews: &155 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -22261,7 +22480,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &151 + default: &156 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22286,7 +22505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Success response @@ -22294,13 +22513,13 @@ paths: required: false content: application/json: - schema: &365 + schema: &371 type: object properties: - default_workflow_permissions: *149 - can_approve_pull_request_reviews: *150 + default_workflow_permissions: *154 + can_approve_pull_request_reviews: *155 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22320,7 +22539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *69 + - *75 - *17 - *19 - name: visible_to_repository @@ -22345,7 +22564,7 @@ paths: type: number runner_groups: type: array - items: &152 + items: &157 type: object properties: id: @@ -22461,7 +22680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -22533,9 +22752,9 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: - default: &154 + default: &159 value: id: 2 name: octo-runner-group @@ -22570,8 +22789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *69 - - &153 + - *75 + - &158 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22583,7 +22802,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: default: value: @@ -22619,8 +22838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -22674,9 +22893,9 @@ paths: description: Response content: application/json: - schema: *152 + schema: *157 examples: - default: *154 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22695,8 +22914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *69 - - *153 + - *75 + - *158 responses: '204': description: Response @@ -22719,8 +22938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *17 - *19 responses: @@ -22738,11 +22957,11 @@ paths: type: number runners: type: array - items: *126 + items: *131 examples: - default: *155 + default: *160 headers: - Link: *61 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22762,8 +22981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *19 - *17 responses: @@ -22781,9 +23000,9 @@ paths: type: number repositories: type: array - items: *156 + items: *161 examples: - default: &194 + default: &199 value: total_count: 1 repositories: @@ -23035,8 +23254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -23080,9 +23299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 - - *145 + - *75 + - *158 + - *150 responses: '204': description: Response @@ -23104,9 +23323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *69 - - *153 - - *145 + - *75 + - *158 + - *150 responses: '204': description: Response @@ -23129,8 +23348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 - *17 - *19 responses: @@ -23148,7 +23367,7 @@ paths: type: number runners: type: array - items: &158 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -23177,7 +23396,7 @@ paths: type: boolean labels: type: array - items: &161 + items: &166 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23207,7 +23426,7 @@ paths: - busy - labels examples: - default: &159 + default: &164 value: total_count: 2 runners: @@ -23247,7 +23466,7 @@ paths: name: no-gpu type: custom headers: - Link: *61 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23266,8 +23485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *69 - - *153 + - *75 + - *158 requestBody: required: true content: @@ -23311,9 +23530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *69 - - *153 - - &157 + - *75 + - *158 + - &162 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23341,9 +23560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *69 - - *153 - - *157 + - *75 + - *158 + - *162 responses: '204': description: Response @@ -23373,7 +23592,7 @@ paths: in: query schema: type: string - - *69 + - *75 - *17 - *19 responses: @@ -23391,11 +23610,11 @@ paths: type: integer runners: type: array - items: *158 + items: *163 examples: - default: *159 + default: *164 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23417,7 +23636,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -23425,7 +23644,7 @@ paths: application/json: schema: type: array - items: &366 + items: &372 title: Runner Application description: Runner Application type: object @@ -23450,7 +23669,7 @@ paths: - download_url - filename examples: - default: &367 + default: &373 value: - os: osx architecture: x64 @@ -23493,7 +23712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -23536,7 +23755,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &368 + '201': &374 description: Response content: application/json: @@ -23546,7 +23765,7 @@ paths: - runner - encoded_jit_config properties: - runner: *158 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23603,13 +23822,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *69 + - *75 responses: '201': description: Response content: application/json: - schema: &160 + schema: &165 title: Authentication Token description: Authentication Token type: object @@ -23631,7 +23850,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *73 + items: *79 single_file: type: string example: config.yaml @@ -23647,7 +23866,7 @@ paths: - token - expires_at examples: - default: &369 + default: &375 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23678,15 +23897,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *69 + - *75 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: &370 + default: &376 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23711,16 +23930,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: '200': description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: &371 + default: &377 value: id: 23 name: MBP @@ -23761,8 +23980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: '204': description: Response @@ -23788,10 +24007,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: - '200': &162 + '200': &167 description: Response content: application/json: @@ -23805,7 +24024,7 @@ paths: type: integer labels: type: array - items: *161 + items: *166 examples: default: value: @@ -23844,8 +24063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 requestBody: required: true content: @@ -23869,7 +24088,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -23893,8 +24112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 requestBody: required: true content: @@ -23919,7 +24138,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -23943,10 +24162,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 + - *75 + - *162 responses: - '200': &372 + '200': &378 description: Response content: application/json: @@ -23960,7 +24179,7 @@ paths: type: integer labels: type: array - items: *161 + items: *166 examples: default: value: @@ -24001,9 +24220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *69 - - *157 - - &373 + - *75 + - *162 + - &379 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24011,7 +24230,7 @@ paths: schema: type: string responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -24036,7 +24255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -24054,7 +24273,7 @@ paths: type: integer secrets: type: array - items: &163 + items: &168 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24104,7 +24323,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24127,13 +24346,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &385 + schema: &391 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24162,7 +24381,7 @@ paths: - key_id - key examples: - default: &386 + default: &392 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24187,8 +24406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *69 - - &164 + - *75 + - &169 name: secret_name description: The name of the secret. in: path @@ -24200,7 +24419,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *168 examples: default: value: @@ -24230,8 +24449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -24288,7 +24507,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -24314,8 +24533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -24341,8 +24560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -24360,9 +24579,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: &168 + default: &173 value: total_count: 1 repositories: @@ -24454,8 +24673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -24507,8 +24726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -24541,8 +24760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -24574,8 +24793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *69 - - &354 + - *75 + - &360 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24599,7 +24818,7 @@ paths: type: integer variables: type: array - items: &166 + items: &171 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24663,7 +24882,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24684,7 +24903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *69 + - *75 requestBody: required: true content: @@ -24732,7 +24951,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -24757,8 +24976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *69 - - &167 + - *75 + - &172 name: name description: The name of the variable. in: path @@ -24770,7 +24989,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *171 examples: default: value: @@ -24800,8 +25019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 requestBody: required: true content: @@ -24863,8 +25082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 responses: '204': description: Response @@ -24890,8 +25109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - *19 - *17 responses: @@ -24909,9 +25128,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24937,8 +25156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 requestBody: required: true content: @@ -24987,8 +25206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - name: repository_id in: path required: true @@ -25022,8 +25241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *69 - - *167 + - *75 + - *172 - name: repository_id in: path required: true @@ -25064,7 +25283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *69 + - *75 requestBody: required: true content: @@ -25180,7 +25399,7 @@ paths: type: integer deployment_records: type: array - items: &169 + items: &174 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -25224,7 +25443,7 @@ paths: with the deployment record. nullable: true examples: - default: &170 + default: &175 value: total_count: 1 deployment_records: @@ -25239,6 +25458,8 @@ paths: created: '2011-01-26T19:14:43Z' updated_at: '2011-01-26T19:14:43Z' attestation_id: 456 + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25259,7 +25480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *69 + - *75 - name: cluster in: path description: The cluster name. @@ -25395,9 +25616,11 @@ paths: type: integer deployment_records: type: array - items: *169 + items: *174 examples: - default: *170 + default: *175 + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25417,7 +25640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *69 + - *75 requestBody: required: true content: @@ -25552,6 +25775,8 @@ paths: status: active created_at: '2023-10-01T12:00:00Z' updated_at: '2023-10-01T12:00:00Z' + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25569,7 +25794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *69 + - *75 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25594,9 +25819,9 @@ paths: type: integer deployment_records: type: array - items: *169 + items: *174 examples: - default: *170 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25616,7 +25841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *69 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25701,7 +25926,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 requestBody: required: true content: @@ -25725,12 +25950,12 @@ paths: required: - subject_digests examples: - default: &706 + default: &712 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &707 + withPredicateType: &713 value: subject_digests: - sha256:abc123 @@ -25788,7 +26013,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &708 + default: &714 value: attestations_subject_digests: - sha256:abc: @@ -25912,7 +26137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *69 + - *75 requestBody: required: true content: @@ -25977,7 +26202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *69 + - *75 - name: subject_digest description: Subject Digest in: path @@ -26012,7 +26237,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26060,7 +26285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *69 + - *75 - name: attestation_id description: Attestation ID in: path @@ -26098,7 +26323,7 @@ paths: - *17 - *47 - *48 - - *69 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26153,7 +26378,7 @@ paths: initiator: type: string examples: - default: &399 + default: &405 value: attestations: - bundle: @@ -26274,7 +26499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -26286,7 +26511,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26305,8 +26530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: If the user is blocked @@ -26331,8 +26556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -26352,8 +26577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -26378,15 +26603,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *69 + - *75 - *19 - *17 - - *55 + - *61 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &171 + schema: &176 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26412,7 +26637,7 @@ paths: application/json: schema: type: array - items: &172 + items: &177 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26443,7 +26668,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &193 + items: &198 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -26518,7 +26743,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &252 + properties: &258 id: description: Unique identifier of the team type: integer @@ -26590,7 +26815,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &253 + required: &259 - id - node_id - url @@ -26633,7 +26858,7 @@ paths: type: string format: date-time nullable: true - state: *171 + state: *176 contact_link: description: The contact link of the campaign. type: string @@ -26728,9 +26953,9 @@ paths: closed_at: state: open headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26754,7 +26979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -26853,9 +27078,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: &173 + default: &178 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26904,7 +27129,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26926,7 +27151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -26938,16 +27163,16 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: *173 + default: *178 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26968,7 +27193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -27017,7 +27242,7 @@ paths: type: string format: uri nullable: true - state: *171 + state: *176 examples: default: value: @@ -27027,9 +27252,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *177 examples: - default: *173 + default: *178 '400': description: Bad Request content: @@ -27041,7 +27266,7 @@ paths: content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27062,7 +27287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *69 + - *75 - name: campaign_number description: The campaign number. in: path @@ -27073,7 +27298,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27095,18 +27320,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *69 - - &424 + - *75 + - &430 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: &181 + schema: &186 type: string description: The name of the tool used to generate the code scanning analysis. - - &425 + - &431 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 @@ -27114,7 +27339,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &182 + schema: &187 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -27123,13 +27348,13 @@ paths: - *48 - *19 - *17 - - *55 + - *61 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &427 + schema: &433 type: string description: State of a code scanning alert. enum: @@ -27152,7 +27377,7 @@ paths: be returned. in: query required: false - schema: &428 + schema: &434 type: string description: Severity of a code scanning alert. enum: @@ -27181,18 +27406,18 @@ paths: items: type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: &429 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: &435 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &183 + state: &188 type: string description: State of a code scanning alert. nullable: true @@ -27200,7 +27425,7 @@ paths: - open - dismissed - fixed - fixed_at: *179 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -27208,8 +27433,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: &430 + dismissed_at: *185 + dismissed_reason: &436 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -27218,13 +27443,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &431 + dismissed_comment: &437 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &432 + rule: &438 type: object properties: id: @@ -27277,42 +27502,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &433 + tool: &439 type: object properties: - name: *181 + name: *186 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *182 - most_recent_instance: &434 + guid: *187 + most_recent_instance: &440 type: object properties: - ref: &426 + ref: &432 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &444 + analysis_key: &450 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &445 + environment: &451 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &446 + category: &452 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: *183 + state: *188 commit_sha: type: string message: @@ -27320,7 +27545,13 @@ paths: properties: text: type: string - location: &447 + markdown: + type: string + description: The message text as GitHub-flavored Markdown, + with placeholder links for related locations replaced + by links to the relevant code. Only populated when + related locations are available for the alert instance. + location: &453 type: object description: Describe a region within a file for the alert. properties: @@ -27341,7 +27572,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &448 + items: &454 type: string description: A classification of the file. For example to identify it as generated. @@ -27351,7 +27582,7 @@ paths: - generated - test - library - repository: *60 + repository: *66 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -27606,9 +27837,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27630,7 +27861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *69 + - *75 - name: target_type in: query description: The target type of the code security configuration @@ -27741,7 +27972,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *69 + - *75 requestBody: required: true content: @@ -27978,7 +28209,7 @@ paths: application/json: schema: *49 examples: - default: *184 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28000,15 +28231,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *185 + schema: *190 examples: - default: *186 + default: *191 '304': *37 '403': *29 '404': *6 @@ -28034,7 +28265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *69 + - *75 requestBody: required: true content: @@ -28060,7 +28291,7 @@ paths: - 32 - 91 responses: - '204': *187 + '204': *192 '400': *14 '403': *29 '404': *6 @@ -28086,7 +28317,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *69 + - *75 - *51 responses: '200': @@ -28095,7 +28326,7 @@ paths: application/json: schema: *49 examples: - default: *184 + default: *189 '304': *37 '403': *29 '404': *6 @@ -28119,7 +28350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -28392,10 +28623,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *69 + - *75 - *51 responses: - '204': *187 + '204': *192 '400': *14 '403': *29 '404': *6 @@ -28423,7 +28654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -28487,7 +28718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *69 + - *75 - *51 requestBody: required: true @@ -28533,7 +28764,7 @@ paths: default: value: default_for_new_repos: all - configuration: *184 + configuration: *189 '403': *29 '404': *6 x-github: @@ -28557,7 +28788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *69 + - *75 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -28586,13 +28817,13 @@ paths: application/json: schema: type: array - items: *188 + items: *193 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *189 + repository: *194 '403': *29 '404': *6 x-github: @@ -28616,7 +28847,7 @@ paths: parameters: - *17 - *19 - - *69 + - *75 responses: '200': description: Response @@ -28632,7 +28863,7 @@ paths: type: integer codespaces: type: array - items: &242 + items: &248 type: object title: Codespace description: A codespace. @@ -28657,12 +28888,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *156 + repository: *161 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &460 + properties: &466 name: type: string description: The name of the machine. @@ -28704,7 +28935,7 @@ paths: - ready - in_progress nullable: true - required: &461 + required: &467 - name - display_name - operating_system @@ -28909,7 +29140,7 @@ paths: - pulls_url - recent_folders examples: - default: &243 + default: &249 value: total_count: 3 codespaces: @@ -29319,7 +29550,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -29341,7 +29572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *69 + - *75 deprecated: true requestBody: required: true @@ -29385,7 +29616,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29408,7 +29639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *69 + - *75 deprecated: true requestBody: required: true @@ -29440,7 +29671,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29463,7 +29694,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *69 + - *75 requestBody: required: true content: @@ -29494,7 +29725,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29515,7 +29746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -29533,7 +29764,7 @@ paths: type: integer secrets: type: array - items: &190 + items: &195 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29572,7 +29803,7 @@ paths: - updated_at - visibility examples: - default: &462 + default: &468 value: total_count: 2 secrets: @@ -29585,7 +29816,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29604,13 +29835,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &463 + schema: &469 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29639,7 +29870,7 @@ paths: - key_id - key examples: - default: &464 + default: &470 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29662,23 +29893,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: Response content: application/json: - schema: *190 + schema: *195 examples: - default: &466 + default: &472 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29698,8 +29929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -29754,7 +29985,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -29780,8 +30011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -29806,8 +30037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -29825,9 +30056,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29849,8 +30080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -29900,8 +30131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -29934,8 +30165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -29974,7 +30205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: OK @@ -30083,7 +30314,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30115,7 +30346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *69 + - *75 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30138,7 +30369,7 @@ paths: currently being billed. seats: type: array - items: &245 + items: &251 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30155,15 +30386,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *191 - required: *192 + properties: *196 + required: *197 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *193 - - *62 + - *198 + - *68 nullable: true pending_cancellation_date: type: string @@ -30287,8 +30518,8 @@ paths: type: User site_admin: false headers: - Link: *61 - '500': *115 + Link: *67 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30321,7 +30552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -30363,7 +30594,7 @@ paths: default: value: seats_created: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30399,7 +30630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -30441,7 +30672,7 @@ paths: default: value: seats_cancelled: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30479,7 +30710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -30520,7 +30751,7 @@ paths: default: value: seats_created: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30556,7 +30787,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *69 + - *75 requestBody: content: application/json: @@ -30598,7 +30829,7 @@ paths: default: value: seats_cancelled: 5 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30634,7 +30865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -30671,7 +30902,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30699,7 +30930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -30724,7 +30955,7 @@ paths: responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30754,7 +30985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -30769,13 +31000,13 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 required: - total_count - repositories examples: - default: *194 - '500': *115 + default: *199 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30803,7 +31034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -30829,7 +31060,7 @@ paths: responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30859,12 +31090,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30893,12 +31124,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: No Content - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30933,7 +31164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *69 + - *75 responses: '200': description: OK @@ -30953,7 +31184,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -30986,7 +31217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *69 + - *75 requestBody: description: The content exclusion rules to set required: true @@ -31038,7 +31269,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -31077,7 +31308,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *69 + - *75 - 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`). @@ -31109,7 +31340,7 @@ paths: application/json: schema: type: array - items: &331 + items: &337 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31416,7 +31647,7 @@ paths: - date additionalProperties: true examples: - default: &332 + default: &338 value: - date: '2024-06-24' total_active_users: 24 @@ -31515,10 +31746,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *115 + '500': *55 '403': *29 '404': *6 - '422': &333 + '422': &339 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -31529,6 +31760,156 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/orgs/{org}/copilot/metrics/reports/organization-1-day": + get: + summary: Get Copilot organization usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day + parameters: + - *75 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": + get: + summary: Get Copilot organization usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics + parameters: + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot organization users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day + parameters: + - *75 + - *56 + responses: + '200': + description: Response + content: + application/json: + schema: *57 + examples: + default: *58 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot organization users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics + parameters: + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *55 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -31545,12 +31926,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *69 - - *195 - - *196 - - *197 - - *198 - - *199 + - *75 + - *200 + - *201 + - *202 + - *203 + - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31580,7 +31961,7 @@ paths: enum: - patch - deployment - - *200 + - *205 - name: runtime_risk in: query description: |- @@ -31589,9 +31970,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *201 - - *202 - - *55 + - *206 + - *207 + - *61 - *47 - *48 - *17 @@ -31602,9 +31983,9 @@ paths: application/json: schema: type: array - items: *203 + items: *208 examples: - default: *204 + default: *209 '304': *37 '400': *14 '403': *29 @@ -31630,7 +32011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *69 + - *75 - *17 - *19 responses: @@ -31648,7 +32029,7 @@ paths: type: integer secrets: type: array - items: &205 + items: &210 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31698,7 +32079,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31719,13 +32100,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: &495 + schema: &501 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31742,7 +32123,7 @@ paths: - key_id - key examples: - default: &496 + default: &502 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31765,14 +32146,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: Response content: application/json: - schema: *205 + schema: *210 examples: default: value: @@ -31800,8 +32181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -31858,7 +32239,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -31890,8 +32271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -31915,8 +32296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - *19 - *17 responses: @@ -31934,9 +32315,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31957,8 +32338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -32008,8 +32389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -32040,8 +32421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *69 - - *164 + - *75 + - *169 - name: repository_id in: path required: true @@ -32071,7 +32452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -32079,7 +32460,7 @@ paths: application/json: schema: type: array - items: &255 + items: &261 title: Package description: A software package type: object @@ -32129,9 +32510,9 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *206 - required: *207 - x-github-breaking-changes: *208 + properties: *211 + required: *212 + x-github-breaking-changes: *213 nullable: true created_at: type: string @@ -32150,7 +32531,7 @@ paths: - created_at - updated_at examples: - default: &256 + default: &262 value: - id: 197 name: hello_docker @@ -32228,7 +32609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *69 + - *75 - *17 - *19 responses: @@ -32238,7 +32619,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: 200-response: value: @@ -32310,7 +32691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *69 + - *75 - *17 - *19 responses: @@ -32320,7 +32701,7 @@ paths: application/json: schema: type: array - items: &231 + items: &237 title: Organization Invitation description: Organization Invitation type: object @@ -32367,7 +32748,7 @@ paths: - invitation_teams_url - node_id examples: - default: &232 + default: &238 value: - id: 1 login: monalisa @@ -32400,7 +32781,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -32424,7 +32805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *69 + - *75 - *17 - *19 responses: @@ -32434,7 +32815,7 @@ paths: application/json: schema: type: array - items: &209 + items: &214 title: Org Hook description: Org Hook type: object @@ -32522,7 +32903,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -32545,7 +32926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *69 + - *75 requestBody: required: true content: @@ -32605,9 +32986,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *214 examples: - default: &210 + default: &215 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32654,8 +33035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *69 - - &211 + - *75 + - &216 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. @@ -32668,9 +33049,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *214 examples: - default: *210 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -32697,8 +33078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *69 - - *211 + - *75 + - *216 requestBody: required: false content: @@ -32743,7 +33124,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *214 examples: default: value: @@ -32784,8 +33165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *69 - - *211 + - *75 + - *216 responses: '204': description: Response @@ -32812,8 +33193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *69 - - *211 + - *75 + - *216 responses: '200': description: Response @@ -32843,8 +33224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *69 - - *211 + - *75 + - *216 requestBody: required: false content: @@ -32894,10 +33275,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *69 - - *211 + - *75 + - *216 - *17 - - *212 + - *217 + - *218 responses: '200': description: Response @@ -32905,9 +33287,9 @@ paths: application/json: schema: type: array - items: *213 + items: *219 examples: - default: *214 + default: *220 '400': *14 '422': *15 x-github: @@ -32932,17 +33314,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *69 - - *211 + - *75 + - *216 - *16 responses: '200': description: Response content: application/json: - schema: *215 + schema: *221 examples: - default: *216 + default: *222 '400': *14 '422': *15 x-github: @@ -32967,8 +33349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *69 - - *211 + - *75 + - *216 - *16 responses: '202': *39 @@ -32997,8 +33379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *69 - - *211 + - *75 + - *216 responses: '204': description: Response @@ -33020,8 +33402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *69 - - &221 + - *75 + - &227 name: actor_type in: path description: The type of the actor @@ -33034,14 +33416,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &222 + - &228 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &217 + - &223 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`.' @@ -33049,7 +33431,7 @@ paths: required: true schema: type: string - - &218 + - &224 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) @@ -33060,7 +33442,7 @@ paths: type: string - *19 - *17 - - *55 + - *61 - name: sort description: The property to sort the results by. in: query @@ -33142,13 +33524,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *69 - - *217 - - *218 + - *75 + - *223 + - *224 - *19 - *17 - - *55 - - &227 + - *61 + - &233 name: sort description: The property to sort the results by. in: query @@ -33225,15 +33607,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *69 - - *217 - - *218 + - *75 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: &219 + schema: &225 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33249,7 +33631,7 @@ paths: type: integer format: int64 examples: - default: &220 + default: &226 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33269,24 +33651,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *69 - - &223 + - *75 + - &229 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *217 - - *218 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *219 + schema: *225 examples: - default: *220 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -33304,19 +33686,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *69 - - *217 - - *218 - - *221 - - *222 + - *75 + - *223 + - *224 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *219 + schema: *225 examples: - default: *220 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -33333,10 +33715,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *69 - - *217 - - *218 - - &224 + - *75 + - *223 + - *224 + - &230 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33349,7 +33731,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &231 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33365,7 +33747,7 @@ paths: type: integer format: int64 examples: - default: &226 + default: &232 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33401,19 +33783,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *69 + - *75 + - *229 - *223 - - *217 - - *218 - *224 + - *230 responses: '200': description: Response content: application/json: - schema: *225 + schema: *231 examples: - default: *226 + default: *232 x-github: enabledForGitHubApps: true category: orgs @@ -33430,20 +33812,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *69 - - *221 - - *222 - - *217 - - *218 + - *75 + - *227 + - *228 + - *223 - *224 + - *230 responses: '200': description: Response content: application/json: - schema: *225 + schema: *231 examples: - default: *226 + default: *232 x-github: enabledForGitHubApps: true category: orgs @@ -33460,14 +33842,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *69 + - *75 + - *229 - *223 - - *217 - - *218 + - *224 - *19 - *17 - - *55 - - *227 + - *61 + - *233 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33540,7 +33922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *69 + - *75 responses: '200': description: Response @@ -33548,7 +33930,7 @@ paths: application/json: schema: *22 examples: - default: &534 + default: &540 value: id: 1 account: @@ -33617,7 +33999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -33687,7 +34069,7 @@ paths: suspended_at: suspended_by: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33706,7 +34088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -33714,12 +34096,12 @@ paths: application/json: schema: anyOf: - - &229 + - &235 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &228 + limit: &234 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33744,7 +34126,7 @@ paths: properties: {} additionalProperties: false examples: - default: &230 + default: &236 value: limit: collaborators_only origin: organization @@ -33768,18 +34150,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: application/json: - schema: &535 + schema: &541 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *228 + limit: *234 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33803,9 +34185,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *235 examples: - default: *230 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -33823,7 +34205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -33847,7 +34229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *69 + - *75 - *17 - *19 - name: role @@ -33881,11 +34263,11 @@ paths: application/json: schema: type: array - items: *231 + items: *237 examples: - default: *232 + default: *238 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -33906,7 +34288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *69 + - *75 requestBody: required: false content: @@ -33960,7 +34342,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *237 examples: default: value: @@ -34014,8 +34396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *69 - - &233 + - *75 + - &239 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34045,8 +34427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *69 - - *233 + - *75 + - *239 - *17 - *19 responses: @@ -34056,9 +34438,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: &254 + default: &260 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34074,7 +34456,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -34093,7 +34475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -34101,7 +34483,7 @@ paths: application/json: schema: type: array - items: &234 + items: &240 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -34244,7 +34626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -34334,9 +34716,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *240 examples: - default: &235 + default: &241 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -34391,8 +34773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *69 - - &236 + - *75 + - &242 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -34491,9 +34873,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *240 examples: - default: *235 + default: *241 '404': *6 '422': *7 x-github: @@ -34517,10 +34899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *69 - - *236 + - *75 + - *242 responses: - '204': *187 + '204': *192 '404': *6 '422': *7 x-github: @@ -34540,7 +34922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -34548,7 +34930,7 @@ paths: application/json: schema: type: array - items: *237 + items: *243 examples: default: value: @@ -34586,7 +34968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -34633,9 +35015,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *243 examples: - default: &238 + default: &244 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34667,8 +35049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *69 - - &239 + - *75 + - &245 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34721,9 +35103,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *243 examples: - default: *238 + default: *244 '404': *6 '422': *7 x-github: @@ -34747,8 +35129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *69 - - *239 + - *75 + - *245 responses: '204': description: Response @@ -34781,7 +35163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *69 + - *75 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34811,7 +35193,7 @@ paths: - closed - all default: open - - *240 + - *246 - name: type description: Can be the name of an issue type. in: query @@ -34829,8 +35211,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -34840,11 +35222,11 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *241 + default: *247 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -34864,7 +35246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *69 + - *75 - 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) @@ -34902,9 +35284,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -34922,8 +35304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response if requester is an organization member and user is @@ -34957,8 +35339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -34990,8 +35372,8 @@ paths: parameters: - *17 - *19 - - *69 - - *65 + - *75 + - *71 responses: '200': description: Response @@ -35007,11 +35389,11 @@ paths: type: integer codespaces: type: array - items: *242 + items: *248 examples: - default: *243 + default: *249 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -35034,9 +35416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *69 - - *65 - - &244 + - *75 + - *71 + - &250 name: codespace_name in: path required: true @@ -35046,7 +35428,7 @@ paths: responses: '202': *39 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -35069,17 +35451,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *69 - - *65 - - *244 + - *75 + - *71 + - *250 responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: &459 + default: &465 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35221,7 +35603,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -35252,14 +35634,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *245 + schema: *251 examples: default: value: @@ -35303,7 +35685,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -35328,14 +35710,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '200': description: Response content: application/json: - schema: &246 + schema: &252 title: Org Membership description: Org Membership type: object @@ -35379,7 +35761,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *67 + organization: *73 user: title: Simple User description: A GitHub user. @@ -35402,7 +35784,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &247 + response-if-user-has-an-active-admin-membership-with-organization: &253 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35474,8 +35856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 requestBody: required: false content: @@ -35503,9 +35885,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: - response-if-user-already-had-membership-with-organization: *247 + response-if-user-already-had-membership-with-organization: *253 '422': *15 '403': *29 x-github: @@ -35535,8 +35917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -35561,7 +35943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *69 + - *75 - *17 - *19 - name: exclude @@ -35582,7 +35964,7 @@ paths: application/json: schema: type: array - items: &248 + items: &254 title: Migration description: A migration. type: object @@ -35623,7 +36005,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *73 + items: *79 url: type: string format: uri @@ -35676,7 +36058,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *60 + items: *66 version: '2026-03-10' examples: default: @@ -35830,7 +36212,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35846,7 +36228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *69 + - *75 requestBody: required: true content: @@ -35922,7 +36304,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *254 examples: default: value: @@ -36100,8 +36482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *69 - - &249 + - *75 + - &255 name: migration_id description: The unique identifier of the migration. in: path @@ -36128,7 +36510,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *248 + schema: *254 examples: default: value: @@ -36297,8 +36679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *69 - - *249 + - *75 + - *255 responses: '302': description: Response @@ -36319,8 +36701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *69 - - *249 + - *75 + - *255 responses: '204': description: Response @@ -36343,9 +36725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *69 - - *249 - - &689 + - *75 + - *255 + - &695 name: repo_name description: repo_name parameter in: path @@ -36372,8 +36754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *69 - - *249 + - *75 + - *255 - *17 - *19 responses: @@ -36383,9 +36765,9 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: &261 + default: &267 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36498,7 +36880,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -36513,7 +36895,7 @@ paths: content: application/json: schema: - items: *60 + items: *66 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -36542,7 +36924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response - list of organization roles @@ -36558,7 +36940,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &251 + items: &257 title: Organization Role description: Organization roles type: object @@ -36705,8 +37087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -36731,9 +37113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *69 - - *71 - - &250 + - *75 + - *77 + - &256 name: role_id description: The unique identifier of the role. in: path @@ -36768,9 +37150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *69 - - *71 - - *250 + - *75 + - *77 + - *256 responses: '204': description: Response @@ -36795,8 +37177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -36821,9 +37203,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *69 - - *65 - - *250 + - *75 + - *71 + - *256 responses: '204': description: Response @@ -36853,9 +37235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *69 - - *65 - - *250 + - *75 + - *71 + - *256 responses: '204': description: Response @@ -36883,14 +37265,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *69 - - *250 + - *75 + - *256 responses: '200': description: Response content: application/json: - schema: *251 + schema: *257 examples: default: value: @@ -36940,8 +37322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *69 - - *250 + - *75 + - *256 - *17 - *19 responses: @@ -37019,8 +37401,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *252 - required: *253 + properties: *258 + required: *259 nullable: true type: description: The ownership type of the team @@ -37052,9 +37434,9 @@ paths: - type - parent examples: - default: *254 + default: *260 headers: - Link: *61 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -37081,8 +37463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *69 - - *250 + - *75 + - *256 - *17 - *19 responses: @@ -37110,13 +37492,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &327 + items: &333 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *252 - required: *253 + properties: *258 + required: *259 name: nullable: true type: string @@ -37211,9 +37593,9 @@ paths: - type - url examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -37235,7 +37617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *69 + - *75 - 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) @@ -37262,9 +37644,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37287,8 +37669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *69 - - *65 + - *75 + - *71 requestBody: required: false content: @@ -37345,8 +37727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -37403,8 +37785,8 @@ paths: - docker - nuget - container - - *69 - - &690 + - *75 + - &696 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -37440,12 +37822,12 @@ paths: application/json: schema: type: array - items: *255 + items: *261 examples: - default: *256 + default: *262 '403': *29 '401': *25 - '400': &692 + '400': &698 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37467,7 +37849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &257 + - &263 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 @@ -37485,20 +37867,20 @@ paths: - docker - nuget - container - - &258 + - &264 name: package_name description: The name of the package. in: path required: true schema: type: string - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *255 + schema: *261 examples: default: value: @@ -37550,9 +37932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *257 - - *258 - - *69 + - *263 + - *264 + - *75 responses: '204': description: Response @@ -37584,9 +37966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *257 - - *258 - - *69 + - *263 + - *264 + - *75 - name: token description: package token schema: @@ -37618,9 +38000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *257 - - *258 - - *69 + - *263 + - *264 + - *75 - *19 - *17 - name: state @@ -37640,7 +38022,7 @@ paths: application/json: schema: type: array - items: &259 + items: &265 title: Package Version description: A version of a software package type: object @@ -37765,10 +38147,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *257 - - *258 - - *69 - - &260 + - *263 + - *264 + - *75 + - &266 name: package_version_id description: Unique identifier of the package version. in: path @@ -37780,7 +38162,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *265 examples: default: value: @@ -37816,10 +38198,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *257 - - *258 - - *69 - - *260 + - *263 + - *264 + - *75 + - *266 responses: '204': description: Response @@ -37851,10 +38233,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *257 - - *258 - - *69 - - *260 + - *263 + - *264 + - *75 + - *266 responses: '204': description: Response @@ -37881,10 +38263,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *69 + - *75 - *17 - *19 - - &262 + - &268 name: sort description: The property by which to sort the results. in: query @@ -37894,8 +38276,8 @@ paths: enum: - created_at default: created_at - - *55 - - &263 + - *61 + - &269 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37906,7 +38288,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &264 + - &270 name: repository description: The name of the repository to use to filter the results. in: query @@ -37914,7 +38296,7 @@ paths: schema: type: string example: Hello-World - - &265 + - &271 name: permission description: The permission to use to filter the results. in: query @@ -37922,7 +38304,7 @@ paths: schema: type: string example: issues_read - - &266 + - &272 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) @@ -37932,7 +38314,7 @@ paths: schema: type: string format: date-time - - &267 + - &273 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) @@ -37942,7 +38324,7 @@ paths: schema: type: string format: date-time - - &268 + - &274 name: token_id description: The ID of the token in: query @@ -37954,7 +38336,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -38086,7 +38468,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38106,7 +38488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *69 + - *75 requestBody: required: true content: @@ -38147,7 +38529,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -38172,7 +38554,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *69 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38208,11 +38590,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38233,7 +38615,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *69 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38244,7 +38626,7 @@ paths: - *17 - *19 responses: - '500': *115 + '500': *55 '404': *6 '403': *29 '200': @@ -38253,11 +38635,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38278,19 +38660,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *69 + - *75 - *17 - *19 - - *262 - - *55 - - *263 - - *264 - - *265 - - *266 - - *267 - *268 + - *61 + - *269 + - *270 + - *271 + - *272 + - *273 + - *274 responses: - '500': *115 + '500': *55 '422': *15 '404': *6 '403': *29 @@ -38417,7 +38799,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38437,7 +38819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *69 + - *75 requestBody: required: true content: @@ -38472,7 +38854,7 @@ paths: - 1296269 - 1296280 responses: - '500': *115 + '500': *55 '404': *6 '202': *39 '403': *29 @@ -38497,7 +38879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *69 + - *75 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -38525,9 +38907,9 @@ paths: value: action: revoke responses: - '500': *115 + '500': *55 '404': *6 - '204': *187 + '204': *192 '403': *29 '422': *15 x-github: @@ -38549,7 +38931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *69 + - *75 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -38559,7 +38941,7 @@ paths: - *17 - *19 responses: - '500': *115 + '500': *55 '404': *6 '403': *29 '200': @@ -38568,11 +38950,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38594,7 +38976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -38612,7 +38994,7 @@ paths: type: integer configurations: type: array - items: &269 + items: &275 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38640,6 +39022,15 @@ paths: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -38668,6 +39059,36 @@ paths: - private - selected type: string + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -38692,7 +39113,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *61 + Link: *67 '400': *14 '404': *6 x-github: @@ -38705,6 +39126,7 @@ paths: description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -38714,7 +39136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -38764,11 +39186,14 @@ paths: description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. + endpoint. Required when `auth_type` is `token` or `username_password`. + Should be omitted for OIDC auth types. type: string pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" key_id: - description: The ID of the key you used to encrypt the secret. + description: The ID of the key you used to encrypt the secret. Required + when `auth_type` is `token` or `username_password`. Should be + omitted for OIDC auth types. type: string visibility: description: Which type of organization repositories have access @@ -38791,11 +39216,58 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. Defaults + to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or + `oidc_jfrog` for OIDC authentication. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string required: - registry_type - url - - encrypted_value - - key_id - visibility examples: org-private-registry-with-private-visibility: @@ -38822,6 +39294,15 @@ paths: selected_repository_ids: - 1296269 - 1296280 + org-private-registry-with-oidc-azure: + summary: Example of an OIDC private registry configuration using Azure + value: + registry_type: docker_registry + url: https://myregistry.azurecr.io + auth_type: oidc_azure + visibility: all + tenant_id: 12345678-1234-1234-1234-123456789012 + client_id: abcdef01-2345-6789-abcd-ef0123456789 responses: '201': description: The organization private registry configuration @@ -38855,6 +39336,15 @@ paths: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -38889,6 +39379,36 @@ paths: private registry when `visibility` is set to `selected`. items: type: integer + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -38902,7 +39422,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &270 + org-private-registry-with-selected-visibility: &276 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -38943,7 +39463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -38969,7 +39489,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -38991,16 +39511,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *269 + schema: *275 examples: - default: *270 + default: *276 '404': *6 x-github: githubCloudOnly: false @@ -39012,6 +39532,7 @@ paths: description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -39021,8 +39542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 requestBody: required: true content: @@ -39096,12 +39617,71 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. This + field cannot be changed after creation. If provided, it must match + the existing `auth_type` of the configuration. To change the authentication + type, delete and recreate the configuration. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string examples: - default: + secret-based-update: + summary: Update a secret-based private registry value: username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' + oidc-azure-update: + summary: Update an OIDC private registry (Azure) + value: + tenant_id: 12345678-1234-1234-1234-123456789012 + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 responses: '204': description: Response @@ -39126,8 +39706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *69 - - *164 + - *75 + - *169 responses: '204': description: Response @@ -39150,7 +39730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *69 + - *75 - name: q description: Limit results to projects of the specified type. in: query @@ -39167,7 +39747,7 @@ paths: application/json: schema: type: array - items: &271 + items: &277 title: Projects v2 Project description: A projects v2 project type: object @@ -39237,7 +39817,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &781 + properties: &787 id: type: number description: The unique identifier of the status update. @@ -39285,7 +39865,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &782 + required: &788 - id - node_id - created_at @@ -39310,7 +39890,7 @@ paths: - deleted_at - deleted_by examples: - default: &272 + default: &278 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -39393,7 +39973,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -39413,24 +39993,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &273 + - &279 name: project_number description: The project's number. in: path required: true schema: type: integer - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *271 + schema: *277 examples: - default: *272 + default: *278 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -39450,8 +40030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *69 - - *273 + - *75 + - *279 requestBody: required: true description: Details of the draft item to create in the project. @@ -39485,7 +40065,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &285 title: Projects v2 Item description: An item belonging to a project type: object @@ -39498,8 +40078,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *79 - - &476 + - *85 + - &482 title: Pull Request Simple description: Pull Request Simple type: object @@ -39605,8 +40185,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *274 - required: *275 + properties: *280 + required: *281 nullable: true active_lock_reason: type: string @@ -39649,7 +40229,7 @@ paths: items: *4 requested_teams: type: array - items: *193 + items: *198 head: type: object properties: @@ -39657,7 +40237,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: @@ -39680,7 +40260,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: @@ -39699,7 +40279,7 @@ paths: _links: type: object properties: - comments: &276 + comments: &282 title: Link description: Hypermedia Link type: object @@ -39708,13 +40288,13 @@ paths: type: string required: - href - commits: *276 - statuses: *276 - html: *276 - issue: *276 - review_comments: *276 - review_comment: *276 - self: *276 + commits: *282 + statuses: *282 + html: *282 + issue: *282 + review_comments: *282 + review_comment: *282 + self: *282 required: - comments - commits @@ -39724,8 +40304,8 @@ paths: - review_comments - review_comment - self - author_association: *76 - auto_merge: &586 + author_association: *82 + auto_merge: &592 title: Auto merge description: The status of auto merging a pull request. type: object @@ -39899,7 +40479,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &278 + content_type: &284 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -39939,7 +40519,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &280 + draft_issue: &286 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40013,8 +40593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *273 - - *69 + - *279 + - *75 - *17 - *47 - *48 @@ -40025,7 +40605,7 @@ paths: application/json: schema: type: array - items: &277 + items: &283 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -40175,7 +40755,7 @@ paths: - updated_at - project_url examples: - default: &711 + default: &717 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40286,7 +40866,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -40305,8 +40885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *273 - - *69 + - *279 + - *75 requestBody: required: true content: @@ -40352,7 +40932,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &712 + items: &718 type: object properties: name: @@ -40389,7 +40969,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &713 + iteration_configuration: &719 type: object description: The configuration for iteration fields. properties: @@ -40439,7 +41019,7 @@ paths: value: name: Due date data_type: date - single_select_field: &714 + single_select_field: &720 summary: Create a single select field value: name: Priority @@ -40466,7 +41046,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &715 + iteration_field: &721 summary: Create an iteration field value: name: Sprint @@ -40490,9 +41070,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *277 + schema: *283 examples: - text_field: &716 + text_field: &722 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -40501,7 +41081,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &717 + number_field: &723 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -40510,7 +41090,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &718 + date_field: &724 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -40519,7 +41099,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &719 + single_select_field: &725 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40553,7 +41133,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &720 + iteration_field: &726 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -40598,23 +41178,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *273 - - &721 + - *279 + - &727 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *277 + schema: *283 examples: - default: &722 + default: &728 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40649,7 +41229,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -40670,8 +41250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *273 - - *69 + - *279 + - *75 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -40703,7 +41283,7 @@ paths: application/json: schema: type: array - items: &281 + items: &287 title: Projects v2 Item description: An item belonging to a project type: object @@ -40719,7 +41299,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *278 + content_type: *284 content: type: object additionalProperties: true @@ -40762,7 +41342,7 @@ paths: - updated_at - archived_at examples: - default: &282 + default: &288 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41439,7 +42019,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -41459,8 +42039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *69 - - *273 + - *75 + - *279 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -41530,22 +42110,22 @@ paths: description: Response content: application/json: - schema: *279 + schema: *285 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *280 + value: *286 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *280 + value: *286 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *280 + value: *286 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *280 + value: *286 '304': *37 '403': *29 '401': *25 @@ -41565,9 +42145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *273 - - *69 - - &283 + - *279 + - *75 + - &289 name: item_id description: The unique identifier of the project item. in: path @@ -41593,11 +42173,11 @@ paths: description: Response content: application/json: - schema: *281 + schema: *287 examples: - default: *282 + default: *288 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -41616,9 +42196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *273 - - *69 - - *283 + - *279 + - *75 + - *289 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -41688,13 +42268,13 @@ paths: description: Response content: application/json: - schema: *281 + schema: *287 examples: - text_field: *282 - number_field: *282 - date_field: *282 - single_select_field: *282 - iteration_field: *282 + text_field: *288 + number_field: *288 + date_field: *288 + single_select_field: *288 + iteration_field: *288 '401': *25 '403': *29 '404': *6 @@ -41714,9 +42294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *273 - - *69 - - *283 + - *279 + - *75 + - *289 responses: '204': description: Response @@ -41739,8 +42319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *69 - - *273 + - *75 + - *279 requestBody: required: true content: @@ -41811,7 +42391,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &703 + schema: &709 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -41909,7 +42489,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &284 + value: &290 value: id: 1 number: 1 @@ -41955,10 +42535,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *284 + value: *290 roadmap_view: summary: Response for creating a roadmap view - value: *284 + value: *290 '304': *37 '403': *29 '401': *25 @@ -41986,9 +42566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *273 - - *69 - - &723 + - *279 + - *75 + - &729 name: view_number description: The number that identifies the project view. in: path @@ -42020,11 +42600,11 @@ paths: application/json: schema: type: array - items: *281 + items: *287 examples: - default: *282 + default: *288 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -42047,7 +42627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Response @@ -42055,7 +42635,7 @@ paths: application/json: schema: type: array - items: &285 + items: &291 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -42123,7 +42703,7 @@ paths: - property_name - value_type examples: - default: &286 + default: &292 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42172,7 +42752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -42183,7 +42763,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *285 + items: *291 minItems: 1 maxItems: 100 required: @@ -42213,9 +42793,9 @@ paths: application/json: schema: type: array - items: *285 + items: *291 examples: - default: *286 + default: *292 '403': *29 '404': *6 x-github: @@ -42236,8 +42816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *69 - - &287 + - *75 + - &293 name: custom_property_name description: The custom property name in: path @@ -42249,9 +42829,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *291 examples: - default: &288 + default: &294 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42285,8 +42865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *69 - - *287 + - *75 + - *293 requestBody: required: true content: @@ -42357,9 +42937,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *291 examples: - default: *288 + default: *294 '403': *29 '404': *6 x-github: @@ -42382,10 +42962,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *69 - - *287 + - *75 + - *293 responses: - '204': *187 + '204': *192 '403': *29 '404': *6 x-github: @@ -42406,7 +42986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *69 + - *75 - *17 - *19 - name: repository_query @@ -42444,7 +43024,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &289 + items: &295 title: Custom Property Value description: Custom property name and associated value type: object @@ -42483,7 +43063,7 @@ paths: - property_name: team value: octocat headers: - Link: *61 + Link: *67 '403': *29 '404': *6 x-github: @@ -42511,7 +43091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *69 + - *75 requestBody: required: true content: @@ -42531,7 +43111,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *289 + items: *295 required: - repository_names - properties @@ -42572,7 +43152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *69 + - *75 - *17 - *19 responses: @@ -42584,9 +43164,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42603,8 +43183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response if user is a public member @@ -42628,8 +43208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -42650,8 +43230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *69 - - *65 + - *75 + - *71 responses: '204': description: Response @@ -42675,7 +43255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *69 + - *75 - name: type description: Specifies the types of repositories you want returned. in: query @@ -42721,11 +43301,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42744,7 +43324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *69 + - *75 requestBody: required: true content: @@ -42925,7 +43505,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &347 title: Full Repository description: Full Repository type: object @@ -43213,9 +43793,9 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *290 - required: *291 - x-github-breaking-changes: *292 + properties: *296 + required: *297 + x-github-breaking-changes: *298 nullable: true temp_clone_token: type: string @@ -43302,8 +43882,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true organization: title: Simple User @@ -43312,8 +43892,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *73 - source: *73 + parent: *79 + source: *79 forks: type: integer master_branch: @@ -43330,7 +43910,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &481 + properties: &487 url: type: string format: uri @@ -43346,12 +43926,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &482 + required: &488 - url - key - name - html_url - security_and_analysis: *293 + security_and_analysis: *299 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43446,7 +44026,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &343 + default: &349 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43970,10 +44550,10 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - *17 - *19 - - &608 + - &614 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43991,7 +44571,7 @@ paths: application/json: schema: type: array - items: &320 + items: &326 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -44026,7 +44606,7 @@ paths: source: type: string description: The name of the source - enforcement: &296 + enforcement: &302 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -44039,7 +44619,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &297 + items: &303 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -44109,7 +44689,7 @@ paths: conditions: nullable: true anyOf: - - &294 + - &300 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -44133,7 +44713,7 @@ paths: match. items: type: string - - &298 + - &304 title: Organization ruleset conditions type: object description: |- @@ -44147,7 +44727,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *294 + - *300 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -44181,7 +44761,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *294 + - *300 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -44203,7 +44783,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *294 + - *300 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -44216,7 +44796,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &295 + items: &301 title: Repository ruleset property targeting definition type: object @@ -44249,17 +44829,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *295 + items: *301 required: - repository_property rules: type: array - items: &609 + items: &615 title: Repository Rule type: object description: A repository rule. oneOf: - - &299 + - &305 title: creation description: Only allow users with bypass permission to create matching refs. @@ -44271,7 +44851,7 @@ paths: type: string enum: - creation - - &300 + - &306 title: update description: Only allow users with bypass permission to update matching refs. @@ -44292,7 +44872,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &301 + - &307 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -44304,7 +44884,7 @@ paths: type: string enum: - deletion - - &302 + - &308 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -44316,7 +44896,7 @@ paths: type: string enum: - required_linear_history - - &607 + - &613 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -44394,7 +44974,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &303 + - &309 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -44418,7 +44998,7 @@ paths: type: string required: - required_deployment_environments - - &304 + - &310 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -44430,7 +45010,7 @@ paths: type: string enum: - required_signatures - - &305 + - &311 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -44536,7 +45116,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &306 + - &312 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -44584,7 +45164,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &307 + - &313 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -44596,7 +45176,7 @@ paths: type: string enum: - non_fast_forward - - &308 + - &314 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -44633,7 +45213,7 @@ paths: required: - operator - pattern - - &309 + - &315 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -44670,7 +45250,7 @@ paths: required: - operator - pattern - - &310 + - &316 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44707,7 +45287,7 @@ paths: required: - operator - pattern - - &311 + - &317 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44744,7 +45324,7 @@ paths: required: - operator - pattern - - &312 + - &318 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44781,7 +45361,7 @@ paths: required: - operator - pattern - - &313 + - &319 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -44806,7 +45386,7 @@ paths: type: string required: - restricted_file_paths - - &314 + - &320 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44830,7 +45410,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &315 + - &321 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -44853,7 +45433,7 @@ paths: type: string required: - restricted_file_extensions - - &316 + - &322 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -44878,7 +45458,7 @@ paths: maximum: 100 required: - max_file_size - - &317 + - &323 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -44928,7 +45508,7 @@ paths: - repository_id required: - workflows - - &318 + - &324 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44989,7 +45569,7 @@ paths: - tool required: - code_scanning_tools - - &319 + - &325 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -45051,7 +45631,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -45067,7 +45647,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 requestBody: description: Request body required: true @@ -45088,26 +45668,20 @@ paths: - push - repository default: branch - enforcement: *296 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *297 - conditions: *298 + items: *303 + conditions: *304 rules: type: array description: An array of rules within the ruleset. - items: &322 + items: &328 title: Repository Rule type: object description: A repository rule. oneOf: - - *299 - - *300 - - *301 - - *302 - - *303 - - *304 - *305 - *306 - *307 @@ -45123,6 +45697,12 @@ paths: - *317 - *318 - *319 + - *320 + - *321 + - *322 + - *323 + - *324 + - *325 required: - name - enforcement @@ -45160,9 +45740,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: &321 + default: &327 value: id: 21 name: super cool ruleset @@ -45203,7 +45783,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *115 + '500': *55 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -45217,8 +45797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *69 - - &610 + - *75 + - &616 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 @@ -45233,7 +45813,7 @@ paths: in: query schema: type: string - - &611 + - &617 name: time_period description: |- The time period to filter by. @@ -45249,14 +45829,14 @@ paths: - week - month default: day - - &612 + - &618 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 - - &613 + - &619 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45276,7 +45856,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &620 title: Rule Suites description: Response type: array @@ -45331,7 +45911,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &615 + default: &621 value: - id: 21 actor_id: 12 @@ -45355,7 +45935,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45374,8 +45954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *69 - - &616 + - *75 + - &622 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45391,7 +45971,7 @@ paths: description: Response content: application/json: - schema: &617 + schema: &623 title: Rule Suite description: Response type: object @@ -45490,7 +46070,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &618 + default: &624 value: id: 21 actor_id: 12 @@ -45525,7 +46105,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45551,7 +46131,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45563,11 +46143,11 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: *321 + default: *327 '404': *6 - '500': *115 + '500': *55 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -45583,7 +46163,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45609,16 +46189,16 @@ paths: - tag - push - repository - enforcement: *296 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *297 - conditions: *298 + items: *303 + conditions: *304 rules: description: An array of rules within the ruleset. type: array - items: *322 + items: *328 examples: default: value: @@ -45653,12 +46233,12 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: *321 + default: *327 '404': *6 '422': *15 - '500': *115 + '500': *55 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -45674,7 +46254,7 @@ paths: category: orgs subcategory: rules parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45685,7 +46265,7 @@ paths: '204': description: Response '404': *6 - '500': *115 + '500': *55 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -45697,7 +46277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *69 + - *75 - *17 - *19 - name: ruleset_id @@ -45713,7 +46293,7 @@ paths: application/json: schema: type: array - items: &323 + items: &329 title: Ruleset version type: object description: The historical version of a ruleset @@ -45737,7 +46317,7 @@ paths: type: string format: date-time examples: - default: &620 + default: &626 value: - version_id: 3 actor: @@ -45755,7 +46335,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45772,7 +46352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *69 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45790,9 +46370,9 @@ paths: description: Response content: application/json: - schema: &621 + schema: &627 allOf: - - *323 + - *329 - type: object required: - state @@ -45839,7 +46419,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45861,8 +46441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *69 - - &622 + - *75 + - &628 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -45873,7 +46453,7 @@ paths: enum: - open - resolved - - &623 + - &629 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -45883,7 +46463,7 @@ paths: required: false schema: type: string - - &624 + - &630 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -45892,7 +46472,7 @@ paths: required: false schema: type: string - - &625 + - &631 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -45911,7 +46491,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &626 + - &632 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. @@ -45923,10 +46503,10 @@ paths: - created - updated default: created - - *55 + - *61 - *19 - *17 - - &627 + - &633 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -45936,7 +46516,7 @@ paths: required: false schema: type: string - - &628 + - &634 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45946,7 +46526,7 @@ paths: required: false schema: type: string - - &629 + - &635 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45955,7 +46535,7 @@ paths: required: false schema: type: string - - &630 + - &636 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45964,7 +46544,7 @@ paths: schema: type: boolean default: false - - &631 + - &637 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45973,7 +46553,7 @@ paths: schema: type: boolean default: false - - &632 + - &638 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45992,8 +46572,8 @@ paths: items: type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -46001,21 +46581,21 @@ paths: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &633 + state: &639 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: &634 + resolution: &640 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -46049,7 +46629,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *60 + repository: *66 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -46122,8 +46702,8 @@ paths: pull request. ' - oneOf: &635 - - &637 + oneOf: &641 + - &643 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -46175,7 +46755,7 @@ paths: - blob_url - commit_sha - commit_url - - &638 + - &644 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -46230,7 +46810,7 @@ paths: - page_url - commit_sha - commit_url - - &639 + - &645 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -46244,7 +46824,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &640 + - &646 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -46258,7 +46838,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &641 + - &647 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -46272,7 +46852,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &642 + - &648 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -46286,7 +46866,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &643 + - &649 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -46300,7 +46880,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &644 + - &650 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -46314,7 +46894,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &645 + - &651 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -46328,7 +46908,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &646 + - &652 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -46342,7 +46922,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &647 + - &653 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -46356,7 +46936,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &648 + - &654 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -46370,7 +46950,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &649 + - &655 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -46573,9 +47153,9 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46600,7 +47180,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *69 + - *75 responses: '200': description: Response @@ -46612,7 +47192,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &325 + pattern_config_version: &331 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -46621,7 +47201,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &324 + items: &330 type: object properties: token_type: @@ -46687,7 +47267,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *324 + items: *330 examples: default: value: @@ -46736,7 +47316,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *69 + - *75 requestBody: required: true content: @@ -46744,7 +47324,7 @@ paths: schema: type: object properties: - pattern_config_version: *325 + pattern_config_version: *331 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -46770,7 +47350,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *325 + custom_pattern_version: *331 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -46824,8 +47404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *69 - - *55 + - *75 + - *61 - name: sort description: The property to sort the results by. in: query @@ -46868,7 +47448,7 @@ paths: application/json: schema: type: array - items: &653 + items: &659 description: A repository security advisory. type: object properties: @@ -47055,7 +47635,7 @@ paths: required: - vector_string - score - cvss_severities: *57 + cvss_severities: *63 cwes: type: array nullable: true @@ -47088,7 +47668,7 @@ paths: login: type: string description: The username of the user credited. - type: *326 + type: *332 credits_detailed: type: array nullable: true @@ -47098,7 +47678,7 @@ paths: type: object properties: user: *4 - type: *326 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -47122,14 +47702,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *193 + items: *198 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *60 + - *66 required: - ghsa_id - cve_id @@ -47191,7 +47771,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &654 + default: &660 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47570,7 +48150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *69 + - *75 responses: '200': description: Response @@ -47578,7 +48158,7 @@ paths: application/json: schema: type: array - items: *327 + items: *333 examples: default: value: @@ -47618,8 +48198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -47644,8 +48224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response @@ -47672,7 +48252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *69 + - *75 responses: '200': description: Immutable releases settings response @@ -47721,7 +48301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *69 + - *75 responses: '204': description: Response @@ -47778,7 +48358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *69 + - *75 - *19 - *17 responses: @@ -47796,9 +48376,9 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *168 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47817,7 +48397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *69 + - *75 requestBody: required: true content: @@ -47866,8 +48446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -47889,8 +48469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *69 - - *145 + - *75 + - *150 responses: '204': description: Response @@ -47913,7 +48493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *69 + - *75 - *17 - *19 responses: @@ -47931,7 +48511,7 @@ paths: type: integer network_configurations: type: array - items: &328 + items: &334 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -48002,7 +48582,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48021,7 +48601,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 + - *75 requestBody: required: true content: @@ -48064,9 +48644,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *334 examples: - default: &329 + default: &335 value: id: 123456789ABCDEF name: My network configuration @@ -48094,8 +48674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 - - &330 + - *75 + - &336 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -48107,11 +48687,11 @@ paths: description: Response content: application/json: - schema: *328 + schema: *334 examples: - default: *329 + default: *335 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48130,8 +48710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *69 - - *330 + - *75 + - *336 requestBody: required: true content: @@ -48171,9 +48751,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *334 examples: - default: *329 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48192,8 +48772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *69 - - *330 + - *75 + - *336 responses: '204': description: Response @@ -48216,7 +48796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *69 + - *75 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -48270,7 +48850,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48300,8 +48880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *69 - - *71 + - *75 + - *77 - 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`). @@ -48333,13 +48913,13 @@ paths: application/json: schema: type: array - items: *331 + items: *337 examples: - default: *332 - '500': *115 + default: *338 + '500': *55 '403': *29 '404': *6 - '422': *333 + '422': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48357,7 +48937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *69 + - *75 - *17 - *19 - name: team_type @@ -48379,11 +48959,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *254 + default: *260 headers: - Link: *61 + Link: *67 '403': *29 x-github: githubCloudOnly: false @@ -48403,7 +48983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *69 + - *75 requestBody: required: true content: @@ -48475,7 +49055,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &340 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48538,8 +49118,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *252 - required: *253 + properties: *258 + required: *259 nullable: true members_count: type: integer @@ -48802,7 +49382,7 @@ paths: - repos_count - organization examples: - default: &335 + default: &341 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48883,16 +49463,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *69 - - *71 + - *75 + - *77 responses: '200': description: Response content: application/json: - schema: *334 + schema: *340 examples: - default: *335 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -48913,8 +49493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *69 - - *71 + - *75 + - *77 requestBody: required: false content: @@ -48976,16 +49556,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *334 + schema: *340 examples: - default: *335 + default: *341 '201': description: Response content: application/json: - schema: *334 + schema: *340 examples: - default: *335 + default: *341 '404': *6 '422': *15 '403': *29 @@ -49010,12 +49590,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *69 - - *71 + - *75 + - *77 responses: '204': description: Response - '422': &336 + '422': &342 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -49038,8 +49618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -49049,12 +49629,12 @@ paths: application/json: schema: type: array - items: *231 + items: *237 examples: - default: *232 + default: *238 headers: - Link: *61 - '422': *336 + Link: *67 + '422': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49074,8 +49654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *69 - - *71 + - *75 + - *77 - name: role description: Filters members returned by their role in the team. in: query @@ -49098,9 +49678,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49128,15 +49708,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 responses: '200': description: Response content: application/json: - schema: &337 + schema: &343 title: Team Membership description: Team Membership type: object @@ -49163,7 +49743,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &670 + response-if-user-is-a-team-maintainer: &676 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49199,9 +49779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 requestBody: required: false content: @@ -49226,9 +49806,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *343 examples: - response-if-users-membership-with-team-is-now-pending: &671 + response-if-users-membership-with-team-is-now-pending: &677 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49263,9 +49843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *69 + - *75 + - *77 - *71 - - *65 responses: '204': description: Response @@ -49291,8 +49871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -49302,11 +49882,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49333,16 +49913,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *69 - - *71 - - *338 - - *339 + - *75 + - *77 + - *344 + - *345 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &672 + schema: &678 title: Team Repository description: A team's access to a repository. type: object @@ -49365,8 +49945,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true forks: type: integer @@ -49990,10 +50570,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *69 - - *71 - - *338 - - *339 + - *75 + - *77 + - *344 + - *345 requestBody: required: false content: @@ -50038,10 +50618,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *69 - - *71 - - *338 - - *339 + - *75 + - *77 + - *344 + - *345 responses: '204': description: Response @@ -50065,8 +50645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *69 - - *71 + - *75 + - *77 - *17 - *19 responses: @@ -50076,9 +50656,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - response-if-child-teams-exist: &673 + response-if-child-teams-exist: &679 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50106,7 +50686,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50131,7 +50711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *69 + - *75 - name: security_product in: path description: The security feature to enable or disable. @@ -50232,7 +50812,7 @@ paths: resources: type: object properties: - core: &340 + core: &346 title: Rate Limit type: object properties: @@ -50249,21 +50829,21 @@ paths: - remaining - reset - used - graphql: *340 - search: *340 - code_search: *340 - source_import: *340 - integration_manifest: *340 - code_scanning_upload: *340 - actions_runner_registration: *340 - scim: *340 - dependency_snapshots: *340 - dependency_sbom: *340 - code_scanning_autofix: *340 + graphql: *346 + search: *346 + code_search: *346 + source_import: *346 + integration_manifest: *346 + code_scanning_upload: *346 + actions_runner_registration: *346 + scim: *346 + dependency_snapshots: *346 + dependency_sbom: *346 + code_scanning_autofix: *346 required: - core - search - rate: *340 + rate: *346 required: - rate - resources @@ -50376,14 +50956,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *341 + schema: *347 examples: default-response: summary: Default response @@ -50888,7 +51468,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *342 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50906,8 +51486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: false content: @@ -51198,10 +51778,10 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: - default: *343 - '307': &344 + default: *349 + '307': &350 description: Temporary Redirect content: application/json: @@ -51230,8 +51810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -51253,7 +51833,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *344 + '307': *350 '404': *6 '409': *54 x-github: @@ -51277,11 +51857,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 - - &377 + - &383 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51304,7 +51884,7 @@ paths: type: integer artifacts: type: array - items: &345 + items: &351 title: Artifact description: An artifact type: object @@ -51382,7 +51962,7 @@ paths: - expires_at - updated_at examples: - default: &378 + default: &384 value: total_count: 2 artifacts: @@ -51421,7 +52001,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51443,9 +52023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *338 - - *339 - - &346 + - *344 + - *345 + - &352 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51457,7 +52037,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *351 examples: default: value: @@ -51495,9 +52075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *338 - - *339 - - *346 + - *344 + - *345 + - *352 responses: '204': description: Response @@ -51521,9 +52101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *338 - - *339 - - *346 + - *344 + - *345 + - *352 - name: archive_format in: path required: true @@ -51537,7 +52117,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': &538 + '410': &544 description: Gone content: application/json: @@ -51562,14 +52142,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &347 + schema: &353 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51602,13 +52182,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *347 + schema: *353 examples: selected_actions: *42 responses: @@ -51637,14 +52217,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &348 + schema: &354 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -51677,13 +52257,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *348 + schema: *354 examples: selected_actions: *44 responses: @@ -51714,14 +52294,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *349 + schema: *355 examples: default: value: @@ -51747,11 +52327,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 - - &350 + - &356 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 @@ -51779,13 +52359,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *55 + - *61 responses: '200': description: Response content: application/json: - schema: &351 + schema: &357 title: Repository actions caches description: Repository actions caches type: object @@ -51827,7 +52407,7 @@ paths: - total_count - actions_caches examples: - default: &352 + default: &358 value: total_count: 1 actions_caches: @@ -51839,7 +52419,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51859,23 +52439,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *338 - - *339 + - *344 + - *345 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *350 + - *356 responses: '200': description: Response content: application/json: - schema: *351 + schema: *357 examples: - default: *352 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51895,8 +52475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *338 - - *339 + - *344 + - *345 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51927,9 +52507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *338 - - *339 - - &353 + - *344 + - *345 + - &359 name: job_id description: The unique identifier of the job. in: path @@ -51941,7 +52521,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &387 title: Job description: Information of a job execution in a workflow run type: object @@ -52248,9 +52828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *338 - - *339 - - *353 + - *344 + - *345 + - *359 responses: '302': description: Response @@ -52278,9 +52858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *338 - - *339 - - *353 + - *344 + - *345 + - *359 requestBody: required: false content: @@ -52301,7 +52881,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -52325,8 +52905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Status response @@ -52376,8 +52956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -52411,7 +52991,7 @@ paths: description: Empty response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -52440,8 +53020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -52459,7 +53039,7 @@ paths: type: integer secrets: type: array - items: &383 + items: &389 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52479,7 +53059,7 @@ paths: - created_at - updated_at examples: - default: &384 + default: &390 value: total_count: 2 secrets: @@ -52490,7 +53070,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52512,9 +53092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *338 - - *339 - - *354 + - *344 + - *345 + - *360 - *19 responses: '200': @@ -52531,7 +53111,7 @@ paths: type: integer variables: type: array - items: &387 + items: &393 title: Actions Variable type: object properties: @@ -52561,7 +53141,7 @@ paths: - created_at - updated_at examples: - default: &388 + default: &394 value: total_count: 2 variables: @@ -52574,7 +53154,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52594,8 +53174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -52604,12 +53184,12 @@ paths: schema: type: object properties: - enabled: &356 + enabled: &362 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *141 - selected_actions_url: *355 - sha_pinning_required: *142 + allowed_actions: *146 + selected_actions_url: *361 + sha_pinning_required: *147 required: - enabled examples: @@ -52637,8 +53217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -52649,9 +53229,9 @@ paths: schema: type: object properties: - enabled: *356 - allowed_actions: *141 - sha_pinning_required: *142 + enabled: *362 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled examples: @@ -52681,14 +53261,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &357 + schema: &363 type: object properties: access_level: @@ -52705,7 +53285,7 @@ paths: required: - access_level examples: - default: &358 + default: &364 value: access_level: organization x-github: @@ -52729,15 +53309,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *357 + schema: *363 examples: - default: *358 + default: *364 responses: '204': description: Response @@ -52761,14 +53341,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *359 + schema: *365 examples: default: value: @@ -52792,8 +53372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Empty response for successful settings update @@ -52803,7 +53383,7 @@ paths: required: true content: application/json: - schema: *360 + schema: *366 examples: default: summary: Set retention days @@ -52827,16 +53407,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *143 + schema: *148 examples: - default: *361 + default: *367 '404': *6 x-github: enabledForGitHubApps: true @@ -52855,8 +53435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -52866,7 +53446,7 @@ paths: required: true content: application/json: - schema: *143 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -52890,16 +53470,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *362 + schema: *368 examples: - default: *144 + default: *149 '403': *29 '404': *6 x-github: @@ -52919,15 +53499,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *363 + schema: *369 examples: - default: *144 + default: *149 responses: '204': description: Empty response for successful settings update @@ -52951,16 +53531,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *146 + schema: *151 examples: - default: *147 + default: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52979,8 +53559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -52988,9 +53568,9 @@ paths: required: false content: application/json: - schema: *146 + schema: *151 examples: - selected_actions: *147 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53012,16 +53592,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *364 + schema: *370 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53042,8 +53622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Success response @@ -53054,9 +53634,9 @@ paths: required: true content: application/json: - schema: *365 + schema: *371 examples: - default: *151 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53083,8 +53663,8 @@ paths: in: query schema: type: string - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -53102,11 +53682,11 @@ paths: type: integer runners: type: array - items: *158 + items: *163 examples: - default: *159 + default: *164 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53128,8 +53708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -53137,9 +53717,9 @@ paths: application/json: schema: type: array - items: *366 + items: *372 examples: - default: *367 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53161,8 +53741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -53205,7 +53785,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *368 + '201': *374 '404': *6 '422': *7 '409': *54 @@ -53236,16 +53816,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: *369 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53273,16 +53853,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '201': description: Response content: application/json: - schema: *160 + schema: *165 examples: - default: *370 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53304,17 +53884,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 - - *157 + - *344 + - *345 + - *162 responses: '200': description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *371 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53335,9 +53915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *338 - - *339 - - *157 + - *344 + - *345 + - *162 responses: '204': description: Response @@ -53363,11 +53943,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 - - *157 + - *344 + - *345 + - *162 responses: - '200': *162 + '200': *167 '404': *6 x-github: githubCloudOnly: false @@ -53389,9 +53969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 - - *157 + - *344 + - *345 + - *162 requestBody: required: true content: @@ -53415,7 +53995,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -53439,9 +54019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 - - *157 + - *344 + - *345 + - *162 requestBody: required: true content: @@ -53466,7 +54046,7 @@ paths: - gpu - accelerated responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -53490,11 +54070,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 - - *157 + - *344 + - *345 + - *162 responses: - '200': *372 + '200': *378 '404': *6 x-github: githubCloudOnly: false @@ -53521,12 +54101,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 - - *157 - - *373 + - *344 + - *345 + - *162 + - *379 responses: - '200': *162 + '200': *167 '404': *6 '422': *7 x-github: @@ -53552,9 +54132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *338 - - *339 - - &391 + - *344 + - *345 + - &397 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. @@ -53562,7 +54142,7 @@ paths: required: false schema: type: string - - &392 + - &398 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53570,7 +54150,7 @@ paths: required: false schema: type: string - - &393 + - &399 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53579,7 +54159,7 @@ paths: required: false schema: type: string - - &394 + - &400 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 @@ -53606,7 +54186,7 @@ paths: - pending - *17 - *19 - - &395 + - &401 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/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -53615,7 +54195,7 @@ paths: schema: type: string format: date-time - - &374 + - &380 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53624,13 +54204,13 @@ paths: schema: type: boolean default: false - - &396 + - &402 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &397 + - &403 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53653,7 +54233,7 @@ paths: type: integer workflow_runs: type: array - items: &375 + items: &381 title: Workflow Run description: An invocation of a workflow type: object @@ -53748,7 +54328,7 @@ paths: that triggered the run. type: array nullable: true - items: *84 + items: *90 created_at: type: string format: date-time @@ -53801,7 +54381,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &419 + properties: &425 id: type: string description: SHA for the commit @@ -53852,7 +54432,7 @@ paths: - name - email nullable: true - required: &420 + required: &426 - id - tree_id - message @@ -53860,8 +54440,8 @@ paths: - author - committer nullable: true - repository: *156 - head_repository: *156 + repository: *161 + head_repository: *161 head_repository_id: type: integer example: 5 @@ -53899,7 +54479,7 @@ paths: - workflow_url - pull_requests examples: - default: &398 + default: &404 value: total_count: 1 workflow_runs: @@ -54113,7 +54693,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54135,24 +54715,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *338 - - *339 - - &376 + - *344 + - *345 + - &382 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *374 + - *380 responses: '200': description: Response content: application/json: - schema: *375 + schema: *381 examples: - default: &379 + default: &385 value: id: 30433642 name: Build @@ -54393,9 +54973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '204': description: Response @@ -54418,9 +54998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -54539,15 +55119,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54574,13 +55154,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 - *17 - *19 - - *377 - - *55 + - *383 + - *61 responses: '200': description: Response @@ -54596,11 +55176,11 @@ paths: type: integer artifacts: type: array - items: *345 + items: *351 examples: - default: *378 + default: *384 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54622,25 +55202,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *338 - - *339 - - *376 - - &380 + - *344 + - *345 + - *382 + - &386 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *374 + - *380 responses: '200': description: Response content: application/json: - schema: *375 + schema: *381 examples: - default: *379 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54663,10 +55243,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *338 - - *339 - - *376 - - *380 + - *344 + - *345 + - *382 + - *386 - *17 - *19 responses: @@ -54684,9 +55264,9 @@ paths: type: integer jobs: type: array - items: *381 + items: *387 examples: - default: &382 + default: &388 value: total_count: 1 jobs: @@ -54775,7 +55355,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -54799,10 +55379,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *338 - - *339 - - *376 - - *380 + - *344 + - *345 + - *382 + - *386 responses: '302': description: Response @@ -54830,15 +55410,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '202': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54865,9 +55445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 requestBody: required: true content: @@ -54934,15 +55514,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '202': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -54969,9 +55549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 - 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 @@ -55001,11 +55581,11 @@ paths: type: integer jobs: type: array - items: *381 + items: *387 examples: - default: *382 + default: *388 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55028,9 +55608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '302': description: Response @@ -55057,14 +55637,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '204': description: Response '403': *29 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55086,9 +55666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -55148,7 +55728,7 @@ paths: items: type: object properties: - type: &504 + type: &510 type: string description: The type of reviewer. enum: @@ -55158,7 +55738,7 @@ paths: reviewer: anyOf: - *4 - - *193 + - *198 required: - environment - wait_timer @@ -55233,9 +55813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 requestBody: required: true content: @@ -55282,12 +55862,12 @@ paths: application/json: schema: type: array - items: &499 + items: &505 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &743 + properties: &749 url: type: string format: uri @@ -55370,9 +55950,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - required: &744 + properties: *80 + required: *81 + required: &750 - id - node_id - sha @@ -55388,7 +55968,7 @@ paths: - created_at - updated_at examples: - default: &500 + default: &506 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55444,9 +56024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 requestBody: required: false content: @@ -55467,7 +56047,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -55490,9 +56070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 requestBody: required: false content: @@ -55513,7 +56093,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -55545,9 +56125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *338 - - *339 - - *376 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -55684,8 +56264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -55703,11 +56283,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *389 examples: - default: *384 + default: *390 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55730,16 +56310,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: *386 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55761,17 +56341,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *383 + schema: *389 examples: - default: &517 + default: &523 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55797,9 +56377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -55830,7 +56410,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -55856,9 +56436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -55883,9 +56463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *338 - - *339 - - *354 + - *344 + - *345 + - *360 - *19 responses: '200': @@ -55902,11 +56482,11 @@ paths: type: integer variables: type: array - items: *387 + items: *393 examples: - default: *388 + default: *394 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55927,8 +56507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -55955,7 +56535,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -55980,17 +56560,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *338 - - *339 - - *167 + - *344 + - *345 + - *172 responses: '200': description: Response content: application/json: - schema: *387 + schema: *393 examples: - default: &518 + default: &524 value: name: USERNAME value: octocat @@ -56016,9 +56596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *338 - - *339 - - *167 + - *344 + - *345 + - *172 requestBody: required: true content: @@ -56060,9 +56640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *338 - - *339 - - *167 + - *344 + - *345 + - *172 responses: '204': description: Response @@ -56087,8 +56667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -56106,7 +56686,7 @@ paths: type: integer workflows: type: array - items: &389 + items: &395 title: Workflow description: A GitHub Actions workflow type: object @@ -56190,7 +56770,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56213,9 +56793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *338 - - *339 - - &390 + - *344 + - *345 + - &396 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56230,7 +56810,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *395 examples: default: value: @@ -56263,9 +56843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *338 - - *339 - - *390 + - *344 + - *345 + - *396 responses: '204': description: Response @@ -56290,9 +56870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *338 - - *339 - - *390 + - *344 + - *345 + - *396 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -56387,9 +56967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *338 - - *339 - - *390 + - *344 + - *345 + - *396 responses: '204': description: Response @@ -56416,19 +56996,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *338 - - *339 - - *390 - - *391 - - *392 - - *393 - - *394 - - *17 - - *19 - - *395 - - *374 + - *344 + - *345 - *396 - *397 + - *398 + - *399 + - *400 + - *17 + - *19 + - *401 + - *380 + - *402 + - *403 responses: '200': description: Response @@ -56444,11 +57024,11 @@ paths: type: integer workflow_runs: type: array - items: *375 + items: *381 examples: - default: *398 + default: *404 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +57058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *338 - - *339 - - *390 + - *344 + - *345 + - *396 responses: '200': description: Response @@ -56541,9 +57121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *338 - - *339 - - *55 + - *344 + - *345 + - *61 - *17 - *47 - *48 @@ -56687,7 +57267,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '422': *7 x-github: githubCloudOnly: false @@ -56706,8 +57286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -56719,9 +57299,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -56744,8 +57324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *338 - - *339 + - *344 + - *345 - name: assignee in: path required: true @@ -56781,8 +57361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -56894,8 +57474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *47 - *48 @@ -56952,7 +57532,7 @@ paths: initiator: type: string examples: - default: *399 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56986,8 +57566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -56995,7 +57575,7 @@ paths: application/json: schema: type: array - items: &400 + items: &406 title: Autolink reference description: An autolink reference. type: object @@ -57049,8 +57629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -57089,9 +57669,9 @@ paths: description: response content: application/json: - schema: *400 + schema: *406 examples: - default: &401 + default: &407 value: id: 1 key_prefix: TICKET- @@ -57122,9 +57702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *338 - - *339 - - &402 + - *344 + - *345 + - &408 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57136,9 +57716,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: *401 + default: *407 '404': *6 x-github: githubCloudOnly: false @@ -57158,9 +57738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *338 - - *339 - - *402 + - *344 + - *345 + - *408 responses: '204': description: Response @@ -57184,8 +57764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response if Dependabot is enabled @@ -57233,8 +57813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -57255,8 +57835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -57276,8 +57856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *338 - - *339 + - *344 + - *345 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57315,7 +57895,7 @@ paths: - url protected: type: boolean - protection: &404 + protection: &410 title: Branch Protection description: Branch Protection type: object @@ -57357,7 +57937,7 @@ paths: required: - contexts - checks - enforce_admins: &407 + enforce_admins: &413 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57372,7 +57952,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &409 + required_pull_request_reviews: &415 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57393,7 +57973,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *193 + items: *198 apps: description: The list of apps with review dismissal access. @@ -57422,7 +58002,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *193 + items: *198 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57448,7 +58028,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &406 + restrictions: &412 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57511,7 +58091,7 @@ paths: type: string teams: type: array - items: *193 + items: *198 apps: type: array items: @@ -57707,7 +58287,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -57725,9 +58305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *338 - - *339 - - &405 + - *344 + - *345 + - &411 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/graphql). @@ -57741,14 +58321,14 @@ paths: description: Response content: application/json: - schema: &415 + schema: &421 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &472 + commit: &478 title: Commit description: Commit type: object @@ -57782,7 +58362,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &403 + properties: &409 name: type: string example: '"Chris Wanstrath"' @@ -57798,7 +58378,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *403 + properties: *409 nullable: true message: type: string @@ -57819,7 +58399,7 @@ paths: required: - sha - url - verification: &524 + verification: &530 title: Verification type: object properties: @@ -57853,12 +58433,12 @@ paths: nullable: true oneOf: - *4 - - *165 + - *170 committer: nullable: true oneOf: - *4 - - *165 + - *170 parents: type: array items: @@ -57889,7 +58469,7 @@ paths: type: integer files: type: array - items: &485 + items: &491 title: Diff Entry description: Diff Entry type: object @@ -57973,7 +58553,7 @@ paths: - self protected: type: boolean - protection: *404 + protection: *410 protection_url: type: string format: uri @@ -58080,7 +58660,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *342 + '301': *348 '404': *6 x-github: githubCloudOnly: false @@ -58102,15 +58682,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *404 + schema: *410 examples: default: value: @@ -58304,9 +58884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -58561,7 +59141,7 @@ paths: url: type: string format: uri - required_status_checks: &412 + required_status_checks: &418 title: Status Check Policy description: Status Check Policy type: object @@ -58637,7 +59217,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 apps: type: array items: *5 @@ -58655,7 +59235,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 apps: type: array items: *5 @@ -58713,7 +59293,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *406 + restrictions: *412 required_conversation_resolution: type: object properties: @@ -58825,9 +59405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -58852,17 +59432,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *407 + schema: *413 examples: - default: &408 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58884,17 +59464,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *407 + schema: *413 examples: - default: *408 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58913,9 +59493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -58940,17 +59520,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *409 + schema: *415 examples: - default: &410 + default: &416 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59046,9 +59626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59146,9 +59726,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *415 examples: - default: *410 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -59169,9 +59749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59198,17 +59778,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *407 + schema: *413 examples: - default: &411 + default: &417 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59231,17 +59811,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *407 + schema: *413 examples: - default: *411 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -59261,9 +59841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59288,17 +59868,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *412 + schema: *418 examples: - default: &413 + default: &419 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59324,9 +59904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59378,9 +59958,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *418 examples: - default: *413 + default: *419 '404': *6 '422': *15 x-github: @@ -59402,9 +59982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59428,9 +60008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -59464,9 +60044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59533,9 +60113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59599,9 +60179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: content: application/json: @@ -59667,15 +60247,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *406 + schema: *412 examples: default: value: @@ -59766,9 +60346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59791,9 +60371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -59803,7 +60383,7 @@ paths: type: array items: *5 examples: - default: &414 + default: &420 value: - id: 1 slug: octoapp @@ -59860,9 +60440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -59896,7 +60476,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -59917,9 +60497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -59953,7 +60533,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -59974,9 +60554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60010,7 +60590,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60032,9 +60612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -60042,9 +60622,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *254 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -60064,9 +60644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -60102,9 +60682,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *254 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -60125,9 +60705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -60163,9 +60743,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *254 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -60186,9 +60766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: content: application/json: @@ -60223,9 +60803,9 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *254 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -60247,9 +60827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -60259,7 +60839,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '404': *6 x-github: githubCloudOnly: false @@ -60283,9 +60863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60318,7 +60898,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -60343,9 +60923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60378,7 +60958,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -60403,9 +60983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60438,7 +61018,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -60465,9 +61045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60489,7 +61069,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *421 examples: default: value: @@ -60605,8 +61185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -60885,7 +61465,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &422 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60996,16 +61576,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *84 - deployment: &736 + items: *90 + deployment: &742 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61072,8 +61652,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -61285,9 +61865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *338 - - *339 - - &417 + - *344 + - *345 + - &423 name: check_run_id description: The unique identifier of the check run. in: path @@ -61299,9 +61879,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *422 examples: - default: &418 + default: &424 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61401,9 +61981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *338 - - *339 - - *417 + - *344 + - *345 + - *423 requestBody: required: true content: @@ -61643,9 +62223,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *422 examples: - default: *418 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61665,9 +62245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *338 - - *339 - - *417 + - *344 + - *345 + - *423 - *17 - *19 responses: @@ -61742,7 +62322,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61762,15 +62342,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *338 - - *339 - - *417 + - *344 + - *345 + - *423 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -61808,8 +62388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -61831,7 +62411,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &421 + schema: &427 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61895,7 +62475,7 @@ paths: nullable: true pull_requests: type: array - items: *84 + items: *90 nullable: true app: title: GitHub app @@ -61906,9 +62486,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - repository: *156 + properties: *80 + required: *81 + repository: *161 created_at: type: string format: date-time @@ -61917,12 +62497,12 @@ paths: type: string format: date-time nullable: true - head_commit: &764 + head_commit: &770 title: Simple Commit description: A commit. type: object - properties: *419 - required: *420 + properties: *425 + required: *426 latest_check_runs_count: type: integer check_runs_url: @@ -61950,7 +62530,7 @@ paths: - check_runs_url - pull_requests examples: - default: &422 + default: &428 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62241,9 +62821,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *421 + schema: *427 examples: - default: *422 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62262,8 +62842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -62324,7 +62904,7 @@ paths: required: - app_id - setting - repository: *156 + repository: *161 examples: default: value: @@ -62572,9 +63152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *338 - - *339 - - &423 + - *344 + - *345 + - &429 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62586,9 +63166,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *427 examples: - default: *422 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62611,17 +63191,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *338 - - *339 - - *423 - - &478 + - *344 + - *345 + - *429 + - &484 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &479 + - &485 name: status description: Returns check runs with the specified `status`. in: query @@ -62660,9 +63240,9 @@ paths: type: integer check_runs: type: array - items: *416 + items: *422 examples: - default: &480 + default: &486 value: total_count: 1 check_runs: @@ -62744,7 +63324,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62764,15 +63344,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *338 - - *339 - - *423 + - *344 + - *345 + - *429 responses: '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -62799,28 +63379,28 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *338 - - *339 - - *424 - - *425 + - *344 + - *345 + - *430 + - *431 - *19 - *17 - - &442 + - &448 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: *426 - - &443 + schema: *432 + - &449 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *55 + - *61 - *47 - *48 - name: sort @@ -62838,13 +63418,13 @@ paths: be returned. in: query required: false - schema: *427 + schema: *433 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *428 + schema: *434 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -62863,14 +63443,14 @@ paths: items: type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: *429 - state: *183 - fixed_at: *179 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *435 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -62878,12 +63458,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: *430 - dismissed_comment: *431 - rule: *432 - tool: *433 - most_recent_instance: *434 + dismissed_at: *185 + dismissed_reason: *436 + dismissed_comment: *437 + rule: *438 + tool: *439 + most_recent_instance: *440 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63009,14 +63589,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &435 + '403': &441 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63036,9 +63616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *338 - - *339 - - &436 + - *344 + - *345 + - &442 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63046,23 +63626,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *174 + schema: *179 responses: '200': description: Response content: application/json: - schema: &437 + schema: &443 type: object properties: - number: *174 - created_at: *175 - updated_at: *176 - url: *177 - html_url: *178 - instances_url: *429 - state: *183 - fixed_at: *179 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *435 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -63070,9 +63650,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *180 - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_at: *185 + dismissed_reason: *436 + dismissed_comment: *437 rule: type: object properties: @@ -63126,8 +63706,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *433 - most_recent_instance: *434 + tool: *439 + most_recent_instance: *440 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63226,9 +63806,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *435 + '403': *441 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63246,9 +63826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *338 - - *339 - - *436 + - *344 + - *345 + - *442 requestBody: required: true content: @@ -63263,8 +63843,8 @@ paths: enum: - open - dismissed - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *436 + dismissed_comment: *437 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63292,7 +63872,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *443 examples: default: value: @@ -63368,14 +63948,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &441 + '403': &447 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': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63395,15 +63975,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *436 + - *344 + - *345 + - *442 responses: '200': description: Response content: application/json: - schema: &438 + schema: &444 type: object properties: status: @@ -63429,13 +64009,13 @@ paths: - description - started_at examples: - default: &439 + default: &445 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &440 + '400': &446 description: Bad Request content: application/json: @@ -63446,9 +64026,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *435 + '403': *441 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63471,29 +64051,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *436 + - *344 + - *345 + - *442 responses: '200': description: OK content: application/json: - schema: *438 + schema: *444 examples: - default: *439 + default: *445 '202': description: Accepted content: application/json: - schema: *438 + schema: *444 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *440 + '400': *446 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63503,7 +64083,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63525,9 +64105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *436 + - *344 + - *345 + - *442 requestBody: required: false content: @@ -63572,12 +64152,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *440 - '403': *441 + '400': *446 + '403': *447 '404': *6 '422': description: Unprocessable Entity - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63597,13 +64177,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *338 - - *339 - - *436 + - *344 + - *345 + - *442 - *19 - *17 - - *442 - - *443 + - *448 + - *449 responses: '200': description: Response @@ -63614,10 +64194,10 @@ paths: items: type: object properties: - ref: *426 - analysis_key: *444 - environment: *445 - category: *446 + ref: *432 + analysis_key: *450 + environment: *451 + category: *452 state: type: string description: State of a code scanning alert instance. @@ -63632,7 +64212,7 @@ paths: properties: text: type: string - location: *447 + location: *453 html_url: type: string classifications: @@ -63640,7 +64220,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *448 + items: *454 examples: default: value: @@ -63677,9 +64257,9 @@ paths: end_column: 50 classifications: - source - '403': *435 + '403': *441 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63711,29 +64291,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *338 - - *339 - - *424 - - *425 + - *344 + - *345 + - *430 + - *431 - *19 - *17 - - *443 + - *449 - 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: *426 + schema: *432 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &449 + schema: &455 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *55 + - *61 - name: sort description: The property by which to sort the results. in: query @@ -63750,23 +64330,23 @@ paths: application/json: schema: type: array - items: &450 + items: &456 type: object properties: - ref: *426 - commit_sha: &458 + ref: *432 + commit_sha: &464 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: *444 + analysis_key: *450 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *446 + category: *452 error: type: string example: error reading field xyz @@ -63790,8 +64370,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *449 - tool: *433 + sarif_id: *455 + tool: *439 deletable: type: boolean warning: @@ -63852,9 +64432,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *435 + '403': *441 '404': *6 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63888,8 +64468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63902,7 +64482,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *456 examples: response: summary: application/json response @@ -63956,14 +64536,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *435 + '403': *441 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64043,8 +64623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64097,9 +64677,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': *441 + '403': *447 '404': *6 - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64119,8 +64699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -64128,7 +64708,7 @@ paths: application/json: schema: type: array - items: &451 + items: &457 title: CodeQL Database description: A CodeQL database. type: object @@ -64239,9 +64819,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': *435 + '403': *441 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64268,8 +64848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - name: language in: path description: The language of the CodeQL database. @@ -64281,7 +64861,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *457 examples: default: value: @@ -64313,11 +64893,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': &487 + '302': &493 description: Found - '403': *435 + '403': *441 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64337,8 +64917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *338 - - *339 + - *344 + - *345 - name: language in: path description: The language of the CodeQL database. @@ -64348,9 +64928,9 @@ paths: responses: '204': description: Response - '403': *441 + '403': *447 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64376,8 +64956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -64386,7 +64966,7 @@ paths: type: object additionalProperties: false properties: - language: &452 + language: &458 type: string description: The language targeted by the CodeQL query enum: @@ -64466,7 +65046,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &456 + schema: &462 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64474,9 +65054,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *60 + controller_repo: *66 actor: *4 - query_language: *452 + query_language: *458 query_pack_url: type: string description: The download url for the query pack. @@ -64523,7 +65103,7 @@ paths: items: type: object properties: - repository: &453 + repository: &459 title: Repository Identifier description: Repository Identifier type: object @@ -64559,7 +65139,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &457 + analysis_status: &463 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64591,7 +65171,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &454 + access_mismatch_repos: &460 type: object properties: repository_count: @@ -64605,7 +65185,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: *453 + items: *459 required: - repository_count - repositories @@ -64627,8 +65207,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *454 - over_limit_repos: *454 + no_codeql_db_repos: *460 + over_limit_repos: *460 required: - access_mismatch_repos - not_found_repos @@ -64644,7 +65224,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &455 + value: &461 summary: Default response value: id: 1 @@ -64790,17 +65370,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *455 + value: *461 repository_lists: summary: Response for a successful variant analysis submission - value: *455 + value: *461 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64821,8 +65401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *338 - - *339 + - *344 + - *345 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64834,11 +65414,11 @@ paths: description: Response content: application/json: - schema: *456 + schema: *462 examples: - default: *455 + default: *461 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64859,7 +65439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *338 + - *344 - name: repo in: path description: The name of the controller repository. @@ -64893,8 +65473,8 @@ paths: schema: type: object properties: - repository: *60 - analysis_status: *457 + repository: *66 + analysis_status: *463 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64998,7 +65578,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65019,8 +65599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -65122,9 +65702,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *435 + '403': *441 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65143,8 +65723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -65211,7 +65791,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -65236,7 +65816,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *441 + '403': *447 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65250,7 +65830,7 @@ paths: content: application/json: schema: *3 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65307,8 +65887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -65316,7 +65896,7 @@ paths: schema: type: object properties: - commit_sha: *458 + commit_sha: *464 ref: type: string description: |- @@ -65374,7 +65954,7 @@ paths: schema: type: object properties: - id: *449 + id: *455 url: type: string description: The REST API URL for checking the status of the upload. @@ -65388,11 +65968,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': *441 + '403': *447 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65411,8 +65991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *338 - - *339 + - *344 + - *345 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65458,10 +66038,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': *435 + '403': *441 '404': description: Not Found if the sarif id does not match any upload - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65483,8 +66063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -65540,7 +66120,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': *187 + '204': *192 '304': *37 '403': *29 '404': *6 @@ -65565,8 +66145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *338 - - *339 + - *344 + - *345 - 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 @@ -65686,8 +66266,8 @@ paths: parameters: - *17 - *19 - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -65703,7 +66283,7 @@ paths: type: integer codespaces: type: array - items: *242 + items: *248 examples: default: value: @@ -65979,7 +66559,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': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -66001,8 +66581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -66065,22 +66645,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66104,8 +66684,8 @@ paths: parameters: - *17 - *19 - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -66145,7 +66725,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *115 + '500': *55 '400': *14 '401': *25 '403': *29 @@ -66169,8 +66749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66205,14 +66785,14 @@ paths: type: integer machines: type: array - items: &679 + items: &685 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *460 - required: *461 + properties: *466 + required: *467 examples: - default: &680 + default: &686 value: total_count: 2 machines: @@ -66229,7 +66809,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -66252,8 +66832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *338 - - *339 + - *344 + - *345 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66337,8 +66917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *338 - - *339 + - *344 + - *345 - 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 @@ -66383,7 +66963,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66404,8 +66984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -66423,7 +67003,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &471 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66443,9 +67023,9 @@ paths: - created_at - updated_at examples: - default: *462 + default: *468 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66466,16 +67046,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *463 + schema: *469 examples: - default: *464 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66495,17 +67075,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *465 + schema: *471 examples: - default: *466 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66525,9 +67105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -66555,7 +67135,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -66579,9 +67159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -66609,8 +67189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *338 - - *339 + - *344 + - *345 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66652,7 +67232,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &467 + properties: &473 login: type: string example: octocat @@ -66745,7 +67325,7 @@ paths: user_view_type: type: string example: public - required: &468 + required: &474 - avatar_url - events_url - followers_url @@ -66794,7 +67374,7 @@ paths: admin: false role_name: write headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -66819,9 +67399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *338 - - *339 - - *65 + - *344 + - *345 + - *71 responses: '204': description: Response if user is a collaborator @@ -66867,9 +67447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *338 - - *339 - - *65 + - *344 + - *345 + - *71 requestBody: required: false content: @@ -66895,7 +67475,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &537 + schema: &543 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66906,7 +67486,7 @@ paths: example: 42 type: integer format: int64 - repository: *156 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -67084,7 +67664,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *124 + schema: *129 '403': *29 x-github: triggersNotification: true @@ -67124,9 +67704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *338 - - *339 - - *65 + - *344 + - *345 + - *71 responses: '204': description: No Content when collaborator was removed from the repository. @@ -67157,9 +67737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *338 - - *339 - - *65 + - *344 + - *345 + - *71 responses: '200': description: if user has admin permissions @@ -67179,8 +67759,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *467 - required: *468 + properties: *473 + required: *474 nullable: true required: - permission @@ -67235,8 +67815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -67246,7 +67826,7 @@ paths: application/json: schema: type: array - items: &469 + items: &475 title: Commit Comment description: Commit Comment type: object @@ -67287,8 +67867,8 @@ paths: updated_at: type: string format: date-time - author_association: *76 - reactions: *77 + author_association: *82 + reactions: *83 required: - url - html_url @@ -67304,7 +67884,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &480 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67338,7 +67918,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67363,17 +67943,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 responses: '200': description: Response content: application/json: - schema: *469 + schema: *475 examples: - default: &475 + default: &481 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67430,9 +68010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 requestBody: required: true content: @@ -67454,7 +68034,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *475 examples: default: value: @@ -67505,9 +68085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 responses: '204': description: Response @@ -67528,9 +68108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -67556,7 +68136,7 @@ paths: application/json: schema: type: array - items: &470 + items: &476 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -67599,7 +68179,7 @@ paths: - content - created_at examples: - default: &541 + default: &547 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67625,7 +68205,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -67644,9 +68224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 requestBody: required: true content: @@ -67678,9 +68258,9 @@ paths: description: Reaction exists content: application/json: - schema: *470 + schema: *476 examples: - default: &471 + default: &477 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67709,9 +68289,9 @@ paths: description: Reaction created content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -67733,10 +68313,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *338 - - *339 - - *95 - - &542 + - *344 + - *345 + - *101 + - &548 name: reaction_id description: The unique identifier of the reaction. in: path @@ -67791,8 +68371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *338 - - *339 + - *344 + - *345 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67848,9 +68428,9 @@ paths: application/json: schema: type: array - items: *472 + items: *478 examples: - default: &593 + default: &599 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67920,8 +68500,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *61 - '500': *115 + Link: *67 + '500': *55 '400': *14 '404': *6 '409': *54 @@ -67944,9 +68524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *338 - - *339 - - &473 + - *344 + - *345 + - &479 name: commit_sha description: The SHA of the commit. in: path @@ -68018,9 +68598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *338 - - *339 - - *473 + - *344 + - *345 + - *479 - *17 - *19 responses: @@ -68030,11 +68610,11 @@ paths: application/json: schema: type: array - items: *469 + items: *475 examples: - default: *474 + default: *480 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68060,9 +68640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *338 - - *339 - - *473 + - *344 + - *345 + - *479 requestBody: required: true content: @@ -68097,9 +68677,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *475 examples: - default: *475 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68127,9 +68707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *338 - - *339 - - *473 + - *344 + - *345 + - *479 - *17 - *19 responses: @@ -68139,9 +68719,9 @@ paths: application/json: schema: type: array - items: *476 + items: *482 examples: - default: &585 + default: &591 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68620,7 +69200,7 @@ paths: auto_merge: draft: false headers: - Link: *61 + Link: *67 '409': *54 x-github: githubCloudOnly: false @@ -68678,11 +69258,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *338 - - *339 + - *344 + - *345 - *19 - *17 - - &477 + - &483 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)" @@ -68697,9 +69277,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *478 examples: - default: &572 + default: &578 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68785,8 +69365,8 @@ paths: ..... '422': *15 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 '409': *54 x-github: githubCloudOnly: false @@ -68812,11 +69392,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *338 - - *339 - - *477 - - *478 - - *479 + - *344 + - *345 + - *483 + - *484 + - *485 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68850,11 +69430,11 @@ paths: type: integer check_runs: type: array - items: *416 + items: *422 examples: - default: *480 + default: *486 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68877,9 +69457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *338 - - *339 - - *477 + - *344 + - *345 + - *483 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68887,7 +69467,7 @@ paths: schema: type: integer example: 1 - - *478 + - *484 - *17 - *19 responses: @@ -68905,7 +69485,7 @@ paths: type: integer check_suites: type: array - items: *421 + items: *427 examples: default: value: @@ -69080,7 +69660,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69105,9 +69685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *338 - - *339 - - *477 + - *344 + - *345 + - *483 - *17 - *19 responses: @@ -69174,7 +69754,7 @@ paths: type: string total_count: type: integer - repository: *156 + repository: *161 commit_url: type: string format: uri @@ -69305,9 +69885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *338 - - *339 - - *477 + - *344 + - *345 + - *483 - *17 - *19 responses: @@ -69317,7 +69897,7 @@ paths: application/json: schema: type: array - items: &658 + items: &664 title: Status description: The status of a commit. type: object @@ -69397,8 +69977,8 @@ paths: type: User site_admin: false headers: - Link: *61 - '301': *342 + Link: *67 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69426,8 +70006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -69456,20 +70036,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *481 - required: *482 + properties: *487 + required: *488 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &483 + properties: &489 url: type: string format: uri html_url: type: string format: uri - required: &484 + required: &490 - url - html_url nullable: true @@ -69477,32 +70057,32 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true contributing: title: Community Health File type: object - properties: *483 - required: *484 + properties: *489 + required: *490 nullable: true readme: title: Community Health File type: object - properties: *483 - required: *484 + properties: *489 + required: *490 nullable: true issue_template: title: Community Health File type: object - properties: *483 - required: *484 + properties: *489 + required: *490 nullable: true pull_request_template: title: Community Health File type: object - properties: *483 - required: *484 + properties: *489 + required: *490 nullable: true required: - code_of_conduct @@ -69629,8 +70209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *338 - - *339 + - *344 + - *345 - *19 - *17 - name: basehead @@ -69673,8 +70253,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *472 - merge_base_commit: *472 + base_commit: *478 + merge_base_commit: *478 status: type: string enum: @@ -69694,10 +70274,10 @@ paths: example: 6 commits: type: array - items: *472 + items: *478 files: type: array - items: *485 + items: *491 required: - url - html_url @@ -69940,8 +70520,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69983,8 +70563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *338 - - *339 + - *344 + - *345 - name: path description: path parameter in: path @@ -70144,7 +70724,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &486 + response-if-content-is-a-file-github-object: &492 summary: Response if content is a file value: type: file @@ -70276,7 +70856,7 @@ paths: - size - type - url - - &598 + - &604 title: Content File description: Content File type: object @@ -70477,7 +71057,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *486 + response-if-content-is-a-file: *492 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70546,7 +71126,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *487 + '302': *493 '304': *37 x-github: githubCloudOnly: false @@ -70599,8 +71179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *338 - - *339 + - *344 + - *345 - name: path description: path parameter in: path @@ -70693,7 +71273,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &494 title: File Commit description: File Commit type: object @@ -70845,7 +71425,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *494 examples: example-for-creating-a-file: value: @@ -70899,7 +71479,7 @@ paths: schema: oneOf: - *3 - - &519 + - &525 description: Repository rule violation was detected type: object properties: @@ -70920,7 +71500,7 @@ paths: items: type: object properties: - placeholder_id: &650 + placeholder_id: &656 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70952,8 +71532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *338 - - *339 + - *344 + - *345 - name: path description: path parameter in: path @@ -71014,7 +71594,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *494 examples: default: value: @@ -71049,7 +71629,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71069,8 +71649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *338 - - *339 + - *344 + - *345 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71170,7 +71750,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *61 + Link: *67 '204': description: Response if repository is empty '403': *29 @@ -71193,24 +71773,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *338 - - *339 - - *195 - - *196 - - *197 - - *198 + - *344 + - *345 + - *200 + - *201 + - *202 + - *203 - 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 - - *199 - - *489 - - *200 - - *201 - - *202 - - *55 + - *204 + - *495 + - *205 + - *206 + - *207 + - *61 - *47 - *48 - *17 @@ -71221,11 +71801,11 @@ paths: application/json: schema: type: array - items: &493 + items: &499 type: object description: A Dependabot alert. properties: - number: *174 + number: *179 state: type: string description: The state of the Dependabot alert. @@ -71240,7 +71820,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *56 + package: *62 manifest_path: type: string description: The full path to the dependency manifest file, @@ -71267,13 +71847,13 @@ paths: - unknown - direct - transitive - security_advisory: *490 - security_vulnerability: *59 - url: *177 - html_url: *178 - created_at: *175 - updated_at: *176 - dismissed_at: *180 + security_advisory: *496 + security_vulnerability: *65 + url: *182 + html_url: *183 + created_at: *180 + updated_at: *181 + dismissed_at: *185 dismissed_by: title: Simple User description: A GitHub user. @@ -71297,9 +71877,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *179 - auto_dismissed_at: *491 - dismissal_request: *492 + fixed_at: *184 + auto_dismissed_at: *497 + dismissal_request: *498 assignees: type: array description: The users assigned to this alert. @@ -71554,9 +72134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *338 - - *339 - - &494 + - *344 + - *345 + - &500 name: alert_number in: path description: |- @@ -71565,13 +72145,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *174 + schema: *179 responses: '200': description: Response content: application/json: - schema: *493 + schema: *499 examples: default: value: @@ -71703,9 +72283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *338 - - *339 - - *494 + - *344 + - *345 + - *500 requestBody: required: true content: @@ -71761,7 +72341,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *499 examples: default: value: @@ -71891,8 +72471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -71910,7 +72490,7 @@ paths: type: integer secrets: type: array - items: &497 + items: &503 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71941,7 +72521,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71963,16 +72543,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *495 + schema: *501 examples: - default: *496 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71992,15 +72572,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *497 + schema: *503 examples: default: value: @@ -72026,9 +72606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -72056,7 +72636,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -72080,9 +72660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *338 - - *339 - - *164 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -72104,8 +72684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *338 - - *339 + - *344 + - *345 - 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 @@ -72241,7 +72821,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *61 + Link: *67 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -72265,8 +72845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -72482,7 +73062,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *61 + Link: *67 '404': *6 '403': *29 x-github: @@ -72505,8 +73085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -72581,7 +73161,7 @@ paths: - version - url additionalProperties: false - metadata: &498 + metadata: &504 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72614,7 +73194,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *498 + metadata: *504 resolved: type: object description: A collection of resolved package dependencies. @@ -72627,7 +73207,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *498 + metadata: *504 relationship: type: string description: A notation of whether a dependency is requested @@ -72756,8 +73336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *338 - - *339 + - *344 + - *345 - name: sha description: The SHA recorded at creation time. in: query @@ -72797,11 +73377,11 @@ paths: application/json: schema: type: array - items: *499 + items: *505 examples: - default: *500 + default: *506 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72865,8 +73445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -72947,7 +73527,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *505 examples: simple-example: summary: Simple example @@ -73020,9 +73600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *338 - - *339 - - &501 + - *344 + - *345 + - &507 name: deployment_id description: deployment_id parameter in: path @@ -73034,7 +73614,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *505 examples: default: value: @@ -73099,9 +73679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *338 - - *339 - - *501 + - *344 + - *345 + - *507 responses: '204': description: Response @@ -73123,9 +73703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *338 - - *339 - - *501 + - *344 + - *345 + - *507 - *17 - *19 responses: @@ -73135,7 +73715,7 @@ paths: application/json: schema: type: array - items: &502 + items: &508 title: Deployment Status description: The status of a deployment. type: object @@ -73226,8 +73806,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -73276,7 +73856,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -73296,9 +73876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *338 - - *339 - - *501 + - *344 + - *345 + - *507 requestBody: required: true content: @@ -73373,9 +73953,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *508 examples: - default: &503 + default: &509 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73431,9 +74011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *338 - - *339 - - *501 + - *344 + - *345 + - *507 - name: status_id in: path required: true @@ -73444,9 +74024,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *508 examples: - default: *503 + default: *509 '404': *6 x-github: githubCloudOnly: false @@ -73471,8 +74051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -73529,8 +74109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -73547,7 +74127,7 @@ paths: type: integer environments: type: array - items: &505 + items: &511 title: Environment description: Details of a deployment environment type: object @@ -73599,7 +74179,7 @@ paths: type: type: string example: wait_timer - wait_timer: &507 + wait_timer: &513 type: integer example: 30 description: The amount of time to delay a job after @@ -73636,11 +74216,11 @@ paths: items: type: object properties: - type: *504 + type: *510 reviewer: anyOf: - *4 - - *193 + - *198 required: - id - node_id @@ -73660,7 +74240,7 @@ paths: - id - node_id - type - deployment_branch_policy: &508 + deployment_branch_policy: &514 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -73776,9 +74356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *338 - - *339 - - &506 + - *344 + - *345 + - &512 name: environment_name in: path required: true @@ -73791,9 +74371,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *511 examples: - default: &509 + default: &515 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73877,9 +74457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *338 - - *339 - - *506 + - *344 + - *345 + - *512 requestBody: required: false content: @@ -73888,7 +74468,7 @@ paths: type: object nullable: true properties: - wait_timer: *507 + wait_timer: *513 prevent_self_review: type: boolean example: false @@ -73905,13 +74485,13 @@ paths: items: type: object properties: - type: *504 + type: *510 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *508 + deployment_branch_policy: *514 additionalProperties: false examples: default: @@ -73931,9 +74511,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *511 examples: - default: *509 + default: *515 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73957,9 +74537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *338 - - *339 - - *506 + - *344 + - *345 + - *512 responses: '204': description: Default response @@ -73984,9 +74564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *338 - - *339 - - *506 + - *344 + - *345 + - *512 - *17 - *19 responses: @@ -74004,7 +74584,7 @@ paths: example: 2 branch_policies: type: array - items: &510 + items: &516 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74061,9 +74641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *338 - - *339 - - *506 + - *344 + - *345 + - *512 requestBody: required: true content: @@ -74109,9 +74689,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *516 examples: - example-wildcard: &511 + example-wildcard: &517 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74153,10 +74733,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *338 - - *339 - - *506 - - &512 + - *344 + - *345 + - *512 + - &518 name: branch_policy_id in: path required: true @@ -74168,9 +74748,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *516 examples: - default: *511 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74189,10 +74769,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *338 - - *339 - - *506 + - *344 + - *345 - *512 + - *518 requestBody: required: true content: @@ -74220,9 +74800,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *516 examples: - default: *511 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74241,10 +74821,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *338 - - *339 - - *506 + - *344 + - *345 - *512 + - *518 responses: '204': description: Response @@ -74269,9 +74849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *506 - - *339 - - *338 + - *512 + - *345 + - *344 responses: '200': description: List of deployment protection rules @@ -74287,7 +74867,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &513 + items: &519 title: Deployment protection rule description: Deployment protection rule type: object @@ -74306,7 +74886,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &514 + app: &520 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74405,9 +74985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *506 - - *339 - - *338 + - *512 + - *345 + - *344 requestBody: content: application/json: @@ -74428,9 +75008,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *513 + schema: *519 examples: - default: &515 + default: &521 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74465,9 +75045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *506 - - *339 - - *338 + - *512 + - *345 + - *344 - *19 - *17 responses: @@ -74486,7 +75066,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *514 + items: *520 examples: default: value: @@ -74521,10 +75101,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *338 - - *339 - - *506 - - &516 + - *344 + - *345 + - *512 + - &522 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74536,9 +75116,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *519 examples: - default: *515 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74559,10 +75139,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *506 - - *339 - - *338 - - *516 + - *512 + - *345 + - *344 + - *522 responses: '204': description: Response @@ -74588,9 +75168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *338 - - *339 - - *506 + - *344 + - *345 + - *512 - *17 - *19 responses: @@ -74608,11 +75188,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *389 examples: - default: *384 + default: *390 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74635,17 +75215,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *338 - - *339 - - *506 + - *344 + - *345 + - *512 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: *386 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74667,18 +75247,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *338 - - *339 - - *506 - - *164 + - *344 + - *345 + - *512 + - *169 responses: '200': description: Response content: application/json: - schema: *383 + schema: *389 examples: - default: *517 + default: *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74700,10 +75280,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *338 - - *339 - - *506 - - *164 + - *344 + - *345 + - *512 + - *169 requestBody: required: true content: @@ -74734,7 +75314,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -74760,10 +75340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *338 - - *339 - - *506 - - *164 + - *344 + - *345 + - *512 + - *169 responses: '204': description: Default response @@ -74788,10 +75368,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *338 - - *339 - - *506 - - *354 + - *344 + - *345 + - *512 + - *360 - *19 responses: '200': @@ -74808,11 +75388,11 @@ paths: type: integer variables: type: array - items: *387 + items: *393 examples: - default: *388 + default: *394 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74833,9 +75413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *338 - - *339 - - *506 + - *344 + - *345 + - *512 requestBody: required: true content: @@ -74862,7 +75442,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -74887,18 +75467,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *338 - - *339 - - *506 - - *167 + - *344 + - *345 + - *512 + - *172 responses: '200': description: Response content: application/json: - schema: *387 + schema: *393 examples: - default: *518 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74919,10 +75499,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *338 - - *339 - - *167 - - *506 + - *344 + - *345 + - *172 + - *512 requestBody: required: true content: @@ -74964,10 +75544,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *338 - - *339 - - *167 - - *506 + - *344 + - *345 + - *172 + - *512 responses: '204': description: Response @@ -74989,8 +75569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -75000,7 +75580,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: 200-response: value: @@ -75058,8 +75638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *338 - - *339 + - *344 + - *345 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75081,7 +75661,7 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: default: value: @@ -75194,7 +75774,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *61 + Link: *67 '400': *14 x-github: githubCloudOnly: false @@ -75218,8 +75798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: false content: @@ -75251,9 +75831,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: - default: *343 + default: *349 '400': *14 '422': *15 '403': *29 @@ -75274,8 +75854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -75334,8 +75914,8 @@ paths: application/json: schema: oneOf: - - *124 - - *519 + - *129 + - *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75360,8 +75940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *338 - - *339 + - *344 + - *345 - name: file_sha in: path required: true @@ -75460,8 +76040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -75570,7 +76150,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &526 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75784,15 +76364,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *338 - - *339 - - *473 + - *344 + - *345 + - *479 responses: '200': description: Response content: application/json: - schema: *520 + schema: *526 examples: default: value: @@ -75848,9 +76428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *338 - - *339 - - &521 + - *344 + - *345 + - &527 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. @@ -75867,7 +76447,7 @@ paths: application/json: schema: type: array - items: &522 + items: &528 title: Git Reference description: Git references within a repository type: object @@ -75920,7 +76500,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *61 + Link: *67 '409': *54 x-github: githubCloudOnly: false @@ -75942,17 +76522,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *338 - - *339 - - *521 + - *344 + - *345 + - *527 responses: '200': description: Response content: application/json: - schema: *522 + schema: *528 examples: - default: &523 + default: &529 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75981,8 +76561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -76011,9 +76591,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *528 examples: - default: *523 + default: *529 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76039,9 +76619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *338 - - *339 - - *521 + - *344 + - *345 + - *527 requestBody: required: true content: @@ -76070,9 +76650,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *528 examples: - default: *523 + default: *529 '422': *15 '409': *54 x-github: @@ -76090,9 +76670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *338 - - *339 - - *521 + - *344 + - *345 + - *527 responses: '204': description: Response @@ -76147,8 +76727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -76215,7 +76795,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &531 title: Git Tag description: Metadata for a Git tag type: object @@ -76266,7 +76846,7 @@ paths: - sha - type - url - verification: *524 + verification: *530 required: - sha - url @@ -76276,7 +76856,7 @@ paths: - tag - message examples: - default: &526 + default: &532 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76349,8 +76929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *338 - - *339 + - *344 + - *345 - name: tag_sha in: path required: true @@ -76361,9 +76941,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *531 examples: - default: *526 + default: *532 '404': *6 '409': *54 x-github: @@ -76387,8 +76967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -76461,7 +77041,7 @@ paths: description: Response content: application/json: - schema: &527 + schema: &533 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76557,8 +77137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *338 - - *339 + - *344 + - *345 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76581,7 +77161,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *533 examples: default-response: summary: Default response @@ -76640,8 +77220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -76651,7 +77231,7 @@ paths: application/json: schema: type: array - items: &528 + items: &534 title: Webhook description: Webhooks for repositories. type: object @@ -76705,7 +77285,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &773 + last_response: &779 title: Hook Response type: object properties: @@ -76760,7 +77340,7 @@ paths: status: unused message: headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -76779,8 +77359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: false content: @@ -76832,9 +77412,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: &529 + default: &535 value: type: Repository id: 12345678 @@ -76882,17 +77462,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 responses: '200': description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *529 + default: *535 '404': *6 x-github: githubCloudOnly: false @@ -76912,9 +77492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 requestBody: required: true content: @@ -76959,9 +77539,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *529 + default: *535 '422': *15 '404': *6 x-github: @@ -76982,9 +77562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 responses: '204': description: Response @@ -77008,9 +77588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 responses: '200': description: Response @@ -77037,9 +77617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 requestBody: required: false content: @@ -77083,11 +77663,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 - *17 - - *212 + - *217 + - *218 responses: '200': description: Response @@ -77095,9 +77676,9 @@ paths: application/json: schema: type: array - items: *213 + items: *219 examples: - default: *214 + default: *220 '400': *14 '422': *15 x-github: @@ -77116,18 +77697,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 - *16 responses: '200': description: Response content: application/json: - schema: *215 + schema: *221 examples: - default: *216 + default: *222 '400': *14 '422': *15 x-github: @@ -77146,9 +77727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 - *16 responses: '202': *39 @@ -77171,9 +77752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 responses: '204': description: Response @@ -77198,9 +77779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *338 - - *339 - - *211 + - *344 + - *345 + - *216 responses: '204': description: Response @@ -77223,8 +77804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response if immutable releases are enabled @@ -77270,10 +77851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *338 - - *339 + - *344 + - *345 responses: - '204': *187 + '204': *192 '409': *54 x-github: githubCloudOnly: false @@ -77291,10 +77872,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *338 - - *339 + - *344 + - *345 responses: - '204': *187 + '204': *192 '409': *54 x-github: githubCloudOnly: false @@ -77349,14 +77930,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &530 + schema: &536 title: Import description: A repository import from an external source. type: object @@ -77455,7 +78036,7 @@ paths: - html_url - authors_url examples: - default: &533 + default: &539 value: vcs: subversion use_lfs: true @@ -77471,7 +78052,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': &531 + '503': &537 description: Unavailable due to service under maintenance. content: application/json: @@ -77500,8 +78081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -77549,7 +78130,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: default: value: @@ -77574,7 +78155,7 @@ paths: type: string '422': *15 '404': *6 - '503': *531 + '503': *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77602,8 +78183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: false content: @@ -77652,7 +78233,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: example-1: summary: Example 1 @@ -77700,7 +78281,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': *531 + '503': *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77723,12 +78304,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response - '503': *531 + '503': *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77754,9 +78335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *338 - - *339 - - &701 + - *344 + - *345 + - &707 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77770,7 +78351,7 @@ paths: application/json: schema: type: array - items: &532 + items: &538 title: Porter Author description: Porter Author type: object @@ -77824,7 +78405,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': *531 + '503': *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77849,8 +78430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *338 - - *339 + - *344 + - *345 - name: author_id in: path required: true @@ -77880,7 +78461,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *538 examples: default: value: @@ -77893,7 +78474,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *531 + '503': *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77917,8 +78498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -77959,7 +78540,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *531 + '503': *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77987,8 +78568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -78015,11 +78596,11 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: - default: *533 + default: *539 '422': *15 - '503': *531 + '503': *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78042,8 +78623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -78051,8 +78632,8 @@ paths: application/json: schema: *22 examples: - default: *534 - '301': *342 + default: *540 + '301': *348 '404': *6 x-github: githubCloudOnly: false @@ -78072,8 +78653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -78081,12 +78662,12 @@ paths: application/json: schema: anyOf: - - *229 + - *235 - type: object properties: {} additionalProperties: false examples: - default: &536 + default: &542 value: limit: collaborators_only origin: repository @@ -78111,13 +78692,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *535 + schema: *541 examples: default: summary: Example request body @@ -78129,9 +78710,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *235 examples: - default: *536 + default: *542 '409': description: Response x-github: @@ -78153,8 +78734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -78177,8 +78758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -78188,9 +78769,9 @@ paths: application/json: schema: type: array - items: *537 + items: *543 examples: - default: &694 + default: &700 value: - id: 1 repository: @@ -78304,7 +78885,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78321,9 +78902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *338 - - *339 - - *233 + - *344 + - *345 + - *239 requestBody: required: false content: @@ -78352,7 +78933,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: default: value: @@ -78483,9 +79064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *338 - - *339 - - *233 + - *344 + - *345 + - *239 responses: '204': description: Response @@ -78516,8 +79097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *338 - - *339 + - *344 + - *345 - 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 @@ -78565,7 +79146,7 @@ paths: required: false schema: type: string - - *240 + - *246 - name: sort description: What to sort results by. in: query @@ -78577,8 +79158,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -78588,9 +79169,9 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: &550 + default: &556 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78738,8 +79319,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *61 - '301': *342 + Link: *67 + '301': *348 '422': *15 '404': *6 x-github: @@ -78768,8 +79349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -78851,9 +79432,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: &547 + default: &553 value: id: 1 node_id: MDU6SXNzdWUx @@ -79008,9 +79589,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *116 + '503': *121 '404': *6 - '410': *538 + '410': *544 x-github: triggersNotification: true githubCloudOnly: false @@ -79048,9 +79629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *338 - - *339 - - *103 + - *344 + - *345 + - *109 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -79060,7 +79641,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -79070,9 +79651,9 @@ paths: application/json: schema: type: array - items: *539 + items: *545 examples: - default: &549 + default: &555 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79103,7 +79684,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 '422': *15 '404': *6 x-github: @@ -79130,17 +79711,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 responses: '200': description: Response content: application/json: - schema: *539 + schema: *545 examples: - default: &540 + default: &546 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79195,9 +79776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 requestBody: required: true content: @@ -79219,9 +79800,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *545 examples: - default: *540 + default: *546 '422': *15 x-github: githubCloudOnly: false @@ -79239,9 +79820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 responses: '204': description: Response @@ -79269,15 +79850,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 responses: '200': description: Response content: application/json: - schema: *539 + schema: *545 examples: default: value: @@ -79333,7 +79914,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *538 + '410': *544 '422': *15 x-github: githubCloudOnly: false @@ -79350,17 +79931,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *538 - '503': *116 + '410': *544 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79377,9 +79958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -79405,11 +79986,11 @@ paths: application/json: schema: type: array - items: *470 + items: *476 examples: - default: *541 + default: *547 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -79428,9 +80009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 requestBody: required: true content: @@ -79462,16 +80043,16 @@ paths: description: Reaction exists content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '201': description: Reaction created content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -79493,10 +80074,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *338 - - *339 - - *95 - - *542 + - *344 + - *345 + - *101 + - *548 responses: '204': description: Response @@ -79516,8 +80097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -79527,7 +80108,7 @@ paths: application/json: schema: type: array - items: &546 + items: &552 title: Issue Event description: Issue Event type: object @@ -79570,9 +80151,9 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *543 - required: *544 - x-github-breaking-changes: *545 + properties: *549 + required: *550 + x-github-breaking-changes: *551 nullable: true label: title: Issue Event Label @@ -79616,7 +80197,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *193 + requested_team: *198 dismissed_review: title: Issue Event Dismissed Review type: object @@ -79681,7 +80262,7 @@ paths: required: - from - to - author_association: *76 + author_association: *82 lock_reason: type: string nullable: true @@ -79694,8 +80275,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 required: - id - node_id @@ -79862,7 +80443,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -79880,8 +80461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *338 - - *339 + - *344 + - *345 - name: event_id in: path required: true @@ -79892,7 +80473,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *552 examples: default: value: @@ -80085,7 +80666,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *538 + '410': *544 '403': *29 x-github: githubCloudOnly: false @@ -80119,9 +80700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *338 - - *339 - - &548 + - *344 + - *345 + - &554 name: issue_number description: The number that identifies the issue. in: path @@ -80133,11 +80714,11 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: default: summary: Issue - value: *547 + value: *553 pinned_comment: summary: Issue with pinned comment value: @@ -80336,9 +80917,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *342 + '301': *348 '404': *6 - '410': *538 + '410': *544 '304': *37 x-github: githubCloudOnly: false @@ -80363,9 +80944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: false content: @@ -80489,15 +81070,15 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 + default: *553 '422': *15 - '503': *116 + '503': *121 '403': *29 - '301': *342 + '301': *348 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80525,9 +81106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: false content: @@ -80553,9 +81134,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80571,9 +81152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: content: application/json: @@ -80598,9 +81179,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80622,9 +81203,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - name: assignee in: path required: true @@ -80664,10 +81245,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *338 - - *339 - - *548 - - *86 + - *344 + - *345 + - *554 + - *92 - *17 - *19 responses: @@ -80677,13 +81258,13 @@ paths: application/json: schema: type: array - items: *539 + items: *545 examples: - default: *549 + default: *555 headers: - Link: *61 + Link: *67 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80712,9 +81293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: true content: @@ -80736,16 +81317,16 @@ paths: description: Response content: application/json: - schema: *539 + schema: *545 examples: - default: *540 + default: *546 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *538 + '410': *544 '422': *15 '404': *6 x-github: @@ -80773,9 +81354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - *17 - *19 responses: @@ -80785,14 +81366,14 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *550 + default: *556 headers: - Link: *61 - '301': *342 + Link: *67 + '301': *348 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80820,9 +81401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: true content: @@ -80844,17 +81425,17 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 + default: *553 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *342 + '301': *348 '403': *29 - '410': *538 + '410': *544 '422': *15 '404': *6 x-github: @@ -80885,9 +81466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -80899,15 +81480,15 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 - '301': *342 + default: *553 + '301': *348 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *538 + '410': *544 x-github: triggersNotification: true githubCloudOnly: false @@ -80933,9 +81514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - *17 - *19 responses: @@ -80945,14 +81526,14 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *550 + default: *556 headers: - Link: *61 - '301': *342 + Link: *67 + '301': *348 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80969,9 +81550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - *17 - *19 responses: @@ -80985,7 +81566,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &553 + - &559 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81016,8 +81597,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 label: type: object properties: @@ -81039,7 +81620,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &560 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81070,8 +81651,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 label: type: object properties: @@ -81159,8 +81740,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 assigner: *4 required: @@ -81175,7 +81756,7 @@ paths: - performed_via_github_app - assignee - assigner - - &555 + - &561 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81206,8 +81787,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 milestone: type: object properties: @@ -81226,7 +81807,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &562 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81257,8 +81838,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 milestone: type: object properties: @@ -81277,7 +81858,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &563 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81308,8 +81889,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 rename: type: object properties: @@ -81331,7 +81912,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &564 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81362,10 +81943,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 review_requester: *4 - requested_team: *193 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -81378,7 +81959,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &565 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81409,10 +81990,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 review_requester: *4 - requested_team: *193 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -81425,7 +82006,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &566 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81456,8 +82037,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 dismissed_review: type: object properties: @@ -81485,7 +82066,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &567 title: Locked Issue Event description: Locked Issue Event type: object @@ -81516,8 +82097,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 lock_reason: type: string example: '"off-topic"' @@ -81533,7 +82114,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &568 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81564,8 +82145,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -81599,7 +82180,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &569 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81630,8 +82211,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -81665,7 +82246,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &570 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81696,8 +82277,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 project_card: type: object properties: @@ -81731,7 +82312,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &571 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81821,8 +82402,8 @@ paths: name: label color: red headers: - Link: *61 - '410': *538 + Link: *67 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81839,9 +82420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - *17 - *19 responses: @@ -81851,9 +82432,9 @@ paths: application/json: schema: type: array - items: *551 + items: *557 examples: - default: &664 + default: &670 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -81876,10 +82457,10 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *61 - '301': *342 + Link: *67 + '301': *348 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81896,9 +82477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - *17 - *19 responses: @@ -81908,9 +82489,9 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: &552 + default: &558 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81927,10 +82508,10 @@ paths: color: a2eeef default: false headers: - Link: *61 - '301': *342 + Link: *67 + '301': *348 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81946,9 +82527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: false content: @@ -81991,12 +82572,12 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *552 - '301': *342 + default: *558 + '301': *348 '404': *6 - '410': *538 + '410': *544 '422': *15 x-github: githubCloudOnly: false @@ -82013,9 +82594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: false content: @@ -82075,12 +82656,12 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *552 - '301': *342 + default: *558 + '301': *348 '404': *6 - '410': *538 + '410': *544 '422': *15 x-github: githubCloudOnly: false @@ -82097,15 +82678,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 responses: '204': description: Response - '301': *342 + '301': *348 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82124,9 +82705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - name: name in: path required: true @@ -82139,7 +82720,7 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: default: value: @@ -82150,9 +82731,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *342 + '301': *348 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82172,9 +82753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: false content: @@ -82202,7 +82783,7 @@ paths: '204': description: Response '403': *29 - '410': *538 + '410': *544 '404': *6 '422': *15 x-github: @@ -82220,9 +82801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 responses: '204': description: Response @@ -82252,20 +82833,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 responses: '200': description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 - '301': *342 + default: *553 + '301': *348 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82282,9 +82863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -82310,13 +82891,13 @@ paths: application/json: schema: type: array - items: *470 + items: *476 examples: - default: *541 + default: *547 headers: - Link: *61 + Link: *67 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82334,9 +82915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: true content: @@ -82368,16 +82949,16 @@ paths: description: Response content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '201': description: Response content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -82399,10 +82980,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *338 - - *339 + - *344 + - *345 + - *554 - *548 - - *542 responses: '204': description: Response @@ -82431,9 +83012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: true content: @@ -82455,9 +83036,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 + default: *553 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82490,9 +83071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - *17 - *19 responses: @@ -82502,13 +83083,13 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *550 + default: *556 headers: - Link: *61 + Link: *67 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82536,9 +83117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: true content: @@ -82565,16 +83146,16 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 + default: *553 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *538 + '410': *544 '422': *15 '404': *6 x-github: @@ -82594,9 +83175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 requestBody: required: true content: @@ -82627,13 +83208,13 @@ paths: description: Response content: application/json: - schema: *79 + schema: *85 examples: - default: *547 + default: *553 '403': *29 '404': *6 '422': *7 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -82651,9 +83232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *338 - - *339 - - *548 + - *344 + - *345 + - *554 - *17 - *19 responses: @@ -82668,12 +83249,6 @@ paths: description: Timeline Event type: object anyOf: - - *553 - - *554 - - *555 - - *556 - - *557 - - *558 - *559 - *560 - *561 @@ -82681,6 +83256,12 @@ paths: - *563 - *564 - *565 + - *566 + - *567 + - *568 + - *569 + - *570 + - *571 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82723,7 +83304,7 @@ paths: issue_url: type: string format: uri - author_association: *76 + author_association: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -82733,16 +83314,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 - reactions: *77 + properties: *80 + required: *81 + reactions: *83 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *566 - required: *567 + properties: *572 + required: *573 nullable: true required: - event @@ -82774,7 +83355,7 @@ paths: properties: type: type: string - issue: *79 + issue: *85 required: - event - created_at @@ -82974,7 +83555,7 @@ paths: type: string body_text: type: string - author_association: *76 + author_association: *82 required: - event - id @@ -82997,7 +83578,7 @@ paths: type: string comments: type: array - items: &587 + items: &593 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83092,7 +83673,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *76 + author_association: *82 _links: type: object properties: @@ -83176,7 +83757,7 @@ paths: enum: - line - file - reactions: *77 + reactions: *83 body_html: type: string example: '"

comment body

"' @@ -83212,7 +83793,7 @@ paths: type: string comments: type: array - items: *469 + items: *475 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83243,8 +83824,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 required: - id @@ -83287,8 +83868,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 assignee: *4 required: - id @@ -83331,8 +83912,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 state_reason: type: string nullable: true @@ -83499,9 +84080,9 @@ paths: type: User site_admin: true headers: - Link: *61 + Link: *67 '404': *6 - '410': *538 + '410': *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83518,8 +84099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -83529,7 +84110,7 @@ paths: application/json: schema: type: array - items: &568 + items: &574 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83579,7 +84160,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83595,8 +84176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -83632,9 +84213,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *574 examples: - default: &569 + default: &575 value: id: 1 key: ssh-rsa AAA... @@ -83668,9 +84249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *338 - - *339 - - &570 + - *344 + - *345 + - &576 name: key_id description: The unique identifier of the key. in: path @@ -83682,9 +84263,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *574 examples: - default: *569 + default: *575 '404': *6 x-github: githubCloudOnly: false @@ -83702,9 +84283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *338 - - *339 - - *570 + - *344 + - *345 + - *576 responses: '204': description: Response @@ -83724,8 +84305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -83735,11 +84316,11 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *552 + default: *558 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -83758,8 +84339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -83795,9 +84376,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: - default: &571 + default: &577 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83829,8 +84410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *338 - - *339 + - *344 + - *345 - name: name in: path required: true @@ -83841,9 +84422,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: - default: *571 + default: *577 '404': *6 x-github: githubCloudOnly: false @@ -83860,8 +84441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *338 - - *339 + - *344 + - *345 - name: name in: path required: true @@ -83900,7 +84481,7 @@ paths: description: Response content: application/json: - schema: *78 + schema: *84 examples: default: value: @@ -83926,8 +84507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *338 - - *339 + - *344 + - *345 - name: name in: path required: true @@ -83953,8 +84534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -83993,9 +84574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *338 - - *339 - - *442 + - *344 + - *345 + - *448 responses: '200': description: Response @@ -84057,8 +84638,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true required: - _links @@ -84140,8 +84721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -84206,8 +84787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -84241,9 +84822,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *472 + schema: *478 examples: - default: *572 + default: *578 '204': description: Response when already merged '404': @@ -84268,8 +84849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *338 - - *339 + - *344 + - *345 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84310,12 +84891,12 @@ paths: application/json: schema: type: array - items: &573 + items: &579 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *274 - required: *275 + properties: *280 + required: *281 examples: default: value: @@ -84354,7 +84935,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -84371,8 +84952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -84412,9 +84993,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *579 examples: - default: &574 + default: &580 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84473,9 +85054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *338 - - *339 - - &575 + - *344 + - *345 + - &581 name: milestone_number description: The number that identifies the milestone. in: path @@ -84487,9 +85068,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *579 examples: - default: *574 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -84506,9 +85087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *338 - - *339 - - *575 + - *344 + - *345 + - *581 requestBody: required: false content: @@ -84546,9 +85127,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *579 examples: - default: *574 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84564,9 +85145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *338 - - *339 - - *575 + - *344 + - *345 + - *581 responses: '204': description: Response @@ -84587,9 +85168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *338 - - *339 - - *575 + - *344 + - *345 + - *581 - *17 - *19 responses: @@ -84599,11 +85180,11 @@ paths: application/json: schema: type: array - items: *78 + items: *84 examples: - default: *552 + default: *558 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84620,12 +85201,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *338 - - *339 - - *576 - - *577 - - *86 - - *578 + - *344 + - *345 + - *582 + - *583 + - *92 + - *584 - *17 - *19 responses: @@ -84635,11 +85216,11 @@ paths: application/json: schema: type: array - items: *106 + items: *112 examples: - default: *579 + default: *585 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84661,8 +85242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: false content: @@ -84720,14 +85301,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &580 + schema: &586 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84852,7 +85433,7 @@ paths: - custom_404 - public examples: - default: &581 + default: &587 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84893,8 +85474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -84948,9 +85529,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *586 examples: - default: *581 + default: *587 '422': *15 '409': *54 x-github: @@ -84973,8 +85554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -85073,8 +85654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -85100,8 +85681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -85111,7 +85692,7 @@ paths: application/json: schema: type: array - items: &582 + items: &588 title: Page Build description: Page Build type: object @@ -85186,7 +85767,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85205,8 +85786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *338 - - *339 + - *344 + - *345 responses: '201': description: Response @@ -85251,16 +85832,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *582 + schema: *588 examples: - default: &583 + default: &589 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85308,8 +85889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *338 - - *339 + - *344 + - *345 - name: build_id in: path required: true @@ -85320,9 +85901,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *588 examples: - default: *583 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85342,8 +85923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -85448,9 +86029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *338 - - *339 - - &584 + - *344 + - *345 + - &590 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85508,11 +86089,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *338 - - *339 - - *584 + - *344 + - *345 + - *590 responses: - '204': *187 + '204': *192 '404': *6 x-github: githubCloudOnly: false @@ -85537,8 +86118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -85769,7 +86350,7 @@ paths: description: Empty response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -85796,8 +86377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Private vulnerability reporting status @@ -85834,10 +86415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: - '204': *187 + '204': *192 '422': *14 x-github: githubCloudOnly: false @@ -85856,10 +86437,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: - '204': *187 + '204': *192 '422': *14 x-github: githubCloudOnly: false @@ -85879,8 +86460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -85888,7 +86469,7 @@ paths: application/json: schema: type: array - items: *289 + items: *295 examples: default: value: @@ -85919,8 +86500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -85932,7 +86513,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *289 + items: *295 required: - properties examples: @@ -85982,8 +86563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *338 - - *339 + - *344 + - *345 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -86043,11 +86624,11 @@ paths: application/json: schema: type: array - items: *476 + items: *482 examples: - default: *585 + default: *591 headers: - Link: *61 + Link: *67 '304': *37 '422': *15 x-github: @@ -86077,8 +86658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -86143,7 +86724,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &595 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86254,8 +86835,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *274 - required: *275 + properties: *280 + required: *281 nullable: true active_lock_reason: type: string @@ -86298,7 +86879,7 @@ paths: items: *4 requested_teams: type: array - items: *327 + items: *333 head: type: object properties: @@ -86306,7 +86887,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: *4 @@ -86323,7 +86904,7 @@ paths: type: string ref: type: string - repo: *73 + repo: *79 sha: type: string user: *4 @@ -86336,14 +86917,14 @@ paths: _links: type: object properties: - comments: *276 - commits: *276 - statuses: *276 - html: *276 - issue: *276 - review_comments: *276 - review_comment: *276 - self: *276 + comments: *282 + commits: *282 + statuses: *282 + html: *282 + issue: *282 + review_comments: *282 + review_comment: *282 + self: *282 required: - comments - commits @@ -86353,8 +86934,8 @@ paths: - review_comments - review_comment - self - author_association: *76 - auto_merge: *586 + author_association: *82 + auto_merge: *592 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -86540,7 +87121,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &590 + default: &596 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87067,8 +87648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *338 - - *339 + - *344 + - *345 - name: sort in: query required: false @@ -87087,7 +87668,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -87097,9 +87678,9 @@ paths: application/json: schema: type: array - items: *587 + items: *593 examples: - default: &592 + default: &598 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87151,7 +87732,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87176,17 +87757,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 responses: '200': description: Response content: application/json: - schema: *587 + schema: *593 examples: - default: &588 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87261,9 +87842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 requestBody: required: true content: @@ -87285,9 +87866,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *593 examples: - default: *588 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87303,9 +87884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 responses: '204': description: Response @@ -87326,9 +87907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -87354,11 +87935,11 @@ paths: application/json: schema: type: array - items: *470 + items: *476 examples: - default: *541 + default: *547 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -87377,9 +87958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *338 - - *339 - - *95 + - *344 + - *345 + - *101 requestBody: required: true content: @@ -87411,16 +87992,16 @@ paths: description: Reaction exists content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '201': description: Reaction created content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -87442,10 +88023,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *338 - - *339 - - *95 - - *542 + - *344 + - *345 + - *101 + - *548 responses: '204': description: Response @@ -87488,9 +88069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *338 - - *339 - - &591 + - *344 + - *345 + - &597 name: pull_number description: The number that identifies the pull request. in: path @@ -87503,9 +88084,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *589 + schema: *595 examples: - default: *590 + default: *596 '304': *37 '404': *6 '406': @@ -87513,8 +88094,8 @@ paths: content: application/json: schema: *3 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87540,9 +88121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 requestBody: required: false content: @@ -87584,9 +88165,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *595 examples: - default: *590 + default: *596 '422': *15 '403': *29 x-github: @@ -87608,9 +88189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 requestBody: required: true content: @@ -87670,21 +88251,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87710,10 +88291,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *338 - - *339 - - *591 - - *103 + - *344 + - *345 + - *597 + - *109 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -87723,7 +88304,7 @@ paths: enum: - asc - desc - - *86 + - *92 - *17 - *19 responses: @@ -87733,11 +88314,11 @@ paths: application/json: schema: type: array - items: *587 + items: *593 examples: - default: *592 + default: *598 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87768,9 +88349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 requestBody: required: true content: @@ -87875,7 +88456,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *593 examples: example-for-a-multi-line-comment: value: @@ -87963,10 +88544,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *338 - - *339 - - *591 - - *95 + - *344 + - *345 + - *597 + - *101 requestBody: required: true content: @@ -87988,7 +88569,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *593 examples: default: value: @@ -88074,9 +88655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 - *17 - *19 responses: @@ -88086,11 +88667,11 @@ paths: application/json: schema: type: array - items: *472 + items: *478 examples: - default: *593 + default: *599 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88118,9 +88699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 - *17 - *19 responses: @@ -88130,7 +88711,7 @@ paths: application/json: schema: type: array - items: *485 + items: *491 examples: default: value: @@ -88146,10 +88727,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *61 + Link: *67 '422': *15 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88168,9 +88749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 responses: '204': description: Response if pull request has been merged @@ -88193,9 +88774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 requestBody: required: false content: @@ -88306,9 +88887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 responses: '200': description: Response @@ -88324,7 +88905,7 @@ paths: items: *4 teams: type: array - items: *193 + items: *198 required: - users - teams @@ -88365,7 +88946,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88383,9 +88964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 requestBody: required: false content: @@ -88422,7 +89003,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *482 examples: default: value: @@ -88958,9 +89539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 requestBody: required: true content: @@ -88994,7 +89575,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *482 examples: default: value: @@ -89499,9 +90080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 - *17 - *19 responses: @@ -89511,7 +90092,7 @@ paths: application/json: schema: type: array - items: &594 + items: &600 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89580,7 +90161,7 @@ paths: type: string body_text: type: string - author_association: *76 + author_association: *82 required: - id - node_id @@ -89629,7 +90210,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89662,9 +90243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 requestBody: required: false content: @@ -89750,9 +90331,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *600 examples: - default: &596 + default: &602 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89815,10 +90396,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *591 - - &595 + - *344 + - *345 + - *597 + - &601 name: review_id description: The unique identifier of the review. in: path @@ -89830,9 +90411,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *600 examples: - default: &597 + default: &603 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89891,10 +90472,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *591 - - *595 + - *344 + - *345 + - *597 + - *601 requestBody: required: true content: @@ -89917,7 +90498,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *600 examples: default: value: @@ -89979,18 +90560,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *338 - - *339 - - *591 - - *595 + - *344 + - *345 + - *597 + - *601 responses: '200': description: Response content: application/json: - schema: *594 + schema: *600 examples: - default: *596 + default: *602 '422': *7 '404': *6 x-github: @@ -90017,10 +90598,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *338 - - *339 - - *591 - - *595 + - *344 + - *345 + - *597 + - *601 - *17 - *19 responses: @@ -90099,13 +90680,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *76 + author_association: *82 _links: type: object properties: - self: *276 - html: *276 - pull_request: *276 + self: *282 + html: *282 + pull_request: *282 required: - self - html @@ -90114,7 +90695,7 @@ paths: type: string body_html: type: string - reactions: *77 + reactions: *83 side: description: The side of the first line of the range for a multi-line comment. @@ -90226,7 +90807,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -90255,10 +90836,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *591 - - *595 + - *344 + - *345 + - *597 + - *601 requestBody: required: true content: @@ -90286,7 +90867,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *600 examples: default: value: @@ -90349,10 +90930,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *591 - - *595 + - *344 + - *345 + - *597 + - *601 requestBody: required: true content: @@ -90387,9 +90968,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *600 examples: - default: *597 + default: *603 '404': *6 '422': *7 '403': *29 @@ -90411,9 +90992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *338 - - *339 - - *591 + - *344 + - *345 + - *597 requestBody: required: false content: @@ -90476,8 +91057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *338 - - *339 + - *344 + - *345 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90490,9 +91071,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &599 + default: &605 value: type: file encoding: base64 @@ -90534,8 +91115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *338 - - *339 + - *344 + - *345 - name: dir description: The alternate path to look for a README file in: path @@ -90555,9 +91136,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *599 + default: *605 '404': *6 '422': *15 x-github: @@ -90579,8 +91160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -90590,7 +91171,7 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: default: value: @@ -90664,7 +91245,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -90684,8 +91265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -90761,9 +91342,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: &604 + default: &610 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90868,9 +91449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *338 - - *339 - - &602 + - *344 + - *345 + - &608 name: asset_id description: The unique identifier of the asset. in: path @@ -90882,9 +91463,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *607 examples: - default: &603 + default: &609 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 @@ -90919,7 +91500,7 @@ paths: type: User site_admin: false '404': *6 - '302': *487 + '302': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90935,9 +91516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *338 - - *339 - - *602 + - *344 + - *345 + - *608 requestBody: required: false content: @@ -90965,9 +91546,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *607 examples: - default: *603 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90983,12 +91564,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *338 - - *339 - - *602 + - *344 + - *345 + - *608 responses: '204': description: Response + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91009,8 +91591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -91095,16 +91677,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *604 + default: *610 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91121,8 +91704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *338 - - *339 + - *344 + - *345 - name: tag description: tag parameter in: path @@ -91135,9 +91718,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *604 + default: *610 '404': *6 x-github: githubCloudOnly: false @@ -91159,9 +91742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *338 - - *339 - - &605 + - *344 + - *345 + - &611 name: release_id description: The unique identifier of the release. in: path @@ -91175,9 +91758,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *600 + schema: *606 examples: - default: *604 + default: *610 '401': description: Unauthorized x-github: @@ -91195,9 +91778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *338 - - *339 - - *605 + - *344 + - *345 + - *611 requestBody: required: false content: @@ -91261,9 +91844,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *604 + default: *610 '404': description: Not Found if the discussion category name is invalid content: @@ -91284,12 +91867,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *338 - - *339 - - *605 + - *344 + - *345 + - *611 responses: '204': description: Response + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91306,9 +91890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *338 - - *339 - - *605 + - *344 + - *345 + - *611 - *17 - *19 responses: @@ -91318,7 +91902,7 @@ paths: application/json: schema: type: array - items: *601 + items: *607 examples: default: value: @@ -91355,7 +91939,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91399,9 +91983,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: - - *338 - - *339 - - *605 + - *344 + - *345 + - *611 - name: name in: query required: true @@ -91427,7 +92011,7 @@ paths: description: Response for successful upload content: application/json: - schema: *601 + schema: *607 examples: response-for-successful-upload: value: @@ -91482,9 +92066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *338 - - *339 - - *605 + - *344 + - *345 + - *611 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -91508,11 +92092,11 @@ paths: application/json: schema: type: array - items: *470 + items: *476 examples: - default: *541 + default: *547 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -91531,9 +92115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *338 - - *339 - - *605 + - *344 + - *345 + - *611 requestBody: required: true content: @@ -91563,16 +92147,16 @@ paths: description: Reaction exists content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '201': description: Reaction created content: application/json: - schema: *470 + schema: *476 examples: - default: *471 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -91594,10 +92178,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *338 - - *339 - - *605 - - *542 + - *344 + - *345 + - *611 + - *548 responses: '204': description: Response @@ -91621,9 +92205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *338 - - *339 - - *405 + - *344 + - *345 + - *411 - *17 - *19 responses: @@ -91639,8 +92223,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *299 - - &606 + - *305 + - &612 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91659,69 +92243,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *300 - - *606 - - allOf: - - *301 - - *606 - - allOf: - - *302 - - *606 - - allOf: - - *607 - - *606 - - allOf: - - *303 - - *606 - - allOf: - - *304 - - *606 - - allOf: - - *305 - - *606 - allOf: - *306 - - *606 + - *612 - allOf: - *307 - - *606 + - *612 - allOf: - *308 - - *606 + - *612 + - allOf: + - *613 + - *612 - allOf: - *309 - - *606 + - *612 - allOf: - *310 - - *606 + - *612 - allOf: - *311 - - *606 + - *612 - allOf: - *312 - - *606 + - *612 - allOf: - *313 - - *606 + - *612 - allOf: - *314 - - *606 + - *612 - allOf: - *315 - - *606 + - *612 - allOf: - *316 - - *606 + - *612 - allOf: - *317 - - *606 + - *612 - allOf: - *318 - - *606 + - *612 - allOf: - *319 - - *606 + - *612 + - allOf: + - *320 + - *612 + - allOf: + - *321 + - *612 + - allOf: + - *322 + - *612 + - allOf: + - *323 + - *612 + - allOf: + - *324 + - *612 + - allOf: + - *325 + - *612 examples: default: value: @@ -91760,8 +92344,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 - name: includes_parents @@ -91772,7 +92356,7 @@ paths: schema: type: boolean default: true - - *608 + - *614 responses: '200': description: Response @@ -91780,7 +92364,7 @@ paths: application/json: schema: type: array - items: *320 + items: *326 examples: default: value: @@ -91811,7 +92395,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *115 + '500': *55 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -91827,8 +92411,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *344 + - *345 requestBody: description: Request body required: true @@ -91848,16 +92432,16 @@ paths: - tag - push default: branch - enforcement: *296 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *297 - conditions: *294 + items: *303 + conditions: *300 rules: type: array description: An array of rules within the ruleset. - items: *609 + items: *615 required: - name - enforcement @@ -91888,9 +92472,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: &619 + default: &625 value: id: 42 name: super cool ruleset @@ -91924,7 +92508,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *115 + '500': *55 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -91938,12 +92522,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *338 - - *339 - - *610 - - *611 - - *612 - - *613 + - *344 + - *345 + - *616 + - *617 + - *618 + - *619 - *17 - *19 responses: @@ -91951,11 +92535,11 @@ paths: description: Response content: application/json: - schema: *614 + schema: *620 examples: - default: *615 + default: *621 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91974,19 +92558,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *338 - - *339 - - *616 + - *344 + - *345 + - *622 responses: '200': description: Response content: application/json: - schema: *617 + schema: *623 examples: - default: *618 + default: *624 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92012,8 +92596,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92033,11 +92617,11 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: *619 + default: *625 '404': *6 - '500': *115 + '500': *55 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -92053,8 +92637,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92079,16 +92663,16 @@ paths: - branch - tag - push - enforcement: *296 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *297 - conditions: *294 + items: *303 + conditions: *300 rules: description: An array of rules within the ruleset. type: array - items: *609 + items: *615 examples: default: value: @@ -92116,12 +92700,12 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: *619 + default: *625 '404': *6 '422': *15 - '500': *115 + '500': *55 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -92137,8 +92721,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92149,7 +92733,7 @@ paths: '204': description: Response '404': *6 - '500': *115 + '500': *55 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -92161,8 +92745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 - name: ruleset_id @@ -92178,11 +92762,11 @@ paths: application/json: schema: type: array - items: *323 + items: *329 examples: - default: *620 + default: *626 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92199,8 +92783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *338 - - *339 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92218,7 +92802,7 @@ paths: description: Response content: application/json: - schema: *621 + schema: *627 examples: default: value: @@ -92251,7 +92835,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92273,22 +92857,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *338 - - *339 - - *622 - - *623 - - *624 - - *625 - - *626 - - *55 - - *19 - - *17 - - *627 + - *344 + - *345 - *628 - *629 - *630 - *631 - *632 + - *61 + - *19 + - *17 + - *633 + - *634 + - *635 + - *636 + - *637 + - *638 responses: '200': description: Response @@ -92296,11 +92880,11 @@ paths: application/json: schema: type: array - items: &636 + items: &642 type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -92308,15 +92892,15 @@ paths: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *633 - resolution: *634 + state: *639 + resolution: *640 resolved_at: type: string format: date-time @@ -92412,7 +92996,7 @@ paths: pull request. ' - oneOf: *635 + oneOf: *641 nullable: true has_more_locations: type: boolean @@ -92539,7 +93123,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92561,16 +93145,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *338 - - *339 - - *436 - - *632 + - *344 + - *345 + - *442 + - *638 responses: '200': description: Response content: application/json: - schema: *636 + schema: *642 examples: default: value: @@ -92601,7 +93185,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92624,9 +93208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *338 - - *339 - - *436 + - *344 + - *345 + - *442 requestBody: required: true content: @@ -92634,8 +93218,8 @@ paths: schema: type: object properties: - state: *633 - resolution: *634 + state: *639 + resolution: *640 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -92651,6 +93235,8 @@ paths: - state - required: - assignee + - required: + - validity examples: default: value: @@ -92669,7 +93255,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *642 examples: default: value: @@ -92742,7 +93328,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92764,9 +93350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *338 - - *339 - - *436 + - *344 + - *345 + - *442 - *19 - *17 responses: @@ -92777,7 +93363,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &795 + items: &801 type: object properties: type: @@ -92803,12 +93389,6 @@ paths: example: commit details: oneOf: - - *637 - - *638 - - *639 - - *640 - - *641 - - *642 - *643 - *644 - *645 @@ -92816,6 +93396,12 @@ paths: - *647 - *648 - *649 + - *650 + - *651 + - *652 + - *653 + - *654 + - *655 examples: default: value: @@ -92875,11 +93461,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *61 + Link: *67 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92901,8 +93487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -92910,14 +93496,14 @@ paths: schema: type: object properties: - reason: &651 + reason: &657 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *650 + placeholder_id: *656 required: - reason - placeholder_id @@ -92934,7 +93520,7 @@ paths: schema: type: object properties: - reason: *651 + reason: *657 expire_at: type: string format: date-time @@ -92957,7 +93543,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *116 + '503': *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92980,13 +93566,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *116 + '503': *121 '200': description: Response content: @@ -92996,7 +93582,7 @@ paths: properties: incremental_scans: type: array - items: &652 + items: &658 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93022,15 +93608,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *652 + items: *658 backfill_scans: type: array - items: *652 + items: *658 custom_pattern_backfill_scans: type: array items: allOf: - - *652 + - *658 - type: object properties: pattern_name: @@ -93100,9 +93686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *338 - - *339 - - *55 + - *344 + - *345 + - *61 - name: sort description: The property to sort the results by. in: query @@ -93145,9 +93731,9 @@ paths: application/json: schema: type: array - items: *653 + items: *659 examples: - default: *654 + default: *660 '400': *14 '404': *6 x-github: @@ -93170,8 +93756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -93244,7 +93830,7 @@ paths: login: type: string description: The username of the user credited. - type: *326 + type: *332 required: - login - type @@ -93331,9 +93917,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *659 examples: - default: &656 + default: &662 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93566,8 +94152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -93671,7 +94257,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *659 examples: default: value: @@ -93818,17 +94404,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *338 - - *339 - - *655 + - *344 + - *345 + - *661 responses: '200': description: Response content: application/json: - schema: *653 + schema: *659 examples: - default: *656 + default: *662 '403': *29 '404': *6 x-github: @@ -93852,9 +94438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *338 - - *339 - - *655 + - *344 + - *345 + - *661 requestBody: required: true content: @@ -93927,7 +94513,7 @@ paths: login: type: string description: The username of the user credited. - type: *326 + type: *332 required: - login - type @@ -94013,17 +94599,17 @@ paths: description: Response content: application/json: - schema: *653 + schema: *659 examples: - default: *656 - add_credit: *656 + default: *662 + add_credit: *662 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *124 + schema: *129 examples: invalid_state_transition: value: @@ -94054,9 +94640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *338 - - *339 - - *655 + - *344 + - *345 + - *661 responses: '202': *39 '400': *14 @@ -94083,17 +94669,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *338 - - *339 - - *655 + - *344 + - *345 + - *661 responses: '202': description: Response content: application/json: - schema: *341 + schema: *347 examples: - default: *343 + default: *349 '400': *14 '422': *15 '403': *29 @@ -94119,8 +94705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -94197,7 +94783,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -94219,8 +94805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94229,7 +94815,7 @@ paths: application/json: schema: type: array - items: &657 + items: &663 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94242,7 +94828,7 @@ paths: - 1124 - -435 '202': *39 - '204': *187 + '204': *192 '422': description: Repository contains more than 10,000 commits x-github: @@ -94262,8 +94848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -94312,7 +94898,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94339,8 +94925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -94414,7 +95000,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94436,8 +95022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94591,8 +95177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94602,7 +95188,7 @@ paths: application/json: schema: type: array - items: *657 + items: *663 examples: default: value: @@ -94615,7 +95201,7 @@ paths: - - 0 - 2 - 21 - '204': *187 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94635,8 +95221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *338 - - *339 + - *344 + - *345 - name: sha in: path required: true @@ -94690,7 +95276,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *664 examples: default: value: @@ -94744,8 +95330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -94757,9 +95343,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94777,14 +95363,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &659 + schema: &665 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94852,8 +95438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: false content: @@ -94879,7 +95465,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *665 examples: default: value: @@ -94906,8 +95492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -94927,8 +95513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -94984,7 +95570,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95007,8 +95593,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *338 - - *339 + - *344 + - *345 - name: ref in: path required: true @@ -95044,8 +95630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *338 - - *339 + - *344 + - *345 - *17 - *19 responses: @@ -95055,11 +95641,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - default: *254 + default: *260 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -95077,8 +95663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *338 - - *339 + - *344 + - *345 - *19 - *17 responses: @@ -95086,7 +95672,7 @@ paths: description: Response content: application/json: - schema: &660 + schema: &666 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95098,7 +95684,7 @@ paths: required: - names examples: - default: &661 + default: &667 value: names: - octocat @@ -95121,8 +95707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -95153,9 +95739,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *666 examples: - default: *661 + default: *667 '404': *6 '422': *7 x-github: @@ -95176,9 +95762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *338 - - *339 - - &662 + - *344 + - *345 + - &668 name: per description: The time frame to display results for. in: query @@ -95207,7 +95793,7 @@ paths: example: 128 clones: type: array - items: &663 + items: &669 title: Traffic type: object properties: @@ -95294,8 +95880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -95385,8 +95971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *338 - - *339 + - *344 + - *345 responses: '200': description: Response @@ -95446,9 +96032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *338 - - *339 - - *662 + - *344 + - *345 + - *668 responses: '200': description: Response @@ -95467,7 +96053,7 @@ paths: example: 3782 views: type: array - items: *663 + items: *669 required: - uniques - count @@ -95544,8 +96130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *338 - - *339 + - *344 + - *345 requestBody: required: true content: @@ -95581,7 +96167,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *161 examples: default: value: @@ -95819,8 +96405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95843,8 +96429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -95866,8 +96452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -95893,8 +96479,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *338 - - *339 + - *344 + - *345 - name: ref in: path required: true @@ -95986,9 +96572,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: - default: *343 + default: *349 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96029,7 +96615,7 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: default: value: @@ -96135,8 +96721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *145 - - *548 + - *150 + - *554 requestBody: required: true content: @@ -96200,14 +96786,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *551 + items: *557 examples: - default: *664 + default: *670 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -96238,8 +96824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *145 - - *548 + - *150 + - *554 requestBody: required: true content: @@ -96304,14 +96890,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *551 + items: *557 examples: - default: *664 + default: *670 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -96337,16 +96923,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *145 - - *548 - - *236 + - *150 + - *554 + - *242 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *116 + '503': *121 x-github: triggersNotification: true githubCloudOnly: false @@ -96460,7 +97046,7 @@ paths: html_url: type: string format: uri - repository: *156 + repository: *161 score: type: number file_size: @@ -96478,7 +97064,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &665 + text_matches: &671 title: Search Result Text Matches type: array items: @@ -96592,7 +97178,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *116 + '503': *121 '422': *15 '403': *29 x-github: @@ -96640,7 +97226,7 @@ paths: enum: - author-date - committer-date - - &666 + - &672 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 @@ -96711,7 +97297,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *403 + properties: *409 nullable: true comment_count: type: integer @@ -96731,7 +97317,7 @@ paths: url: type: string format: uri - verification: *524 + verification: *530 required: - author - committer @@ -96750,7 +97336,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *403 + properties: *409 nullable: true parents: type: array @@ -96763,12 +97349,12 @@ paths: type: string sha: type: string - repository: *156 + repository: *161 score: type: number node_id: type: string - text_matches: *665 + text_matches: *671 required: - sha - node_id @@ -96960,7 +97546,7 @@ paths: - interactions - created - updated - - *666 + - *672 - *17 - *19 - name: advanced_search @@ -96982,6 +97568,7 @@ paths: - total_count - incomplete_results - items + - search_type properties: total_count: type: integer @@ -97057,11 +97644,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: type: string state_reason: @@ -97078,8 +97665,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *274 - required: *275 + properties: *280 + required: *281 nullable: true comments: type: integer @@ -97093,7 +97680,7 @@ paths: type: string format: date-time nullable: true - text_matches: *665 + text_matches: *671 pull_request: type: object properties: @@ -97126,10 +97713,10 @@ paths: type: string score: type: number - author_association: *76 + author_association: *82 draft: type: boolean - repository: *73 + repository: *79 body_html: type: string body_text: @@ -97137,7 +97724,7 @@ paths: timeline_url: type: string format: uri - type: *237 + type: *243 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -97147,17 +97734,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - reactions: *77 + reactions: *83 required: - assignee - closed_at @@ -97209,6 +97796,29 @@ paths: - updated_at - score version: '2026-03-10' + search_type: + type: string + description: The type of search that was performed. Possible values + are `lexical`, `semantic`, or `hybrid`. + enum: + - lexical + - semantic + - hybrid + lexical_fallback_reason: + type: array + description: When a semantic or hybrid search falls back to lexical + search, this field contains the reasons for the fallback. Only + present when a fallback occurred. + items: + type: string + enum: + - no_text_terms + - quoted_text + - non_issue_target + - or_boolean_not_supported + - no_accessible_repos + - server_error + - only_non_semantic_fields_requested examples: default: value: @@ -97301,7 +97911,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *116 + '503': *121 '422': *15 '304': *37 '403': *29 @@ -97354,7 +97964,7 @@ paths: enum: - created - updated - - *666 + - *672 - *17 - *19 responses: @@ -97398,7 +98008,7 @@ paths: nullable: true score: type: number - text_matches: *665 + text_matches: *671 required: - id - node_id @@ -97483,7 +98093,7 @@ paths: - forks - help-wanted-issues - updated - - *666 + - *672 - *17 - *19 responses: @@ -97711,8 +98321,8 @@ paths: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true permissions: type: object @@ -97731,7 +98341,7 @@ paths: - admin - pull - push - text_matches: *665 + text_matches: *671 temp_clone_token: type: string allow_merge_commit: @@ -97933,7 +98543,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *116 + '503': *121 '422': *15 '304': *37 x-github: @@ -98031,7 +98641,7 @@ paths: type: string format: uri nullable: true - text_matches: *665 + text_matches: *671 related: type: array nullable: true @@ -98222,7 +98832,7 @@ paths: - followers - repositories - joined - - *666 + - *672 - *17 - *19 responses: @@ -98326,7 +98936,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *665 + text_matches: *671 blog: type: string nullable: true @@ -98385,7 +98995,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *116 + '503': *121 '422': *15 x-github: githubCloudOnly: false @@ -98405,7 +99015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &669 + - &675 name: team_id description: The unique identifier of the team. in: path @@ -98417,9 +99027,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *340 examples: - default: *335 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -98446,7 +99056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *669 + - *675 requestBody: required: true content: @@ -98509,16 +99119,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *334 + schema: *340 examples: - default: *335 + default: *341 '201': description: Response content: application/json: - schema: *334 + schema: *340 examples: - default: *335 + default: *341 '404': *6 '422': *15 '403': *29 @@ -98546,7 +99156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *669 + - *675 responses: '204': description: Response @@ -98575,7 +99185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *669 + - *675 - *17 - *19 responses: @@ -98585,11 +99195,11 @@ paths: application/json: schema: type: array - items: *231 + items: *237 examples: - default: *232 + default: *238 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98613,7 +99223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *669 + - *675 - name: role description: Filters members returned by their role in the team. in: query @@ -98636,9 +99246,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -98664,8 +99274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *669 - - *65 + - *675 + - *71 responses: '204': description: if user is a member @@ -98701,8 +99311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *669 - - *65 + - *675 + - *71 responses: '204': description: Response @@ -98741,8 +99351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *669 - - *65 + - *675 + - *71 responses: '204': description: Response @@ -98778,16 +99388,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *669 - - *65 + - *675 + - *71 responses: '200': description: Response content: application/json: - schema: *337 + schema: *343 examples: - response-if-user-is-a-team-maintainer: *670 + response-if-user-is-a-team-maintainer: *676 '404': *6 x-github: githubCloudOnly: false @@ -98820,8 +99430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *669 - - *65 + - *675 + - *71 requestBody: required: false content: @@ -98846,9 +99456,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *343 examples: - response-if-users-membership-with-team-is-now-pending: *671 + response-if-users-membership-with-team-is-now-pending: *677 '403': description: Forbidden if team synchronization is set up '422': @@ -98882,8 +99492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *669 - - *65 + - *675 + - *71 responses: '204': description: Response @@ -98910,7 +99520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *669 + - *675 - *17 - *19 responses: @@ -98920,11 +99530,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -98952,15 +99562,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *669 - - *338 - - *339 + - *675 + - *344 + - *345 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *672 + schema: *678 examples: alternative-response-with-extra-repository-information: value: @@ -99111,9 +99721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *669 - - *338 - - *339 + - *675 + - *344 + - *345 requestBody: required: false content: @@ -99163,9 +99773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *669 - - *338 - - *339 + - *675 + - *344 + - *345 responses: '204': description: Response @@ -99190,7 +99800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *669 + - *675 - *17 - *19 responses: @@ -99200,11 +99810,11 @@ paths: application/json: schema: type: array - items: *193 + items: *198 examples: - response-if-child-teams-exist: *673 + response-if-child-teams-exist: *679 headers: - Link: *61 + Link: *67 '404': *6 '403': *29 '422': *15 @@ -99235,7 +99845,7 @@ paths: application/json: schema: oneOf: - - &675 + - &681 title: Private User description: Private User type: object @@ -99438,7 +100048,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *674 + - *680 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99591,7 +100201,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *681 examples: default: value: @@ -99670,7 +100280,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 '304': *37 '404': *6 '403': *29 @@ -99693,7 +100303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *65 + - *71 responses: '204': description: If the user is blocked @@ -99721,7 +100331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -99745,7 +100355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -99794,11 +100404,11 @@ paths: type: integer codespaces: type: array - items: *242 + items: *248 examples: - default: *243 + default: *249 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -99935,21 +100545,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '401': *25 '403': *29 '404': *6 - '503': *116 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99989,7 +100599,7 @@ paths: type: integer secrets: type: array - items: &676 + items: &682 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100029,9 +100639,9 @@ paths: - visibility - selected_repositories_url examples: - default: *462 + default: *468 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100099,13 +100709,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 responses: '200': description: Response content: application/json: - schema: *676 + schema: *682 examples: default: value: @@ -100135,7 +100745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 requestBody: required: true content: @@ -100180,7 +100790,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -100208,7 +100818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *164 + - *169 responses: '204': description: Response @@ -100233,7 +100843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *164 + - *169 responses: '200': description: Response @@ -100249,13 +100859,13 @@ paths: type: integer repositories: type: array - items: *156 + items: *161 examples: - default: *194 + default: *199 '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100276,7 +100886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *164 + - *169 requestBody: required: true content: @@ -100308,7 +100918,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100330,7 +100940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *164 + - *169 - name: repository_id in: path required: true @@ -100342,7 +100952,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100363,7 +100973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *164 + - *169 - name: repository_id in: path required: true @@ -100375,7 +100985,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *115 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100395,17 +101005,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *244 + - *250 responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -100429,7 +101039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *244 + - *250 requestBody: required: false content: @@ -100459,9 +101069,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '401': *25 '403': *29 '404': *6 @@ -100483,11 +101093,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *244 + - *250 responses: '202': *39 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -100512,13 +101122,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *244 + - *250 responses: '202': description: Response content: application/json: - schema: &677 + schema: &683 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100559,7 +101169,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &678 + default: &684 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100567,7 +101177,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -100591,7 +101201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *244 + - *250 - name: export_id in: path required: true @@ -100604,9 +101214,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *683 examples: - default: *678 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -100627,7 +101237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *244 + - *250 responses: '200': description: Response @@ -100643,11 +101253,11 @@ paths: type: integer machines: type: array - items: *679 + items: *685 examples: - default: *680 + default: *686 '304': *37 - '500': *115 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -100674,7 +101284,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *244 + - *250 requestBody: required: true content: @@ -100724,13 +101334,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *341 + repository: *347 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *460 - required: *461 + properties: *466 + required: *467 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -101504,17 +102114,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *244 + - *250 responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: *459 + default: *465 '304': *37 - '500': *115 + '500': *55 '400': *14 '401': *25 '402': @@ -101544,16 +102154,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *244 + - *250 responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: *459 - '500': *115 + default: *465 + '500': *55 '401': *25 '403': *29 '404': *6 @@ -101582,9 +102192,9 @@ paths: application/json: schema: type: array - items: *255 + items: *261 examples: - default: &691 + default: &697 value: - id: 197 name: hello_docker @@ -101685,7 +102295,7 @@ paths: application/json: schema: type: array - items: &681 + items: &687 title: Email description: Email type: object @@ -101750,16 +102360,16 @@ paths: application/json: schema: type: array - items: *681 + items: *687 examples: - default: &693 + default: &699 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -101827,7 +102437,7 @@ paths: application/json: schema: type: array - items: *681 + items: *687 examples: default: value: @@ -101937,9 +102547,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -101970,9 +102580,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -101992,7 +102602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *65 + - *71 responses: '204': description: if the person is followed by the authenticated user @@ -102022,7 +102632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -102047,7 +102657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *65 + - *71 responses: '204': description: Response @@ -102083,7 +102693,7 @@ paths: application/json: schema: type: array - items: &682 + items: &688 title: GPG Key description: A unique encryption key type: object @@ -102214,7 +102824,7 @@ paths: - subkeys - revoked examples: - default: &709 + default: &715 value: - id: 3 name: Octocat's GPG Key @@ -102246,7 +102856,7 @@ paths: revoked: false raw_key: string headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -102299,9 +102909,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *688 examples: - default: &683 + default: &689 value: id: 3 name: Octocat's GPG Key @@ -102358,7 +102968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &684 + - &690 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102370,9 +102980,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *688 examples: - default: *683 + default: *689 '404': *6 '304': *37 '403': *29 @@ -102395,7 +103005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *684 + - *690 responses: '204': description: Response @@ -102538,7 +103148,7 @@ paths: suspended_at: suspended_by: headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -102586,11 +103196,11 @@ paths: type: array items: allOf: - - *73 + - *79 examples: - default: *148 + default: *153 headers: - Link: *61 + Link: *67 '404': *6 '403': *29 '304': *37 @@ -102602,9 +103212,10 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: "Add a single repository to an installation. The authenticated - user must have admin access to the repository. \n\nThis endpoint only works - for PATs (classic) with the `repo` scope." + description: |- + Add a single repository to an installation. The authenticated user must have admin access to the repository. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -102613,7 +103224,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *145 + - *150 responses: '204': description: Response @@ -102627,10 +103238,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: "Remove a single repository from an installation. The authenticated - user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. \n\nThis endpoint only works for - PATs (classic) with the `repo` scope." + description: |- + Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -102639,7 +103250,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *145 + - *150 responses: '204': description: Response @@ -102673,12 +103284,12 @@ paths: application/json: schema: anyOf: - - *229 + - *235 - type: object properties: {} additionalProperties: false examples: - default: *230 + default: *236 '204': description: Response when there are no restrictions x-github: @@ -102702,7 +103313,7 @@ paths: required: true content: application/json: - schema: *535 + schema: *541 examples: default: value: @@ -102713,7 +103324,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *235 examples: default: value: @@ -102794,7 +103405,7 @@ paths: - closed - all default: open - - *240 + - *246 - name: sort description: What to sort results by. in: query @@ -102806,8 +103417,8 @@ paths: - updated - comments default: created - - *55 - - *86 + - *61 + - *92 - *17 - *19 responses: @@ -102817,11 +103428,11 @@ paths: application/json: schema: type: array - items: *79 + items: *85 examples: - default: *241 + default: *247 headers: - Link: *61 + Link: *67 '404': *6 '304': *37 x-github: @@ -102852,7 +103463,7 @@ paths: application/json: schema: type: array - items: &685 + items: &691 title: Key description: Key type: object @@ -102903,7 +103514,7 @@ paths: verified: false read_only: false headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -102953,9 +103564,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *691 examples: - default: &686 + default: &692 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102988,15 +103599,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *570 + - *576 responses: '200': description: Response content: application/json: - schema: *685 + schema: *691 examples: - default: *686 + default: *692 '404': *6 '304': *37 '403': *29 @@ -103019,7 +103630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *570 + - *576 responses: '204': description: Response @@ -103052,7 +103663,7 @@ paths: application/json: schema: type: array - items: &687 + items: &693 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103109,7 +103720,7 @@ paths: - id - type - login - plan: *97 + plan: *103 required: - billing_cycle - next_billing_date @@ -103120,7 +103731,7 @@ paths: - account - plan examples: - default: &688 + default: &694 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103153,7 +103764,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *61 + Link: *67 '304': *37 '401': *25 '404': *6 @@ -103182,11 +103793,11 @@ paths: application/json: schema: type: array - items: *687 + items: *693 examples: - default: *688 + default: *694 headers: - Link: *61 + Link: *67 '304': *37 '401': *25 x-github: @@ -103224,7 +103835,7 @@ paths: application/json: schema: type: array - items: *246 + items: *252 examples: default: value: @@ -103307,7 +103918,7 @@ paths: type: User site_admin: false headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -103332,13 +103943,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *69 + - *75 responses: '200': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -103400,7 +104011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *69 + - *75 requestBody: required: true content: @@ -103425,7 +104036,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -103497,7 +104108,7 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: default: value: @@ -103650,7 +104261,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -103750,7 +104361,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *254 examples: default: value: @@ -103930,7 +104541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *249 + - *255 - name: exclude in: query required: false @@ -103943,7 +104554,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *254 examples: default: value: @@ -104137,7 +104748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *249 + - *255 responses: '302': description: Response @@ -104163,7 +104774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *249 + - *255 responses: '204': description: Response @@ -104192,8 +104803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *249 - - *689 + - *255 + - *695 responses: '204': description: Response @@ -104217,7 +104828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *249 + - *255 - *17 - *19 responses: @@ -104227,11 +104838,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -104246,7 +104857,7 @@ paths: content: application/json: schema: - items: *60 + items: *66 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -104282,11 +104893,11 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -104326,7 +104937,7 @@ paths: - docker - nuget - container - - *690 + - *696 - *19 - *17 responses: @@ -104336,10 +104947,10 @@ paths: application/json: schema: type: array - items: *255 + items: *261 examples: - default: *691 - '400': *692 + default: *697 + '400': *698 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104359,16 +104970,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *257 - - *258 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *255 + schema: *261 examples: - default: &710 + default: &716 value: id: 40201 name: octo-name @@ -104481,8 +105092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *257 - - *258 + - *263 + - *264 responses: '204': description: Response @@ -104512,8 +105123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *257 - - *258 + - *263 + - *264 - name: token description: package token schema: @@ -104545,8 +105156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *257 - - *258 + - *263 + - *264 - *19 - *17 - name: state @@ -104566,7 +105177,7 @@ paths: application/json: schema: type: array - items: *259 + items: *265 examples: default: value: @@ -104615,15 +105226,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *257 - - *258 - - *260 + - *263 + - *264 + - *266 responses: '200': description: Response content: application/json: - schema: *259 + schema: *265 examples: default: value: @@ -104659,9 +105270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *257 - - *258 - - *260 + - *263 + - *264 + - *266 responses: '204': description: Response @@ -104691,9 +105302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *257 - - *258 - - *260 + - *263 + - *264 + - *266 responses: '204': description: Response @@ -104730,11 +105341,11 @@ paths: application/json: schema: type: array - items: *681 + items: *687 examples: - default: *693 + default: *699 headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -104843,9 +105454,9 @@ paths: application/json: schema: type: array - items: *73 + items: *79 examples: - default: &700 + default: &706 summary: Default response value: - id: 1296269 @@ -104966,7 +105577,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '422': *15 '304': *37 '403': *29 @@ -105149,9 +105760,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: - default: *343 + default: *349 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105195,11 +105806,11 @@ paths: application/json: schema: type: array - items: *537 + items: *543 examples: - default: *694 + default: *700 headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -105220,7 +105831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *233 + - *239 responses: '204': description: Response @@ -105249,7 +105860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *233 + - *239 responses: '204': description: Response @@ -105282,7 +105893,7 @@ paths: application/json: schema: type: array - items: &695 + items: &701 title: Social account description: Social media account type: object @@ -105297,12 +105908,12 @@ paths: - provider - url examples: - default: &696 + default: &702 value: - provider: twitter url: https://twitter.com/github headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -105359,9 +105970,9 @@ paths: application/json: schema: type: array - items: *695 + items: *701 examples: - default: *696 + default: *702 '422': *15 '304': *37 '404': *6 @@ -105448,7 +106059,7 @@ paths: application/json: schema: type: array - items: &697 + items: &703 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105468,7 +106079,7 @@ paths: - title - created_at examples: - default: &728 + default: &734 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105479,7 +106090,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -105532,9 +106143,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *703 examples: - default: &698 + default: &704 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105564,7 +106175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &699 + - &705 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105576,9 +106187,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *703 examples: - default: *698 + default: *704 '404': *6 '304': *37 '403': *29 @@ -105601,7 +106212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *699 + - *705 responses: '204': description: Response @@ -105630,7 +106241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &729 + - &735 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 @@ -105643,7 +106254,7 @@ paths: - created - updated default: created - - *55 + - *61 - *17 - *19 responses: @@ -105653,13 +106264,13 @@ paths: application/json: schema: type: array - items: *73 + items: *79 examples: - default-response: *700 + default-response: *706 application/vnd.github.v3.star+json: schema: type: array - items: &730 + items: &736 title: Starred Repository description: Starred Repository type: object @@ -105667,7 +106278,7 @@ paths: starred_at: type: string format: date-time - repo: *73 + repo: *79 required: - starred_at - repo @@ -105795,7 +106406,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -105815,8 +106426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response if this repository is starred by you @@ -105844,8 +106455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -105869,8 +106480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *338 - - *339 + - *344 + - *345 responses: '204': description: Response @@ -105903,11 +106514,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -105942,7 +106553,7 @@ paths: application/json: schema: type: array - items: *334 + items: *340 examples: default: value: @@ -105993,7 +106604,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *61 + Link: *67 '304': *37 '404': *6 '403': *29 @@ -106020,7 +106631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *99 + - *105 responses: '200': description: Response @@ -106028,10 +106639,10 @@ paths: application/json: schema: oneOf: - - *675 - - *674 + - *681 + - *680 examples: - default-response: &704 + default-response: &710 summary: Default response value: login: octocat @@ -106066,7 +106677,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &705 + response-with-git-hub-plan-information: &711 summary: Response with GitHub plan information value: login: octocat @@ -106123,14 +106734,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &702 + - &708 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *273 + - *279 requestBody: required: true description: Details of the draft item to create in the project. @@ -106164,9 +106775,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *285 examples: - draft_issue: *280 + draft_issue: *286 '304': *37 '403': *29 '401': *25 @@ -106189,7 +106800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *701 + - *707 - *17 responses: '200': @@ -106200,7 +106811,7 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: Link: example: ; rel="next" @@ -106224,8 +106835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *702 - - *273 + - *708 + - *279 requestBody: required: true content: @@ -106296,17 +106907,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *703 + schema: *709 examples: table_view: summary: Response for creating a table view - value: *284 + value: *290 board_view: summary: Response for creating a board view with filter - value: *284 + value: *290 roadmap_view: summary: Response for creating a roadmap view - value: *284 + value: *290 '304': *37 '403': *29 '401': *25 @@ -106340,7 +106951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *65 + - *71 responses: '200': description: Response @@ -106348,11 +106959,11 @@ paths: application/json: schema: oneOf: - - *675 - - *674 + - *681 + - *680 examples: - default-response: *704 - response-with-git-hub-plan-information: *705 + default-response: *710 + response-with-git-hub-plan-information: *711 '404': *6 x-github: githubCloudOnly: false @@ -106378,7 +106989,7 @@ paths: - *17 - *47 - *48 - - *65 + - *71 requestBody: required: true content: @@ -106402,8 +107013,8 @@ paths: required: - subject_digests examples: - default: *706 - withPredicateType: *707 + default: *712 + withPredicateType: *713 responses: '200': description: Response @@ -106456,7 +107067,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *708 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106489,7 +107100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *65 + - *71 requestBody: required: true content: @@ -106554,7 +107165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *65 + - *71 - name: subject_digest description: Subject Digest in: path @@ -106585,7 +107196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *65 + - *71 - name: attestation_id description: Attestation ID in: path @@ -106623,7 +107234,7 @@ paths: - *17 - *47 - *48 - - *65 + - *71 - name: subject_digest description: Subject Digest in: path @@ -106676,12 +107287,12 @@ paths: initiator: type: string examples: - default: *399 + default: *405 '201': description: Response content: application/json: - schema: *165 + schema: *170 examples: default: value: @@ -106721,7 +107332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *65 + - *71 responses: '200': description: Response @@ -106729,9 +107340,9 @@ paths: application/json: schema: type: array - items: *255 + items: *261 examples: - default: *691 + default: *697 '403': *29 '401': *25 x-github: @@ -106754,7 +107365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106764,7 +107375,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -106826,8 +107437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *65 - - *69 + - *71 + - *75 - *17 - *19 responses: @@ -106837,7 +107448,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -106914,7 +107525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106924,7 +107535,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -106982,7 +107593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -106994,9 +107605,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107013,7 +107624,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107025,9 +107636,9 @@ paths: type: array items: *4 examples: - default: *64 + default: *70 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107044,7 +107655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *65 + - *71 - name: target_user in: path required: true @@ -107071,8 +107682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *65 - - *86 + - *71 + - *92 - *17 - *19 responses: @@ -107082,11 +107693,11 @@ paths: application/json: schema: type: array - items: *87 + items: *93 examples: - default: *88 + default: *94 headers: - Link: *61 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -107105,7 +107716,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107115,11 +107726,11 @@ paths: application/json: schema: type: array - items: *682 + items: *688 examples: - default: *709 + default: *715 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107141,7 +107752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *65 + - *71 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -107213,7 +107824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *65 + - *71 responses: '200': description: Response @@ -107221,7 +107832,7 @@ paths: application/json: schema: *22 examples: - default: *534 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107239,7 +107850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107274,7 +107885,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107294,7 +107905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -107304,11 +107915,11 @@ paths: application/json: schema: type: array - items: *67 + items: *73 examples: - default: *110 + default: *116 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107345,8 +107956,8 @@ paths: - docker - nuget - container - - *690 - - *65 + - *696 + - *71 - *19 - *17 responses: @@ -107356,12 +107967,12 @@ paths: application/json: schema: type: array - items: *255 + items: *261 examples: - default: *691 + default: *697 '403': *29 '401': *25 - '400': *692 + '400': *698 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107381,17 +107992,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *257 - - *258 - - *65 + - *263 + - *264 + - *71 responses: '200': description: Response content: application/json: - schema: *255 + schema: *261 examples: - default: *710 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107412,9 +108023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *257 - - *258 - - *65 + - *263 + - *264 + - *71 responses: '204': description: Response @@ -107446,9 +108057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *257 - - *258 - - *65 + - *263 + - *264 + - *71 - name: token description: package token schema: @@ -107480,9 +108091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *257 - - *258 - - *65 + - *263 + - *264 + - *71 responses: '200': description: Response @@ -107490,7 +108101,7 @@ paths: application/json: schema: type: array - items: *259 + items: *265 examples: default: value: @@ -107548,16 +108159,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *257 - - *258 - - *260 - - *65 + - *263 + - *264 + - *266 + - *71 responses: '200': description: Response content: application/json: - schema: *259 + schema: *265 examples: default: value: @@ -107592,10 +108203,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *257 - - *258 - - *65 - - *260 + - *263 + - *264 + - *71 + - *266 responses: '204': description: Response @@ -107627,10 +108238,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *257 - - *258 - - *65 - - *260 + - *263 + - *264 + - *71 + - *266 responses: '204': description: Response @@ -107654,7 +108265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *65 + - *71 - name: q description: Limit results to projects of the specified type. in: query @@ -107671,11 +108282,11 @@ paths: application/json: schema: type: array - items: *271 + items: *277 examples: - default: *272 + default: *278 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107695,18 +108306,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *273 - - *65 + - *279 + - *71 responses: '200': description: Response content: application/json: - schema: *271 + schema: *277 examples: - default: *272 + default: *278 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107726,8 +108337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *273 - - *65 + - *279 + - *71 - *17 - *47 - *48 @@ -107738,11 +108349,11 @@ paths: application/json: schema: type: array - items: *277 + items: *283 examples: - default: *711 + default: *717 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107761,8 +108372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *65 - - *273 + - *71 + - *279 requestBody: required: true content: @@ -107800,7 +108411,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *712 + items: *718 required: - name - data_type @@ -107816,7 +108427,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *713 + iteration_configuration: *719 required: - name - data_type @@ -107838,20 +108449,20 @@ paths: value: name: Due date data_type: date - single_select_field: *714 - iteration_field: *715 + single_select_field: *720 + iteration_field: *721 responses: '201': description: Response content: application/json: - schema: *277 + schema: *283 examples: - text_field: *716 - number_field: *717 - date_field: *718 - single_select_field: *719 - iteration_field: *720 + text_field: *722 + number_field: *723 + date_field: *724 + single_select_field: *725 + iteration_field: *726 '304': *37 '403': *29 '401': *25 @@ -107872,19 +108483,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *273 - - *721 - - *65 + - *279 + - *727 + - *71 responses: '200': description: Response content: application/json: - schema: *277 + schema: *283 examples: - default: *722 + default: *728 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107905,8 +108516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *273 - - *65 + - *279 + - *71 - *47 - *48 - *17 @@ -107938,11 +108549,11 @@ paths: application/json: schema: type: array - items: *281 + items: *287 examples: - default: *282 + default: *288 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -107961,8 +108572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *65 - - *273 + - *71 + - *279 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -108032,22 +108643,22 @@ paths: description: Response content: application/json: - schema: *279 + schema: *285 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *280 + value: *286 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *280 + value: *286 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *280 + value: *286 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *280 + value: *286 '304': *37 '403': *29 '401': *25 @@ -108067,9 +108678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *273 - - *65 - - *283 + - *279 + - *71 + - *289 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -108089,11 +108700,11 @@ paths: description: Response content: application/json: - schema: *281 + schema: *287 examples: - default: *282 + default: *288 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -108112,9 +108723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *273 - - *65 - - *283 + - *279 + - *71 + - *289 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -108184,13 +108795,13 @@ paths: description: Response content: application/json: - schema: *281 + schema: *287 examples: - text_field: *282 - number_field: *282 - date_field: *282 - single_select_field: *282 - iteration_field: *282 + text_field: *288 + number_field: *288 + date_field: *288 + single_select_field: *288 + iteration_field: *288 '401': *25 '403': *29 '404': *6 @@ -108210,9 +108821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *273 - - *65 - - *283 + - *279 + - *71 + - *289 responses: '204': description: Response @@ -108234,9 +108845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *273 - - *65 - - *723 + - *279 + - *71 + - *729 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -108262,11 +108873,11 @@ paths: application/json: schema: type: array - items: *281 + items: *287 examples: - default: *282 + default: *288 headers: - Link: *61 + Link: *67 '304': *37 '403': *29 '401': *25 @@ -108292,7 +108903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -108302,7 +108913,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -108367,7 +108978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -108377,7 +108988,7 @@ paths: application/json: schema: type: array - items: *105 + items: *111 examples: default: value: @@ -108440,7 +109051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *65 + - *71 - name: type description: Limit results to repositories of the specified type. in: query @@ -108483,11 +109094,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108507,12 +109118,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *65 - - *118 - - *120 - - *119 - - *724 - - *121 + - *71 + - *123 + - *125 + - *124 + - *730 + - *126 responses: '200': description: Response when getting a billing premium request usage report @@ -108619,8 +109230,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108640,10 +109251,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *65 - - *118 - - *725 - - *119 + - *71 + - *123 + - *731 + - *124 responses: '200': description: Response when getting a billing usage report @@ -108713,8 +109324,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108737,13 +109348,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *65 - - *118 - - *120 - - *119 - - *726 - - *121 - - *727 + - *71 + - *123 + - *125 + - *124 + - *732 + - *126 + - *733 responses: '200': description: Response when getting a billing usage summary @@ -108848,8 +109459,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *115 - '503': *116 + '500': *55 + '503': *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108867,7 +109478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -108877,11 +109488,11 @@ paths: application/json: schema: type: array - items: *695 + items: *701 examples: - default: *696 + default: *702 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108899,7 +109510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -108909,11 +109520,11 @@ paths: application/json: schema: type: array - items: *697 + items: *703 examples: - default: *728 + default: *734 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108935,9 +109546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *65 - - *729 - - *55 + - *71 + - *735 + - *61 - *17 - *19 responses: @@ -108948,13 +109559,13 @@ paths: schema: anyOf: - type: array - items: *730 + items: *736 - type: array - items: *73 + items: *79 examples: - default-response: *700 + default-response: *706 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108971,7 +109582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *65 + - *71 - *17 - *19 responses: @@ -108981,11 +109592,11 @@ paths: application/json: schema: type: array - items: *156 + items: *161 examples: - default: *261 + default: *267 headers: - Link: *61 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109111,7 +109722,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &731 + enterprise: &737 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109169,7 +109780,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &732 + installation: &738 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109188,7 +109799,7 @@ x-webhooks: required: - id - node_id - organization: &733 + organization: &739 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109248,13 +109859,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &734 + repository: &740 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &766 + properties: &772 id: description: Unique identifier of the repository example: 42 @@ -109274,8 +109885,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *82 - required: *83 + properties: *88 + required: *89 nullable: true organization: title: Simple User @@ -109949,7 +110560,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &767 + required: &773 - archive_url - assignees_url - blobs_url @@ -110023,7 +110634,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &768 + x-github-breaking-changes: &774 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -110114,10 +110725,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -110193,11 +110804,11 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: &735 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: &741 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -110420,11 +111031,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: *735 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: *741 sender: *4 required: - action @@ -110607,11 +111218,11 @@ x-webhooks: - everyone required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: *735 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: *741 sender: *4 required: - action @@ -110695,7 +111306,7 @@ x-webhooks: type: string enum: - completed - check_run: &737 + check_run: &743 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110748,8 +111359,8 @@ x-webhooks: type: string pull_requests: type: array - items: *84 - repository: *156 + items: *90 + repository: *161 status: example: completed type: string @@ -110786,7 +111397,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *736 + deployment: *742 details_url: example: https://example.com type: string @@ -110836,7 +111447,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *84 + items: *90 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110871,10 +111482,10 @@ x-webhooks: - output - app - pull_requests - installation: *732 - enterprise: *731 - organization: *733 - repository: *734 + installation: *738 + enterprise: *737 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -111265,11 +111876,11 @@ x-webhooks: type: string enum: - created - check_run: *737 - installation: *732 - enterprise: *731 - organization: *733 - repository: *734 + check_run: *743 + installation: *738 + enterprise: *737 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -111663,11 +112274,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *737 - installation: *732 - enterprise: *731 - organization: *733 - repository: *734 + check_run: *743 + installation: *738 + enterprise: *737 + organization: *739 + repository: *740 requested_action: description: The action requested by the user. type: object @@ -112070,11 +112681,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *737 - installation: *732 - enterprise: *731 - organization: *733 - repository: *734 + check_run: *743 + installation: *738 + enterprise: *737 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -113044,10 +113655,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -113736,10 +114347,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -114422,10 +115033,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -114591,7 +115202,7 @@ x-webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114736,20 +115347,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &738 + commit_oid: &744 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: *731 - installation: *732 - organization: *733 - ref: &739 + enterprise: *737 + installation: *738 + organization: *739 + ref: &745 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: *734 + repository: *740 sender: *4 required: - action @@ -114914,7 +115525,7 @@ x-webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115144,12 +115755,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *738 - enterprise: *731 - installation: *732 - organization: *733 - ref: *739 - repository: *734 + commit_oid: *744 + enterprise: *737 + installation: *738 + organization: *739 + ref: *745 + repository: *740 sender: *4 required: - action @@ -115244,7 +115855,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *431 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115415,12 +116026,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *738 - enterprise: *731 - installation: *732 - organization: *733 - ref: *739 - repository: *734 + commit_oid: *744 + enterprise: *737 + installation: *738 + organization: *739 + ref: *745 + repository: *740 sender: *4 required: - action @@ -115586,7 +116197,7 @@ x-webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115752,12 +116363,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *738 - enterprise: *731 - installation: *732 - organization: *733 - ref: *739 - repository: *734 + commit_oid: *744 + enterprise: *737 + installation: *738 + organization: *739 + ref: *745 + repository: *740 sender: *4 required: - action @@ -115856,7 +116467,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *431 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116031,16 +116642,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *734 + repository: *740 sender: *4 required: - action @@ -116137,7 +116748,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *431 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116277,12 +116888,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *738 - enterprise: *731 - installation: *732 - organization: *733 - ref: *739 - repository: *734 + commit_oid: *744 + enterprise: *737 + installation: *738 + organization: *739 + ref: *745 + repository: *740 sender: *4 required: - action @@ -116448,7 +117059,7 @@ x-webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116593,10 +117204,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -116851,10 +117462,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -116934,18 +117545,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *733 - pusher_type: &740 + organization: *739 + pusher_type: &746 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &741 + ref: &747 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116955,7 +117566,7 @@ x-webhooks: enum: - tag - branch - repository: *734 + repository: *740 sender: *4 required: - ref @@ -117037,10 +117648,10 @@ x-webhooks: type: string enum: - created - definition: *285 - enterprise: *731 - installation: *732 - organization: *733 + definition: *291 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -117125,9 +117736,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -117204,10 +117815,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *285 - enterprise: *731 - installation: *732 - organization: *733 + definition: *291 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -117284,10 +117895,10 @@ x-webhooks: type: string enum: - updated - definition: *285 - enterprise: *731 - installation: *732 - organization: *733 + definition: *291 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -117364,19 +117975,19 @@ x-webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - repository: *734 - organization: *733 + enterprise: *737 + installation: *738 + repository: *740 + organization: *739 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *289 + items: *295 old_property_values: type: array description: The old custom property values for the repository. - items: *289 + items: *295 required: - action - repository @@ -117452,18 +118063,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - pusher_type: *740 - ref: *741 + enterprise: *737 + installation: *738 + organization: *739 + pusher_type: *746 + ref: *747 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *734 + repository: *740 sender: *4 required: - ref @@ -117543,11 +118154,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *493 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *499 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117627,11 +118238,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *493 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *499 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117712,11 +118323,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *493 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *499 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117797,11 +118408,11 @@ x-webhooks: type: string enum: - created - alert: *493 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *499 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117880,11 +118491,11 @@ x-webhooks: type: string enum: - dismissed - alert: *493 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *499 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117963,11 +118574,11 @@ x-webhooks: type: string enum: - fixed - alert: *493 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *499 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -118047,11 +118658,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *493 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *499 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -118130,11 +118741,11 @@ x-webhooks: type: string enum: - reopened - alert: *493 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *499 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -118211,9 +118822,9 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - key: &742 + enterprise: *737 + installation: *738 + key: &748 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118249,8 +118860,8 @@ x-webhooks: - verified - created_at - read_only - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -118327,11 +118938,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - key: *742 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + key: *748 + organization: *739 + repository: *740 sender: *4 required: - action @@ -118887,12 +119498,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: &748 + workflow: &754 title: Workflow type: object nullable: true @@ -119633,15 +120244,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *743 - required: *744 + properties: *749 + required: *750 nullable: true pull_requests: type: array - items: *589 - repository: *734 - organization: *733 - installation: *732 + items: *595 + repository: *740 + organization: *739 + installation: *738 sender: *4 responses: '200': @@ -119712,7 +120323,7 @@ x-webhooks: type: string enum: - approved - approver: &745 + approver: &751 type: object properties: avatar_url: @@ -119755,11 +120366,11 @@ x-webhooks: type: string comment: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - reviewers: &746 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + reviewers: &752 type: array items: type: object @@ -119838,7 +120449,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &747 + workflow_job_run: &753 type: object properties: conclusion: @@ -120569,18 +121180,18 @@ x-webhooks: type: string enum: - rejected - approver: *745 + approver: *751 comment: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - reviewers: *746 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + reviewers: *752 sender: *4 since: type: string - workflow_job_run: *747 + workflow_job_run: *753 workflow_job_runs: type: array items: @@ -121284,13 +121895,13 @@ x-webhooks: type: string enum: - requested - enterprise: *731 + enterprise: *737 environment: type: string - installation: *732 - organization: *733 - repository: *734 - requestor: &753 + installation: *738 + organization: *739 + repository: *740 + requestor: &759 title: User type: object nullable: true @@ -123179,12 +123790,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *748 + workflow: *754 workflow_run: title: Deployment Workflow Run type: object @@ -123864,7 +124475,7 @@ x-webhooks: type: string enum: - answered - answer: &751 + answer: &757 type: object properties: author_association: @@ -124021,11 +124632,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124152,11 +124763,11 @@ x-webhooks: - from required: - category - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124239,11 +124850,11 @@ x-webhooks: type: string enum: - closed - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124325,7 +124936,7 @@ x-webhooks: type: string enum: - created - comment: &750 + comment: &756 type: object properties: author_association: @@ -124482,11 +125093,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124569,12 +125180,12 @@ x-webhooks: type: string enum: - deleted - comment: *750 - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + comment: *756 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124669,12 +125280,12 @@ x-webhooks: - from required: - body - comment: *750 - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + comment: *756 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124758,11 +125369,11 @@ x-webhooks: type: string enum: - created - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124844,11 +125455,11 @@ x-webhooks: type: string enum: - deleted - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124948,11 +125559,11 @@ x-webhooks: type: string required: - from - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125034,10 +125645,10 @@ x-webhooks: type: string enum: - labeled - discussion: *749 - enterprise: *731 - installation: *732 - label: &752 + discussion: *755 + enterprise: *737 + installation: *738 + label: &758 title: Label type: object properties: @@ -125069,8 +125680,8 @@ x-webhooks: - color - default - description - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125153,11 +125764,11 @@ x-webhooks: type: string enum: - locked - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125239,11 +125850,11 @@ x-webhooks: type: string enum: - pinned - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125325,11 +125936,11 @@ x-webhooks: type: string enum: - reopened - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125414,16 +126025,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *749 - new_repository: *734 + new_discussion: *755 + new_repository: *740 required: - new_discussion - new_repository - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125506,10 +126117,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *749 - old_answer: *751 - organization: *733 - repository: *734 + discussion: *755 + old_answer: *757 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125591,12 +126202,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *749 - enterprise: *731 - installation: *732 - label: *752 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125679,11 +126290,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125765,11 +126376,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *749 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125842,7 +126453,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *731 + enterprise: *737 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126502,9 +127113,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *732 - organization: *733 - repository: *734 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - forkee @@ -126650,9 +127261,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 pages: description: The pages that were updated. type: array @@ -126689,7 +127300,7 @@ x-webhooks: - action - sha - html_url - repository: *734 + repository: *740 sender: *4 required: - pages @@ -126765,10 +127376,10 @@ x-webhooks: type: string enum: - created - enterprise: *731 + enterprise: *737 installation: *22 - organization: *733 - repositories: &754 + organization: *739 + repositories: &760 description: An array of repository objects that the installation can access. type: array @@ -126794,8 +127405,8 @@ x-webhooks: - name - full_name - private - repository: *734 - requester: *753 + repository: *740 + requester: *759 sender: *4 required: - action @@ -126870,11 +127481,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 + enterprise: *737 installation: *22 - organization: *733 - repositories: *754 - repository: *734 + organization: *739 + repositories: *760 + repository: *740 requester: nullable: true sender: *4 @@ -126950,11 +127561,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *731 + enterprise: *737 installation: *22 - organization: *733 - repositories: *754 - repository: *734 + organization: *739 + repositories: *760 + repository: *740 requester: nullable: true sender: *4 @@ -127030,10 +127641,10 @@ x-webhooks: type: string enum: - added - enterprise: *731 + enterprise: *737 installation: *22 - organization: *733 - repositories_added: &755 + organization: *739 + repositories_added: &761 description: An array of repository objects, which were added to the installation. type: array @@ -127079,15 +127690,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *734 - repository_selection: &756 + repository: *740 + repository_selection: &762 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *753 + requester: *759 sender: *4 required: - action @@ -127166,10 +127777,10 @@ x-webhooks: type: string enum: - removed - enterprise: *731 + enterprise: *737 installation: *22 - organization: *733 - repositories_added: *755 + organization: *739 + repositories_added: *761 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127196,9 +127807,9 @@ x-webhooks: - name - full_name - private - repository: *734 - repository_selection: *756 - requester: *753 + repository: *740 + repository_selection: *762 + requester: *759 sender: *4 required: - action @@ -127277,11 +127888,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *731 + enterprise: *737 installation: *22 - organization: *733 - repositories: *754 - repository: *734 + organization: *739 + repositories: *760 + repository: *740 requester: nullable: true sender: *4 @@ -127459,10 +128070,10 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 target_type: type: string @@ -127541,11 +128152,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *731 + enterprise: *737 installation: *22 - organization: *733 - repositories: *754 - repository: *734 + organization: *739 + repositories: *760 + repository: *740 requester: nullable: true sender: *4 @@ -127669,8 +128280,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *74 - required: *75 + properties: *80 + required: *81 reactions: title: Reactions type: object @@ -127719,8 +128330,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *566 - required: *567 + properties: *572 + required: *573 nullable: true user: title: User @@ -127805,8 +128416,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128595,8 +129206,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128612,7 +129223,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -128945,8 +129556,8 @@ x-webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -129026,7 +129637,7 @@ x-webhooks: type: string enum: - deleted - comment: &757 + comment: &763 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129183,8 +129794,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *566 - required: *567 + properties: *572 + required: *573 nullable: true required: - url @@ -129199,8 +129810,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129985,8 +130596,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130002,7 +130613,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -130337,8 +130948,8 @@ x-webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -130418,7 +131029,7 @@ x-webhooks: type: string enum: - edited - changes: &787 + changes: &793 description: The changes to the comment. type: object properties: @@ -130430,9 +131041,9 @@ x-webhooks: type: string required: - from - comment: *757 - enterprise: *731 - installation: *732 + comment: *763 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131220,8 +131831,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131237,7 +131848,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -131570,8 +132181,8 @@ x-webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -131652,9 +132263,9 @@ x-webhooks: type: string enum: - pinned - comment: *757 - enterprise: *731 - installation: *732 + comment: *763 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132444,8 +133055,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132461,7 +133072,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -132796,8 +133407,8 @@ x-webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -132877,9 +133488,9 @@ x-webhooks: type: string enum: - unpinned - comment: *757 - enterprise: *731 - installation: *732 + comment: *763 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -133669,8 +134280,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133686,7 +134297,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -134021,8 +134632,8 @@ x-webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -134105,15 +134716,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 + blocked_issue: *85 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - blocking_issue_repo: *73 - installation: *732 - organization: *733 - repository: *734 + blocking_issue: *85 + blocking_issue_repo: *79 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -134196,15 +134807,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 + blocked_issue: *85 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - blocking_issue_repo: *73 - installation: *732 - organization: *733 - repository: *734 + blocking_issue: *85 + blocking_issue_repo: *79 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -134286,15 +134897,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 - blocked_issue_repo: *73 + blocked_issue: *85 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - installation: *732 - organization: *733 - repository: *734 + blocking_issue: *85 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -134377,15 +134988,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *79 - blocked_issue_repo: *73 + blocked_issue: *85 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *79 - installation: *732 - organization: *733 - repository: *734 + blocking_issue: *85 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -134465,10 +135076,10 @@ x-webhooks: type: string enum: - assigned - assignee: *753 - enterprise: *731 - installation: *732 - issue: &760 + assignee: *759 + enterprise: *737 + installation: *738 + issue: &766 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135257,14 +135868,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135280,7 +135891,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -135381,8 +135992,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -135462,8 +136073,8 @@ x-webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136257,14 +136868,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136280,7 +136891,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -136516,8 +137127,8 @@ x-webhooks: required: - state - closed_at - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -136596,8 +137207,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137382,14 +137993,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137405,7 +138016,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -137505,8 +138116,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -137585,8 +138196,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138393,14 +139004,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138416,7 +139027,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -138495,7 +139106,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &758 + milestone: &764 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138633,8 +139244,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -138733,8 +139344,8 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139523,14 +140134,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139543,7 +140154,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *237 + type: *243 title: description: Title of the issue type: string @@ -139647,9 +140258,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *752 - organization: *733 - repository: *734 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -139729,8 +140340,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140518,14 +141129,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140538,7 +141149,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *237 + type: *243 title: description: Title of the issue type: string @@ -140642,9 +141253,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *752 - organization: *733 - repository: *734 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -140724,8 +141335,8 @@ x-webhooks: type: string enum: - locked - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141537,14 +142148,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141557,7 +142168,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *237 + type: *243 title: description: Title of the issue type: string @@ -141638,8 +142249,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -141718,8 +142329,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142525,14 +143136,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142548,7 +143159,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -142626,9 +143237,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *758 - organization: *733 - repository: *734 + milestone: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -143491,11 +144102,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143523,8 +144134,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true user: title: User @@ -143596,7 +144207,7 @@ x-webhooks: required: - login - id - type: *237 + type: *243 required: - id - number @@ -144076,8 +144687,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144861,11 +145472,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144881,7 +145492,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -144894,8 +145505,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true user: title: User @@ -144989,8 +145600,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145070,9 +145681,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *731 - installation: *732 - issue: &759 + enterprise: *737 + installation: *738 + issue: &765 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145855,14 +146466,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145878,7 +146489,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -145978,8 +146589,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146058,8 +146669,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146869,14 +147480,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146970,9 +147581,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *237 - organization: *733 - repository: *734 + type: *243 + organization: *739 + repository: *740 sender: *4 required: - action @@ -147838,14 +148449,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147861,7 +148472,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -148440,11 +149051,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *731 - installation: *732 - issue: *759 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + issue: *765 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148524,12 +149135,12 @@ x-webhooks: type: string enum: - typed - enterprise: *731 - installation: *732 - issue: *760 - type: *237 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + issue: *766 + type: *243 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148610,7 +149221,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &790 + assignee: &796 title: User type: object nullable: true @@ -148680,11 +149291,11 @@ x-webhooks: required: - login - id - enterprise: *731 - installation: *732 - issue: *760 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + issue: *766 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148763,12 +149374,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *731 - installation: *732 - issue: *760 - label: *752 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + issue: *766 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148848,8 +149459,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149659,14 +150270,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *80 - required: *81 + properties: *86 + required: *87 nullable: true - sub_issues_summary: *667 - issue_dependencies_summary: *668 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array - items: *551 + items: *557 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149682,7 +150293,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *237 + type: *243 updated_at: type: string format: date-time @@ -149760,8 +150371,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149841,11 +150452,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *731 - installation: *732 - issue: *759 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + issue: *765 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149924,12 +150535,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *731 - installation: *732 - issue: *760 - type: *237 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + issue: *766 + type: *243 + organization: *739 + repository: *740 sender: *4 required: - action @@ -150009,11 +150620,11 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - label: *752 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -150091,11 +150702,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - label: *752 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -150205,11 +150816,11 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 - label: *752 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -150291,9 +150902,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: &761 + enterprise: *737 + installation: *738 + marketplace_purchase: &767 title: Marketplace Purchase type: object required: @@ -150376,8 +150987,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *733 - previous_marketplace_purchase: &762 + organization: *739 + previous_marketplace_purchase: &768 title: Marketplace Purchase type: object properties: @@ -150457,7 +151068,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *740 sender: *4 required: - action @@ -150537,10 +151148,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *761 - organization: *733 + enterprise: *737 + installation: *738 + marketplace_purchase: *767 + organization: *739 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150623,7 +151234,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *740 sender: *4 required: - action @@ -150705,10 +151316,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *761 - organization: *733 + enterprise: *737 + installation: *738 + marketplace_purchase: *767 + organization: *739 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150790,7 +151401,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *740 sender: *4 required: - action @@ -150871,8 +151482,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 marketplace_purchase: title: Marketplace Purchase type: object @@ -150954,9 +151565,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *733 - previous_marketplace_purchase: *762 - repository: *734 + organization: *739 + previous_marketplace_purchase: *768 + repository: *740 sender: *4 required: - action @@ -151036,12 +151647,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *761 - organization: *733 - previous_marketplace_purchase: *762 - repository: *734 + enterprise: *737 + installation: *738 + marketplace_purchase: *767 + organization: *739 + previous_marketplace_purchase: *768 + repository: *740 sender: *4 required: - action @@ -151143,11 +151754,11 @@ x-webhooks: type: string required: - to - enterprise: *731 - installation: *732 - member: *753 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 sender: *4 required: - action @@ -151247,11 +151858,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *731 - installation: *732 - member: *753 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 sender: *4 required: - action @@ -151330,11 +151941,11 @@ x-webhooks: type: string enum: - removed - enterprise: *731 - installation: *732 - member: *753 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 sender: *4 required: - action @@ -151412,11 +152023,11 @@ x-webhooks: type: string enum: - added - enterprise: *731 - installation: *732 - member: *753 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151492,7 +152103,7 @@ x-webhooks: required: - login - id - team: &763 + team: &769 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -151715,11 +152326,11 @@ x-webhooks: type: string enum: - removed - enterprise: *731 - installation: *732 - member: *753 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151796,7 +152407,7 @@ x-webhooks: required: - login - id - team: *763 + team: *769 required: - action - scope @@ -151878,8 +152489,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *732 - merge_group: &765 + installation: *738 + merge_group: &771 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151898,15 +152509,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *764 + head_commit: *770 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -151992,10 +152603,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *732 - merge_group: *765 - organization: *733 - repository: *734 + installation: *738 + merge_group: *771 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152068,7 +152679,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 + enterprise: *737 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152177,17 +152788,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *732 - organization: *733 + installation: *738 + organization: *739 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *766 - required: *767 - x-github-breaking-changes: *768 + properties: *772 + required: *773 + x-github-breaking-changes: *774 nullable: true sender: *4 required: @@ -152268,11 +152879,11 @@ x-webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - milestone: *758 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + milestone: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152351,9 +152962,9 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - milestone: &769 + enterprise: *737 + installation: *738 + milestone: &775 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152490,8 +153101,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152570,11 +153181,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - milestone: *758 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + milestone: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152684,11 +153295,11 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 - milestone: *758 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + milestone: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152768,11 +153379,11 @@ x-webhooks: type: string enum: - opened - enterprise: *731 - installation: *732 - milestone: *769 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + milestone: *775 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152851,11 +153462,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *753 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + blocked_user: *759 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152934,11 +153545,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *753 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + blocked_user: *759 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -153017,9 +153628,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - membership: &770 + enterprise: *737 + installation: *738 + membership: &776 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153126,8 +153737,8 @@ x-webhooks: - role - organization_url - user - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 required: - action @@ -153205,11 +153816,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *731 - installation: *732 - membership: *770 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + membership: *776 + organization: *739 + repository: *740 sender: *4 required: - action @@ -153288,8 +153899,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153405,10 +154016,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 - user: *753 + user: *759 required: - action - invitation @@ -153486,11 +154097,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *731 - installation: *732 - membership: *770 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + membership: *776 + organization: *739 + repository: *740 sender: *4 required: - action @@ -153577,11 +154188,11 @@ x-webhooks: properties: from: type: string - enterprise: *731 - installation: *732 - membership: *770 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + membership: *776 + organization: *739 + repository: *740 sender: *4 required: - action @@ -153658,9 +154269,9 @@ x-webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 package: description: Information about the package. type: object @@ -154159,7 +154770,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &771 + items: &777 title: Ruby Gems metadata type: object properties: @@ -154254,7 +154865,7 @@ x-webhooks: - owner - package_version - registry - repository: *734 + repository: *740 sender: *4 required: - action @@ -154330,9 +154941,9 @@ x-webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 package: description: Information about the package. type: object @@ -154685,7 +155296,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *771 + items: *777 source_url: type: string format: uri @@ -154755,7 +155366,7 @@ x-webhooks: - owner - package_version - registry - repository: *734 + repository: *740 sender: *4 required: - action @@ -154931,12 +155542,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *731 + enterprise: *737 id: type: integer - installation: *732 - organization: *733 - repository: *734 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - id @@ -155013,7 +155624,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &772 + personal_access_token_request: &778 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155159,10 +155770,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *731 - organization: *733 + enterprise: *737 + organization: *739 sender: *4 - installation: *732 + installation: *738 required: - action - personal_access_token_request @@ -155239,11 +155850,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *772 - enterprise: *731 - organization: *733 + personal_access_token_request: *778 + enterprise: *737 + organization: *739 sender: *4 - installation: *732 + installation: *738 required: - action - personal_access_token_request @@ -155319,11 +155930,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *772 - enterprise: *731 - organization: *733 + personal_access_token_request: *778 + enterprise: *737 + organization: *739 sender: *4 - installation: *732 + installation: *738 required: - action - personal_access_token_request @@ -155398,11 +156009,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *772 - organization: *733 - enterprise: *731 + personal_access_token_request: *778 + organization: *739 + enterprise: *737 sender: *4 - installation: *732 + installation: *738 required: - action - personal_access_token_request @@ -155507,7 +156118,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *773 + last_response: *779 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -155539,8 +156150,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 zen: description: Random string of GitHub zen. @@ -155785,10 +156396,10 @@ x-webhooks: - from required: - note - enterprise: *731 - installation: *732 - organization: *733 - project_card: &774 + enterprise: *737 + installation: *738 + organization: *739 + project_card: &780 title: Project Card type: object properties: @@ -155907,7 +156518,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *734 + repository: *740 sender: *4 required: - action @@ -155988,11 +156599,11 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project_card: *774 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + project_card: *780 + repository: *740 sender: *4 required: - action @@ -156072,9 +156683,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 project_card: title: Project Card type: object @@ -156202,9 +156813,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *766 - required: *767 - x-github-breaking-changes: *768 + properties: *772 + required: *773 + x-github-breaking-changes: *774 nullable: true sender: *4 required: @@ -156298,11 +156909,11 @@ x-webhooks: - from required: - note - enterprise: *731 - installation: *732 - organization: *733 - project_card: *774 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + project_card: *780 + repository: *740 sender: *4 required: - action @@ -156396,9 +157007,9 @@ x-webhooks: - from required: - column_id - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 project_card: allOf: - title: Project Card @@ -156588,7 +157199,7 @@ x-webhooks: type: string required: - after_id - repository: *734 + repository: *740 sender: *4 required: - action @@ -156668,10 +157279,10 @@ x-webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - organization: *733 - project: &776 + enterprise: *737 + installation: *738 + organization: *739 + project: &782 title: Project type: object properties: @@ -156795,7 +157406,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *734 + repository: *740 sender: *4 required: - action @@ -156875,10 +157486,10 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project_column: &775 + enterprise: *737 + installation: *738 + organization: *739 + project_column: &781 title: Project Column type: object properties: @@ -156917,7 +157528,7 @@ x-webhooks: - name - created_at - updated_at - repository: *734 + repository: *740 sender: *4 required: - action @@ -156996,19 +157607,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - project_column: *775 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *781 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *766 - required: *767 - x-github-breaking-changes: *768 + properties: *772 + required: *773 + x-github-breaking-changes: *774 nullable: true sender: *4 required: @@ -157098,11 +157709,11 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - project_column: *775 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *781 + repository: *740 sender: *4 required: - action @@ -157182,11 +157793,11 @@ x-webhooks: type: string enum: - moved - enterprise: *731 - installation: *732 - organization: *733 - project_column: *775 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *781 + repository: *740 sender: *4 required: - action @@ -157266,11 +157877,11 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project: *776 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + project: *782 + repository: *740 sender: *4 required: - action @@ -157350,19 +157961,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - project: *776 + enterprise: *737 + installation: *738 + organization: *739 + project: *782 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *766 - required: *767 - x-github-breaking-changes: *768 + properties: *772 + required: *773 + x-github-breaking-changes: *774 nullable: true sender: *4 required: @@ -157464,11 +158075,11 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - project: *776 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + project: *782 + repository: *740 sender: *4 required: - action @@ -157547,11 +158158,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 - organization: *733 - project: *776 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + project: *782 + repository: *740 sender: *4 required: - action @@ -157632,9 +158243,9 @@ x-webhooks: type: string enum: - closed - installation: *732 - organization: *733 - projects_v2: *271 + installation: *738 + organization: *739 + projects_v2: *277 sender: *4 required: - action @@ -157715,9 +158326,9 @@ x-webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2: *271 + installation: *738 + organization: *739 + projects_v2: *277 sender: *4 required: - action @@ -157798,9 +158409,9 @@ x-webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2: *271 + installation: *738 + organization: *739 + projects_v2: *277 sender: *4 required: - action @@ -157917,9 +158528,9 @@ x-webhooks: type: string to: type: string - installation: *732 - organization: *733 - projects_v2: *271 + installation: *738 + organization: *739 + projects_v2: *277 sender: *4 required: - action @@ -158002,7 +158613,7 @@ x-webhooks: type: string enum: - archived - changes: &780 + changes: &786 type: object properties: archived_at: @@ -158016,9 +158627,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *732 - organization: *733 - projects_v2_item: &777 + installation: *738 + organization: *739 + projects_v2_item: &783 title: Projects v2 Item description: An item belonging to a project type: object @@ -158036,7 +158647,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *278 + content_type: *284 creator: *4 created_at: type: string @@ -158153,9 +158764,9 @@ x-webhooks: nullable: true to: type: string - installation: *732 - organization: *733 - projects_v2_item: *777 + installation: *738 + organization: *739 + projects_v2_item: *783 sender: *4 required: - action @@ -158237,9 +158848,9 @@ x-webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2_item: *777 + installation: *738 + organization: *739 + projects_v2_item: *783 sender: *4 required: - action @@ -158320,9 +158931,9 @@ x-webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2_item: *777 + installation: *738 + organization: *739 + projects_v2_item: *783 sender: *4 required: - action @@ -158428,7 +159039,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &778 + - &784 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158450,7 +159061,7 @@ x-webhooks: required: - id - name - - &779 + - &785 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -158484,8 +159095,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *778 - - *779 + - *784 + - *785 required: - field_value - type: object @@ -158501,9 +159112,9 @@ x-webhooks: nullable: true required: - body - installation: *732 - organization: *733 - projects_v2_item: *777 + installation: *738 + organization: *739 + projects_v2_item: *783 sender: *4 required: - action @@ -158598,9 +159209,9 @@ x-webhooks: to: type: string nullable: true - installation: *732 - organization: *733 - projects_v2_item: *777 + installation: *738 + organization: *739 + projects_v2_item: *783 sender: *4 required: - action @@ -158683,10 +159294,10 @@ x-webhooks: type: string enum: - restored - changes: *780 - installation: *732 - organization: *733 - projects_v2_item: *777 + changes: *786 + installation: *738 + organization: *739 + projects_v2_item: *783 sender: *4 required: - action @@ -158768,9 +159379,9 @@ x-webhooks: type: string enum: - reopened - installation: *732 - organization: *733 - projects_v2: *271 + installation: *738 + organization: *739 + projects_v2: *277 sender: *4 required: - action @@ -158851,14 +159462,14 @@ x-webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2_status_update: &783 + installation: *738 + organization: *739 + projects_v2_status_update: &789 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *781 - required: *782 + properties: *787 + required: *788 sender: *4 required: - action @@ -158939,9 +159550,9 @@ x-webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2_status_update: *783 + installation: *738 + organization: *739 + projects_v2_status_update: *789 sender: *4 required: - action @@ -159077,9 +159688,9 @@ x-webhooks: type: string format: date nullable: true - installation: *732 - organization: *733 - projects_v2_status_update: *783 + installation: *738 + organization: *739 + projects_v2_status_update: *789 sender: *4 required: - action @@ -159150,10 +159761,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - repository @@ -159230,13 +159841,13 @@ x-webhooks: type: string enum: - assigned - assignee: *753 - enterprise: *731 - installation: *732 - number: &784 + assignee: *759 + enterprise: *737 + installation: *738 + number: &790 description: The pull request number. type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -161541,7 +162152,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 sender: *4 required: - action @@ -161638,11 +162249,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 number: type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -163942,7 +164553,7 @@ x-webhooks: - draft reason: type: string - repository: *734 + repository: *740 sender: *4 required: - action @@ -164039,11 +164650,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 number: type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -166343,7 +166954,7 @@ x-webhooks: - draft reason: type: string - repository: *734 + repository: *740 sender: *4 required: - action @@ -166440,13 +167051,13 @@ x-webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: &785 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 + pull_request: &791 allOf: - - *589 + - *595 - type: object properties: allow_auto_merge: @@ -166508,7 +167119,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *734 + repository: *740 sender: *4 required: - action @@ -166589,12 +167200,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 + pull_request: *791 + repository: *740 sender: *4 required: - action @@ -166674,11 +167285,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *731 - milestone: *573 - number: *784 - organization: *733 - pull_request: &786 + enterprise: *737 + milestone: *579 + number: *790 + organization: *739 + pull_request: &792 title: Pull Request type: object properties: @@ -169005,7 +169616,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *734 + repository: *740 sender: *4 required: - action @@ -169084,11 +169695,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 number: type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -171392,7 +172003,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *734 + repository: *740 sender: *4 required: - action @@ -171524,12 +172135,12 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 + pull_request: *791 + repository: *740 sender: *4 required: - action @@ -171609,11 +172220,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 number: type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -173902,7 +174513,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 sender: *4 required: - action @@ -173990,11 +174601,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *731 - installation: *732 - label: *752 - number: *784 - organization: *733 + enterprise: *737 + installation: *738 + label: *758 + number: *790 + organization: *739 pull_request: title: Pull Request type: object @@ -176298,7 +176909,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 sender: *4 required: - action @@ -176394,10 +177005,10 @@ x-webhooks: type: string enum: - locked - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 pull_request: title: Pull Request type: object @@ -178699,7 +179310,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 sender: *4 required: - action @@ -178794,12 +179405,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *731 - milestone: *573 - number: *784 - organization: *733 - pull_request: *786 - repository: *734 + enterprise: *737 + milestone: *579 + number: *790 + organization: *739 + pull_request: *792 + repository: *740 sender: *4 required: - action @@ -178878,12 +179489,12 @@ x-webhooks: type: string enum: - opened - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 + pull_request: *791 + repository: *740 sender: *4 required: - action @@ -178964,12 +179575,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 + pull_request: *791 + repository: *740 sender: *4 required: - action @@ -179049,12 +179660,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 + pull_request: *791 + repository: *740 sender: *4 required: - action @@ -179420,9 +180031,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -181614,7 +182225,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *740 sender: *4 required: - action @@ -181709,7 +182320,7 @@ x-webhooks: type: string enum: - deleted - comment: &788 + comment: &794 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -181994,9 +182605,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -184176,7 +184787,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *740 sender: *4 required: - action @@ -184271,11 +184882,11 @@ x-webhooks: type: string enum: - edited - changes: *787 - comment: *788 - enterprise: *731 - installation: *732 - organization: *733 + changes: *793 + comment: *794 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -186458,7 +187069,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *740 sender: *4 required: - action @@ -186554,9 +187165,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -188751,7 +189362,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *740 review: description: The review that was affected. type: object @@ -189013,9 +189624,9 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -191069,8 +191680,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 - review: &789 + repository: *740 + review: &795 description: The review that was affected. type: object properties: @@ -191311,12 +191922,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -193621,7 +194232,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 requested_reviewer: title: User type: object @@ -193705,12 +194316,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -196022,7 +196633,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196237,12 +196848,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -198549,7 +199160,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 requested_reviewer: title: User type: object @@ -198634,12 +199245,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *731 - installation: *732 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *733 + organization: *739 pull_request: title: Pull Request type: object @@ -200937,7 +201548,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201141,9 +201752,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -203340,8 +203951,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 - review: *789 + repository: *740 + review: *795 sender: *4 required: - action @@ -203436,9 +204047,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -205530,7 +206141,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *740 sender: *4 thread: type: object @@ -205925,9 +206536,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -208005,7 +208616,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *740 sender: *4 thread: type: object @@ -208403,10 +209014,10 @@ x-webhooks: type: string before: type: string - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 pull_request: title: Pull Request type: object @@ -210699,7 +211310,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 sender: *4 required: - action @@ -210796,11 +211407,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *790 - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + assignee: *796 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 pull_request: title: Pull Request type: object @@ -213105,7 +213716,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 sender: *4 required: - action @@ -213199,11 +213810,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *731 - installation: *732 - label: *752 - number: *784 - organization: *733 + enterprise: *737 + installation: *738 + label: *758 + number: *790 + organization: *739 pull_request: title: Pull Request type: object @@ -215498,7 +216109,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 sender: *4 required: - action @@ -215594,10 +216205,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *737 + installation: *738 + number: *790 + organization: *739 pull_request: title: Pull Request type: object @@ -217884,7 +218495,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *740 sender: *4 required: - action @@ -218099,7 +218710,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *731 + enterprise: *737 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -218191,8 +218802,8 @@ x-webhooks: - url - author - committer - installation: *732 - organization: *733 + installation: *738 + organization: *739 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218778,9 +219389,9 @@ x-webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 registry_package: type: object properties: @@ -219226,7 +219837,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *771 + items: *777 summary: type: string tag_name: @@ -219280,7 +219891,7 @@ x-webhooks: - owner - package_version - registry - repository: *734 + repository: *740 sender: *4 required: - action @@ -219358,9 +219969,9 @@ x-webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 registry_package: type: object properties: @@ -219668,7 +220279,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *771 + items: *777 summary: type: string tag_name: @@ -219717,7 +220328,7 @@ x-webhooks: - owner - package_version - registry - repository: *734 + repository: *740 sender: *4 required: - action @@ -219794,10 +220405,10 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - release: &791 + enterprise: *737 + installation: *738 + organization: *739 + release: &797 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -220115,7 +220726,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *734 + repository: *740 sender: *4 required: - action @@ -220192,11 +220803,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + release: *797 + repository: *740 sender: *4 required: - action @@ -220313,11 +220924,11 @@ x-webhooks: type: boolean required: - to - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + release: *797 + repository: *740 sender: *4 required: - action @@ -220395,9 +221006,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -220719,7 +221330,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *734 + repository: *740 sender: *4 required: - action @@ -220795,10 +221406,10 @@ x-webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - release: &792 + enterprise: *737 + installation: *738 + organization: *739 + release: &798 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -221117,7 +221728,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *734 + repository: *740 sender: *4 required: - action @@ -221193,11 +221804,11 @@ x-webhooks: type: string enum: - released - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + release: *797 + repository: *740 sender: *4 required: - action @@ -221273,11 +221884,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *731 - installation: *732 - organization: *733 - release: *792 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + release: *798 + repository: *740 sender: *4 required: - action @@ -221353,11 +221964,11 @@ x-webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_advisory: *653 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_advisory: *659 sender: *4 required: - action @@ -221433,11 +222044,11 @@ x-webhooks: type: string enum: - reported - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_advisory: *653 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_advisory: *659 sender: *4 required: - action @@ -221513,10 +222124,10 @@ x-webhooks: type: string enum: - archived - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -221593,10 +222204,10 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -221674,10 +222285,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -221761,10 +222372,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -221876,10 +222487,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -221951,10 +222562,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 status: type: string @@ -222035,10 +222646,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222115,10 +222726,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222212,10 +222823,10 @@ x-webhooks: - name required: - repository - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222295,11 +222906,11 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_ruleset: *320 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *326 sender: *4 required: - action @@ -222377,11 +222988,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_ruleset: *320 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *326 sender: *4 required: - action @@ -222459,11 +223070,11 @@ x-webhooks: type: string enum: - edited - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_ruleset: *320 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *326 changes: type: object properties: @@ -222482,16 +223093,16 @@ x-webhooks: properties: added: type: array - items: *294 + items: *300 deleted: type: array - items: *294 + items: *300 updated: type: array items: type: object properties: - condition: *294 + condition: *300 changes: type: object properties: @@ -222524,16 +223135,16 @@ x-webhooks: properties: added: type: array - items: *609 + items: *615 deleted: type: array - items: *609 + items: *615 updated: type: array items: type: object properties: - rule: *609 + rule: *615 changes: type: object properties: @@ -222767,10 +223378,10 @@ x-webhooks: - from required: - owner - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222848,10 +223459,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222929,7 +223540,7 @@ x-webhooks: type: string enum: - create - alert: &793 + alert: &799 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -223051,10 +223662,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223260,10 +223871,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223341,11 +223952,11 @@ x-webhooks: type: string enum: - reopen - alert: *793 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *799 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223544,10 +224155,10 @@ x-webhooks: enum: - fixed - open - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223625,11 +224236,11 @@ x-webhooks: type: string enum: - assigned - alert: &794 + alert: &800 type: object properties: - number: *174 - created_at: *175 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -223637,8 +224248,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *177 - html_url: *178 + url: *182 + html_url: *183 locations_url: type: string format: uri @@ -223744,10 +224355,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223825,11 +224436,11 @@ x-webhooks: type: string enum: - created - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *800 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223910,11 +224521,11 @@ x-webhooks: type: string enum: - created - alert: *794 - installation: *732 - location: *795 - organization: *733 - repository: *734 + alert: *800 + installation: *738 + location: *801 + organization: *739 + repository: *740 sender: *4 required: - location @@ -224152,11 +224763,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *800 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224234,11 +224845,11 @@ x-webhooks: type: string enum: - reopened - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *800 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224316,11 +224927,11 @@ x-webhooks: type: string enum: - resolved - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *800 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224398,12 +225009,12 @@ x-webhooks: type: string enum: - unassigned - alert: *794 + alert: *800 assignee: *4 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224481,11 +225092,11 @@ x-webhooks: type: string enum: - validated - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *800 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224611,10 +225222,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *734 - enterprise: *731 - installation: *732 - organization: *733 + repository: *740 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -224692,11 +225303,11 @@ x-webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - security_advisory: &796 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + security_advisory: &802 description: The details of the security advisory, including summary, description, and severity. type: object @@ -224712,7 +225323,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *57 + cvss_severities: *63 cwes: type: array items: @@ -224897,11 +225508,11 @@ x-webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - security_advisory: *796 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + security_advisory: *802 sender: *4 required: - action @@ -224974,10 +225585,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -224994,7 +225605,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *57 + cvss_severities: *63 cwes: type: array items: @@ -225169,11 +225780,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *293 - enterprise: *731 - installation: *732 - organization: *733 - repository: *341 + security_and_analysis: *299 + enterprise: *737 + installation: *738 + organization: *739 + repository: *347 sender: *4 required: - changes @@ -225251,12 +225862,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: &797 + sponsorship: &803 type: object properties: created_at: @@ -225557,12 +226168,12 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *797 + sponsorship: *803 required: - action - sponsorship @@ -225650,12 +226261,12 @@ x-webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *797 + sponsorship: *803 required: - action - changes @@ -225732,17 +226343,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &798 + effective_date: &804 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: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *797 + sponsorship: *803 required: - action - sponsorship @@ -225816,7 +226427,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &799 + changes: &805 type: object properties: tier: @@ -225860,13 +226471,13 @@ x-webhooks: - from required: - tier - effective_date: *798 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + effective_date: *804 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *797 + sponsorship: *803 required: - action - changes @@ -225943,13 +226554,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *799 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + changes: *805 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *797 + sponsorship: *803 required: - action - changes @@ -226023,10 +226634,10 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226109,10 +226720,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226532,15 +227143,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *731 + enterprise: *737 id: description: The unique identifier of the status. type: integer - installation: *732 + installation: *738 name: type: string - organization: *733 - repository: *734 + organization: *739 + repository: *740 sender: *4 sha: description: The Commit SHA. @@ -226649,15 +227260,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - parent_issue_repo: *73 + parent_issue: *85 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - installation: *732 - organization: *733 - repository: *734 + sub_issue: *85 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226741,15 +227352,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - parent_issue_repo: *73 + parent_issue: *85 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - installation: *732 - organization: *733 - repository: *734 + sub_issue: *85 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226833,15 +227444,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - sub_issue_repo: *73 + sub_issue: *85 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - installation: *732 - organization: *733 - repository: *734 + parent_issue: *85 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226925,15 +227536,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *79 - sub_issue_repo: *73 + sub_issue: *85 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *79 - installation: *732 - organization: *733 - repository: *734 + parent_issue: *85 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -227010,12 +227621,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - team: &800 + team: &806 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -227238,9 +227849,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -227698,7 +228309,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *800 + team: *806 required: - action - team @@ -227774,9 +228385,9 @@ x-webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -228234,7 +228845,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *800 + team: *806 required: - action - team @@ -228311,9 +228922,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -228771,7 +229382,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *800 + team: *806 required: - action - team @@ -228915,9 +229526,9 @@ x-webhooks: - from required: - permissions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -229375,7 +229986,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *800 + team: *806 required: - action - changes @@ -229453,9 +230064,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -229913,7 +230524,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *800 + team: *806 required: - action - team @@ -229989,10 +230600,10 @@ x-webhooks: type: string enum: - started - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -230065,16 +230676,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *731 + enterprise: *737 inputs: type: object nullable: true additionalProperties: true - installation: *732 - organization: *733 + installation: *738 + organization: *739 ref: type: string - repository: *734 + repository: *740 sender: *4 workflow: type: string @@ -230156,10 +230767,10 @@ x-webhooks: type: string enum: - completed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: allOf: @@ -230396,7 +231007,7 @@ x-webhooks: type: string required: - conclusion - deployment: *499 + deployment: *505 required: - action - repository @@ -230475,10 +231086,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: allOf: @@ -230738,7 +231349,7 @@ x-webhooks: required: - status - steps - deployment: *499 + deployment: *505 required: - action - repository @@ -230817,10 +231428,10 @@ x-webhooks: type: string enum: - queued - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: type: object @@ -230955,7 +231566,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *499 + deployment: *505 required: - action - repository @@ -231034,10 +231645,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: type: object @@ -231173,7 +231784,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *499 + deployment: *505 required: - action - repository @@ -231253,12 +231864,12 @@ x-webhooks: type: string enum: - completed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *748 + workflow: *754 workflow_run: title: Workflow Run type: object @@ -232257,12 +232868,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *748 + workflow: *754 workflow_run: title: Workflow Run type: object @@ -233246,12 +233857,12 @@ x-webhooks: type: string enum: - requested - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *748 + workflow: *754 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 5d78e1bb4b..fa9cf8b0e4 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -3127,6 +3127,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -35378,6 +35391,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -44790,7 +44807,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", "subcategory": "copilot-usage-metrics" @@ -44950,7 +44967,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", "subcategory": "copilot-usage-metrics" @@ -45114,7 +45131,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", "subcategory": "copilot-usage-metrics" @@ -45274,7 +45291,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", "subcategory": "copilot-usage-metrics" @@ -138393,6 +138410,58 @@ } } } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -138663,6 +138732,58 @@ } } } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -138866,6 +138987,58 @@ } } } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -145033,6 +145206,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -160377,7 +160554,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", "subcategory": "copilot-usage-metrics" @@ -160537,7 +160714,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", "subcategory": "copilot-usage-metrics" @@ -160701,7 +160878,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", "subcategory": "copilot-usage-metrics" @@ -160861,7 +161038,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", "subcategory": "copilot-usage-metrics" @@ -182434,6 +182611,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -215081,6 +215271,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -215106,6 +215307,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -215250,7 +215491,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -215314,12 +215555,12 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { - "description": "The ID of the key you used to encrypt the secret.", + "description": "The ID of the key you used to encrypt the secret. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string" }, "visibility": { @@ -215337,13 +215578,62 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. Defaults to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or `oidc_jfrog` for OIDC authentication.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } }, "required": [ "registry_type", "url", - "encrypted_value", - "key_id", "visibility" ] }, @@ -215374,6 +215664,17 @@ 1296280 ] } + }, + "org-private-registry-with-oidc-azure": { + "summary": "Example of an OIDC private registry configuration using Azure", + "value": { + "registry_type": "docker_registry", + "url": "https://myregistry.azurecr.io", + "auth_type": "oidc_azure", + "visibility": "all", + "tenant_id": "12345678-1234-1234-1234-123456789012", + "client_id": "abcdef01-2345-6789-abcd-ef0123456789" + } } } } @@ -215415,6 +215716,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -215446,6 +215758,46 @@ "type": "integer" } }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -215765,6 +216117,17 @@ ], "type": "string" }, + "auth_type": { + "description": "The authentication type for the private registry.", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ], + "type": "string" + }, "url": { "description": "The URL of the private registry.", "type": "string", @@ -215790,6 +216153,46 @@ ], "type": "string" }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name.", + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -215858,7 +216261,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -215954,16 +216357,79 @@ "items": { "type": "integer" } + }, + "auth_type": { + "description": "The authentication type for the private registry. This field cannot be changed after creation. If provided, it must match the existing `auth_type` of the configuration. To change the authentication type, delete and recreate the configuration.", + "type": "string", + "enum": [ + "token", + "username_password", + "oidc_azure", + "oidc_aws", + "oidc_jfrog" + ] + }, + "tenant_id": { + "description": "The tenant ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "client_id": { + "description": "The client ID of the Azure AD application. Required when `auth_type` is `oidc_azure`.", + "type": "string" + }, + "aws_region": { + "description": "The AWS region. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "account_id": { + "description": "The AWS account ID. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "role_name": { + "description": "The AWS IAM role name. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain": { + "description": "The CodeArtifact domain. Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "domain_owner": { + "description": "The CodeArtifact domain owner (AWS account ID). Required when `auth_type` is `oidc_aws`.", + "type": "string" + }, + "jfrog_oidc_provider_name": { + "description": "The JFrog OIDC provider name. Required when `auth_type` is `oidc_jfrog`.", + "type": "string" + }, + "audience": { + "description": "The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` auth types.", + "type": "string" + }, + "identity_mapping_name": { + "description": "The JFrog identity mapping name. Optional for `oidc_jfrog` auth type.", + "type": "string" } } }, "examples": { - "default": { + "secret-based-update": { + "summary": "Update a secret-based private registry", "value": { "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678" } + }, + "oidc-azure-update": { + "summary": "Update an OIDC private registry (Azure)", + "value": { + "tenant_id": "12345678-1234-1234-1234-123456789012", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } } } } @@ -345157,6 +345623,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -346048,6 +346518,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -346960,6 +347434,10 @@ "properties": { "text": { "type": "string" + }, + "markdown": { + "type": "string", + "description": "The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance." } } }, @@ -421065,6 +421543,19 @@ "schema": { "type": "string" } + }, + { + "name": "status", + "description": "Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failure" + ] + } } ], "responses": { @@ -569636,6 +570127,32 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -570404,6 +570921,32 @@ } } } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -572471,6 +573014,32 @@ "responses": { "204": { "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -587287,6 +587856,11 @@ "required": [ "assignee" ] + }, + { + "required": [ + "validity" + ] } ] }, @@ -627998,7 +628572,8 @@ "required": [ "total_count", "incomplete_results", - "items" + "items", + "search_type" ], "properties": { "total_count": { @@ -630846,6 +631421,31 @@ "score" ] } + }, + "search_type": { + "type": "string", + "description": "The type of search that was performed. Possible values are `lexical`, `semantic`, or `hybrid`.", + "enum": [ + "lexical", + "semantic", + "hybrid" + ] + }, + "lexical_fallback_reason": { + "type": "array", + "description": "When a semantic or hybrid search falls back to lexical search, this field contains the reasons for the fallback. Only present when a fallback occurred.", + "items": { + "type": "string", + "enum": [ + "no_text_terms", + "quoted_text", + "non_issue_target", + "or_boolean_not_supported", + "no_accessible_repos", + "server_error", + "only_non_semantic_fields_requested" + ] + } } } }, @@ -666756,7 +667356,7 @@ "/user/installations/{installation_id}/repositories/{repository_id}": { "put": { "summary": "Add a repository to an app installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], @@ -666859,7 +667459,7 @@ }, "delete": { "summary": "Remove a repository from an app installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. \n\nThis endpoint only works for PATs (classic) with the `repo` scope.", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.\n\nThis endpoint only works for PATs (classic) with the `repo` scope.", "tags": [ "apps" ], diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index acd03b23a7..0c8f8af09c 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &455 + type: &456 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,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: - - &770 + - &771 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1594,6 +1594,19 @@ paths: required: false schema: type: string + - &360 + name: status + description: Returns webhook deliveries filtered by delivery outcome classification + based on `status_code` range. A `status` of `success` returns deliveries + with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` + returns deliveries with a `status_code` in the 400-599 range (inclusive). + in: query + required: false + schema: + type: string + enum: + - success + - failure responses: '200': description: Response @@ -1601,7 +1614,7 @@ paths: application/json: schema: type: array - items: &360 + items: &361 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1694,7 @@ paths: - installation_id - repository_id examples: - default: &361 + default: &362 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1726,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &780 + schema: &781 title: Scim Error description: Scim Error type: object @@ -1809,7 +1822,7 @@ paths: description: Response content: application/json: - schema: &362 + schema: &363 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1936,7 @@ paths: - request - response examples: - default: &363 + default: &364 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2919,7 +2932,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &432 + properties: &433 id: description: Unique identifier of the repository example: 42 @@ -3370,7 +3383,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &433 + required: &434 - archive_url - assignees_url - blobs_url @@ -9061,7 +9074,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &781 + '401': &782 description: Authorization failure '404': *6 x-github: @@ -13272,7 +13285,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &546 + instances_url: &547 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13307,7 +13320,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &547 + dismissed_reason: &548 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13316,13 +13329,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &548 + dismissed_comment: &549 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &549 + rule: &550 type: object properties: id: @@ -13375,7 +13388,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &550 + tool: &551 type: object properties: name: *113 @@ -13385,26 +13398,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &551 + most_recent_instance: &552 type: object properties: - ref: &544 + ref: &545 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &561 + analysis_key: &562 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &562 + environment: &563 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &563 + category: &564 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13418,7 +13431,13 @@ paths: properties: text: type: string - location: &564 + markdown: + type: string + description: The message text as GitHub-flavored Markdown, + with placeholder links for related locations replaced + by links to the relevant code. Only populated when + related locations are available for the alert instance. + location: &565 type: object description: Describe a region within a file for the alert. properties: @@ -13439,7 +13458,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &565 + items: &566 type: string description: A classification of the file. For example to identify it as generated. @@ -15780,7 +15799,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &398 + properties: &399 id: description: Unique identifier of the team type: integer @@ -15852,7 +15871,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &399 + required: &400 - id - node_id - url @@ -17431,7 +17450,7 @@ paths: '403': *29 '404': *6 x-github: - githubCloudOnly: true + githubCloudOnly: false enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics @@ -17498,7 +17517,7 @@ paths: '403': *29 '404': *6 x-github: - githubCloudOnly: true + githubCloudOnly: false enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics @@ -17534,7 +17553,7 @@ paths: '403': *29 '404': *6 x-github: - githubCloudOnly: true + githubCloudOnly: false enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics @@ -17569,7 +17588,7 @@ paths: '403': *29 '404': *6 x-github: - githubCloudOnly: true + githubCloudOnly: false enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics @@ -17638,7 +17657,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &606 + - &607 name: has in: query description: |- @@ -17760,7 +17779,7 @@ paths: - unknown - direct - transitive - security_advisory: &607 + security_advisory: &608 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17992,14 +18011,14 @@ paths: nullable: true maxLength: 280 fixed_at: *140 - auto_dismissed_at: &608 + auto_dismissed_at: &609 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &609 + dismissal_request: &610 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -19037,7 +19056,7 @@ paths: application/json: schema: *22 examples: - default: &375 + default: &376 value: id: 1 account: @@ -19291,7 +19310,7 @@ paths: - name - created_on examples: - default: &460 + default: &461 value: total_count: 2 network_configurations: @@ -19516,7 +19535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &461 + - &462 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19528,7 +19547,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &463 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19562,7 +19581,7 @@ paths: - subnet_id - region examples: - default: &463 + default: &464 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20381,7 +20400,7 @@ paths: required: true content: application/json: - schema: &431 + schema: &432 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21573,7 +21592,7 @@ paths: nullable: true anyOf: - *164 - - &437 + - &438 title: Organization ruleset conditions type: object description: |- @@ -21620,7 +21639,7 @@ paths: - *167 rules: type: array - items: &736 + items: &737 title: Repository Rule type: object description: A repository rule. @@ -21629,7 +21648,7 @@ paths: - *173 - *174 - *175 - - &734 + - &735 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21957,7 +21976,7 @@ paths: type: string format: date-time examples: - default: &440 + default: &441 value: - version_id: 3 actor: @@ -22010,7 +22029,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &442 allOf: - *197 - type: object @@ -22065,7 +22084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &442 + - &443 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -22076,7 +22095,7 @@ paths: enum: - open - resolved - - &443 + - &444 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -22086,7 +22105,7 @@ paths: required: false schema: type: string - - &444 + - &445 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22095,7 +22114,7 @@ paths: required: false schema: type: string - - &445 + - &446 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22114,7 +22133,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &446 + - &447 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. @@ -22130,7 +22149,7 @@ paths: - *17 - *110 - *111 - - &447 + - &448 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22139,7 +22158,7 @@ paths: required: false schema: type: string - - &448 + - &449 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22148,7 +22167,7 @@ paths: schema: type: boolean default: false - - &449 + - &450 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22157,7 +22176,7 @@ paths: schema: type: boolean default: false - - &450 + - &451 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22173,7 +22192,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 type: object properties: number: *130 @@ -22192,14 +22211,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &748 + state: &749 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: &749 + resolution: &750 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -22306,8 +22325,8 @@ paths: pull request. ' - oneOf: &750 - - &752 + oneOf: &751 + - &753 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22359,7 +22378,7 @@ paths: - blob_url - commit_sha - commit_url - - &753 + - &754 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -22414,7 +22433,7 @@ paths: - page_url - commit_sha - commit_url - - &754 + - &755 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22428,7 +22447,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &755 + - &756 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -22442,7 +22461,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &756 + - &757 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -22456,7 +22475,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &757 + - &758 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22470,7 +22489,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &758 + - &759 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22484,7 +22503,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &759 + - &760 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22498,7 +22517,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &760 + - &761 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -22512,7 +22531,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &761 + - &762 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -22526,7 +22545,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &762 + - &763 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -22540,7 +22559,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &763 + - &764 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -22554,7 +22573,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &764 + - &765 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -22581,7 +22600,7 @@ paths: required: *21 nullable: true examples: - default: &452 + default: &453 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22790,7 +22809,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22873,7 +22892,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *199 examples: - default: &454 + default: &455 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -23009,7 +23028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &457 + - &458 name: advanced_security_product in: query description: | @@ -23029,7 +23048,7 @@ paths: description: Success content: application/json: - schema: &458 + schema: &459 type: object properties: total_advanced_security_committers: @@ -23084,7 +23103,7 @@ paths: required: - repositories examples: - default: &459 + default: &460 value: total_advanced_security_committers: 2 total_count: 2 @@ -26196,7 +26215,7 @@ paths: properties: action: type: string - discussion: &888 + discussion: &889 title: Discussion description: A Discussion in a repository. type: object @@ -26563,7 +26582,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &669 + properties: &670 id: type: integer format: int64 @@ -26676,7 +26695,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &420 + properties: &421 url: type: string format: uri @@ -26746,7 +26765,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &421 + required: &422 - closed_issues - creator - description @@ -26825,7 +26844,7 @@ paths: timeline_url: type: string format: uri - type: &385 + type: &386 title: Issue Type description: The type of issue. type: object @@ -26939,7 +26958,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &808 + sub_issues_summary: &809 title: Sub-issues Summary type: object properties: @@ -27026,7 +27045,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &691 + properties: &692 pinned_at: type: string format: date-time @@ -27038,7 +27057,7 @@ paths: properties: *20 required: *21 nullable: true - required: &692 + required: &693 - pinned_at - pinned_by nullable: true @@ -27052,7 +27071,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &809 + issue_dependencies_summary: &810 title: Issue Dependencies Summary type: object properties: @@ -27071,7 +27090,7 @@ paths: - total_blocking issue_field_values: type: array - items: &676 + items: &677 title: Issue Field Value description: A value assigned to an issue field type: object @@ -27132,7 +27151,7 @@ paths: - node_id - data_type - value - required: &670 + required: &671 - assignee - closed_at - comments @@ -27170,7 +27189,7 @@ paths: action: type: string issue: *227 - comment: &665 + comment: &666 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -27834,7 +27853,7 @@ paths: type: string release: allOf: - - &727 + - &728 title: Release description: A release. type: object @@ -27905,7 +27924,7 @@ paths: author: *4 assets: type: array - items: &728 + items: &729 title: Release Asset description: Data related to a release. type: object @@ -28484,7 +28503,7 @@ paths: url: type: string format: uri - user: &815 + user: &816 title: Public User description: Public User type: object @@ -30356,7 +30375,7 @@ paths: - closed - all default: open - - &388 + - &389 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30407,7 +30426,7 @@ paths: type: array items: *227 examples: - default: &389 + default: &390 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31792,14 +31811,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: - - &472 + - &473 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &473 + - &474 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31861,7 +31880,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &478 + '301': &479 description: Moved permanently content: application/json: @@ -31883,7 +31902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &701 + - &702 name: all description: If `true`, show notifications marked as read. in: query @@ -31891,7 +31910,7 @@ paths: schema: type: boolean default: false - - &702 + - &703 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31901,7 +31920,7 @@ paths: type: boolean default: false - *234 - - &703 + - &704 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: @@ -32223,7 +32242,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &434 + security_and_analysis: &435 nullable: true type: object properties: @@ -32432,7 +32451,7 @@ paths: - url - subscription_url examples: - default: &704 + default: &705 value: - id: '1' repository: @@ -33549,7 +33568,7 @@ paths: type: array items: *158 examples: - default: &710 + default: &711 value: - property_name: environment value: production @@ -33599,7 +33618,7 @@ paths: required: - properties examples: - default: &711 + default: &712 value: properties: - property_name: environment @@ -34412,7 +34431,7 @@ paths: type: integer repository_cache_usages: type: array - items: &485 + items: &486 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -37682,7 +37701,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &506 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37711,7 +37730,7 @@ paths: - key_id - key examples: - default: &506 + default: &507 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38124,7 +38143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *89 - - &490 + - &491 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)." @@ -38866,6 +38885,8 @@ paths: created: '2011-01-26T19:14:43Z' updated_at: '2011-01-26T19:14:43Z' attestation_id: 456 + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39025,6 +39046,8 @@ paths: items: *307 examples: default: *308 + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39179,6 +39202,8 @@ paths: status: active created_at: '2023-10-01T12:00:00Z' updated_at: '2023-10-01T12:00:00Z' + '403': *29 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39352,12 +39377,12 @@ paths: required: - subject_digests examples: - default: &847 + default: &848 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &848 + withPredicateType: &849 value: subject_digests: - sha256:abc123 @@ -39415,7 +39440,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &849 + default: &850 value: attestations_subject_digests: - sha256:abc: @@ -39765,7 +39790,7 @@ paths: initiator: type: string examples: - default: &519 + default: &520 value: attestations: - bundle: @@ -40682,7 +40707,7 @@ paths: be returned. in: query required: false - schema: &545 + schema: &546 type: string description: Severity of a code scanning alert. enum: @@ -41738,7 +41763,7 @@ paths: type: integer codespaces: type: array - items: &390 + items: &391 type: object title: Codespace description: A codespace. @@ -41768,7 +41793,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &577 + properties: &578 name: type: string description: The name of the machine. @@ -41810,7 +41835,7 @@ paths: - ready - in_progress nullable: true - required: &578 + required: &579 - name - display_name - operating_system @@ -42015,7 +42040,7 @@ paths: - pulls_url - recent_folders examples: - default: &391 + default: &392 value: total_count: 3 codespaces: @@ -42678,7 +42703,7 @@ paths: - updated_at - visibility examples: - default: &579 + default: &580 value: total_count: 2 secrets: @@ -42716,7 +42741,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &581 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42745,7 +42770,7 @@ paths: - key_id - key examples: - default: &581 + default: &582 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42777,7 +42802,7 @@ paths: application/json: schema: *334 examples: - default: &583 + default: &584 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44112,7 +44137,7 @@ paths: '403': *29 '404': *6 x-github: - githubCloudOnly: true + githubCloudOnly: false enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics @@ -44149,7 +44174,7 @@ paths: '403': *29 '404': *6 x-github: - githubCloudOnly: true + githubCloudOnly: false enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics @@ -44187,7 +44212,7 @@ paths: '403': *29 '404': *6 x-github: - githubCloudOnly: true + githubCloudOnly: false enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics @@ -44224,7 +44249,7 @@ paths: '403': *29 '404': *6 x-github: - githubCloudOnly: true + githubCloudOnly: false enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics @@ -45073,7 +45098,7 @@ paths: description: Response content: application/json: - schema: &612 + schema: &613 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -45090,7 +45115,7 @@ paths: - key_id - key examples: - default: &613 + default: &614 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -45418,7 +45443,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &621 + - &622 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -45426,7 +45451,7 @@ paths: required: false schema: type: string - - &622 + - &623 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -45434,7 +45459,7 @@ paths: required: false schema: type: string - - &623 + - &624 name: time_period description: |- The time period to filter by. @@ -45450,7 +45475,7 @@ paths: - week - month default: month - - &624 + - &625 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -45475,7 +45500,7 @@ paths: application/json: schema: type: array - items: &625 + items: &626 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -45631,7 +45656,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &626 + default: &627 value: - id: 21 number: 42 @@ -45749,7 +45774,7 @@ paths: application/json: schema: type: array - items: &627 + items: &628 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45866,7 +45891,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &628 + default: &629 value: - id: 21 number: 42 @@ -45968,7 +45993,7 @@ paths: application/json: schema: type: array - items: &629 + items: &630 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -46089,7 +46114,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &630 + default: &631 value: - id: 21 number: 42 @@ -46177,7 +46202,7 @@ paths: application/json: schema: type: array - items: &401 + items: &402 title: Package description: A software package type: object @@ -46247,7 +46272,7 @@ paths: - created_at - updated_at examples: - default: &402 + default: &403 value: - id: 197 name: hello_docker @@ -46434,7 +46459,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &470 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -46515,7 +46540,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &470 + default: &471 value: group_id: '123' group_name: Octocat admins @@ -46570,7 +46595,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &467 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -46607,7 +46632,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &467 + default: &468 value: groups: - group_id: '123' @@ -46652,7 +46677,7 @@ paths: application/json: schema: type: array - items: &379 + items: &380 title: Organization Invitation description: Organization Invitation type: object @@ -46699,7 +46724,7 @@ paths: - invitation_teams_url - node_id examples: - default: &380 + default: &381 value: - id: 1 login: monalisa @@ -46766,7 +46791,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46780,7 +46805,7 @@ paths: - name - description examples: - default: &436 + default: &437 value: - name: add_assignee description: Assign or remove a user @@ -47266,6 +47291,7 @@ paths: - *358 - *17 - *359 + - *360 responses: '200': description: Response @@ -47273,9 +47299,9 @@ paths: application/json: schema: type: array - items: *360 + items: *361 examples: - default: *361 + default: *362 '400': *14 '422': *15 x-github: @@ -47306,9 +47332,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '400': *14 '422': *15 x-github: @@ -47382,7 +47408,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &368 + - &369 name: actor_type in: path description: The type of the actor @@ -47395,14 +47421,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &369 + - &370 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &364 + - &365 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`.' @@ -47410,7 +47436,7 @@ paths: required: true schema: type: string - - &365 + - &366 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) @@ -47504,12 +47530,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *364 - *365 + - *366 - *19 - *17 - *112 - - &374 + - &375 name: sort description: The property to sort the results by. in: query @@ -47587,14 +47613,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *364 - *365 + - *366 responses: '200': description: Response content: application/json: - schema: &366 + schema: &367 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -47610,7 +47636,7 @@ paths: type: integer format: int64 examples: - default: &367 + default: &368 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -47631,23 +47657,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &370 + - &371 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *364 - *365 + - *366 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: - default: *367 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -47666,18 +47692,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *364 - *365 - - *368 + - *366 - *369 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: - default: *367 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -47695,9 +47721,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *89 - - *364 - *365 - - &371 + - *366 + - &372 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -47710,7 +47736,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &373 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -47726,7 +47752,7 @@ paths: type: integer format: int64 examples: - default: &373 + default: &374 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -47763,18 +47789,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *370 - - *364 - - *365 - *371 + - *365 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -47792,19 +47818,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *368 - *369 - - *364 + - *370 - *365 - - *371 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -47822,13 +47848,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *89 - - *370 - - *364 + - *371 - *365 + - *366 - *19 - *17 - *112 - - *374 + - *375 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -47909,7 +47935,7 @@ paths: application/json: schema: *22 examples: - default: *375 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48029,12 +48055,12 @@ paths: application/json: schema: anyOf: - - &377 + - &378 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &376 + limit: &377 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -48059,7 +48085,7 @@ paths: properties: {} additionalProperties: false examples: - default: &378 + default: &379 value: limit: collaborators_only origin: organization @@ -48088,13 +48114,13 @@ paths: required: true content: application/json: - schema: &661 + schema: &662 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *376 + limit: *377 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -48118,9 +48144,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -48198,9 +48224,9 @@ paths: application/json: schema: type: array - items: *379 + items: *380 examples: - default: *380 + default: *381 headers: Link: *47 '404': *6 @@ -48278,7 +48304,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: default: value: @@ -48335,7 +48361,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &381 + - &382 name: invitation_id description: The unique identifier of the invitation. in: path @@ -48369,7 +48395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *381 + - *382 - *17 - *19 responses: @@ -48381,7 +48407,7 @@ paths: type: array items: *320 examples: - default: &400 + default: &401 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -48424,7 +48450,7 @@ paths: application/json: schema: type: array - items: &382 + items: &383 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -48657,9 +48683,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &383 + default: &384 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -48715,7 +48741,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &384 + - &385 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -48814,9 +48840,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 '404': *6 '422': *7 x-github: @@ -48841,7 +48867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *384 + - *385 responses: '204': *157 '404': *6 @@ -48871,7 +48897,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: value: @@ -48956,9 +48982,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &386 + default: &387 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -48991,7 +49017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &387 + - &388 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -49044,9 +49070,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *386 + default: *387 '404': *6 '422': *7 x-github: @@ -49071,7 +49097,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *387 + - *388 responses: '204': description: Response @@ -49134,7 +49160,7 @@ paths: - closed - all default: open - - *388 + - *389 - name: type description: Can be the name of an issue type. in: query @@ -49165,7 +49191,7 @@ paths: type: array items: *227 examples: - default: *389 + default: *390 headers: Link: *47 '404': *6 @@ -49324,9 +49350,9 @@ paths: type: integer codespaces: type: array - items: *390 + items: *391 examples: - default: *391 + default: *392 '304': *37 '500': *40 '401': *25 @@ -49353,7 +49379,7 @@ paths: parameters: - *89 - *145 - - &392 + - &393 name: codespace_name in: path required: true @@ -49388,15 +49414,15 @@ paths: parameters: - *89 - *145 - - *392 + - *393 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: &576 + default: &577 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49652,7 +49678,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &394 title: Org Membership description: Org Membership type: object @@ -49719,7 +49745,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &394 + response-if-user-has-an-active-admin-membership-with-organization: &395 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -49820,9 +49846,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - response-if-user-already-had-membership-with-organization: *394 + response-if-user-already-had-membership-with-organization: *395 '422': *15 '403': *29 x-github: @@ -49893,7 +49919,7 @@ paths: application/json: schema: type: array - items: &395 + items: &396 title: Migration description: A migration. type: object @@ -50222,7 +50248,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -50401,7 +50427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &396 + - &397 name: migration_id description: The unique identifier of the migration. in: path @@ -50428,7 +50454,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -50598,7 +50624,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *396 + - *397 responses: '302': description: Response @@ -50620,7 +50646,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *396 + - *397 responses: '204': description: Response @@ -50644,8 +50670,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *396 - - &830 + - *397 + - &831 name: repo_name description: repo_name parameter in: path @@ -50673,7 +50699,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *396 + - *397 - *17 - *19 responses: @@ -50685,7 +50711,7 @@ paths: type: array items: *291 examples: - default: &407 + default: &408 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50896,7 +50922,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &397 + items: &398 title: Organization Role description: Organization roles type: object @@ -51103,7 +51129,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: default: value: @@ -51333,7 +51359,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: default: value: @@ -51430,7 +51456,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: default: value: @@ -51588,8 +51614,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *398 - required: *399 + properties: *399 + required: *400 nullable: true type: description: The ownership type of the team @@ -51621,7 +51647,7 @@ paths: - type - parent examples: - default: *400 + default: *401 headers: Link: *47 '404': @@ -51679,13 +51705,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &456 + items: &457 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *398 - required: *399 + properties: *399 + required: *400 name: nullable: true type: string @@ -51973,7 +51999,7 @@ paths: - nuget - container - *89 - - &831 + - &832 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -52009,12 +52035,12 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: *402 + default: *403 '403': *29 '401': *25 - '400': &833 + '400': &834 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -52036,7 +52062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &403 + - &404 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 @@ -52054,7 +52080,7 @@ paths: - docker - nuget - container - - &404 + - &405 name: package_name description: The name of the package. in: path @@ -52067,7 +52093,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -52119,8 +52145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *403 - *404 + - *405 - *89 responses: '204': @@ -52153,8 +52179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *403 - *404 + - *405 - *89 - name: token description: package token @@ -52187,8 +52213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *403 - *404 + - *405 - *89 - *19 - *17 @@ -52209,7 +52235,7 @@ paths: application/json: schema: type: array - items: &405 + items: &406 title: Package Version description: A version of a software package type: object @@ -52334,10 +52360,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: - - *403 - *404 + - *405 - *89 - - &406 + - &407 name: package_version_id description: Unique identifier of the package version. in: path @@ -52349,7 +52375,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *406 examples: default: value: @@ -52385,10 +52411,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *403 - *404 + - *405 - *89 - - *406 + - *407 responses: '204': description: Response @@ -52420,10 +52446,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *403 - *404 + - *405 - *89 - - *406 + - *407 responses: '204': description: Response @@ -52453,7 +52479,7 @@ paths: - *89 - *17 - *19 - - &408 + - &409 name: sort description: The property by which to sort the results. in: query @@ -52464,7 +52490,7 @@ paths: - created_at default: created_at - *112 - - &409 + - &410 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -52475,7 +52501,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &410 + - &411 name: repository description: The name of the repository to use to filter the results. in: query @@ -52483,7 +52509,7 @@ paths: schema: type: string example: Hello-World - - &411 + - &412 name: permission description: The permission to use to filter the results. in: query @@ -52491,7 +52517,7 @@ paths: schema: type: string example: issues_read - - &412 + - &413 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) @@ -52501,7 +52527,7 @@ paths: schema: type: string format: date-time - - &413 + - &414 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) @@ -52511,7 +52537,7 @@ paths: schema: type: string format: date-time - - &414 + - &415 name: token_id description: The ID of the token in: query @@ -52824,7 +52850,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -52850,14 +52876,14 @@ paths: - *89 - *17 - *19 - - *408 - - *112 - *409 + - *112 - *410 - *411 - *412 - *413 - *414 + - *415 responses: '500': *40 '422': *15 @@ -53139,7 +53165,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -53181,7 +53207,7 @@ paths: type: integer configurations: type: array - items: &415 + items: &416 title: Organization private registry description: Private registry configuration for an organization type: object @@ -53209,6 +53235,15 @@ paths: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -53237,6 +53272,36 @@ paths: - private - selected type: string + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -53274,6 +53339,7 @@ paths: description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -53333,11 +53399,14 @@ paths: description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. + endpoint. Required when `auth_type` is `token` or `username_password`. + Should be omitted for OIDC auth types. type: string pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" key_id: - description: The ID of the key you used to encrypt the secret. + description: The ID of the key you used to encrypt the secret. Required + when `auth_type` is `token` or `username_password`. Should be + omitted for OIDC auth types. type: string visibility: description: Which type of organization repositories have access @@ -53360,11 +53429,58 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. Defaults + to `token` if not specified. Use `oidc_azure`, `oidc_aws`, or + `oidc_jfrog` for OIDC authentication. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string required: - registry_type - url - - encrypted_value - - key_id - visibility examples: org-private-registry-with-private-visibility: @@ -53391,6 +53507,15 @@ paths: selected_repository_ids: - 1296269 - 1296280 + org-private-registry-with-oidc-azure: + summary: Example of an OIDC private registry configuration using Azure + value: + registry_type: docker_registry + url: https://myregistry.azurecr.io + auth_type: oidc_azure + visibility: all + tenant_id: 12345678-1234-1234-1234-123456789012 + client_id: abcdef01-2345-6789-abcd-ef0123456789 responses: '201': description: The organization private registry configuration @@ -53424,6 +53549,15 @@ paths: - python_index - terraform_registry type: string + auth_type: + description: The authentication type for the private registry. + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + type: string url: description: The URL of the private registry. type: string @@ -53458,6 +53592,36 @@ paths: private registry when `visibility` is set to `selected`. items: type: integer + tenant_id: + description: The tenant ID of the Azure AD application. + type: string + client_id: + description: The client ID of the Azure AD application. + type: string + aws_region: + description: The AWS region. + type: string + account_id: + description: The AWS account ID. + type: string + role_name: + description: The AWS IAM role name. + type: string + domain: + description: The CodeArtifact domain. + type: string + domain_owner: + description: The CodeArtifact domain owner. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. + type: string + audience: + description: The OIDC audience. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. + type: string created_at: type: string format: date-time @@ -53471,7 +53635,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &416 + org-private-registry-with-selected-visibility: &417 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -53567,9 +53731,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -53581,6 +53745,7 @@ paths: description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." + For OIDC-based registries (`oidc_azure`, `oidc_aws`, or `oidc_jfrog`), the `encrypted_value` and `key_id` fields should be omitted. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: @@ -53665,12 +53830,71 @@ paths: type: array items: type: integer + auth_type: + description: The authentication type for the private registry. This + field cannot be changed after creation. If provided, it must match + the existing `auth_type` of the configuration. To change the authentication + type, delete and recreate the configuration. + type: string + enum: + - token + - username_password + - oidc_azure + - oidc_aws + - oidc_jfrog + tenant_id: + description: The tenant ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + client_id: + description: The client ID of the Azure AD application. Required + when `auth_type` is `oidc_azure`. + type: string + aws_region: + description: The AWS region. Required when `auth_type` is `oidc_aws`. + type: string + account_id: + description: The AWS account ID. Required when `auth_type` is `oidc_aws`. + type: string + role_name: + description: The AWS IAM role name. Required when `auth_type` is + `oidc_aws`. + type: string + domain: + description: The CodeArtifact domain. Required when `auth_type` + is `oidc_aws`. + type: string + domain_owner: + description: The CodeArtifact domain owner (AWS account ID). Required + when `auth_type` is `oidc_aws`. + type: string + jfrog_oidc_provider_name: + description: The JFrog OIDC provider name. Required when `auth_type` + is `oidc_jfrog`. + type: string + audience: + description: The OIDC audience. Optional for `oidc_aws` and `oidc_jfrog` + auth types. + type: string + identity_mapping_name: + description: The JFrog identity mapping name. Optional for `oidc_jfrog` + auth type. + type: string examples: - default: + secret-based-update: + summary: Update a secret-based private registry value: username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' + oidc-azure-update: + summary: Update an OIDC private registry (Azure) + value: + tenant_id: 12345678-1234-1234-1234-123456789012 + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 responses: '204': description: Response @@ -53736,7 +53960,7 @@ paths: application/json: schema: type: array - items: &417 + items: &418 title: Projects v2 Project description: A projects v2 project type: object @@ -53806,7 +54030,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &924 + properties: &925 id: type: number description: The unique identifier of the status update. @@ -53854,7 +54078,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &925 + required: &926 - id - node_id - created_at @@ -53879,7 +54103,7 @@ paths: - deleted_at - deleted_by examples: - default: &418 + default: &419 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -53982,7 +54206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &419 + - &420 name: project_number description: The project's number. in: path @@ -53995,9 +54219,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 headers: Link: *47 '304': *37 @@ -54020,7 +54244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *419 + - *420 requestBody: required: true description: Details of the draft item to create in the project. @@ -54054,7 +54278,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &426 title: Projects v2 Item description: An item belonging to a project type: object @@ -54068,7 +54292,7 @@ paths: content: oneOf: - *227 - - &593 + - &594 title: Pull Request Simple description: Pull Request Simple type: object @@ -54174,8 +54398,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *420 - required: *421 + properties: *421 + required: *422 nullable: true active_lock_reason: type: string @@ -54268,7 +54492,7 @@ paths: _links: type: object properties: - comments: &422 + comments: &423 title: Link description: Hypermedia Link type: object @@ -54277,13 +54501,13 @@ paths: type: string required: - href - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + commits: *423 + statuses: *423 + html: *423 + issue: *423 + review_comments: *423 + review_comment: *423 + self: *423 required: - comments - commits @@ -54294,7 +54518,7 @@ paths: - review_comment - self author_association: *224 - auto_merge: &713 + auto_merge: &714 title: Auto merge description: The status of auto merging a pull request. type: object @@ -54396,7 +54620,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &424 + content_type: &425 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -54436,7 +54660,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &426 + draft_issue: &427 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -54510,7 +54734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *419 + - *420 - *89 - *17 - *110 @@ -54522,7 +54746,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -54672,7 +54896,7 @@ paths: - updated_at - project_url examples: - default: &852 + default: &853 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54802,7 +55026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *419 + - *420 - *89 requestBody: required: true @@ -54849,7 +55073,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &853 + items: &854 type: object properties: name: @@ -54886,7 +55110,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &854 + iteration_configuration: &855 type: object description: The configuration for iteration fields. properties: @@ -54936,7 +55160,7 @@ paths: value: name: Due date data_type: date - single_select_field: &855 + single_select_field: &856 summary: Create a single select field value: name: Priority @@ -54963,7 +55187,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &856 + iteration_field: &857 summary: Create an iteration field value: name: Sprint @@ -54987,9 +55211,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *423 + schema: *424 examples: - text_field: &857 + text_field: &858 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54998,7 +55222,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &858 + number_field: &859 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -55007,7 +55231,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &859 + date_field: &860 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -55016,7 +55240,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &860 + single_select_field: &861 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -55050,7 +55274,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &861 + iteration_field: &862 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -55095,8 +55319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *419 - - &862 + - *420 + - &863 name: field_id description: The unique identifier of the field. in: path @@ -55109,9 +55333,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: &863 + default: &864 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -55167,7 +55391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *419 + - *420 - *89 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -55200,7 +55424,7 @@ paths: application/json: schema: type: array - items: &427 + items: &428 title: Projects v2 Item description: An item belonging to a project type: object @@ -55216,7 +55440,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *424 + content_type: *425 content: type: object additionalProperties: true @@ -55259,7 +55483,7 @@ paths: - updated_at - archived_at examples: - default: &428 + default: &429 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -55957,7 +56181,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *419 + - *420 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -56027,22 +56251,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *427 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *427 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *427 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *427 '304': *37 '403': *29 '401': *25 @@ -56062,9 +56286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *419 + - *420 - *89 - - &429 + - &430 name: item_id description: The unique identifier of the project item. in: path @@ -56090,9 +56314,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -56113,9 +56337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *419 + - *420 - *89 - - *429 + - *430 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -56185,13 +56409,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *428 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *429 + number_field: *429 + date_field: *429 + single_select_field: *429 + iteration_field: *429 '401': *25 '403': *29 '404': *6 @@ -56211,9 +56435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *419 + - *420 - *89 - - *429 + - *430 responses: '204': description: Response @@ -56237,7 +56461,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *419 + - *420 requestBody: required: true content: @@ -56308,7 +56532,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &844 + schema: &845 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -56406,7 +56630,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &430 + value: &431 value: id: 1 number: 1 @@ -56452,10 +56676,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *430 + value: *431 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *431 '304': *37 '403': *29 '401': *25 @@ -56483,9 +56707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view parameters: - - *419 + - *420 - *89 - - &864 + - &865 name: view_number description: The number that identifies the project view. in: path @@ -56517,9 +56741,9 @@ paths: application/json: schema: type: array - items: *427 + items: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -56683,7 +56907,7 @@ paths: required: true content: application/json: - schema: *431 + schema: *432 examples: default: value: @@ -57048,7 +57272,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -57251,7 +57475,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &478 title: Full Repository description: Full Repository type: object @@ -57539,8 +57763,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *432 - required: *433 + properties: *433 + required: *434 nullable: true temp_clone_token: type: string @@ -57655,7 +57879,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &598 + properties: &599 url: type: string format: uri @@ -57671,12 +57895,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &599 + required: &600 - url - key - name - html_url - security_and_analysis: *434 + security_and_analysis: *435 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -57760,7 +57984,7 @@ paths: - network_count - subscribers_count examples: - default: &479 + default: &480 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -58286,9 +58510,9 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 + default: *437 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58313,7 +58537,7 @@ paths: - *89 - *17 - *19 - - &735 + - &736 name: targets description: | A comma-separated list of rule targets to filter by. @@ -58404,11 +58628,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *171 - conditions: *437 + conditions: *438 rules: type: array description: An array of rules within the ruleset. - items: &439 + items: &440 title: Repository Rule type: object description: A repository rule. @@ -58473,7 +58697,7 @@ paths: application/json: schema: *193 examples: - default: &438 + default: &439 value: id: 21 name: super cool ruleset @@ -58529,7 +58753,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &737 + - &738 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 @@ -58541,14 +58765,14 @@ paths: x-multi-segment: true - *317 - *107 - - &738 + - &739 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 - - &739 + - &740 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -58568,7 +58792,7 @@ paths: description: Response content: application/json: - schema: &740 + schema: &741 title: Rule Suites description: Response type: array @@ -58623,7 +58847,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &741 + default: &742 value: - id: 21 actor_id: 12 @@ -58667,7 +58891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &742 + - &743 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -58683,7 +58907,7 @@ paths: description: Response content: application/json: - schema: &743 + schema: &744 title: Rule Suite description: Response type: object @@ -58782,7 +59006,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &744 + default: &745 value: id: 21 actor_id: 12 @@ -58857,7 +59081,7 @@ paths: application/json: schema: *193 examples: - default: *438 + default: *439 '404': *6 '500': *40 put: @@ -58906,11 +59130,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *171 - conditions: *437 + conditions: *438 rules: description: An array of rules within the ruleset. type: array - items: *439 + items: *440 examples: default: value: @@ -58947,7 +59171,7 @@ paths: application/json: schema: *193 examples: - default: *438 + default: *439 '404': *6 '422': *15 '500': *40 @@ -59007,7 +59231,7 @@ paths: type: array items: *197 examples: - default: *440 + default: *441 '404': *6 '500': *40 x-github: @@ -59044,7 +59268,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -59107,15 +59331,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *442 - *443 - *444 - *445 - *446 + - *447 - *112 - *19 - *17 - - &746 + - &747 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 @@ -59125,7 +59349,7 @@ paths: required: false schema: type: string - - &747 + - &748 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 @@ -59135,10 +59359,10 @@ paths: required: false schema: type: string - - *447 - *448 - *449 - *450 + - *451 responses: '200': description: Response @@ -59146,9 +59370,9 @@ paths: application/json: schema: type: array - items: *451 + items: *452 examples: - default: *452 + default: *453 headers: Link: *47 '404': *6 @@ -59183,9 +59407,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *454 + default: *455 '403': *29 '404': *6 patch: @@ -59338,7 +59562,7 @@ paths: application/json: schema: type: array - items: &768 + items: &769 description: A repository security advisory. type: object properties: @@ -59558,7 +59782,7 @@ paths: login: type: string description: The username of the user credited. - type: *455 + type: *456 credits_detailed: type: array nullable: true @@ -59568,7 +59792,7 @@ paths: type: object properties: user: *4 - type: *455 + type: *456 state: type: string description: The state of the user's acceptance of the @@ -59629,7 +59853,7 @@ paths: - private_fork additionalProperties: false examples: - default: &769 + default: &770 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -60016,7 +60240,7 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: default: value: @@ -60115,7 +60339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *457 + - *458 - *17 - *19 responses: @@ -60123,9 +60347,9 @@ paths: description: Success content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60406,7 +60630,7 @@ paths: type: array items: *150 examples: - default: *460 + default: *461 headers: Link: *47 x-github: @@ -60609,15 +60833,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *89 - - *461 + - *462 responses: '200': description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 headers: Link: *47 x-github: @@ -60655,7 +60879,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &475 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -60701,7 +60925,7 @@ paths: type: string nullable: true examples: - default: &475 + default: &476 value: groups: - group_id: '123' @@ -60827,7 +61051,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 headers: Link: *47 '403': *29 @@ -60921,7 +61145,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &465 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60984,8 +61208,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *398 - required: *399 + properties: *399 + required: *400 nullable: true members_count: type: integer @@ -61248,7 +61472,7 @@ paths: - repos_count - organization examples: - default: &465 + default: &466 value: id: 1 node_id: MDQ6VGVhbTE= @@ -61325,9 +61549,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -61411,16 +61635,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '201': description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '404': *6 '422': *15 '403': *29 @@ -61450,7 +61674,7 @@ paths: responses: '204': description: Response - '422': &468 + '422': &469 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -61479,10 +61703,10 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: *467 - '422': *468 + default: *468 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61525,10 +61749,10 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 - '422': *468 + default: *471 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61552,7 +61776,7 @@ paths: responses: '204': description: Response - '422': *468 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61584,12 +61808,12 @@ paths: application/json: schema: type: array - items: *379 + items: *380 examples: - default: *380 + default: *381 headers: Link: *47 - '422': *468 + '422': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61671,7 +61895,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: Team Membership description: Team Membership type: object @@ -61698,7 +61922,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &811 + response-if-user-is-a-team-maintainer: &812 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -61761,9 +61985,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - response-if-users-membership-with-team-is-now-pending: &812 + response-if-users-membership-with-team-is-now-pending: &813 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -61839,7 +62063,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -61870,14 +62094,14 @@ paths: parameters: - *89 - *220 - - *472 - *473 + - *474 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &813 + schema: &814 title: Team Repository description: A team's access to a repository. type: object @@ -62448,8 +62672,8 @@ paths: parameters: - *89 - *220 - - *472 - *473 + - *474 requestBody: required: false content: @@ -62496,8 +62720,8 @@ paths: parameters: - *89 - *220 - - *472 - *473 + - *474 responses: '204': description: Response @@ -62530,10 +62754,10 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *475 - '422': *468 + default: *476 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62599,7 +62823,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -62611,7 +62835,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *468 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62645,7 +62869,7 @@ paths: type: array items: *320 examples: - response-if-child-teams-exist: &814 + response-if-child-teams-exist: &815 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62799,7 +63023,7 @@ paths: resources: type: object properties: - core: &476 + core: &477 title: Rate Limit type: object properties: @@ -62816,21 +63040,21 @@ paths: - remaining - reset - used - graphql: *476 - search: *476 - code_search: *476 - source_import: *476 - integration_manifest: *476 - code_scanning_upload: *476 - actions_runner_registration: *476 - scim: *476 - dependency_snapshots: *476 - dependency_sbom: *476 - code_scanning_autofix: *476 + graphql: *477 + search: *477 + code_search: *477 + source_import: *477 + integration_manifest: *477 + code_scanning_upload: *477 + actions_runner_registration: *477 + scim: *477 + dependency_snapshots: *477 + dependency_sbom: *477 + code_scanning_autofix: *477 required: - core - search - rate: *476 + rate: *477 required: - rate - resources @@ -62935,14 +63159,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *477 + schema: *478 examples: default-response: summary: Default response @@ -63451,7 +63675,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *478 + '301': *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63469,8 +63693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *472 - *473 + - *474 requestBody: required: false content: @@ -63771,10 +63995,10 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *479 - '307': &480 + default: *480 + '307': &481 description: Temporary Redirect content: application/json: @@ -63803,8 +64027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -63826,7 +64050,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': *480 + '307': *481 '404': *6 '409': *121 x-github: @@ -63850,11 +64074,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *472 - *473 + - *474 - *17 - *19 - - &497 + - &498 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63877,7 +64101,7 @@ paths: type: integer artifacts: type: array - items: &481 + items: &482 title: Artifact description: An artifact type: object @@ -63955,7 +64179,7 @@ paths: - expires_at - updated_at examples: - default: &498 + default: &499 value: total_count: 2 artifacts: @@ -64016,9 +64240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *472 - *473 - - &482 + - *474 + - &483 name: artifact_id description: The unique identifier of the artifact. in: path @@ -64030,7 +64254,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: default: value: @@ -64068,9 +64292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *472 - *473 - - *482 + - *474 + - *483 responses: '204': description: Response @@ -64094,9 +64318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *472 - *473 - - *482 + - *474 + - *483 - name: archive_format in: path required: true @@ -64110,7 +64334,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': &664 + '410': &665 description: Gone content: application/json: @@ -64135,14 +64359,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &483 + schema: &484 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -64175,13 +64399,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *472 - *473 + - *474 requestBody: required: true content: application/json: - schema: *483 + schema: *484 examples: selected_actions: *44 responses: @@ -64210,14 +64434,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &484 + schema: &485 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -64250,13 +64474,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *472 - *473 + - *474 requestBody: required: true content: application/json: - schema: *484 + schema: *485 examples: selected_actions: *46 responses: @@ -64287,14 +64511,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: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -64320,11 +64544,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: - - *472 - *473 + - *474 - *17 - *19 - - &486 + - &487 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 @@ -64358,7 +64582,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &488 title: Repository actions caches description: Repository actions caches type: object @@ -64400,7 +64624,7 @@ paths: - total_count - actions_caches examples: - default: &488 + default: &489 value: total_count: 1 actions_caches: @@ -64432,23 +64656,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: - - *472 - *473 + - *474 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *486 + - *487 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64468,8 +64692,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: - - *472 - *473 + - *474 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64500,9 +64724,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: - - *472 - *473 - - &489 + - *474 + - &490 name: job_id description: The unique identifier of the job. in: path @@ -64514,7 +64738,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &502 title: Job description: Information of a job execution in a workflow run type: object @@ -64821,9 +65045,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: - - *472 - *473 - - *489 + - *474 + - *490 responses: '302': description: Response @@ -64851,9 +65075,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: - - *472 - *473 - - *489 + - *474 + - *490 requestBody: required: false content: @@ -64898,8 +65122,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: - - *472 - *473 + - *474 responses: '200': description: Status response @@ -64949,8 +65173,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -65013,8 +65237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -65032,7 +65256,7 @@ paths: type: integer secrets: type: array - items: &503 + items: &504 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -65052,7 +65276,7 @@ paths: - created_at - updated_at examples: - default: &504 + default: &505 value: total_count: 2 secrets: @@ -65085,9 +65309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *472 - *473 - - *490 + - *474 + - *491 - *19 responses: '200': @@ -65104,7 +65328,7 @@ paths: type: integer variables: type: array - items: &507 + items: &508 title: Actions Variable type: object properties: @@ -65134,7 +65358,7 @@ paths: - created_at - updated_at examples: - default: &508 + default: &509 value: total_count: 2 variables: @@ -65167,8 +65391,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -65177,7 +65401,7 @@ paths: schema: type: object properties: - enabled: &491 + enabled: &492 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 @@ -65212,8 +65436,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: - - *472 - *473 + - *474 responses: '204': description: Response @@ -65224,7 +65448,7 @@ paths: schema: type: object properties: - enabled: *491 + enabled: *492 allowed_actions: *62 sha_pinning_required: *63 required: @@ -65257,14 +65481,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: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &492 + schema: &493 type: object properties: access_level: @@ -65282,7 +65506,7 @@ paths: required: - access_level examples: - default: &493 + default: &494 value: access_level: organization x-github: @@ -65307,15 +65531,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: - - *472 - *473 + - *474 requestBody: required: true content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 responses: '204': description: Response @@ -65339,8 +65563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -65370,8 +65594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *472 - *473 + - *474 responses: '204': description: Empty response for successful settings update @@ -65405,8 +65629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -65433,8 +65657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -65468,8 +65692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -65497,8 +65721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -65529,8 +65753,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -65561,8 +65785,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: - - *472 - *473 + - *474 responses: '204': description: Response @@ -65594,8 +65818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -65624,8 +65848,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: - - *472 - *473 + - *474 responses: '204': description: Success response @@ -65665,8 +65889,8 @@ paths: in: query schema: type: string - - *472 - *473 + - *474 - *17 - *19 responses: @@ -65710,8 +65934,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -65743,8 +65967,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -65818,8 +66042,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: - - *472 - *473 + - *474 responses: '201': description: Response @@ -65855,8 +66079,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: - - *472 - *473 + - *474 responses: '201': description: Response @@ -65886,8 +66110,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: - - *472 - *473 + - *474 - *77 responses: '200': @@ -65917,8 +66141,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: - - *472 - *473 + - *474 - *77 responses: '204': @@ -65945,8 +66169,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: - - *472 - *473 + - *474 - *77 responses: '200': *83 @@ -65971,8 +66195,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: - - *472 - *473 + - *474 - *77 requestBody: required: true @@ -66021,8 +66245,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: - - *472 - *473 + - *474 - *77 requestBody: required: true @@ -66072,8 +66296,8 @@ 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: - - *472 - *473 + - *474 - *77 responses: '200': *298 @@ -66103,8 +66327,8 @@ 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: - - *472 - *473 + - *474 - *77 - *299 responses: @@ -66134,9 +66358,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: - - *472 - *473 - - &511 + - *474 + - &512 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. @@ -66144,7 +66368,7 @@ paths: required: false schema: type: string - - &512 + - &513 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -66152,7 +66376,7 @@ paths: required: false schema: type: string - - &513 + - &514 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -66161,7 +66385,7 @@ paths: required: false schema: type: string - - &514 + - &515 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 @@ -66188,7 +66412,7 @@ paths: - pending - *17 - *19 - - &515 + - &516 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)." @@ -66197,7 +66421,7 @@ paths: schema: type: string format: date-time - - &494 + - &495 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66206,13 +66430,13 @@ paths: schema: type: boolean default: false - - &516 + - &517 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &517 + - &518 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66235,7 +66459,7 @@ paths: type: integer workflow_runs: type: array - items: &495 + items: &496 title: Workflow Run description: An invocation of a workflow type: object @@ -66383,7 +66607,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &539 + properties: &540 id: type: string description: SHA for the commit @@ -66434,7 +66658,7 @@ paths: - name - email nullable: true - required: &540 + required: &541 - id - tree_id - message @@ -66481,7 +66705,7 @@ paths: - workflow_url - pull_requests examples: - default: &518 + default: &519 value: total_count: 1 workflow_runs: @@ -66717,24 +66941,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *472 - *473 - - &496 + - *474 + - &497 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *494 + - *495 responses: '200': description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: &499 + default: &500 value: id: 30433642 name: Build @@ -66975,9 +67199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *472 - *473 - - *496 + - *474 + - *497 responses: '204': description: Response @@ -67000,9 +67224,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: - - *472 - *473 - - *496 + - *474 + - *497 responses: '200': description: Response @@ -67121,9 +67345,9 @@ 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: - - *472 - *473 - - *496 + - *474 + - *497 responses: '201': description: Response @@ -67156,12 +67380,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *472 - *473 - - *496 + - *474 + - *497 - *17 - *19 - - *497 + - *498 - *112 responses: '200': @@ -67178,9 +67402,9 @@ paths: type: integer artifacts: type: array - items: *481 + items: *482 examples: - default: *498 + default: *499 headers: Link: *47 x-github: @@ -67204,25 +67428,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *472 - *473 - - *496 - - &500 + - *474 + - *497 + - &501 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *494 + - *495 responses: '200': description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67245,10 +67469,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: - - *472 - *473 - - *496 - - *500 + - *474 + - *497 + - *501 - *17 - *19 responses: @@ -67266,9 +67490,9 @@ paths: type: integer jobs: type: array - items: *501 + items: *502 examples: - default: &502 + default: &503 value: total_count: 1 jobs: @@ -67381,10 +67605,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *472 - *473 - - *496 - - *500 + - *474 + - *497 + - *501 responses: '302': description: Response @@ -67412,9 +67636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *472 - *473 - - *496 + - *474 + - *497 responses: '202': description: Response @@ -67447,9 +67671,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: - - *472 - *473 - - *496 + - *474 + - *497 requestBody: required: true content: @@ -67516,9 +67740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *472 - *473 - - *496 + - *474 + - *497 responses: '202': description: Response @@ -67551,9 +67775,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: - - *472 - *473 - - *496 + - *474 + - *497 - 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 @@ -67583,9 +67807,9 @@ paths: type: integer jobs: type: array - items: *501 + items: *502 examples: - default: *502 + default: *503 headers: Link: *47 x-github: @@ -67610,9 +67834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *472 - *473 - - *496 + - *474 + - *497 responses: '302': description: Response @@ -67639,9 +67863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *472 - *473 - - *496 + - *474 + - *497 responses: '204': description: Response @@ -67668,9 +67892,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: - - *472 - *473 - - *496 + - *474 + - *497 responses: '200': description: Response @@ -67730,7 +67954,7 @@ paths: items: type: object properties: - type: &631 + type: &632 type: string description: The type of reviewer. enum: @@ -67815,9 +68039,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: - - *472 - *473 - - *496 + - *474 + - *497 requestBody: required: true content: @@ -67864,12 +68088,12 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &882 + properties: &883 url: type: string format: uri @@ -67954,7 +68178,7 @@ paths: nullable: true properties: *222 required: *223 - required: &883 + required: &884 - id - node_id - sha @@ -67970,7 +68194,7 @@ paths: - created_at - updated_at examples: - default: &617 + default: &618 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -68026,9 +68250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *472 - *473 - - *496 + - *474 + - *497 requestBody: required: false content: @@ -68072,9 +68296,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: - - *472 - *473 - - *496 + - *474 + - *497 requestBody: required: false content: @@ -68128,9 +68352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *472 - *473 - - *496 + - *474 + - *497 responses: '200': description: Response @@ -68267,8 +68491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -68286,9 +68510,9 @@ paths: type: integer secrets: type: array - items: *503 + items: *504 examples: - default: *504 + default: *505 headers: Link: *47 x-github: @@ -68313,16 +68537,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *506 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68344,17 +68568,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: &644 + default: &645 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68380,8 +68604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 requestBody: required: true @@ -68439,8 +68663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 responses: '204': @@ -68466,9 +68690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *472 - *473 - - *490 + - *474 + - *491 - *19 responses: '200': @@ -68485,9 +68709,9 @@ paths: type: integer variables: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *47 x-github: @@ -68510,8 +68734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -68563,17 +68787,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *472 - *473 + - *474 - *304 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &645 + default: &646 value: name: USERNAME value: octocat @@ -68599,8 +68823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *472 - *473 + - *474 - *304 requestBody: required: true @@ -68643,8 +68867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *472 - *473 + - *474 - *304 responses: '204': @@ -68670,8 +68894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -68689,7 +68913,7 @@ paths: type: integer workflows: type: array - items: &509 + items: &510 title: Workflow description: A GitHub Actions workflow type: object @@ -68796,9 +69020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *472 - *473 - - &510 + - *474 + - &511 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68813,7 +69037,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: default: value: @@ -68846,9 +69070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *472 - *473 - - *510 + - *474 + - *511 responses: '204': description: Response @@ -68873,9 +69097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *472 - *473 - - *510 + - *474 + - *511 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -68962,9 +69186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *472 - *473 - - *510 + - *474 + - *511 responses: '204': description: Response @@ -68991,19 +69215,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: - - *472 - *473 - - *510 + - *474 - *511 - *512 - *513 - *514 + - *515 - *17 - *19 - - *515 - - *494 - *516 + - *495 - *517 + - *518 responses: '200': description: Response @@ -69019,9 +69243,9 @@ paths: type: integer workflow_runs: type: array - items: *495 + items: *496 examples: - default: *518 + default: *519 headers: Link: *47 x-github: @@ -69054,9 +69278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *472 - *473 - - *510 + - *474 + - *511 responses: '200': description: Response @@ -69117,8 +69341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *472 - *473 + - *474 - *112 - *17 - *110 @@ -69282,8 +69506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -69320,8 +69544,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: - - *472 - *473 + - *474 - name: assignee in: path required: true @@ -69357,8 +69581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -69470,8 +69694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *472 - *473 + - *474 - *17 - *110 - *111 @@ -69528,7 +69752,7 @@ paths: initiator: type: string examples: - default: *519 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69548,8 +69772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -69557,7 +69781,7 @@ paths: application/json: schema: type: array - items: &520 + items: &521 title: Autolink reference description: An autolink reference. type: object @@ -69611,8 +69835,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -69651,9 +69875,9 @@ paths: description: response content: application/json: - schema: *520 + schema: *521 examples: - default: &521 + default: &522 value: id: 1 key_prefix: TICKET- @@ -69684,9 +69908,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: - - *472 - *473 - - &522 + - *474 + - &523 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69698,9 +69922,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -69720,9 +69944,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: - - *472 - *473 - - *522 + - *474 + - *523 responses: '204': description: Response @@ -69746,8 +69970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response if Dependabot is enabled @@ -69795,8 +70019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -69817,8 +70041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -69838,8 +70062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *472 - *473 + - *474 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -69877,7 +70101,7 @@ paths: - url protected: type: boolean - protection: &524 + protection: &525 title: Branch Protection description: Branch Protection type: object @@ -69919,7 +70143,7 @@ paths: required: - contexts - checks - enforce_admins: &527 + enforce_admins: &528 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69934,7 +70158,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &529 + required_pull_request_reviews: &530 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -70010,7 +70234,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &526 + restrictions: &527 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70287,9 +70511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *472 - *473 - - &525 + - *474 + - &526 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). @@ -70303,14 +70527,14 @@ paths: description: Response content: application/json: - schema: &535 + schema: &536 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &589 + commit: &590 title: Commit description: Commit type: object @@ -70344,7 +70568,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &523 + properties: &524 name: type: string example: '"Chris Wanstrath"' @@ -70360,7 +70584,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *524 nullable: true message: type: string @@ -70381,7 +70605,7 @@ paths: required: - sha - url - verification: &651 + verification: &652 title: Verification type: object properties: @@ -70451,7 +70675,7 @@ paths: type: integer files: type: array - items: &602 + items: &603 title: Diff Entry description: Diff Entry type: object @@ -70535,7 +70759,7 @@ paths: - self protected: type: boolean - protection: *524 + protection: *525 protection_url: type: string format: uri @@ -70642,7 +70866,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *478 + '301': *479 '404': *6 x-github: githubCloudOnly: false @@ -70664,15 +70888,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response content: application/json: - schema: *524 + schema: *525 examples: default: value: @@ -70866,9 +71090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: true content: @@ -71123,7 +71347,7 @@ paths: url: type: string format: uri - required_status_checks: &532 + required_status_checks: &533 title: Status Check Policy description: Status Check Policy type: object @@ -71275,7 +71499,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *526 + restrictions: *527 required_conversation_resolution: type: object properties: @@ -71387,9 +71611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '204': description: Response @@ -71414,17 +71638,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &528 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71446,17 +71670,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71475,9 +71699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '204': description: Response @@ -71502,17 +71726,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: &530 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71608,9 +71832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: false content: @@ -71708,9 +71932,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -71731,9 +71955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '204': description: Response @@ -71760,17 +71984,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71793,17 +72017,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -71823,9 +72047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '204': description: Response @@ -71850,17 +72074,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: &533 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71886,9 +72110,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: false content: @@ -71940,9 +72164,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: *533 + default: *534 '404': *6 '422': *15 x-github: @@ -71964,9 +72188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '204': description: Response @@ -71990,9 +72214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response @@ -72026,9 +72250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: false content: @@ -72095,9 +72319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: false content: @@ -72161,9 +72385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: content: application/json: @@ -72229,15 +72453,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: default: value: @@ -72328,9 +72552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 responses: '204': description: Response @@ -72353,9 +72577,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: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response @@ -72365,7 +72589,7 @@ paths: type: array items: *5 examples: - default: &534 + default: &535 value: - id: 1 slug: octoapp @@ -72422,9 +72646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: true content: @@ -72458,7 +72682,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -72479,9 +72703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: true content: @@ -72515,7 +72739,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -72536,9 +72760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: true content: @@ -72572,7 +72796,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -72594,9 +72818,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: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response @@ -72606,7 +72830,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -72626,9 +72850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: false content: @@ -72666,7 +72890,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -72687,9 +72911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: false content: @@ -72727,7 +72951,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -72748,9 +72972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: content: application/json: @@ -72787,7 +73011,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -72809,9 +73033,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: - - *472 - *473 - - *525 + - *474 + - *526 responses: '200': description: Response @@ -72845,9 +73069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: true content: @@ -72905,9 +73129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: true content: @@ -72965,9 +73189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: true content: @@ -73027,9 +73251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *472 - *473 - - *525 + - *474 + - *526 requestBody: required: true content: @@ -73051,7 +73275,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: default: value: @@ -73165,8 +73389,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *472 - *473 + - *474 - *105 - *106 - *107 @@ -73202,8 +73426,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *472 - *473 + - *474 - name: bypass_request_number in: path required: true @@ -73276,8 +73500,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - *473 + - *474 - *105 - *106 - *107 @@ -73317,8 +73541,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - *473 + - *474 - name: bypass_request_number in: path required: true @@ -73388,8 +73612,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - *473 + - *474 - name: bypass_request_number in: path required: true @@ -73460,8 +73684,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - *473 + - *474 - name: bypass_response_id in: path required: true @@ -73494,8 +73718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -73774,7 +73998,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &537 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73894,7 +74118,7 @@ paths: check. type: array items: *232 - deployment: &875 + deployment: &876 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74174,9 +74398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *472 - *473 - - &537 + - *474 + - &538 name: check_run_id description: The unique identifier of the check run. in: path @@ -74188,9 +74412,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: &538 + default: &539 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74290,9 +74514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *472 - *473 - - *537 + - *474 + - *538 requestBody: required: true content: @@ -74532,9 +74756,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: *538 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74554,9 +74778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *472 - *473 - - *537 + - *474 + - *538 - *17 - *19 responses: @@ -74651,9 +74875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *472 - *473 - - *537 + - *474 + - *538 responses: '201': description: Response @@ -74697,8 +74921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -74720,7 +74944,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &541 + schema: &542 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74806,12 +75030,12 @@ paths: type: string format: date-time nullable: true - head_commit: &908 + head_commit: &909 title: Simple Commit description: A commit. type: object - properties: *539 - required: *540 + properties: *540 + required: *541 latest_check_runs_count: type: integer check_runs_url: @@ -74839,7 +75063,7 @@ paths: - check_runs_url - pull_requests examples: - default: &542 + default: &543 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75130,9 +75354,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *541 + schema: *542 examples: - default: *542 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75151,8 +75375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -75461,9 +75685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *472 - *473 - - &543 + - *474 + - &544 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75475,9 +75699,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *542 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75500,17 +75724,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: - - *472 - *473 - - *543 - - &595 + - *474 + - *544 + - &596 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &596 + - &597 name: status description: Returns check runs with the specified `status`. in: query @@ -75549,9 +75773,9 @@ paths: type: integer check_runs: type: array - items: *536 + items: *537 examples: - default: &597 + default: &598 value: total_count: 1 check_runs: @@ -75653,9 +75877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *472 - *473 - - *543 + - *474 + - *544 responses: '201': description: Response @@ -75688,21 +75912,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *472 - *473 + - *474 - *324 - *325 - *19 - *17 - - &559 + - &560 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: *544 - - &560 + schema: *545 + - &561 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75733,7 +75957,7 @@ paths: be returned. in: query required: false - schema: *545 + schema: *546 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -75757,7 +75981,7 @@ paths: updated_at: *138 url: *135 html_url: *136 - instances_url: *546 + instances_url: *547 state: *115 fixed_at: *140 dismissed_by: @@ -75768,11 +75992,11 @@ paths: required: *21 nullable: true dismissed_at: *139 - dismissed_reason: *547 - dismissed_comment: *548 - rule: *549 - tool: *550 - most_recent_instance: *551 + dismissed_reason: *548 + dismissed_comment: *549 + rule: *550 + tool: *551 + most_recent_instance: *552 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -75898,7 +76122,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &552 + '403': &553 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -75925,9 +76149,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: - - *472 - *473 - - &553 + - *474 + - &554 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -75941,7 +76165,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &555 type: object properties: number: *130 @@ -75949,7 +76173,7 @@ paths: updated_at: *138 url: *135 html_url: *136 - instances_url: *546 + instances_url: *547 state: *115 fixed_at: *140 dismissed_by: @@ -75960,8 +76184,8 @@ paths: required: *21 nullable: true dismissed_at: *139 - dismissed_reason: *547 - dismissed_comment: *548 + dismissed_reason: *548 + dismissed_comment: *549 rule: type: object properties: @@ -76015,8 +76239,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *550 - most_recent_instance: *551 + tool: *551 + most_recent_instance: *552 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -76115,7 +76339,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *552 + '403': *553 '404': *6 '503': *198 x-github: @@ -76135,9 +76359,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: - - *472 - *473 - - *553 + - *474 + - *554 requestBody: required: true content: @@ -76152,8 +76376,8 @@ paths: enum: - open - dismissed - dismissed_reason: *547 - dismissed_comment: *548 + dismissed_reason: *548 + dismissed_comment: *549 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76181,7 +76405,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *555 examples: default: value: @@ -76257,7 +76481,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &558 + '403': &559 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76284,15 +76508,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *472 - *473 - - *553 + - *474 + - *554 responses: '200': description: Response content: application/json: - schema: &555 + schema: &556 type: object properties: status: @@ -76318,13 +76542,13 @@ paths: - description - started_at examples: - default: &556 + default: &557 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &557 + '400': &558 description: Bad Request content: application/json: @@ -76335,7 +76559,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *552 + '403': *553 '404': *6 '503': *198 x-github: @@ -76360,29 +76584,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *472 - *473 - - *553 + - *474 + - *554 responses: '200': description: OK content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '202': description: Accepted content: application/json: - schema: *555 + schema: *556 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *557 + '400': *558 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76414,9 +76638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *472 - *473 - - *553 + - *474 + - *554 requestBody: required: false content: @@ -76461,8 +76685,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *557 - '403': *558 + '400': *558 + '403': *559 '404': *6 '422': description: Unprocessable Entity @@ -76486,13 +76710,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: - - *472 - *473 - - *553 + - *474 + - *554 - *19 - *17 - - *559 - *560 + - *561 responses: '200': description: Response @@ -76503,10 +76727,10 @@ paths: items: type: object properties: - ref: *544 - analysis_key: *561 - environment: *562 - category: *563 + ref: *545 + analysis_key: *562 + environment: *563 + category: *564 state: type: string description: State of a code scanning alert instance. @@ -76521,7 +76745,7 @@ paths: properties: text: type: string - location: *564 + location: *565 html_url: type: string classifications: @@ -76529,7 +76753,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *565 + items: *566 examples: default: value: @@ -76566,7 +76790,7 @@ paths: end_column: 50 classifications: - source - '403': *552 + '403': *553 '404': *6 '503': *198 x-github: @@ -76600,25 +76824,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *472 - *473 + - *474 - *324 - *325 - *19 - *17 - - *560 + - *561 - 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: *544 + schema: *545 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &566 + schema: &567 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -76639,23 +76863,23 @@ paths: application/json: schema: type: array - items: &567 + items: &568 type: object properties: - ref: *544 - commit_sha: &575 + ref: *545 + commit_sha: &576 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: *561 + analysis_key: *562 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *563 + category: *564 error: type: string example: error reading field xyz @@ -76679,8 +76903,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *566 - tool: *550 + sarif_id: *567 + tool: *551 deletable: type: boolean warning: @@ -76741,7 +76965,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *552 + '403': *553 '404': *6 '503': *198 x-github: @@ -76777,8 +77001,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: - - *472 - *473 + - *474 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76791,7 +77015,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: response: summary: application/json response @@ -76845,7 +77069,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *552 + '403': *553 '404': *6 '422': description: Response if analysis could not be processed @@ -76932,8 +77156,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: - - *472 - *473 + - *474 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76986,7 +77210,7 @@ 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': *558 + '403': *559 '404': *6 '503': *198 x-github: @@ -77008,8 +77232,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -77017,7 +77241,7 @@ paths: application/json: schema: type: array - items: &568 + items: &569 title: CodeQL Database description: A CodeQL database. type: object @@ -77128,7 +77352,7 @@ 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': *552 + '403': *553 '404': *6 '503': *198 x-github: @@ -77157,8 +77381,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: - - *472 - *473 + - *474 - name: language in: path description: The language of the CodeQL database. @@ -77170,7 +77394,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *569 examples: default: value: @@ -77202,9 +77426,9 @@ 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': &604 + '302': &605 description: Found - '403': *552 + '403': *553 '404': *6 '503': *198 x-github: @@ -77226,8 +77450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *472 - *473 + - *474 - name: language in: path description: The language of the CodeQL database. @@ -77237,7 +77461,7 @@ paths: responses: '204': description: Response - '403': *558 + '403': *559 '404': *6 '503': *198 x-github: @@ -77265,8 +77489,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -77275,7 +77499,7 @@ paths: type: object additionalProperties: false properties: - language: &569 + language: &570 type: string description: The language targeted by the CodeQL query enum: @@ -77355,7 +77579,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &573 + schema: &574 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77365,7 +77589,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *569 + query_language: *570 query_pack_url: type: string description: The download url for the query pack. @@ -77412,7 +77636,7 @@ paths: items: type: object properties: - repository: &570 + repository: &571 title: Repository Identifier description: Repository Identifier type: object @@ -77448,7 +77672,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &574 + analysis_status: &575 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77480,7 +77704,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &571 + access_mismatch_repos: &572 type: object properties: repository_count: @@ -77494,7 +77718,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: *570 + items: *571 required: - repository_count - repositories @@ -77516,8 +77740,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *571 - over_limit_repos: *571 + no_codeql_db_repos: *572 + over_limit_repos: *572 required: - access_mismatch_repos - not_found_repos @@ -77533,7 +77757,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &572 + value: &573 summary: Default response value: id: 1 @@ -77679,10 +77903,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *572 + value: *573 repository_lists: summary: Response for a successful variant analysis submission - value: *572 + value: *573 '404': *6 '422': description: Unable to process variant analysis submission @@ -77710,8 +77934,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: - - *472 - *473 + - *474 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77723,9 +77947,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *572 + default: *573 '404': *6 '503': *198 x-github: @@ -77748,7 +77972,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: - - *472 + - *473 - name: repo in: path description: The name of the controller repository. @@ -77783,7 +78007,7 @@ paths: type: object properties: repository: *122 - analysis_status: *574 + analysis_status: *575 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -77908,8 +78132,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -77994,7 +78218,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *552 + '403': *553 '404': *6 '503': *198 x-github: @@ -78015,8 +78239,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -78108,7 +78332,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *558 + '403': *559 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78179,8 +78403,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -78188,7 +78412,7 @@ paths: schema: type: object properties: - commit_sha: *575 + commit_sha: *576 ref: type: string description: |- @@ -78246,7 +78470,7 @@ paths: schema: type: object properties: - id: *566 + id: *567 url: type: string description: The REST API URL for checking the status of the upload. @@ -78260,7 +78484,7 @@ 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': *558 + '403': *559 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78283,8 +78507,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: - - *472 - *473 + - *474 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78330,7 +78554,7 @@ 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': *552 + '403': *553 '404': description: Not Found if the sarif id does not match any upload '503': *198 @@ -78355,8 +78579,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -78437,8 +78661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *472 - *473 + - *474 - 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 @@ -78558,8 +78782,8 @@ paths: parameters: - *17 - *19 - - *472 - *473 + - *474 responses: '200': description: Response @@ -78575,7 +78799,7 @@ paths: type: integer codespaces: type: array - items: *390 + items: *391 examples: default: value: @@ -78873,8 +79097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -78937,17 +79161,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '400': *14 '401': *25 '403': *29 @@ -78976,8 +79200,8 @@ paths: parameters: - *17 - *19 - - *472 - *473 + - *474 responses: '200': description: Response @@ -79041,8 +79265,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: - - *472 - *473 + - *474 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79077,14 +79301,14 @@ paths: type: integer machines: type: array - items: &820 + items: &821 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *577 - required: *578 + properties: *578 + required: *579 examples: - default: &821 + default: &822 value: total_count: 2 machines: @@ -79124,8 +79348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *472 - *473 + - *474 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -79209,8 +79433,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: - - *472 - *473 + - *474 - 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 @@ -79276,8 +79500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -79295,7 +79519,7 @@ paths: type: integer secrets: type: array - items: &582 + items: &583 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79315,7 +79539,7 @@ paths: - created_at - updated_at examples: - default: *579 + default: *580 headers: Link: *47 x-github: @@ -79338,16 +79562,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79367,17 +79591,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 responses: '200': description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *583 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79397,8 +79621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 requestBody: required: true @@ -79451,8 +79675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 responses: '204': @@ -79481,8 +79705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *472 - *473 + - *474 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79524,7 +79748,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &584 + properties: &585 login: type: string example: octocat @@ -79617,7 +79841,7 @@ paths: user_view_type: type: string example: public - required: &585 + required: &586 - avatar_url - events_url - followers_url @@ -79691,8 +79915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *472 - *473 + - *474 - *145 responses: '204': @@ -79739,8 +79963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *472 - *473 + - *474 - *145 requestBody: required: false @@ -79767,7 +79991,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &663 + schema: &664 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79996,8 +80220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *472 - *473 + - *474 - *145 responses: '204': @@ -80029,8 +80253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *472 - *473 + - *474 - *145 responses: '200': @@ -80051,8 +80275,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - permission @@ -80107,8 +80331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -80118,7 +80342,7 @@ paths: application/json: schema: type: array - items: &586 + items: &587 title: Commit Comment description: Commit Comment type: object @@ -80176,7 +80400,7 @@ paths: - created_at - updated_at examples: - default: &591 + default: &592 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80235,17 +80459,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *472 - *473 + - *474 - *243 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: &592 + default: &593 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80302,8 +80526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *472 - *473 + - *474 - *243 requestBody: required: true @@ -80326,7 +80550,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: default: value: @@ -80377,8 +80601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *472 - *473 + - *474 - *243 responses: '204': @@ -80400,8 +80624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *472 - *473 + - *474 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80428,7 +80652,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -80471,7 +80695,7 @@ paths: - content - created_at examples: - default: &667 + default: &668 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80516,8 +80740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *472 - *473 + - *474 - *243 requestBody: required: true @@ -80550,9 +80774,9 @@ paths: description: Reaction exists content: application/json: - schema: *587 + schema: *588 examples: - default: &588 + default: &589 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80581,9 +80805,9 @@ paths: description: Reaction created content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '422': *15 x-github: githubCloudOnly: false @@ -80605,10 +80829,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *472 - *473 + - *474 - *243 - - &668 + - &669 name: reaction_id description: The unique identifier of the reaction. in: path @@ -80663,8 +80887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *472 - *473 + - *474 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80720,9 +80944,9 @@ paths: application/json: schema: type: array - items: *589 + items: *590 examples: - default: &720 + default: &721 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80816,9 +81040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *472 - *473 - - &590 + - *474 + - &591 name: commit_sha description: The SHA of the commit. in: path @@ -80890,9 +81114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *472 - *473 - - *590 + - *474 + - *591 - *17 - *19 responses: @@ -80902,9 +81126,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *591 + default: *592 headers: Link: *47 x-github: @@ -80932,9 +81156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *472 - *473 - - *590 + - *474 + - *591 requestBody: required: true content: @@ -80969,9 +81193,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *592 + default: *593 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80999,9 +81223,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: - - *472 - *473 - - *590 + - *474 + - *591 - *17 - *19 responses: @@ -81011,9 +81235,9 @@ paths: application/json: schema: type: array - items: *593 + items: *594 examples: - default: &712 + default: &713 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81550,11 +81774,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *472 - *473 + - *474 - *19 - *17 - - &594 + - &595 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)" @@ -81569,9 +81793,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: - default: &697 + default: &698 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81684,11 +81908,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: - - *472 - *473 - - *594 + - *474 - *595 - *596 + - *597 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81722,9 +81946,9 @@ paths: type: integer check_runs: type: array - items: *536 + items: *537 examples: - default: *597 + default: *598 headers: Link: *47 x-github: @@ -81749,9 +81973,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: - - *472 - *473 - - *594 + - *474 + - *595 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81759,7 +81983,7 @@ paths: schema: type: integer example: 1 - - *595 + - *596 - *17 - *19 responses: @@ -81777,7 +82001,7 @@ paths: type: integer check_suites: type: array - items: *541 + items: *542 examples: default: value: @@ -81977,9 +82201,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: - - *472 - *473 - - *594 + - *474 + - *595 - *17 - *19 responses: @@ -82177,9 +82401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *472 - *473 - - *594 + - *474 + - *595 - *17 - *19 responses: @@ -82189,7 +82413,7 @@ paths: application/json: schema: type: array - items: &773 + items: &774 title: Status description: The status of a commit. type: object @@ -82270,7 +82494,7 @@ paths: site_admin: false headers: Link: *47 - '301': *478 + '301': *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82298,8 +82522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -82328,20 +82552,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *598 - required: *599 + properties: *599 + required: *600 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &600 + properties: &601 url: type: string format: uri html_url: type: string format: uri - required: &601 + required: &602 - url - html_url nullable: true @@ -82355,26 +82579,26 @@ paths: contributing: title: Community Health File type: object - properties: *600 - required: *601 + properties: *601 + required: *602 nullable: true readme: title: Community Health File type: object - properties: *600 - required: *601 + properties: *601 + required: *602 nullable: true issue_template: title: Community Health File type: object - properties: *600 - required: *601 + properties: *601 + required: *602 nullable: true pull_request_template: title: Community Health File type: object - properties: *600 - required: *601 + properties: *601 + required: *602 nullable: true required: - code_of_conduct @@ -82501,8 +82725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *472 - *473 + - *474 - *19 - *17 - name: basehead @@ -82545,8 +82769,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *589 - merge_base_commit: *589 + base_commit: *590 + merge_base_commit: *590 status: type: string enum: @@ -82566,10 +82790,10 @@ paths: example: 6 commits: type: array - items: *589 + items: *590 files: type: array - items: *602 + items: *603 required: - url - html_url @@ -82855,8 +83079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *472 - *473 + - *474 - name: path description: path parameter in: path @@ -83016,7 +83240,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &603 + response-if-content-is-a-file-github-object: &604 summary: Response if content is a file value: type: file @@ -83148,7 +83372,7 @@ paths: - size - type - url - - &725 + - &726 title: Content File description: Content File type: object @@ -83349,7 +83573,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *603 + response-if-content-is-a-file: *604 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83418,7 +83642,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *604 + '302': *605 '304': *37 x-github: githubCloudOnly: false @@ -83441,8 +83665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *472 - *473 + - *474 - name: path description: path parameter in: path @@ -83535,7 +83759,7 @@ paths: description: Response content: application/json: - schema: &605 + schema: &606 title: File Commit description: File Commit type: object @@ -83687,7 +83911,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: example-for-creating-a-file: value: @@ -83741,7 +83965,7 @@ paths: schema: oneOf: - *3 - - &646 + - &647 description: Repository rule violation was detected type: object properties: @@ -83762,7 +83986,7 @@ paths: items: type: object properties: - placeholder_id: &765 + placeholder_id: &766 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83794,8 +84018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *472 - *473 + - *474 - name: path description: path parameter in: path @@ -83856,7 +84080,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -83911,8 +84135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *472 - *473 + - *474 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84035,8 +84259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *472 - *473 + - *474 - *341 - *342 - *343 @@ -84048,7 +84272,7 @@ paths: schema: type: string - *345 - - *606 + - *607 - *346 - *347 - *348 @@ -84063,7 +84287,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 type: object description: A Dependabot alert. properties: @@ -84109,7 +84333,7 @@ paths: - unknown - direct - transitive - security_advisory: *607 + security_advisory: *608 security_vulnerability: *134 url: *135 html_url: *136 @@ -84140,8 +84364,8 @@ paths: nullable: true maxLength: 280 fixed_at: *140 - auto_dismissed_at: *608 - dismissal_request: *609 + auto_dismissed_at: *609 + dismissal_request: *610 assignees: type: array description: The users assigned to this alert. @@ -84396,9 +84620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *472 - *473 - - &611 + - *474 + - &612 name: alert_number in: path description: |- @@ -84413,7 +84637,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: default: value: @@ -84545,9 +84769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *472 - *473 - - *611 + - *474 + - *612 requestBody: required: true content: @@ -84603,7 +84827,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: default: value: @@ -84733,8 +84957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -84752,7 +84976,7 @@ paths: type: integer secrets: type: array - items: &614 + items: &615 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84805,16 +85029,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84834,15 +85058,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 responses: '200': description: Response content: application/json: - schema: *614 + schema: *615 examples: default: value: @@ -84868,8 +85092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 requestBody: required: true @@ -84922,8 +85146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *472 - *473 + - *474 - *301 responses: '204': @@ -84946,8 +85170,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: - - *472 - *473 + - *474 - 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 @@ -85107,8 +85331,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -85347,8 +85571,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -85423,7 +85647,7 @@ paths: - version - url additionalProperties: false - metadata: &615 + metadata: &616 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85456,7 +85680,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *615 + metadata: *616 resolved: type: object description: A collection of resolved package dependencies. @@ -85469,7 +85693,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *615 + metadata: *616 relationship: type: string description: A notation of whether a dependency is requested @@ -85598,8 +85822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *472 - *473 + - *474 - name: sha description: The SHA recorded at creation time. in: query @@ -85639,9 +85863,9 @@ paths: application/json: schema: type: array - items: *616 + items: *617 examples: - default: *617 + default: *618 headers: Link: *47 x-github: @@ -85707,8 +85931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -85789,7 +86013,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: simple-example: summary: Simple example @@ -85862,9 +86086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *472 - *473 - - &618 + - *474 + - &619 name: deployment_id description: deployment_id parameter in: path @@ -85876,7 +86100,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: default: value: @@ -85941,9 +86165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *472 - *473 - - *618 + - *474 + - *619 responses: '204': description: Response @@ -85965,9 +86189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *472 - *473 - - *618 + - *474 + - *619 - *17 - *19 responses: @@ -85977,7 +86201,7 @@ paths: application/json: schema: type: array - items: &619 + items: &620 title: Deployment Status description: The status of a deployment. type: object @@ -86138,9 +86362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *472 - *473 - - *618 + - *474 + - *619 requestBody: required: true content: @@ -86215,9 +86439,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *620 examples: - default: &620 + default: &621 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86273,9 +86497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *472 - *473 - - *618 + - *474 + - *619 - name: status_id in: path required: true @@ -86286,9 +86510,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *620 examples: - default: *620 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -86315,12 +86539,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - *473 - - *621 + - *474 - *622 - *623 - *624 + - *625 - *17 - *19 responses: @@ -86330,9 +86554,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *626 + default: *627 '404': *6 '403': *29 '500': *40 @@ -86356,8 +86580,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - name: alert_number in: path required: true @@ -86369,7 +86593,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -86425,8 +86649,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - name: alert_number in: path required: true @@ -86485,12 +86709,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *472 - *473 - - *621 + - *474 - *622 - *623 - *624 + - *625 - *17 - *19 responses: @@ -86500,9 +86724,9 @@ paths: application/json: schema: type: array - items: *627 + items: *628 examples: - default: *628 + default: *629 '404': *6 '403': *29 '500': *40 @@ -86526,8 +86750,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - name: alert_number in: path required: true @@ -86539,7 +86763,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *627 + schema: *628 examples: default: value: @@ -86590,8 +86814,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - name: alert_number in: path required: true @@ -86629,7 +86853,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *627 + schema: *628 examples: default: value: @@ -86680,8 +86904,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - name: alert_number in: path required: true @@ -86752,8 +86976,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - name: alert_number in: path required: true @@ -86786,8 +87010,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - *105 - *106 - *107 @@ -86801,9 +87025,9 @@ paths: application/json: schema: type: array - items: *629 + items: *630 examples: - default: *630 + default: *631 '404': *6 '403': *29 '500': *40 @@ -86828,8 +87052,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - name: alert_number in: path required: true @@ -86841,7 +87065,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *629 + schema: *630 examples: default: value: @@ -86899,8 +87123,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - *473 + - *474 - name: alert_number in: path required: true @@ -86969,8 +87193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -87027,8 +87251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -87045,7 +87269,7 @@ paths: type: integer environments: type: array - items: &632 + items: &633 title: Environment description: Details of a deployment environment type: object @@ -87097,7 +87321,7 @@ paths: type: type: string example: wait_timer - wait_timer: &634 + wait_timer: &635 type: integer example: 30 description: The amount of time to delay a job after @@ -87134,7 +87358,7 @@ paths: items: type: object properties: - type: *631 + type: *632 reviewer: anyOf: - *4 @@ -87158,7 +87382,7 @@ paths: - id - node_id - type - deployment_branch_policy: &635 + deployment_branch_policy: &636 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -87274,9 +87498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *472 - *473 - - &633 + - *474 + - &634 name: environment_name in: path required: true @@ -87289,9 +87513,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &636 + default: &637 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87375,9 +87599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *472 - *473 - - *633 + - *474 + - *634 requestBody: required: false content: @@ -87386,7 +87610,7 @@ paths: type: object nullable: true properties: - wait_timer: *634 + wait_timer: *635 prevent_self_review: type: boolean example: false @@ -87403,13 +87627,13 @@ paths: items: type: object properties: - type: *631 + type: *632 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *635 + deployment_branch_policy: *636 additionalProperties: false examples: default: @@ -87429,9 +87653,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *636 + default: *637 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87455,9 +87679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *472 - *473 - - *633 + - *474 + - *634 responses: '204': description: Default response @@ -87482,9 +87706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *472 - *473 - - *633 + - *474 + - *634 - *17 - *19 responses: @@ -87502,7 +87726,7 @@ paths: example: 2 branch_policies: type: array - items: &637 + items: &638 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87559,9 +87783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *472 - *473 - - *633 + - *474 + - *634 requestBody: required: true content: @@ -87607,9 +87831,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - example-wildcard: &638 + example-wildcard: &639 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87651,10 +87875,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *472 - *473 - - *633 - - &639 + - *474 + - *634 + - &640 name: branch_policy_id in: path required: true @@ -87666,9 +87890,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87687,10 +87911,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *472 - *473 - - *633 - - *639 + - *474 + - *634 + - *640 requestBody: required: true content: @@ -87718,9 +87942,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87739,10 +87963,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *472 - *473 - - *633 - - *639 + - *474 + - *634 + - *640 responses: '204': description: Response @@ -87767,9 +87991,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: - - *633 + - *634 + - *474 - *473 - - *472 responses: '200': description: List of deployment protection rules @@ -87785,7 +88009,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &640 + items: &641 title: Deployment protection rule description: Deployment protection rule type: object @@ -87804,7 +88028,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &641 + app: &642 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -87903,9 +88127,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: - - *633 + - *634 + - *474 - *473 - - *472 requestBody: content: application/json: @@ -87926,9 +88150,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *640 + schema: *641 examples: - default: &642 + default: &643 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -87963,9 +88187,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: - - *633 + - *634 + - *474 - *473 - - *472 - *19 - *17 responses: @@ -87984,7 +88208,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *641 + items: *642 examples: default: value: @@ -88019,10 +88243,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: - - *472 - *473 - - *633 - - &643 + - *474 + - *634 + - &644 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -88034,9 +88258,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *642 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88057,10 +88281,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: - - *633 + - *634 + - *474 - *473 - - *472 - - *643 + - *644 responses: '204': description: Response @@ -88086,9 +88310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *472 - *473 - - *633 + - *474 + - *634 - *17 - *19 responses: @@ -88106,9 +88330,9 @@ paths: type: integer secrets: type: array - items: *503 + items: *504 examples: - default: *504 + default: *505 headers: Link: *47 x-github: @@ -88133,17 +88357,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *472 - *473 - - *633 + - *474 + - *634 responses: '200': description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *506 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88165,18 +88389,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *472 - *473 - - *633 + - *474 + - *634 - *301 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88198,9 +88422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *472 - *473 - - *633 + - *474 + - *634 - *301 requestBody: required: true @@ -88258,9 +88482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *472 - *473 - - *633 + - *474 + - *634 - *301 responses: '204': @@ -88286,10 +88510,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *472 - *473 - - *633 - - *490 + - *474 + - *634 + - *491 - *19 responses: '200': @@ -88306,9 +88530,9 @@ paths: type: integer variables: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *47 x-github: @@ -88331,9 +88555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *472 - *473 - - *633 + - *474 + - *634 requestBody: required: true content: @@ -88385,18 +88609,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *472 - *473 - - *633 + - *474 + - *634 - *304 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *645 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88417,10 +88641,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *472 - *473 + - *474 - *304 - - *633 + - *634 requestBody: required: true content: @@ -88462,10 +88686,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *472 - *473 + - *474 - *304 - - *633 + - *634 responses: '204': description: Response @@ -88487,8 +88711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -88556,8 +88780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *472 - *473 + - *474 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88716,8 +88940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *472 - *473 + - *474 requestBody: required: false content: @@ -88749,9 +88973,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *479 + default: *480 '400': *14 '422': *15 '403': *29 @@ -88772,8 +88996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -88833,7 +89057,7 @@ paths: schema: oneOf: - *265 - - *646 + - *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88858,8 +89082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *472 - *473 + - *474 - name: file_sha in: path required: true @@ -88958,8 +89182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -89068,7 +89292,7 @@ paths: description: Response content: application/json: - schema: &647 + schema: &648 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89282,15 +89506,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *472 - *473 - - *590 + - *474 + - *591 responses: '200': description: Response content: application/json: - schema: *647 + schema: *648 examples: default: value: @@ -89346,9 +89570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *472 - *473 - - &648 + - *474 + - &649 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. @@ -89365,7 +89589,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 title: Git Reference description: Git references within a repository type: object @@ -89440,17 +89664,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *472 - *473 - - *648 + - *474 + - *649 responses: '200': description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: &650 + default: &651 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89479,8 +89703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -89509,9 +89733,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: *650 + default: *651 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89537,9 +89761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *472 - *473 - - *648 + - *474 + - *649 requestBody: required: true content: @@ -89568,9 +89792,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: *650 + default: *651 '422': *15 '409': *121 x-github: @@ -89588,9 +89812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *472 - *473 - - *648 + - *474 + - *649 responses: '204': description: Response @@ -89645,8 +89869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -89713,7 +89937,7 @@ paths: description: Response content: application/json: - schema: &652 + schema: &653 title: Git Tag description: Metadata for a Git tag type: object @@ -89764,7 +89988,7 @@ paths: - sha - type - url - verification: *651 + verification: *652 required: - sha - url @@ -89774,7 +89998,7 @@ paths: - tag - message examples: - default: &653 + default: &654 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89847,8 +90071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *472 - *473 + - *474 - name: tag_sha in: path required: true @@ -89859,9 +90083,9 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: - default: *653 + default: *654 '404': *6 '409': *121 x-github: @@ -89885,8 +90109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -89959,7 +90183,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &655 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -90055,8 +90279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *472 - *473 + - *474 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -90079,7 +90303,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: default-response: summary: Default response @@ -90138,8 +90362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -90149,7 +90373,7 @@ paths: application/json: schema: type: array - items: &655 + items: &656 title: Webhook description: Webhooks for repositories. type: object @@ -90203,7 +90427,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &916 + last_response: &917 title: Hook Response type: object properties: @@ -90277,8 +90501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *472 - *473 + - *474 requestBody: required: false content: @@ -90330,9 +90554,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: &656 + default: &657 value: type: Repository id: 12345678 @@ -90380,17 +90604,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *472 - *473 + - *474 - *358 responses: '200': description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: *656 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -90410,8 +90634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *472 - *473 + - *474 - *358 requestBody: required: true @@ -90457,9 +90681,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: *656 + default: *657 '422': *15 '404': *6 x-github: @@ -90480,8 +90704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *472 - *473 + - *474 - *358 responses: '204': @@ -90506,8 +90730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *472 - *473 + - *474 - *358 responses: '200': @@ -90535,8 +90759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *472 - *473 + - *474 - *358 requestBody: required: false @@ -90581,11 +90805,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *472 - *473 + - *474 - *358 - *17 - *359 + - *360 responses: '200': description: Response @@ -90593,9 +90818,9 @@ paths: application/json: schema: type: array - items: *360 + items: *361 examples: - default: *361 + default: *362 '400': *14 '422': *15 x-github: @@ -90614,8 +90839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *472 - *473 + - *474 - *358 - *16 responses: @@ -90623,9 +90848,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '400': *14 '422': *15 x-github: @@ -90644,8 +90869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *472 - *473 + - *474 - *358 - *16 responses: @@ -90669,8 +90894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *472 - *473 + - *474 - *358 responses: '204': @@ -90696,8 +90921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *472 - *473 + - *474 - *358 responses: '204': @@ -90721,8 +90946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response if immutable releases are enabled @@ -90768,8 +90993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *472 - *473 + - *474 responses: '204': *157 '409': *121 @@ -90789,8 +91014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *472 - *473 + - *474 responses: '204': *157 '409': *121 @@ -90847,14 +91072,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &657 + schema: &658 title: Import description: A repository import from an external source. type: object @@ -90953,7 +91178,7 @@ paths: - html_url - authors_url examples: - default: &660 + default: &661 value: vcs: subversion use_lfs: true @@ -90969,7 +91194,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': &658 + '503': &659 description: Unavailable due to service under maintenance. content: application/json: @@ -90998,8 +91223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -91047,7 +91272,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -91072,7 +91297,7 @@ paths: type: string '422': *15 '404': *6 - '503': *658 + '503': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91100,8 +91325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *472 - *473 + - *474 requestBody: required: false content: @@ -91150,7 +91375,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: example-1: summary: Example 1 @@ -91198,7 +91423,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': *658 + '503': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91221,12 +91446,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *472 - *473 + - *474 responses: '204': description: Response - '503': *658 + '503': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91252,9 +91477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *472 - *473 - - &842 + - *474 + - &843 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -91268,7 +91493,7 @@ paths: application/json: schema: type: array - items: &659 + items: &660 title: Porter Author description: Porter Author type: object @@ -91322,7 +91547,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': *658 + '503': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91347,8 +91572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *472 - *473 + - *474 - name: author_id in: path required: true @@ -91378,7 +91603,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: default: value: @@ -91391,7 +91616,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *658 + '503': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91415,8 +91640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -91457,7 +91682,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *658 + '503': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91485,8 +91710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -91513,11 +91738,11 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: - default: *660 + default: *661 '422': *15 - '503': *658 + '503': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91540,8 +91765,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -91549,8 +91774,8 @@ paths: application/json: schema: *22 examples: - default: *375 - '301': *478 + default: *376 + '301': *479 '404': *6 x-github: githubCloudOnly: false @@ -91570,8 +91795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -91579,12 +91804,12 @@ paths: application/json: schema: anyOf: - - *377 + - *378 - type: object properties: {} additionalProperties: false examples: - default: &662 + default: &663 value: limit: collaborators_only origin: repository @@ -91609,13 +91834,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *472 - *473 + - *474 requestBody: required: true content: application/json: - schema: *661 + schema: *662 examples: default: summary: Example request body @@ -91627,9 +91852,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *662 + default: *663 '409': description: Response x-github: @@ -91651,8 +91876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -91675,8 +91900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -91686,9 +91911,9 @@ paths: application/json: schema: type: array - items: *663 + items: *664 examples: - default: &835 + default: &836 value: - id: 1 repository: @@ -91819,9 +92044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *472 - *473 - - *381 + - *474 + - *382 requestBody: required: false content: @@ -91850,7 +92075,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: default: value: @@ -91981,9 +92206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *472 - *473 - - *381 + - *474 + - *382 responses: '204': description: Response @@ -92014,8 +92239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *472 - *473 + - *474 - 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 @@ -92063,7 +92288,7 @@ paths: required: false schema: type: string - - *388 + - *389 - name: sort description: What to sort results by. in: query @@ -92088,7 +92313,7 @@ paths: type: array items: *227 examples: - default: &675 + default: &676 value: - id: 1 node_id: MDU6SXNzdWUx @@ -92237,7 +92462,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *478 + '301': *479 '422': *15 '404': *6 x-github: @@ -92266,8 +92491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -92351,7 +92576,7 @@ paths: application/json: schema: *227 examples: - default: &672 + default: &673 value: id: 1 node_id: MDU6SXNzdWUx @@ -92508,7 +92733,7 @@ paths: '422': *15 '503': *198 '404': *6 - '410': *664 + '410': *665 x-github: triggersNotification: true githubCloudOnly: false @@ -92536,8 +92761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *472 - *473 + - *474 - *251 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92558,9 +92783,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: &674 + default: &675 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92618,17 +92843,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *472 - *473 + - *474 - *243 responses: '200': description: Response content: application/json: - schema: *665 + schema: *666 examples: - default: &666 + default: &667 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92683,8 +92908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *472 - *473 + - *474 - *243 requestBody: required: true @@ -92707,9 +92932,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: - default: *666 + default: *667 '422': *15 x-github: githubCloudOnly: false @@ -92727,8 +92952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *472 - *473 + - *474 - *243 responses: '204': @@ -92757,15 +92982,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *472 - *473 + - *474 - *243 responses: '200': description: Response content: application/json: - schema: *665 + schema: *666 examples: default: value: @@ -92821,7 +93046,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *664 + '410': *665 '422': *15 x-github: githubCloudOnly: false @@ -92838,8 +93063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *472 - *473 + - *474 - *243 responses: '204': @@ -92847,7 +93072,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *664 + '410': *665 '503': *198 x-github: githubCloudOnly: false @@ -92865,8 +93090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *472 - *473 + - *474 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -92893,9 +93118,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *667 + default: *668 headers: Link: *47 '404': *6 @@ -92916,8 +93141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *472 - *473 + - *474 - *243 requestBody: required: true @@ -92950,16 +93175,16 @@ paths: description: Reaction exists content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '201': description: Reaction created content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '422': *15 x-github: githubCloudOnly: false @@ -92981,10 +93206,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *472 - *473 + - *474 - *243 - - *668 + - *669 responses: '204': description: Response @@ -93004,8 +93229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -93015,7 +93240,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: Issue Event description: Issue Event type: object @@ -93058,8 +93283,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *669 - required: *670 + properties: *670 + required: *671 nullable: true label: title: Issue Event Label @@ -93367,8 +93592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *472 - *473 + - *474 - name: event_id in: path required: true @@ -93379,7 +93604,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: default: value: @@ -93572,7 +93797,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *664 + '410': *665 '403': *29 x-github: githubCloudOnly: false @@ -93606,9 +93831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *472 - *473 - - &673 + - *474 + - &674 name: issue_number description: The number that identifies the issue. in: path @@ -93624,7 +93849,7 @@ paths: examples: default: summary: Issue - value: *672 + value: *673 pinned_comment: summary: Issue with pinned comment value: @@ -93823,9 +94048,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *478 + '301': *479 '404': *6 - '410': *664 + '410': *665 '304': *37 x-github: githubCloudOnly: false @@ -93850,9 +94075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: false content: @@ -93978,13 +94203,13 @@ paths: application/json: schema: *227 examples: - default: *672 + default: *673 '422': *15 '503': *198 '403': *29 - '301': *478 + '301': *479 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94002,9 +94227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: false content: @@ -94032,7 +94257,7 @@ paths: application/json: schema: *227 examples: - default: *672 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94048,9 +94273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: content: application/json: @@ -94077,7 +94302,7 @@ paths: application/json: schema: *227 examples: - default: *672 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94099,9 +94324,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: - - *472 - *473 - - *673 + - *474 + - *674 - name: assignee in: path required: true @@ -94141,9 +94366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *472 - *473 - - *673 + - *474 + - *674 - *234 - *17 - *19 @@ -94154,13 +94379,13 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *674 + default: *675 headers: Link: *47 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94189,9 +94414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: true content: @@ -94213,16 +94438,16 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: - default: *666 + default: *667 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *664 + '410': *665 '422': *15 '404': *6 x-github: @@ -94250,9 +94475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *472 - *473 - - *673 + - *474 + - *674 - *17 - *19 responses: @@ -94264,12 +94489,12 @@ paths: type: array items: *227 examples: - default: *675 + default: *676 headers: Link: *47 - '301': *478 + '301': *479 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94297,9 +94522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: true content: @@ -94323,15 +94548,15 @@ paths: application/json: schema: *227 examples: - default: *672 + default: *673 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *478 + '301': *479 '403': *29 - '410': *664 + '410': *665 '422': *15 '404': *6 x-github: @@ -94362,9 +94587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *472 - *473 - - *673 + - *474 + - *674 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -94378,13 +94603,13 @@ paths: application/json: schema: *227 examples: - default: *672 - '301': *478 + default: *673 + '301': *479 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *664 + '410': *665 x-github: triggersNotification: true githubCloudOnly: false @@ -94410,9 +94635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *472 - *473 - - *673 + - *474 + - *674 - *17 - *19 responses: @@ -94424,12 +94649,12 @@ paths: type: array items: *227 examples: - default: *675 + default: *676 headers: Link: *47 - '301': *478 + '301': *479 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94446,9 +94671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *472 - *473 - - *673 + - *474 + - *674 - *17 - *19 responses: @@ -94462,7 +94687,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &678 + - &679 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94516,7 +94741,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &680 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -94652,7 +94877,7 @@ paths: - performed_via_github_app - assignee - assigner - - &680 + - &681 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -94703,7 +94928,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &682 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -94754,7 +94979,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &683 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -94808,7 +95033,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &684 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -94855,7 +95080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &685 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -94902,7 +95127,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &686 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -94962,7 +95187,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &686 + - &687 title: Locked Issue Event description: Locked Issue Event type: object @@ -95010,7 +95235,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &687 + - &688 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -95076,7 +95301,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &688 + - &689 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -95142,7 +95367,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &689 + - &690 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -95208,7 +95433,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &690 + - &691 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -95299,7 +95524,7 @@ paths: color: red headers: Link: *47 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95316,9 +95541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 - *17 - *19 responses: @@ -95328,9 +95553,9 @@ paths: application/json: schema: type: array - items: *676 + items: *677 examples: - default: &779 + default: &780 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -95354,9 +95579,9 @@ paths: value: '2025-12-25' headers: Link: *47 - '301': *478 + '301': *479 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95373,9 +95598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 - *17 - *19 responses: @@ -95387,7 +95612,7 @@ paths: type: array items: *226 examples: - default: &677 + default: &678 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95405,9 +95630,9 @@ paths: default: false headers: Link: *47 - '301': *478 + '301': *479 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95423,9 +95648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: false content: @@ -95470,10 +95695,10 @@ paths: type: array items: *226 examples: - default: *677 - '301': *478 + default: *678 + '301': *479 '404': *6 - '410': *664 + '410': *665 '422': *15 x-github: githubCloudOnly: false @@ -95490,9 +95715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: false content: @@ -95554,10 +95779,10 @@ paths: type: array items: *226 examples: - default: *677 - '301': *478 + default: *678 + '301': *479 '404': *6 - '410': *664 + '410': *665 '422': *15 x-github: githubCloudOnly: false @@ -95574,15 +95799,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 responses: '204': description: Response - '301': *478 + '301': *479 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95601,9 +95826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 - name: name in: path required: true @@ -95627,9 +95852,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *478 + '301': *479 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95649,9 +95874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: false content: @@ -95679,7 +95904,7 @@ paths: '204': description: Response '403': *29 - '410': *664 + '410': *665 '404': *6 '422': *15 x-github: @@ -95697,9 +95922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 responses: '204': description: Response @@ -95729,9 +95954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 responses: '200': description: Response @@ -95739,10 +95964,10 @@ paths: application/json: schema: *227 examples: - default: *672 - '301': *478 + default: *673 + '301': *479 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95759,9 +95984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 - 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. @@ -95787,13 +96012,13 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *667 + default: *668 headers: Link: *47 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95811,9 +96036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: true content: @@ -95845,16 +96070,16 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '201': description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '422': *15 x-github: githubCloudOnly: false @@ -95876,10 +96101,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *472 - *473 - - *673 - - *668 + - *474 + - *674 + - *669 responses: '204': description: Response @@ -95908,9 +96133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: true content: @@ -95934,7 +96159,7 @@ paths: application/json: schema: *227 examples: - default: *672 + default: *673 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -95967,9 +96192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *472 - *473 - - *673 + - *474 + - *674 - *17 - *19 responses: @@ -95981,11 +96206,11 @@ paths: type: array items: *227 examples: - default: *675 + default: *676 headers: Link: *47 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96013,9 +96238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: true content: @@ -96044,14 +96269,14 @@ paths: application/json: schema: *227 examples: - default: *672 + default: *673 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *664 + '410': *665 '422': *15 '404': *6 x-github: @@ -96071,9 +96296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 requestBody: required: true content: @@ -96106,7 +96331,7 @@ paths: application/json: schema: *227 examples: - default: *672 + default: *673 '403': *29 '404': *6 '422': *7 @@ -96128,9 +96353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *472 - *473 - - *673 + - *474 + - *674 - *17 - *19 responses: @@ -96145,7 +96370,6 @@ paths: description: Timeline Event type: object anyOf: - - *678 - *679 - *680 - *681 @@ -96158,6 +96382,7 @@ paths: - *688 - *689 - *690 + - *691 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -96218,8 +96443,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *691 - required: *692 + properties: *692 + required: *693 nullable: true required: - event @@ -96474,7 +96699,7 @@ paths: type: string comments: type: array - items: &714 + items: &715 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96689,7 +96914,7 @@ paths: type: string comments: type: array - items: *586 + items: *587 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -96978,7 +97203,7 @@ paths: headers: Link: *47 '404': *6 - '410': *664 + '410': *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96995,8 +97220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -97006,7 +97231,7 @@ paths: application/json: schema: type: array - items: &693 + items: &694 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -97072,8 +97297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -97109,9 +97334,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: - default: &694 + default: &695 value: id: 1 key: ssh-rsa AAA... @@ -97145,9 +97370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *472 - *473 - - &695 + - *474 + - &696 name: key_id description: The unique identifier of the key. in: path @@ -97159,9 +97384,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: - default: *694 + default: *695 '404': *6 x-github: githubCloudOnly: false @@ -97179,9 +97404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *472 - *473 - - *695 + - *474 + - *696 responses: '204': description: Response @@ -97201,8 +97426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -97214,7 +97439,7 @@ paths: type: array items: *226 examples: - default: *677 + default: *678 headers: Link: *47 '404': *6 @@ -97235,8 +97460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -97274,7 +97499,7 @@ paths: application/json: schema: *226 examples: - default: &696 + default: &697 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97306,8 +97531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *472 - *473 + - *474 - name: name in: path required: true @@ -97320,7 +97545,7 @@ paths: application/json: schema: *226 examples: - default: *696 + default: *697 '404': *6 x-github: githubCloudOnly: false @@ -97337,8 +97562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *472 - *473 + - *474 - name: name in: path required: true @@ -97403,8 +97628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *472 - *473 + - *474 - name: name in: path required: true @@ -97430,8 +97655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -97467,8 +97692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *472 - *473 + - *474 responses: '202': *39 '403': @@ -97496,8 +97721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -97523,9 +97748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *472 - *473 - - *559 + - *474 + - *560 responses: '200': description: Response @@ -97670,8 +97895,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -97736,8 +97961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -97771,9 +97996,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *589 + schema: *590 examples: - default: *697 + default: *698 '204': description: Response when already merged '404': @@ -97798,8 +98023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *472 - *473 + - *474 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -97840,12 +98065,12 @@ paths: application/json: schema: type: array - items: &698 + items: &699 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *420 - required: *421 + properties: *421 + required: *422 examples: default: value: @@ -97901,8 +98126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -97942,9 +98167,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: &699 + default: &700 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -98003,9 +98228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *472 - *473 - - &700 + - *474 + - &701 name: milestone_number description: The number that identifies the milestone. in: path @@ -98017,9 +98242,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '404': *6 x-github: githubCloudOnly: false @@ -98036,9 +98261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *472 - *473 - - *700 + - *474 + - *701 requestBody: required: false content: @@ -98076,9 +98301,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98094,9 +98319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *472 - *473 - - *700 + - *474 + - *701 responses: '204': description: Response @@ -98117,9 +98342,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: - - *472 - *473 - - *700 + - *474 + - *701 - *17 - *19 responses: @@ -98131,7 +98356,7 @@ paths: type: array items: *226 examples: - default: *677 + default: *678 headers: Link: *47 x-github: @@ -98150,12 +98375,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: - - *472 - *473 - - *701 + - *474 - *702 - - *234 - *703 + - *234 + - *704 - *17 - *19 responses: @@ -98167,7 +98392,7 @@ paths: type: array items: *254 examples: - default: *704 + default: *705 headers: Link: *47 x-github: @@ -98191,8 +98416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *472 - *473 + - *474 requestBody: required: false content: @@ -98250,14 +98475,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &705 + schema: &706 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -98382,7 +98607,7 @@ paths: - custom_404 - public examples: - default: &706 + default: &707 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -98423,8 +98648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -98478,9 +98703,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: *706 + default: *707 '422': *15 '409': *121 x-github: @@ -98503,8 +98728,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -98611,8 +98836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -98638,8 +98863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -98649,7 +98874,7 @@ paths: application/json: schema: type: array - items: &707 + items: &708 title: Page Build description: Page Build type: object @@ -98743,8 +98968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *472 - *473 + - *474 responses: '201': description: Response @@ -98789,16 +99014,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: &708 + default: &709 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -98846,8 +99071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *472 - *473 + - *474 - name: build_id in: path required: true @@ -98858,9 +99083,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: *708 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98880,8 +99105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -98986,9 +99211,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: - - *472 - *473 - - &709 + - *474 + - &710 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -99046,9 +99271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *472 - *473 - - *709 + - *474 + - *710 responses: '204': *157 '404': *6 @@ -99075,8 +99300,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -99334,8 +99559,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: - - *472 - *473 + - *474 responses: '200': description: Private vulnerability reporting status @@ -99372,8 +99597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *472 - *473 + - *474 responses: '204': *157 '422': *14 @@ -99394,8 +99619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *472 - *473 + - *474 responses: '204': *157 '422': *14 @@ -99417,8 +99642,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -99428,7 +99653,7 @@ paths: type: array items: *158 examples: - default: *710 + default: *711 '403': *29 '404': *6 x-github: @@ -99450,8 +99675,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -99467,7 +99692,7 @@ paths: required: - properties examples: - default: *711 + default: *712 responses: '204': description: No Content when custom property values are successfully created @@ -99505,8 +99730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *472 - *473 + - *474 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99566,9 +99791,9 @@ paths: application/json: schema: type: array - items: *593 + items: *594 examples: - default: *712 + default: *713 headers: Link: *47 '304': *37 @@ -99600,8 +99825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -99666,7 +99891,7 @@ paths: description: Response content: application/json: - schema: &716 + schema: &717 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -99777,8 +100002,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *420 - required: *421 + properties: *421 + required: *422 nullable: true active_lock_reason: type: string @@ -99821,7 +100046,7 @@ paths: items: *4 requested_teams: type: array - items: *456 + items: *457 head: type: object properties: @@ -99859,14 +100084,14 @@ paths: _links: type: object properties: - comments: *422 - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + comments: *423 + commits: *423 + statuses: *423 + html: *423 + issue: *423 + review_comments: *423 + review_comment: *423 + self: *423 required: - comments - commits @@ -99877,7 +100102,7 @@ paths: - review_comment - self author_association: *224 - auto_merge: *713 + auto_merge: *714 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -99969,7 +100194,7 @@ paths: - merged_by - review_comments examples: - default: &717 + default: &718 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100496,8 +100721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *472 - *473 + - *474 - name: sort in: query required: false @@ -100526,9 +100751,9 @@ paths: application/json: schema: type: array - items: *714 + items: *715 examples: - default: &719 + default: &720 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100605,17 +100830,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: - - *472 - *473 + - *474 - *243 responses: '200': description: Response content: application/json: - schema: *714 + schema: *715 examples: - default: &715 + default: &716 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100690,8 +100915,8 @@ 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: - - *472 - *473 + - *474 - *243 requestBody: required: true @@ -100714,9 +100939,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *715 examples: - default: *715 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100732,8 +100957,8 @@ 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: - - *472 - *473 + - *474 - *243 responses: '204': @@ -100755,8 +100980,8 @@ 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: - - *472 - *473 + - *474 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100783,9 +101008,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *667 + default: *668 headers: Link: *47 '404': *6 @@ -100806,8 +101031,8 @@ 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: - - *472 - *473 + - *474 - *243 requestBody: required: true @@ -100840,16 +101065,16 @@ paths: description: Reaction exists content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '201': description: Reaction created content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '422': *15 x-github: githubCloudOnly: false @@ -100871,10 +101096,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *472 - *473 + - *474 - *243 - - *668 + - *669 responses: '204': description: Response @@ -100917,9 +101142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *472 - *473 - - &718 + - *474 + - &719 name: pull_number description: The number that identifies the pull request. in: path @@ -100932,9 +101157,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *716 + schema: *717 examples: - default: *717 + default: *718 '304': *37 '404': *6 '406': @@ -100969,9 +101194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *472 - *473 - - *718 + - *474 + - *719 requestBody: required: false content: @@ -101013,9 +101238,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: *717 + default: *718 '422': *15 '403': *29 x-github: @@ -101037,9 +101262,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: - - *472 - *473 - - *718 + - *474 + - *719 requestBody: required: true content: @@ -101099,17 +101324,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '401': *25 '403': *29 '404': *6 @@ -101139,9 +101364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *472 - *473 - - *718 + - *474 + - *719 - *251 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -101162,9 +101387,9 @@ paths: application/json: schema: type: array - items: *714 + items: *715 examples: - default: *719 + default: *720 headers: Link: *47 x-github: @@ -101197,9 +101422,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: - - *472 - *473 - - *718 + - *474 + - *719 requestBody: required: true content: @@ -101304,7 +101529,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *715 examples: example-for-a-multi-line-comment: value: @@ -101392,9 +101617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *472 - *473 - - *718 + - *474 + - *719 - *243 requestBody: required: true @@ -101417,7 +101642,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *715 examples: default: value: @@ -101503,9 +101728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *472 - *473 - - *718 + - *474 + - *719 - *17 - *19 responses: @@ -101515,9 +101740,9 @@ paths: application/json: schema: type: array - items: *589 + items: *590 examples: - default: *720 + default: *721 headers: Link: *47 x-github: @@ -101547,9 +101772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *472 - *473 - - *718 + - *474 + - *719 - *17 - *19 responses: @@ -101559,7 +101784,7 @@ paths: application/json: schema: type: array - items: *602 + items: *603 examples: default: value: @@ -101597,9 +101822,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: - - *472 - *473 - - *718 + - *474 + - *719 responses: '204': description: Response if pull request has been merged @@ -101622,9 +101847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *472 - *473 - - *718 + - *474 + - *719 requestBody: required: false content: @@ -101735,9 +101960,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: - - *472 - *473 - - *718 + - *474 + - *719 responses: '200': description: Response @@ -101812,9 +102037,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: - - *472 - *473 - - *718 + - *474 + - *719 requestBody: required: false content: @@ -101851,7 +102076,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: default: value: @@ -102387,9 +102612,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: - - *472 - *473 - - *718 + - *474 + - *719 requestBody: required: true content: @@ -102423,7 +102648,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: default: value: @@ -102928,9 +103153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *472 - *473 - - *718 + - *474 + - *719 - *17 - *19 responses: @@ -102940,7 +103165,7 @@ paths: application/json: schema: type: array - items: &721 + items: &722 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -103091,9 +103316,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: - - *472 - *473 - - *718 + - *474 + - *719 requestBody: required: false content: @@ -103179,9 +103404,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: - default: &723 + default: &724 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103244,10 +103469,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: - - *472 - *473 - - *718 - - &722 + - *474 + - *719 + - &723 name: review_id description: The unique identifier of the review. in: path @@ -103259,9 +103484,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: - default: &724 + default: &725 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103320,10 +103545,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: - - *472 - *473 - - *718 - - *722 + - *474 + - *719 + - *723 requestBody: required: true content: @@ -103346,7 +103571,7 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -103408,18 +103633,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: - - *472 - *473 - - *718 - - *722 + - *474 + - *719 + - *723 responses: '200': description: Response content: application/json: - schema: *721 + schema: *722 examples: - default: *723 + default: *724 '422': *7 '404': *6 x-github: @@ -103446,10 +103671,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: - - *472 - *473 - - *718 - - *722 + - *474 + - *719 + - *723 - *17 - *19 responses: @@ -103532,9 +103757,9 @@ paths: _links: type: object properties: - self: *422 - html: *422 - pull_request: *422 + self: *423 + html: *423 + pull_request: *423 required: - self - html @@ -103684,10 +103909,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: - - *472 - *473 - - *718 - - *722 + - *474 + - *719 + - *723 requestBody: required: true content: @@ -103715,7 +103940,7 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -103778,10 +104003,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: - - *472 - *473 - - *718 - - *722 + - *474 + - *719 + - *723 requestBody: required: true content: @@ -103816,9 +104041,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: - default: *724 + default: *725 '404': *6 '422': *7 '403': *29 @@ -103840,9 +104065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *472 - *473 - - *718 + - *474 + - *719 requestBody: required: false content: @@ -103905,8 +104130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *472 - *473 + - *474 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103919,9 +104144,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *726 examples: - default: &726 + default: &727 value: type: file encoding: base64 @@ -103963,8 +104188,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: - - *472 - *473 + - *474 - name: dir description: The alternate path to look for a README file in: path @@ -103984,9 +104209,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *726 examples: - default: *726 + default: *727 '404': *6 '422': *15 x-github: @@ -104008,8 +104233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -104019,7 +104244,7 @@ paths: application/json: schema: type: array - items: *727 + items: *728 examples: default: value: @@ -104113,8 +104338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -104190,9 +104415,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: &731 + default: &732 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104297,9 +104522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *472 - *473 - - &729 + - *474 + - &730 name: asset_id description: The unique identifier of the asset. in: path @@ -104311,9 +104536,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *729 examples: - default: &730 + default: &731 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 @@ -104348,7 +104573,7 @@ paths: type: User site_admin: false '404': *6 - '302': *604 + '302': *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104364,9 +104589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *472 - *473 - - *729 + - *474 + - *730 requestBody: required: false content: @@ -104394,9 +104619,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *729 examples: - default: *730 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104412,12 +104637,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *472 - *473 - - *729 + - *474 + - *730 responses: '204': description: Response + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104438,8 +104664,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -104524,16 +104750,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *472 - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *731 + default: *732 + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104550,8 +104777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *472 - *473 + - *474 - name: tag description: tag parameter in: path @@ -104564,9 +104791,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *731 + default: *732 '404': *6 x-github: githubCloudOnly: false @@ -104588,9 +104815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *472 - *473 - - &732 + - *474 + - &733 name: release_id description: The unique identifier of the release. in: path @@ -104604,9 +104831,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: *727 + schema: *728 examples: - default: *731 + default: *732 '401': description: Unauthorized x-github: @@ -104624,9 +104851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *472 - *473 - - *732 + - *474 + - *733 requestBody: required: false content: @@ -104690,9 +104917,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *731 + default: *732 '404': description: Not Found if the discussion category name is invalid content: @@ -104713,12 +104940,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *472 - *473 - - *732 + - *474 + - *733 responses: '204': description: Response + '404': *6 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104735,9 +104963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *472 - *473 - - *732 + - *474 + - *733 - *17 - *19 responses: @@ -104747,7 +104975,7 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: default: value: @@ -104829,9 +105057,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: - - *472 - *473 - - *732 + - *474 + - *733 - name: name in: query required: true @@ -104857,7 +105085,7 @@ paths: description: Response for successful upload content: application/json: - schema: *728 + schema: *729 examples: response-for-successful-upload: value: @@ -104912,9 +105140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *472 - *473 - - *732 + - *474 + - *733 - 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. @@ -104938,9 +105166,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *667 + default: *668 headers: Link: *47 '404': *6 @@ -104961,9 +105189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *472 - *473 - - *732 + - *474 + - *733 requestBody: required: true content: @@ -104993,16 +105221,16 @@ paths: description: Reaction exists content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '201': description: Reaction created content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 '422': *15 x-github: githubCloudOnly: false @@ -105024,10 +105252,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *472 - *473 - - *732 - - *668 + - *474 + - *733 + - *669 responses: '204': description: Response @@ -105051,9 +105279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *472 - *473 - - *525 + - *474 + - *526 - *17 - *19 responses: @@ -105070,7 +105298,7 @@ paths: oneOf: - allOf: - *172 - - &733 + - &734 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -105091,67 +105319,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *173 - - *733 + - *734 - allOf: - *174 - - *733 + - *734 - allOf: - *175 - - *733 + - *734 - allOf: + - *735 - *734 - - *733 - allOf: - *176 - - *733 + - *734 - allOf: - *177 - - *733 + - *734 - allOf: - *178 - - *733 + - *734 - allOf: - *179 - - *733 + - *734 - allOf: - *180 - - *733 + - *734 - allOf: - *181 - - *733 + - *734 - allOf: - *182 - - *733 + - *734 - allOf: - *183 - - *733 + - *734 - allOf: - *184 - - *733 + - *734 - allOf: - *185 - - *733 + - *734 - allOf: - *186 - - *733 + - *734 - allOf: - *187 - - *733 + - *734 - allOf: - *188 - - *733 + - *734 - allOf: - *189 - - *733 + - *734 - allOf: - *190 - - *733 + - *734 - allOf: - *191 - - *733 + - *734 - allOf: - *192 - - *733 + - *734 examples: default: value: @@ -105190,8 +105418,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - *473 + - *474 - *17 - *19 - name: includes_parents @@ -105202,7 +105430,7 @@ paths: schema: type: boolean default: true - - *735 + - *736 responses: '200': description: Response @@ -105257,8 +105485,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - *473 + - *474 requestBody: description: Request body required: true @@ -105287,7 +105515,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *736 + items: *737 required: - name - enforcement @@ -105320,7 +105548,7 @@ paths: application/json: schema: *193 examples: - default: &745 + default: &746 value: id: 42 name: super cool ruleset @@ -105368,12 +105596,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *472 - *473 - - *737 - - *107 + - *474 - *738 + - *107 - *739 + - *740 - *17 - *19 responses: @@ -105381,9 +105609,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *741 examples: - default: *741 + default: *742 '404': *6 '500': *40 x-github: @@ -105404,17 +105632,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *472 - *473 - - *742 + - *474 + - *743 responses: '200': description: Response content: application/json: - schema: *743 + schema: *744 examples: - default: *744 + default: *745 '404': *6 '500': *40 x-github: @@ -105442,8 +105670,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105465,7 +105693,7 @@ paths: application/json: schema: *193 examples: - default: *745 + default: *746 '404': *6 '500': *40 put: @@ -105483,8 +105711,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105518,7 +105746,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *736 + items: *737 examples: default: value: @@ -105548,7 +105776,7 @@ paths: application/json: schema: *193 examples: - default: *745 + default: *746 '404': *6 '422': *15 '500': *40 @@ -105567,8 +105795,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105591,8 +105819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *472 - *473 + - *474 - *17 - *19 - name: ruleset_id @@ -105610,7 +105838,7 @@ paths: type: array items: *197 examples: - default: *440 + default: *441 '404': *6 '500': *40 x-github: @@ -105629,8 +105857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *472 - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105648,7 +105876,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -105703,22 +105931,22 @@ 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: - - *472 - *473 - - *442 + - *474 - *443 - *444 - *445 - *446 + - *447 - *112 - *19 - *17 - - *746 - *747 - - *447 + - *748 - *448 - *449 - *450 + - *451 responses: '200': description: Response @@ -105726,7 +105954,7 @@ paths: application/json: schema: type: array - items: &751 + items: &752 type: object properties: number: *130 @@ -105745,8 +105973,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *748 - resolution: *749 + state: *749 + resolution: *750 resolved_at: type: string format: date-time @@ -105842,7 +106070,7 @@ paths: pull request. ' - oneOf: *750 + oneOf: *751 nullable: true has_more_locations: type: boolean @@ -105991,16 +106219,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *472 - *473 - - *553 - - *450 + - *474 + - *554 + - *451 responses: '200': description: Response content: application/json: - schema: *751 + schema: *752 examples: default: value: @@ -106054,9 +106282,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: - - *472 - *473 - - *553 + - *474 + - *554 requestBody: required: true content: @@ -106064,8 +106292,8 @@ paths: schema: type: object properties: - state: *748 - resolution: *749 + state: *749 + resolution: *750 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -106081,6 +106309,8 @@ paths: - state - required: - assignee + - required: + - validity examples: default: value: @@ -106099,7 +106329,7 @@ paths: description: Response content: application/json: - schema: *751 + schema: *752 examples: default: value: @@ -106194,9 +106424,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: - - *472 - *473 - - *553 + - *474 + - *554 - *19 - *17 responses: @@ -106207,7 +106437,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &938 + items: &939 type: object properties: type: @@ -106233,7 +106463,6 @@ paths: example: commit details: oneOf: - - *752 - *753 - *754 - *755 @@ -106246,6 +106475,7 @@ paths: - *762 - *763 - *764 + - *765 examples: default: value: @@ -106331,8 +106561,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -106340,14 +106570,14 @@ paths: schema: type: object properties: - reason: &766 + reason: &767 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *765 + placeholder_id: *766 required: - reason - placeholder_id @@ -106364,7 +106594,7 @@ paths: schema: type: object properties: - reason: *766 + reason: *767 expire_at: type: string format: date-time @@ -106410,8 +106640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *472 - *473 + - *474 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106426,7 +106656,7 @@ paths: properties: incremental_scans: type: array - items: &767 + items: &768 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106452,15 +106682,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *767 + items: *768 backfill_scans: type: array - items: *767 + items: *768 custom_pattern_backfill_scans: type: array items: allOf: - - *767 + - *768 - type: object properties: pattern_name: @@ -106530,8 +106760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *472 - *473 + - *474 - *112 - name: sort description: The property to sort the results by. @@ -106575,9 +106805,9 @@ paths: application/json: schema: type: array - items: *768 + items: *769 examples: - default: *769 + default: *770 '400': *14 '404': *6 x-github: @@ -106600,8 +106830,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -106674,7 +106904,7 @@ paths: login: type: string description: The username of the user credited. - type: *455 + type: *456 required: - login - type @@ -106761,9 +106991,9 @@ paths: description: Response content: application/json: - schema: *768 + schema: *769 examples: - default: &771 + default: &772 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106996,8 +107226,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: - - *472 - *473 + - *474 requestBody: required: true content: @@ -107101,7 +107331,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *769 examples: default: value: @@ -107248,17 +107478,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: - - *472 - *473 - - *770 + - *474 + - *771 responses: '200': description: Response content: application/json: - schema: *768 + schema: *769 examples: - default: *771 + default: *772 '403': *29 '404': *6 x-github: @@ -107282,9 +107512,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: - - *472 - *473 - - *770 + - *474 + - *771 requestBody: required: true content: @@ -107357,7 +107587,7 @@ paths: login: type: string description: The username of the user credited. - type: *455 + type: *456 required: - login - type @@ -107443,10 +107673,10 @@ paths: description: Response content: application/json: - schema: *768 + schema: *769 examples: - default: *771 - add_credit: *771 + default: *772 + add_credit: *772 '403': *29 '404': *6 '422': @@ -107484,9 +107714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *472 - *473 - - *770 + - *474 + - *771 responses: '202': *39 '400': *14 @@ -107513,17 +107743,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: - - *472 - *473 - - *770 + - *474 + - *771 responses: '202': description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *479 + default: *480 '400': *14 '422': *15 '403': *29 @@ -107549,8 +107779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -107649,8 +107879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *472 - *473 + - *474 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -107659,7 +107889,7 @@ paths: application/json: schema: type: array - items: &772 + items: &773 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -107692,8 +107922,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: - - *472 - *473 + - *474 responses: '200': description: Response @@ -107769,8 +107999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -107866,8 +108096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *472 - *473 + - *474 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108021,8 +108251,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: - - *472 - *473 + - *474 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108032,7 +108262,7 @@ paths: application/json: schema: type: array - items: *772 + items: *773 examples: default: value: @@ -108065,8 +108295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *472 - *473 + - *474 - name: sha in: path required: true @@ -108120,7 +108350,7 @@ paths: description: Response content: application/json: - schema: *773 + schema: *774 examples: default: value: @@ -108174,8 +108404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -108207,14 +108437,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *472 - *473 + - *474 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &774 + schema: &775 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108282,8 +108512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *472 - *473 + - *474 requestBody: required: false content: @@ -108309,7 +108539,7 @@ paths: description: Response content: application/json: - schema: *774 + schema: *775 examples: default: value: @@ -108336,8 +108566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -108357,8 +108587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -108437,8 +108667,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *472 - *473 + - *474 - name: ref in: path required: true @@ -108474,8 +108704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *472 - *473 + - *474 - *17 - *19 responses: @@ -108487,7 +108717,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 headers: Link: *47 '404': *6 @@ -108507,8 +108737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *472 - *473 + - *474 - *19 - *17 responses: @@ -108516,7 +108746,7 @@ paths: description: Response content: application/json: - schema: &775 + schema: &776 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -108528,7 +108758,7 @@ paths: required: - names examples: - default: &776 + default: &777 value: names: - octocat @@ -108551,8 +108781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -108583,9 +108813,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *776 examples: - default: *776 + default: *777 '404': *6 '422': *7 x-github: @@ -108606,9 +108836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *472 - *473 - - &777 + - *474 + - &778 name: per description: The time frame to display results for. in: query @@ -108637,7 +108867,7 @@ paths: example: 128 clones: type: array - items: &778 + items: &779 title: Traffic type: object properties: @@ -108724,8 +108954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -108815,8 +109045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *472 - *473 + - *474 responses: '200': description: Response @@ -108876,9 +109106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *472 - *473 - - *777 + - *474 + - *778 responses: '200': description: Response @@ -108897,7 +109127,7 @@ paths: example: 3782 views: type: array - items: *778 + items: *779 required: - uniques - count @@ -108974,8 +109204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *472 - *473 + - *474 requestBody: required: true content: @@ -109249,8 +109479,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: - - *472 - *473 + - *474 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109273,8 +109503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -109296,8 +109526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *472 - *473 + - *474 responses: '204': description: Response @@ -109323,8 +109553,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *472 - *473 + - *474 - name: ref in: path required: true @@ -109416,9 +109646,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *479 + default: *480 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109566,7 +109796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *285 - - *673 + - *674 requestBody: required: true content: @@ -109630,9 +109860,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *676 + items: *677 examples: - default: *779 + default: *780 '400': *14 '403': *29 '404': *6 @@ -109669,7 +109899,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *285 - - *673 + - *674 requestBody: required: true content: @@ -109734,9 +109964,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *676 + items: *677 examples: - default: *779 + default: *780 '400': *14 '403': *29 '404': *6 @@ -109768,8 +109998,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *285 - - *673 - - *384 + - *674 + - *385 responses: '204': description: Issue field value deleted successfully @@ -109811,7 +110041,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &787 + - &788 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -109820,7 +110050,7 @@ paths: schema: type: string example: members - - &792 + - &793 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -109831,7 +110061,7 @@ paths: default: 1 format: int32 example: 1 - - &793 + - &794 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -109873,7 +110103,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &782 + items: &783 allOf: - type: object required: @@ -109948,7 +110178,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: &794 + meta: &795 type: object description: The metadata associated with the creation/updates to the user. @@ -110008,30 +110238,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &783 + '400': &784 description: Bad request content: application/json: - schema: *780 + schema: *781 application/scim+json: - schema: *780 - '401': *781 - '403': &784 + schema: *781 + '401': *782 + '403': &785 description: Permission denied - '429': &785 + '429': &786 description: Too many requests content: application/json: - schema: *780 + schema: *781 application/scim+json: - schema: *780 - '500': &786 + schema: *781 + '500': &787 description: Internal server error content: application/json: - schema: *780 + schema: *781 application/scim+json: - schema: *780 + schema: *781 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110055,7 +110285,7 @@ paths: required: true content: application/json: - schema: &790 + schema: &791 type: object required: - schemas @@ -110115,9 +110345,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *782 + schema: *783 examples: - group: &788 + group: &789 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -110136,13 +110366,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': *783 - '401': *781 - '403': *784 - '409': &791 + '400': *784 + '401': *782 + '403': *785 + '409': &792 description: Duplicate record detected - '429': *785 - '500': *786 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110159,7 +110389,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: - - &789 + - &790 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -110167,22 +110397,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *787 + - *788 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *782 + schema: *783 examples: - default: *788 - '400': *783 - '401': *781 - '403': *784 + default: *789 + '400': *784 + '401': *782 + '403': *785 '404': *6 - '429': *785 - '500': *786 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110201,13 +110431,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: - - *789 + - *790 - *41 requestBody: required: true content: application/json: - schema: *790 + schema: *791 examples: group: summary: Group @@ -110233,17 +110463,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *782 + schema: *783 examples: - group: *788 - groupWithMembers: *788 - '400': *783 - '401': *781 - '403': *784 + group: *789 + groupWithMembers: *789 + '400': *784 + '401': *782 + '403': *785 '404': *6 - '409': *791 - '429': *785 - '500': *786 + '409': *792 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110267,13 +110497,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: - - *789 + - *790 - *41 requestBody: required: true content: application/json: - schema: &801 + schema: &802 type: object required: - Operations @@ -110333,17 +110563,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *782 + schema: *783 examples: - updateGroup: *788 - addMembers: *788 - '400': *783 - '401': *781 - '403': *784 + updateGroup: *789 + addMembers: *789 + '400': *784 + '401': *782 + '403': *785 '404': *6 - '409': *791 - '429': *785 - '500': *786 + '409': *792 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110359,17 +110589,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: - - *789 + - *790 - *41 responses: '204': description: Group was deleted, no content - '400': *783 - '401': *781 - '403': *784 + '400': *784 + '401': *782 + '403': *785 '404': *6 - '429': *785 - '500': *786 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110403,8 +110633,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *792 - *793 + - *794 - *41 responses: '200': @@ -110437,7 +110667,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &796 + items: &797 allOf: - type: object required: @@ -110516,7 +110746,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &795 + roles: &796 type: array description: The roles assigned to the user. items: @@ -110572,7 +110802,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *794 + meta: *795 startIndex: type: integer description: A starting index for the returned page @@ -110609,11 +110839,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *783 - '401': *781 - '403': *784 - '429': *785 - '500': *786 + '400': *784 + '401': *782 + '403': *785 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110637,7 +110867,7 @@ paths: required: true content: application/json: - schema: &799 + schema: &800 type: object required: - schemas @@ -110719,9 +110949,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *795 + roles: *796 examples: - user: &800 + user: &801 summary: User value: schemas: @@ -110768,9 +110998,9 @@ paths: description: User has been created content: application/scim+json: - schema: *796 + schema: *797 examples: - user: &797 + user: &798 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110796,13 +111026,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: *797 - '400': *783 - '401': *781 - '403': *784 - '409': *791 - '429': *785 - '500': *786 + enterpriseOwner: *798 + '400': *784 + '401': *782 + '403': *785 + '409': *792 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110819,7 +111049,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: - - &798 + - &799 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -110832,15 +111062,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *796 + schema: *797 examples: - default: *797 - '400': *783 - '401': *781 - '403': *784 + default: *798 + '400': *784 + '401': *782 + '403': *785 '404': *6 - '429': *785 - '500': *786 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110891,30 +111121,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: - - *798 + - *799 - *41 requestBody: required: true content: application/json: - schema: *799 + schema: *800 examples: - user: *800 + user: *801 responses: '200': description: User was updated content: application/scim+json: - schema: *796 + schema: *797 examples: - user: *797 - '400': *783 - '401': *781 - '403': *784 + user: *798 + '400': *784 + '401': *782 + '403': *785 '404': *6 - '409': *791 - '429': *785 - '500': *786 + '409': *792 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110955,13 +111185,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: - - *798 + - *799 - *41 requestBody: required: true content: application/json: - schema: *801 + schema: *802 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -111001,18 +111231,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *796 + schema: *797 examples: - userMultiValuedProperties: *797 - userSingleValuedProperties: *797 - disableUser: *797 - '400': *783 - '401': *781 - '403': *784 + userMultiValuedProperties: *798 + userSingleValuedProperties: *798 + disableUser: *798 + '400': *784 + '401': *782 + '403': *785 '404': *6 - '409': *791 - '429': *785 - '500': *786 + '409': *792 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111032,17 +111262,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: - - *798 + - *799 - *41 responses: '204': description: User was deleted, no content - '400': *783 - '401': *781 - '403': *784 + '400': *784 + '401': *782 + '403': *785 '404': *6 - '429': *785 - '500': *786 + '429': *786 + '500': *787 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111129,7 +111359,7 @@ paths: example: 1 Resources: type: array - items: &802 + items: &803 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111360,22 +111590,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': *37 - '404': &803 + '404': &804 description: Resource not found content: application/json: - schema: *780 + schema: *781 application/scim+json: - schema: *780 - '403': &804 + schema: *781 + '403': &805 description: Forbidden content: application/json: - schema: *780 + schema: *781 application/scim+json: - schema: *780 - '400': *783 - '429': *785 + schema: *781 + '400': *784 + '429': *786 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111401,9 +111631,9 @@ paths: description: Response content: application/scim+json: - schema: *802 + schema: *803 examples: - default: &805 + default: &806 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111426,17 +111656,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': *37 - '404': *803 - '403': *804 - '500': *786 + '404': *804 + '403': *805 + '500': *787 '409': description: Conflict content: application/json: - schema: *780 + schema: *781 application/scim+json: - schema: *780 - '400': *783 + schema: *781 + '400': *784 requestBody: required: true content: @@ -111534,17 +111764,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *798 + - *799 responses: '200': description: Response content: application/scim+json: - schema: *802 + schema: *803 examples: - default: *805 - '404': *803 - '403': *804 + default: *806 + '404': *804 + '403': *805 '304': *37 x-github: githubCloudOnly: true @@ -111568,18 +111798,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *798 + - *799 responses: '200': description: Response content: application/scim+json: - schema: *802 + schema: *803 examples: - default: *805 + default: *806 '304': *37 - '404': *803 - '403': *804 + '404': *804 + '403': *805 requestBody: required: true content: @@ -111692,19 +111922,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *798 + - *799 responses: '200': description: Response content: application/scim+json: - schema: *802 + schema: *803 examples: - default: *805 + default: *806 '304': *37 - '404': *803 - '403': *804 - '400': *783 + '404': *804 + '403': *805 + '400': *784 '429': description: Response content: @@ -111795,12 +112025,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *798 + - *799 responses: '204': description: Response - '404': *803 - '403': *804 + '404': *804 + '403': *805 '304': *37 x-github: githubCloudOnly: true @@ -111933,7 +112163,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &806 + text_matches: &807 title: Search Result Text Matches type: array items: @@ -112096,7 +112326,7 @@ paths: enum: - author-date - committer-date - - &807 + - &808 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 @@ -112167,7 +112397,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *524 nullable: true comment_count: type: integer @@ -112187,7 +112417,7 @@ paths: url: type: string format: uri - verification: *651 + verification: *652 required: - author - committer @@ -112206,7 +112436,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *524 nullable: true parents: type: array @@ -112224,7 +112454,7 @@ paths: type: number node_id: type: string - text_matches: *806 + text_matches: *807 required: - sha - node_id @@ -112417,7 +112647,7 @@ paths: - interactions - created - updated - - *807 + - *808 - *17 - *19 - name: advanced_search @@ -112439,6 +112669,7 @@ paths: - total_count - incomplete_results - items + - search_type properties: total_count: type: integer @@ -112514,11 +112745,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: type: string state_reason: @@ -112535,8 +112766,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *420 - required: *421 + properties: *421 + required: *422 nullable: true comments: type: integer @@ -112550,7 +112781,7 @@ paths: type: string format: date-time nullable: true - text_matches: *806 + text_matches: *807 pull_request: type: object properties: @@ -112594,7 +112825,7 @@ paths: timeline_url: type: string format: uri - type: *385 + type: *386 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -112638,6 +112869,29 @@ paths: - created_at - updated_at - score + search_type: + type: string + description: The type of search that was performed. Possible values + are `lexical`, `semantic`, or `hybrid`. + enum: + - lexical + - semantic + - hybrid + lexical_fallback_reason: + type: array + description: When a semantic or hybrid search falls back to lexical + search, this field contains the reasons for the fallback. Only + present when a fallback occurred. + items: + type: string + enum: + - no_text_terms + - quoted_text + - non_issue_target + - or_boolean_not_supported + - no_accessible_repos + - server_error + - only_non_semantic_fields_requested examples: default: value: @@ -112783,7 +113037,7 @@ paths: enum: - created - updated - - *807 + - *808 - *17 - *19 responses: @@ -112827,7 +113081,7 @@ paths: nullable: true score: type: number - text_matches: *806 + text_matches: *807 required: - id - node_id @@ -112913,7 +113167,7 @@ paths: - forks - help-wanted-issues - updated - - *807 + - *808 - *17 - *19 responses: @@ -113161,7 +113415,7 @@ paths: - admin - pull - push - text_matches: *806 + text_matches: *807 temp_clone_token: type: string allow_merge_commit: @@ -113462,7 +113716,7 @@ paths: type: string format: uri nullable: true - text_matches: *806 + text_matches: *807 related: type: array nullable: true @@ -113655,7 +113909,7 @@ paths: - followers - repositories - joined - - *807 + - *808 - *17 - *19 responses: @@ -113759,7 +114013,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *806 + text_matches: *807 blog: type: string nullable: true @@ -113838,7 +114092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &810 + - &811 name: team_id description: The unique identifier of the team. in: path @@ -113850,9 +114104,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -113879,7 +114133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *810 + - *811 requestBody: required: true content: @@ -113942,16 +114196,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '201': description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '404': *6 '422': *15 '403': *29 @@ -113979,7 +114233,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *810 + - *811 responses: '204': description: Response @@ -114008,7 +114262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *810 + - *811 - *17 - *19 responses: @@ -114018,9 +114272,9 @@ paths: application/json: schema: type: array - items: *379 + items: *380 examples: - default: *380 + default: *381 headers: Link: *47 x-github: @@ -114046,7 +114300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *810 + - *811 - name: role description: Filters members returned by their role in the team. in: query @@ -114097,7 +114351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *810 + - *811 - *145 responses: '204': @@ -114134,7 +114388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *810 + - *811 - *145 responses: '204': @@ -114174,7 +114428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *810 + - *811 - *145 responses: '204': @@ -114211,16 +114465,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: - - *810 + - *811 - *145 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - response-if-user-is-a-team-maintainer: *811 + response-if-user-is-a-team-maintainer: *812 '404': *6 x-github: githubCloudOnly: false @@ -114253,7 +114507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *810 + - *811 - *145 requestBody: required: false @@ -114279,9 +114533,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - response-if-users-membership-with-team-is-now-pending: *812 + response-if-users-membership-with-team-is-now-pending: *813 '403': description: Forbidden if team synchronization is set up '422': @@ -114315,7 +114569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *810 + - *811 - *145 responses: '204': @@ -114343,7 +114597,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *810 + - *811 - *17 - *19 responses: @@ -114355,7 +114609,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 '404': *6 @@ -114385,15 +114639,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: - - *810 - - *472 + - *811 - *473 + - *474 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *813 + schema: *814 examples: alternative-response-with-extra-repository-information: value: @@ -114544,9 +114798,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: - - *810 - - *472 + - *811 - *473 + - *474 requestBody: required: false content: @@ -114596,9 +114850,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: - - *810 - - *472 + - *811 - *473 + - *474 responses: '204': description: Response @@ -114627,15 +114881,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: - - *810 + - *811 responses: '200': description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *475 + default: *476 '403': *29 '404': *6 x-github: @@ -114662,7 +114916,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: - - *810 + - *811 requestBody: required: true content: @@ -114719,7 +114973,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -114750,7 +115004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *810 + - *811 - *17 - *19 responses: @@ -114762,7 +115016,7 @@ paths: type: array items: *320 examples: - response-if-child-teams-exist: *814 + response-if-child-teams-exist: *815 headers: Link: *47 '404': *6 @@ -114795,7 +115049,7 @@ paths: application/json: schema: oneOf: - - &816 + - &817 title: Private User description: Private User type: object @@ -114998,7 +115252,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *815 + - *816 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115151,7 +115405,7 @@ paths: description: Response content: application/json: - schema: *816 + schema: *817 examples: default: value: @@ -115354,9 +115608,9 @@ paths: type: integer codespaces: type: array - items: *390 + items: *391 examples: - default: *391 + default: *392 '304': *37 '500': *40 '401': *25 @@ -115495,17 +115749,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '401': *25 '403': *29 '404': *6 @@ -115549,7 +115803,7 @@ paths: type: integer secrets: type: array - items: &817 + items: &818 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -115589,7 +115843,7 @@ paths: - visibility - selected_repositories_url examples: - default: *579 + default: *580 headers: Link: *47 x-github: @@ -115665,7 +115919,7 @@ paths: description: Response content: application/json: - schema: *817 + schema: *818 examples: default: value: @@ -115955,15 +116209,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *392 + - *393 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '304': *37 '500': *40 '401': *25 @@ -115989,7 +116243,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: - - *392 + - *393 requestBody: required: false content: @@ -116019,9 +116273,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '401': *25 '403': *29 '404': *6 @@ -116043,7 +116297,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *392 + - *393 responses: '202': *39 '304': *37 @@ -116072,13 +116326,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: - - *392 + - *393 responses: '202': description: Response content: application/json: - schema: &818 + schema: &819 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -116119,7 +116373,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &819 + default: &820 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -116151,7 +116405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *392 + - *393 - name: export_id in: path required: true @@ -116164,9 +116418,9 @@ paths: description: Response content: application/json: - schema: *818 + schema: *819 examples: - default: *819 + default: *820 '404': *6 x-github: githubCloudOnly: false @@ -116187,7 +116441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *392 + - *393 responses: '200': description: Response @@ -116203,9 +116457,9 @@ paths: type: integer machines: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 '304': *37 '500': *40 '401': *25 @@ -116234,7 +116488,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: - - *392 + - *393 requestBody: required: true content: @@ -116284,13 +116538,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *477 + repository: *478 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *577 - required: *578 + properties: *578 + required: *579 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -117064,15 +117318,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *392 + - *393 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '304': *37 '500': *40 '400': *14 @@ -117104,15 +117358,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *392 + - *393 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *576 + default: *577 '500': *40 '401': *25 '403': *29 @@ -117142,9 +117396,9 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: &832 + default: &833 value: - id: 197 name: hello_docker @@ -117245,7 +117499,7 @@ paths: application/json: schema: type: array - items: &822 + items: &823 title: Email description: Email type: object @@ -117310,9 +117564,9 @@ paths: application/json: schema: type: array - items: *822 + items: *823 examples: - default: &834 + default: &835 value: - email: octocat@github.com verified: true @@ -117387,7 +117641,7 @@ paths: application/json: schema: type: array - items: *822 + items: *823 examples: default: value: @@ -117643,7 +117897,7 @@ paths: application/json: schema: type: array - items: &823 + items: &824 title: GPG Key description: A unique encryption key type: object @@ -117774,7 +118028,7 @@ paths: - subkeys - revoked examples: - default: &850 + default: &851 value: - id: 3 name: Octocat's GPG Key @@ -117859,9 +118113,9 @@ paths: description: Response content: application/json: - schema: *823 + schema: *824 examples: - default: &824 + default: &825 value: id: 3 name: Octocat's GPG Key @@ -117918,7 +118172,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: - - &825 + - &826 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117930,9 +118184,9 @@ paths: description: Response content: application/json: - schema: *823 + schema: *824 examples: - default: *824 + default: *825 '404': *6 '304': *37 '403': *29 @@ -117955,7 +118209,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: - - *825 + - *826 responses: '204': description: Response @@ -118162,9 +118416,10 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: "Add a single repository to an installation. The authenticated - user must have admin access to the repository. \n\nThis endpoint only works - for PATs (classic) with the `repo` scope." + description: |- + Add a single repository to an installation. The authenticated user must have admin access to the repository. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -118187,10 +118442,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: "Remove a single repository from an installation. The authenticated - user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. \n\nThis endpoint only works for - PATs (classic) with the `repo` scope." + description: |- + Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + + This endpoint only works for PATs (classic) with the `repo` scope. tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -118233,12 +118488,12 @@ paths: application/json: schema: anyOf: - - *377 + - *378 - type: object properties: {} additionalProperties: false examples: - default: *378 + default: *379 '204': description: Response when there are no restrictions x-github: @@ -118262,7 +118517,7 @@ paths: required: true content: application/json: - schema: *661 + schema: *662 examples: default: value: @@ -118273,7 +118528,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: default: value: @@ -118354,7 +118609,7 @@ paths: - closed - all default: open - - *388 + - *389 - name: sort description: What to sort results by. in: query @@ -118379,7 +118634,7 @@ paths: type: array items: *227 examples: - default: *389 + default: *390 headers: Link: *47 '404': *6 @@ -118412,7 +118667,7 @@ paths: application/json: schema: type: array - items: &826 + items: &827 title: Key description: Key type: object @@ -118513,9 +118768,9 @@ paths: description: Response content: application/json: - schema: *826 + schema: *827 examples: - default: &827 + default: &828 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118548,15 +118803,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: - - *695 + - *696 responses: '200': description: Response content: application/json: - schema: *826 + schema: *827 examples: - default: *827 + default: *828 '404': *6 '304': *37 '403': *29 @@ -118579,7 +118834,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: - - *695 + - *696 responses: '204': description: Response @@ -118612,7 +118867,7 @@ paths: application/json: schema: type: array - items: &828 + items: &829 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -118680,7 +118935,7 @@ paths: - account - plan examples: - default: &829 + default: &830 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118742,9 +118997,9 @@ paths: application/json: schema: type: array - items: *828 + items: *829 examples: - default: *829 + default: *830 headers: Link: *47 '304': *37 @@ -118784,7 +119039,7 @@ paths: application/json: schema: type: array - items: *393 + items: *394 examples: default: value: @@ -118898,7 +119153,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: default: value: @@ -118985,7 +119240,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: default: value: @@ -119057,7 +119312,7 @@ paths: application/json: schema: type: array - items: *395 + items: *396 examples: default: value: @@ -119310,7 +119565,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -119490,7 +119745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *396 + - *397 - name: exclude in: query required: false @@ -119503,7 +119758,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -119697,7 +119952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *396 + - *397 responses: '302': description: Response @@ -119723,7 +119978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *396 + - *397 responses: '204': description: Response @@ -119752,8 +120007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *396 - - *830 + - *397 + - *831 responses: '204': description: Response @@ -119777,7 +120032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *396 + - *397 - *17 - *19 responses: @@ -119789,7 +120044,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 '404': *6 @@ -119868,7 +120123,7 @@ paths: - docker - nuget - container - - *831 + - *832 - *19 - *17 responses: @@ -119878,10 +120133,10 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: *832 - '400': *833 + default: *833 + '400': *834 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119901,16 +120156,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: - - *403 - *404 + - *405 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: &851 + default: &852 value: id: 40201 name: octo-name @@ -120023,8 +120278,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: - - *403 - *404 + - *405 responses: '204': description: Response @@ -120054,8 +120309,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: - - *403 - *404 + - *405 - name: token description: package token schema: @@ -120087,8 +120342,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: - - *403 - *404 + - *405 - *19 - *17 - name: state @@ -120108,7 +120363,7 @@ paths: application/json: schema: type: array - items: *405 + items: *406 examples: default: value: @@ -120157,15 +120412,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: - - *403 - *404 - - *406 + - *405 + - *407 responses: '200': description: Response content: application/json: - schema: *405 + schema: *406 examples: default: value: @@ -120201,9 +120456,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: - - *403 - *404 - - *406 + - *405 + - *407 responses: '204': description: Response @@ -120233,9 +120488,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: - - *403 - *404 - - *406 + - *405 + - *407 responses: '204': description: Response @@ -120272,9 +120527,9 @@ paths: application/json: schema: type: array - items: *822 + items: *823 examples: - default: *834 + default: *835 headers: Link: *47 '304': *37 @@ -120387,7 +120642,7 @@ paths: type: array items: *80 examples: - default: &841 + default: &842 summary: Default response value: - id: 1296269 @@ -120691,9 +120946,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *479 + default: *480 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120731,9 +120986,9 @@ paths: application/json: schema: type: array - items: *663 + items: *664 examples: - default: *835 + default: *836 headers: Link: *47 '304': *37 @@ -120756,7 +121011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *381 + - *382 responses: '204': description: Response @@ -120779,7 +121034,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *381 + - *382 responses: '204': description: Response @@ -120812,7 +121067,7 @@ paths: application/json: schema: type: array - items: &836 + items: &837 title: Social account description: Social media account type: object @@ -120827,7 +121082,7 @@ paths: - provider - url examples: - default: &837 + default: &838 value: - provider: twitter url: https://twitter.com/github @@ -120889,9 +121144,9 @@ paths: application/json: schema: type: array - items: *836 + items: *837 examples: - default: *837 + default: *838 '422': *15 '304': *37 '404': *6 @@ -120978,7 +121233,7 @@ paths: application/json: schema: type: array - items: &838 + items: &839 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120998,7 +121253,7 @@ paths: - title - created_at examples: - default: &865 + default: &866 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121062,9 +121317,9 @@ paths: description: Response content: application/json: - schema: *838 + schema: *839 examples: - default: &839 + default: &840 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121094,7 +121349,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: - - &840 + - &841 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121106,9 +121361,9 @@ paths: description: Response content: application/json: - schema: *838 + schema: *839 examples: - default: *839 + default: *840 '404': *6 '304': *37 '403': *29 @@ -121131,7 +121386,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: - - *840 + - *841 responses: '204': description: Response @@ -121160,7 +121415,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: - - &866 + - &867 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 @@ -121185,11 +121440,11 @@ paths: type: array items: *80 examples: - default-response: *841 + default-response: *842 application/vnd.github.v3.star+json: schema: type: array - items: &867 + items: &868 title: Starred Repository description: Starred Repository type: object @@ -121345,8 +121600,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: - - *472 - *473 + - *474 responses: '204': description: Response if this repository is starred by you @@ -121374,8 +121629,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: - - *472 - *473 + - *474 responses: '204': description: Response @@ -121399,8 +121654,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: - - *472 - *473 + - *474 responses: '204': description: Response @@ -121435,7 +121690,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 '304': *37 @@ -121472,7 +121727,7 @@ paths: application/json: schema: type: array - items: *464 + items: *465 examples: default: value: @@ -121558,10 +121813,10 @@ paths: application/json: schema: oneOf: + - *817 - *816 - - *815 examples: - default-response: &845 + default-response: &846 summary: Default response value: login: octocat @@ -121596,7 +121851,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &846 + response-with-git-hub-plan-information: &847 summary: Response with GitHub plan information value: login: octocat @@ -121653,14 +121908,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &843 + - &844 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *419 + - *420 requestBody: required: true description: Details of the draft item to create in the project. @@ -121694,9 +121949,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: - draft_issue: *426 + draft_issue: *427 '304': *37 '403': *29 '401': *25 @@ -121719,7 +121974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *842 + - *843 - *17 responses: '200': @@ -121754,8 +122009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *843 - - *419 + - *844 + - *420 requestBody: required: true content: @@ -121826,17 +122081,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *844 + schema: *845 examples: table_view: summary: Response for creating a table view - value: *430 + value: *431 board_view: summary: Response for creating a board view with filter - value: *430 + value: *431 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *431 '304': *37 '403': *29 '401': *25 @@ -121878,11 +122133,11 @@ paths: application/json: schema: oneOf: + - *817 - *816 - - *815 examples: - default-response: *845 - response-with-git-hub-plan-information: *846 + default-response: *846 + response-with-git-hub-plan-information: *847 '404': *6 x-github: githubCloudOnly: false @@ -121932,8 +122187,8 @@ paths: required: - subject_digests examples: - default: *847 - withPredicateType: *848 + default: *848 + withPredicateType: *849 responses: '200': description: Response @@ -121986,7 +122241,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *849 + default: *850 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122191,7 +122446,7 @@ paths: initiator: type: string examples: - default: *519 + default: *520 '201': description: Response content: @@ -122230,9 +122485,9 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: *832 + default: *833 '403': *29 '401': *25 x-github: @@ -122616,9 +122871,9 @@ paths: application/json: schema: type: array - items: *823 + items: *824 examples: - default: *850 + default: *851 headers: Link: *47 x-github: @@ -122722,7 +122977,7 @@ paths: application/json: schema: *22 examples: - default: *375 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122846,7 +123101,7 @@ paths: - docker - nuget - container - - *831 + - *832 - *145 - *19 - *17 @@ -122857,12 +123112,12 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: *832 + default: *833 '403': *29 '401': *25 - '400': *833 + '400': *834 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122882,17 +123137,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *403 - *404 + - *405 - *145 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *851 + default: *852 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122913,8 +123168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *403 - *404 + - *405 - *145 responses: '204': @@ -122947,8 +123202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *403 - *404 + - *405 - *145 - name: token description: package token @@ -122981,8 +123236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *403 - *404 + - *405 - *145 responses: '200': @@ -122991,7 +123246,7 @@ paths: application/json: schema: type: array - items: *405 + items: *406 examples: default: value: @@ -123049,16 +123304,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: - - *403 - *404 - - *406 + - *405 + - *407 - *145 responses: '200': description: Response content: application/json: - schema: *405 + schema: *406 examples: default: value: @@ -123093,10 +123348,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *403 - *404 + - *405 - *145 - - *406 + - *407 responses: '204': description: Response @@ -123128,10 +123383,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *403 - *404 + - *405 - *145 - - *406 + - *407 responses: '204': description: Response @@ -123172,9 +123427,9 @@ paths: application/json: schema: type: array - items: *417 + items: *418 examples: - default: *418 + default: *419 headers: Link: *47 '304': *37 @@ -123196,16 +123451,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *419 + - *420 - *145 responses: '200': description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 headers: Link: *47 '304': *37 @@ -123227,7 +123482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *419 + - *420 - *145 - *17 - *110 @@ -123239,9 +123494,9 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *852 + default: *853 headers: Link: *47 '304': *37 @@ -123263,7 +123518,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *145 - - *419 + - *420 requestBody: required: true content: @@ -123301,7 +123556,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *853 + items: *854 required: - name - data_type @@ -123317,7 +123572,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *854 + iteration_configuration: *855 required: - name - data_type @@ -123339,20 +123594,20 @@ paths: value: name: Due date data_type: date - single_select_field: *855 - iteration_field: *856 + single_select_field: *856 + iteration_field: *857 responses: '201': description: Response content: application/json: - schema: *423 + schema: *424 examples: - text_field: *857 - number_field: *858 - date_field: *859 - single_select_field: *860 - iteration_field: *861 + text_field: *858 + number_field: *859 + date_field: *860 + single_select_field: *861 + iteration_field: *862 '304': *37 '403': *29 '401': *25 @@ -123373,17 +123628,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *419 - - *862 + - *420 + - *863 - *145 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *863 + default: *864 headers: Link: *47 '304': *37 @@ -123406,7 +123661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *419 + - *420 - *145 - *110 - *111 @@ -123439,9 +123694,9 @@ paths: application/json: schema: type: array - items: *427 + items: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -123463,7 +123718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *145 - - *419 + - *420 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -123533,22 +123788,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *427 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *427 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *427 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *427 '304': *37 '403': *29 '401': *25 @@ -123568,9 +123823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *419 + - *420 - *145 - - *429 + - *430 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -123590,9 +123845,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -123613,9 +123868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *419 + - *420 - *145 - - *429 + - *430 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -123685,13 +123940,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *428 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *429 + number_field: *429 + date_field: *429 + single_select_field: *429 + iteration_field: *429 '401': *25 '403': *29 '404': *6 @@ -123711,9 +123966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *419 + - *420 - *145 - - *429 + - *430 responses: '204': description: Response @@ -123735,9 +123990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - - *419 + - *420 - *145 - - *864 + - *865 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -123763,9 +124018,9 @@ paths: application/json: schema: type: array - items: *427 + items: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -123986,7 +124241,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -124016,9 +124271,9 @@ paths: application/json: schema: type: array - items: *836 + items: *837 examples: - default: *837 + default: *838 headers: Link: *47 x-github: @@ -124048,9 +124303,9 @@ paths: application/json: schema: type: array - items: *838 + items: *839 examples: - default: *865 + default: *866 headers: Link: *47 x-github: @@ -124075,7 +124330,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *145 - - *866 + - *867 - *112 - *17 - *19 @@ -124087,11 +124342,11 @@ paths: schema: anyOf: - type: array - items: *867 + items: *868 - type: array items: *80 examples: - default-response: *841 + default-response: *842 headers: Link: *47 x-github: @@ -124122,7 +124377,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -124250,7 +124505,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &868 + enterprise: &869 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124308,7 +124563,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &869 + installation: &870 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124327,7 +124582,7 @@ x-webhooks: required: - id - node_id - organization: &870 + organization: &871 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124387,13 +124642,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &871 + repository: &872 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &910 + properties: &911 id: description: Unique identifier of the repository example: 42 @@ -125088,7 +125343,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &911 + required: &912 - archive_url - assignees_url - blobs_url @@ -125239,10 +125494,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -125318,11 +125573,11 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - rule: &872 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + rule: &873 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) @@ -125545,11 +125800,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - rule: *872 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + rule: *873 sender: *4 required: - action @@ -125732,11 +125987,11 @@ x-webhooks: - everyone required: - from - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - rule: *872 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + rule: *873 sender: *4 required: - action @@ -125809,7 +126064,7 @@ x-webhooks: required: true content: application/json: - schema: &894 + schema: &895 title: Exemption request cancellation event type: object properties: @@ -125817,11 +126072,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - exemption_request: &873 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + exemption_request: &874 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -126090,7 +126345,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &874 + items: &875 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -126200,7 +126455,7 @@ x-webhooks: required: true content: application/json: - schema: &895 + schema: &896 title: Exemption request completed event type: object properties: @@ -126208,11 +126463,11 @@ x-webhooks: type: string enum: - completed - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - exemption_request: *873 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + exemption_request: *874 sender: *4 required: - action @@ -126284,7 +126539,7 @@ x-webhooks: required: true content: application/json: - schema: &892 + schema: &893 title: Exemption request created event type: object properties: @@ -126292,11 +126547,11 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - exemption_request: *873 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + exemption_request: *874 sender: *4 required: - action @@ -126368,7 +126623,7 @@ x-webhooks: required: true content: application/json: - schema: &896 + schema: &897 title: Exemption response dismissed event type: object properties: @@ -126376,12 +126631,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - exemption_request: *873 - exemption_response: *874 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + exemption_request: *874 + exemption_response: *875 sender: *4 required: - action @@ -126455,7 +126710,7 @@ x-webhooks: required: true content: application/json: - schema: &893 + schema: &894 title: Exemption response submitted event type: object properties: @@ -126463,12 +126718,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - exemption_request: *873 - exemption_response: *874 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + exemption_request: *874 + exemption_response: *875 sender: *4 required: - action @@ -126552,7 +126807,7 @@ x-webhooks: type: string enum: - completed - check_run: &876 + check_run: &877 title: CheckRun description: A check performed on the code of a given code change type: object @@ -126643,7 +126898,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *875 + deployment: *876 details_url: example: https://example.com type: string @@ -126728,10 +126983,10 @@ x-webhooks: - output - app - pull_requests - installation: *869 - enterprise: *868 - organization: *870 - repository: *871 + installation: *870 + enterprise: *869 + organization: *871 + repository: *872 sender: *4 required: - check_run @@ -127122,11 +127377,11 @@ x-webhooks: type: string enum: - created - check_run: *876 - installation: *869 - enterprise: *868 - organization: *870 - repository: *871 + check_run: *877 + installation: *870 + enterprise: *869 + organization: *871 + repository: *872 sender: *4 required: - check_run @@ -127520,11 +127775,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *876 - installation: *869 - enterprise: *868 - organization: *870 - repository: *871 + check_run: *877 + installation: *870 + enterprise: *869 + organization: *871 + repository: *872 requested_action: description: The action requested by the user. type: object @@ -127927,11 +128182,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *876 - installation: *869 - enterprise: *868 - organization: *870 - repository: *871 + check_run: *877 + installation: *870 + enterprise: *869 + organization: *871 + repository: *872 sender: *4 required: - check_run @@ -128901,10 +129156,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -129593,10 +129848,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -130279,10 +130534,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -130448,7 +130703,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -130593,20 +130848,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &877 + commit_oid: &878 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: *868 - installation: *869 - organization: *870 - ref: &878 + enterprise: *869 + installation: *870 + organization: *871 + ref: &879 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: *871 + repository: *872 sender: *4 required: - action @@ -130771,7 +131026,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -131001,12 +131256,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *877 - enterprise: *868 - installation: *869 - organization: *870 - ref: *878 - repository: *871 + commit_oid: *878 + enterprise: *869 + installation: *870 + organization: *871 + ref: *879 + repository: *872 sender: *4 required: - action @@ -131101,7 +131356,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *548 + dismissed_comment: *549 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131272,12 +131527,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *877 - enterprise: *868 - installation: *869 - organization: *870 - ref: *878 - repository: *871 + commit_oid: *878 + enterprise: *869 + installation: *870 + organization: *871 + ref: *879 + repository: *872 sender: *4 required: - action @@ -131443,7 +131698,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -131609,12 +131864,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *877 - enterprise: *868 - installation: *869 - organization: *870 - ref: *878 - repository: *871 + commit_oid: *878 + enterprise: *869 + installation: *870 + organization: *871 + ref: *879 + repository: *872 sender: *4 required: - action @@ -131713,7 +131968,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *548 + dismissed_comment: *549 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131888,16 +132143,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *871 + repository: *872 sender: *4 required: - action @@ -131994,7 +132249,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *548 + dismissed_comment: *549 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132134,12 +132389,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *877 - enterprise: *868 - installation: *869 - organization: *870 - ref: *878 - repository: *871 + commit_oid: *878 + enterprise: *869 + installation: *870 + organization: *871 + ref: *879 + repository: *872 sender: *4 required: - action @@ -132305,7 +132560,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -132450,10 +132705,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -132708,10 +132963,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -132791,18 +133046,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *870 - pusher_type: &879 + organization: *871 + pusher_type: &880 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &880 + ref: &881 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -132812,7 +133067,7 @@ x-webhooks: enum: - tag - branch - repository: *871 + repository: *872 sender: *4 required: - ref @@ -132895,9 +133150,9 @@ x-webhooks: enum: - created definition: *159 - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 sender: *4 required: - action @@ -132982,9 +133237,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 sender: *4 required: - action @@ -133062,9 +133317,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *159 - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 sender: *4 required: - action @@ -133142,9 +133397,9 @@ x-webhooks: enum: - updated definition: *159 - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 sender: *4 required: - action @@ -133221,10 +133476,10 @@ x-webhooks: type: string enum: - updated - enterprise: *868 - installation: *869 - repository: *871 - organization: *870 + enterprise: *869 + installation: *870 + repository: *872 + organization: *871 sender: *4 new_property_values: type: array @@ -133309,18 +133564,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *868 - installation: *869 - organization: *870 - pusher_type: *879 - ref: *880 + enterprise: *869 + installation: *870 + organization: *871 + pusher_type: *880 + ref: *881 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *871 + repository: *872 sender: *4 required: - ref @@ -133400,11 +133655,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *610 - installation: *869 - organization: *870 - enterprise: *868 - repository: *871 + alert: *611 + installation: *870 + organization: *871 + enterprise: *869 + repository: *872 sender: *4 required: - action @@ -133484,11 +133739,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *610 - installation: *869 - organization: *870 - enterprise: *868 - repository: *871 + alert: *611 + installation: *870 + organization: *871 + enterprise: *869 + repository: *872 sender: *4 required: - action @@ -133569,11 +133824,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *610 - installation: *869 - organization: *870 - enterprise: *868 - repository: *871 + alert: *611 + installation: *870 + organization: *871 + enterprise: *869 + repository: *872 sender: *4 required: - action @@ -133654,11 +133909,11 @@ x-webhooks: type: string enum: - created - alert: *610 - installation: *869 - organization: *870 - enterprise: *868 - repository: *871 + alert: *611 + installation: *870 + organization: *871 + enterprise: *869 + repository: *872 sender: *4 required: - action @@ -133737,11 +133992,11 @@ x-webhooks: type: string enum: - dismissed - alert: *610 - installation: *869 - organization: *870 - enterprise: *868 - repository: *871 + alert: *611 + installation: *870 + organization: *871 + enterprise: *869 + repository: *872 sender: *4 required: - action @@ -133820,11 +134075,11 @@ x-webhooks: type: string enum: - fixed - alert: *610 - installation: *869 - organization: *870 - enterprise: *868 - repository: *871 + alert: *611 + installation: *870 + organization: *871 + enterprise: *869 + repository: *872 sender: *4 required: - action @@ -133904,11 +134159,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *610 - installation: *869 - organization: *870 - enterprise: *868 - repository: *871 + alert: *611 + installation: *870 + organization: *871 + enterprise: *869 + repository: *872 sender: *4 required: - action @@ -133987,11 +134242,11 @@ x-webhooks: type: string enum: - reopened - alert: *610 - installation: *869 - organization: *870 - enterprise: *868 - repository: *871 + alert: *611 + installation: *870 + organization: *871 + enterprise: *869 + repository: *872 sender: *4 required: - action @@ -134068,9 +134323,9 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - key: &881 + enterprise: *869 + installation: *870 + key: &882 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134106,8 +134361,8 @@ x-webhooks: - verified - created_at - read_only - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -134184,11 +134439,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - key: *881 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + key: *882 + organization: *871 + repository: *872 sender: *4 required: - action @@ -134744,12 +134999,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - workflow: &887 + workflow: &888 title: Workflow type: object nullable: true @@ -135490,15 +135745,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *882 - required: *883 + properties: *883 + required: *884 nullable: true pull_requests: type: array - items: *716 - repository: *871 - organization: *870 - installation: *869 + items: *717 + repository: *872 + organization: *871 + installation: *870 sender: *4 responses: '200': @@ -135569,7 +135824,7 @@ x-webhooks: type: string enum: - approved - approver: &884 + approver: &885 type: object properties: avatar_url: @@ -135612,11 +135867,11 @@ x-webhooks: type: string comment: type: string - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - reviewers: &885 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + reviewers: &886 type: array items: type: object @@ -135695,7 +135950,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &886 + workflow_job_run: &887 type: object properties: conclusion: @@ -136426,18 +136681,18 @@ x-webhooks: type: string enum: - rejected - approver: *884 + approver: *885 comment: type: string - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - reviewers: *885 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + reviewers: *886 sender: *4 since: type: string - workflow_job_run: *886 + workflow_job_run: *887 workflow_job_runs: type: array items: @@ -137141,13 +137396,13 @@ x-webhooks: type: string enum: - requested - enterprise: *868 + enterprise: *869 environment: type: string - installation: *869 - organization: *870 - repository: *871 - requestor: &897 + installation: *870 + organization: *871 + repository: *872 + requestor: &898 title: User type: object nullable: true @@ -139036,12 +139291,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - workflow: *887 + workflow: *888 workflow_run: title: Deployment Workflow Run type: object @@ -139721,7 +139976,7 @@ x-webhooks: type: string enum: - answered - answer: &890 + answer: &891 type: object properties: author_association: @@ -139878,11 +140133,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140009,11 +140264,11 @@ x-webhooks: - from required: - category - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140096,11 +140351,11 @@ x-webhooks: type: string enum: - closed - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140182,7 +140437,7 @@ x-webhooks: type: string enum: - created - comment: &889 + comment: &890 type: object properties: author_association: @@ -140339,11 +140594,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140426,12 +140681,12 @@ x-webhooks: type: string enum: - deleted - comment: *889 - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + comment: *890 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140526,12 +140781,12 @@ x-webhooks: - from required: - body - comment: *889 - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + comment: *890 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140615,11 +140870,11 @@ x-webhooks: type: string enum: - created - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140701,11 +140956,11 @@ x-webhooks: type: string enum: - deleted - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140805,11 +141060,11 @@ x-webhooks: type: string required: - from - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -140891,10 +141146,10 @@ x-webhooks: type: string enum: - labeled - discussion: *888 - enterprise: *868 - installation: *869 - label: &891 + discussion: *889 + enterprise: *869 + installation: *870 + label: &892 title: Label type: object properties: @@ -140926,8 +141181,8 @@ x-webhooks: - color - default - description - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141010,11 +141265,11 @@ x-webhooks: type: string enum: - locked - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141096,11 +141351,11 @@ x-webhooks: type: string enum: - pinned - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141182,11 +141437,11 @@ x-webhooks: type: string enum: - reopened - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141271,16 +141526,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *888 - new_repository: *871 + new_discussion: *889 + new_repository: *872 required: - new_discussion - new_repository - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141363,10 +141618,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *888 - old_answer: *890 - organization: *870 - repository: *871 + discussion: *889 + old_answer: *891 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141448,12 +141703,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *888 - enterprise: *868 - installation: *869 - label: *891 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + label: *892 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141536,11 +141791,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141622,11 +141877,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *888 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + discussion: *889 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -141695,7 +141950,7 @@ x-webhooks: required: true content: application/json: - schema: *892 + schema: *893 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141758,7 +142013,7 @@ x-webhooks: required: true content: application/json: - schema: *893 + schema: *894 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141821,7 +142076,7 @@ x-webhooks: required: true content: application/json: - schema: *894 + schema: *895 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141884,7 +142139,7 @@ x-webhooks: required: true content: application/json: - schema: *892 + schema: *893 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141947,7 +142202,7 @@ x-webhooks: required: true content: application/json: - schema: *893 + schema: *894 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142013,7 +142268,7 @@ x-webhooks: required: true content: application/json: - schema: *894 + schema: *895 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142079,7 +142334,7 @@ x-webhooks: required: true content: application/json: - schema: *895 + schema: *896 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142145,7 +142400,7 @@ x-webhooks: required: true content: application/json: - schema: *892 + schema: *893 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142211,7 +142466,7 @@ x-webhooks: required: true content: application/json: - schema: *896 + schema: *897 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142277,7 +142532,7 @@ x-webhooks: required: true content: application/json: - schema: *893 + schema: *894 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142342,7 +142597,7 @@ x-webhooks: required: true content: application/json: - schema: *894 + schema: *895 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142407,7 +142662,7 @@ x-webhooks: required: true content: application/json: - schema: *895 + schema: *896 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142472,7 +142727,7 @@ x-webhooks: required: true content: application/json: - schema: *892 + schema: *893 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142537,7 +142792,7 @@ x-webhooks: required: true content: application/json: - schema: *896 + schema: *897 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142603,7 +142858,7 @@ x-webhooks: required: true content: application/json: - schema: *893 + schema: *894 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142670,7 +142925,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *868 + enterprise: *869 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -143330,9 +143585,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - forkee @@ -143478,9 +143733,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 pages: description: The pages that were updated. type: array @@ -143517,7 +143772,7 @@ x-webhooks: - action - sha - html_url - repository: *871 + repository: *872 sender: *4 required: - pages @@ -143593,10 +143848,10 @@ x-webhooks: type: string enum: - created - enterprise: *868 + enterprise: *869 installation: *22 - organization: *870 - repositories: &898 + organization: *871 + repositories: &899 description: An array of repository objects that the installation can access. type: array @@ -143622,8 +143877,8 @@ x-webhooks: - name - full_name - private - repository: *871 - requester: *897 + repository: *872 + requester: *898 sender: *4 required: - action @@ -143698,11 +143953,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 + enterprise: *869 installation: *22 - organization: *870 - repositories: *898 - repository: *871 + organization: *871 + repositories: *899 + repository: *872 requester: nullable: true sender: *4 @@ -143778,11 +144033,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *868 + enterprise: *869 installation: *22 - organization: *870 - repositories: *898 - repository: *871 + organization: *871 + repositories: *899 + repository: *872 requester: nullable: true sender: *4 @@ -143858,10 +144113,10 @@ x-webhooks: type: string enum: - added - enterprise: *868 + enterprise: *869 installation: *22 - organization: *870 - repositories_added: &899 + organization: *871 + repositories_added: &900 description: An array of repository objects, which were added to the installation. type: array @@ -143907,15 +144162,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *871 - repository_selection: &900 + repository: *872 + repository_selection: &901 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *897 + requester: *898 sender: *4 required: - action @@ -143994,10 +144249,10 @@ x-webhooks: type: string enum: - removed - enterprise: *868 + enterprise: *869 installation: *22 - organization: *870 - repositories_added: *899 + organization: *871 + repositories_added: *900 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -144024,9 +144279,9 @@ x-webhooks: - name - full_name - private - repository: *871 - repository_selection: *900 - requester: *897 + repository: *872 + repository_selection: *901 + requester: *898 sender: *4 required: - action @@ -144105,11 +144360,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *868 + enterprise: *869 installation: *22 - organization: *870 - repositories: *898 - repository: *871 + organization: *871 + repositories: *899 + repository: *872 requester: nullable: true sender: *4 @@ -144288,10 +144543,10 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 target_type: type: string @@ -144370,11 +144625,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *868 + enterprise: *869 installation: *22 - organization: *870 - repositories: *898 - repository: *871 + organization: *871 + repositories: *899 + repository: *872 requester: nullable: true sender: *4 @@ -144548,8 +144803,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *691 - required: *692 + properties: *692 + required: *693 nullable: true user: title: User @@ -144634,8 +144889,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145424,8 +145679,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145441,7 +145696,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -145774,8 +146029,8 @@ x-webhooks: - state - locked - assignee - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -145855,7 +146110,7 @@ x-webhooks: type: string enum: - deleted - comment: &901 + comment: &902 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -146012,8 +146267,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *691 - required: *692 + properties: *692 + required: *693 nullable: true required: - url @@ -146028,8 +146283,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146814,8 +147069,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146831,7 +147086,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -147166,8 +147421,8 @@ x-webhooks: - state - locked - assignee - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -147247,7 +147502,7 @@ x-webhooks: type: string enum: - edited - changes: &930 + changes: &931 description: The changes to the comment. type: object properties: @@ -147259,9 +147514,9 @@ x-webhooks: type: string required: - from - comment: *901 - enterprise: *868 - installation: *869 + comment: *902 + enterprise: *869 + installation: *870 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -148049,8 +148304,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148066,7 +148321,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -148399,8 +148654,8 @@ x-webhooks: - state - locked - assignee - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -148481,9 +148736,9 @@ x-webhooks: type: string enum: - pinned - comment: *901 - enterprise: *868 - installation: *869 + comment: *902 + enterprise: *869 + installation: *870 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149273,8 +149528,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149290,7 +149545,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -149625,8 +149880,8 @@ x-webhooks: - state - locked - assignee - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -149706,9 +149961,9 @@ x-webhooks: type: string enum: - unpinned - comment: *901 - enterprise: *868 - installation: *869 + comment: *902 + enterprise: *869 + installation: *870 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -150498,8 +150753,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150515,7 +150770,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -150850,8 +151105,8 @@ x-webhooks: - state - locked - assignee - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -150940,9 +151195,9 @@ x-webhooks: type: number blocking_issue: *227 blocking_issue_repo: *80 - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -151031,9 +151286,9 @@ x-webhooks: type: number blocking_issue: *227 blocking_issue_repo: *80 - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -151121,9 +151376,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *227 - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -151212,9 +151467,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *227 - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -151294,10 +151549,10 @@ x-webhooks: type: string enum: - assigned - assignee: *897 - enterprise: *868 - installation: *869 - issue: &904 + assignee: *898 + enterprise: *869 + installation: *870 + issue: &905 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -152089,11 +152344,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152109,7 +152364,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -152210,8 +152465,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -152291,8 +152546,8 @@ x-webhooks: type: string enum: - closed - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153089,11 +153344,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153109,7 +153364,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -153345,8 +153600,8 @@ x-webhooks: required: - state - closed_at - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -153425,8 +153680,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154214,11 +154469,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154234,7 +154489,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -154334,8 +154589,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -154414,8 +154669,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155225,11 +155480,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155245,7 +155500,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -155324,7 +155579,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &902 + milestone: &903 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155462,8 +155717,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -155562,8 +155817,8 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156355,11 +156610,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156372,7 +156627,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *385 + type: *386 title: description: Title of the issue type: string @@ -156476,9 +156731,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *891 - organization: *870 - repository: *871 + label: *892 + organization: *871 + repository: *872 sender: *4 required: - action @@ -156558,8 +156813,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157350,11 +157605,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157367,7 +157622,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *385 + type: *386 title: description: Title of the issue type: string @@ -157471,9 +157726,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *891 - organization: *870 - repository: *871 + label: *892 + organization: *871 + repository: *872 sender: *4 required: - action @@ -157553,8 +157808,8 @@ x-webhooks: type: string enum: - locked - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158369,11 +158624,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158386,7 +158641,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *385 + type: *386 title: description: Title of the issue type: string @@ -158467,8 +158722,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -158547,8 +158802,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159357,11 +159612,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159377,7 +159632,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -159455,9 +159710,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *902 - organization: *870 - repository: *871 + milestone: *903 + organization: *871 + repository: *872 sender: *4 required: - action @@ -160320,11 +160575,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160425,7 +160680,7 @@ x-webhooks: required: - login - id - type: *385 + type: *386 required: - id - number @@ -160905,8 +161160,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161690,11 +161945,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161710,7 +161965,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -161818,8 +162073,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -161899,9 +162154,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *868 - installation: *869 - issue: &903 + enterprise: *869 + installation: *870 + issue: &904 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -162687,11 +162942,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162707,7 +162962,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -162807,8 +163062,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -162887,8 +163142,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -163701,11 +163956,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163799,9 +164054,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *385 - organization: *870 - repository: *871 + type: *386 + organization: *871 + repository: *872 sender: *4 required: - action @@ -164670,11 +164925,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164690,7 +164945,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -165269,11 +165524,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *868 - installation: *869 - issue: *903 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + issue: *904 + organization: *871 + repository: *872 sender: *4 required: - action @@ -165353,12 +165608,12 @@ x-webhooks: type: string enum: - typed - enterprise: *868 - installation: *869 - issue: *904 - type: *385 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + issue: *905 + type: *386 + organization: *871 + repository: *872 sender: *4 required: - action @@ -165439,7 +165694,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &933 + assignee: &934 title: User type: object nullable: true @@ -165509,11 +165764,11 @@ x-webhooks: required: - login - id - enterprise: *868 - installation: *869 - issue: *904 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + issue: *905 + organization: *871 + repository: *872 sender: *4 required: - action @@ -165592,12 +165847,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *868 - installation: *869 - issue: *904 - label: *891 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + issue: *905 + label: *892 + organization: *871 + repository: *872 sender: *4 required: - action @@ -165677,8 +165932,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -166491,11 +166746,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *808 - issue_dependencies_summary: *809 + sub_issues_summary: *809 + issue_dependencies_summary: *810 issue_field_values: type: array - items: *676 + items: *677 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166511,7 +166766,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -166589,8 +166844,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -166670,11 +166925,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *868 - installation: *869 - issue: *903 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + issue: *904 + organization: *871 + repository: *872 sender: *4 required: - action @@ -166753,12 +167008,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *868 - installation: *869 - issue: *904 - type: *385 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + issue: *905 + type: *386 + organization: *871 + repository: *872 sender: *4 required: - action @@ -166838,11 +167093,11 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - label: *891 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + label: *892 + organization: *871 + repository: *872 sender: *4 required: - action @@ -166920,11 +167175,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - label: *891 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + label: *892 + organization: *871 + repository: *872 sender: *4 required: - action @@ -167034,11 +167289,11 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 - label: *891 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + label: *892 + organization: *871 + repository: *872 sender: *4 required: - action @@ -167120,9 +167375,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *868 - installation: *869 - marketplace_purchase: &905 + enterprise: *869 + installation: *870 + marketplace_purchase: &906 title: Marketplace Purchase type: object required: @@ -167205,8 +167460,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *870 - previous_marketplace_purchase: &906 + organization: *871 + previous_marketplace_purchase: &907 title: Marketplace Purchase type: object properties: @@ -167286,7 +167541,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *871 + repository: *872 sender: *4 required: - action @@ -167366,10 +167621,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *868 - installation: *869 - marketplace_purchase: *905 - organization: *870 + enterprise: *869 + installation: *870 + marketplace_purchase: *906 + organization: *871 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -167452,7 +167707,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *871 + repository: *872 sender: *4 required: - action @@ -167534,10 +167789,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *868 - installation: *869 - marketplace_purchase: *905 - organization: *870 + enterprise: *869 + installation: *870 + marketplace_purchase: *906 + organization: *871 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -167619,7 +167874,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *871 + repository: *872 sender: *4 required: - action @@ -167700,8 +167955,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 marketplace_purchase: title: Marketplace Purchase type: object @@ -167783,9 +168038,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *870 - previous_marketplace_purchase: *906 - repository: *871 + organization: *871 + previous_marketplace_purchase: *907 + repository: *872 sender: *4 required: - action @@ -167865,12 +168120,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *868 - installation: *869 - marketplace_purchase: *905 - organization: *870 - previous_marketplace_purchase: *906 - repository: *871 + enterprise: *869 + installation: *870 + marketplace_purchase: *906 + organization: *871 + previous_marketplace_purchase: *907 + repository: *872 sender: *4 required: - action @@ -167972,11 +168227,11 @@ x-webhooks: type: string required: - to - enterprise: *868 - installation: *869 - member: *897 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + member: *898 + organization: *871 + repository: *872 sender: *4 required: - action @@ -168076,11 +168331,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *868 - installation: *869 - member: *897 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + member: *898 + organization: *871 + repository: *872 sender: *4 required: - action @@ -168159,11 +168414,11 @@ x-webhooks: type: string enum: - removed - enterprise: *868 - installation: *869 - member: *897 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + member: *898 + organization: *871 + repository: *872 sender: *4 required: - action @@ -168241,11 +168496,11 @@ x-webhooks: type: string enum: - added - enterprise: *868 - installation: *869 - member: *897 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + member: *898 + organization: *871 + repository: *872 scope: description: The scope of the membership. Currently, can only be `team`. @@ -168321,7 +168576,7 @@ x-webhooks: required: - login - id - team: &907 + team: &908 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -168544,11 +168799,11 @@ x-webhooks: type: string enum: - removed - enterprise: *868 - installation: *869 - member: *897 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + member: *898 + organization: *871 + repository: *872 scope: description: The scope of the membership. Currently, can only be `team`. @@ -168625,7 +168880,7 @@ x-webhooks: required: - login - id - team: *907 + team: *908 required: - action - scope @@ -168707,8 +168962,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *869 - merge_group: &909 + installation: *870 + merge_group: &910 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -168727,15 +168982,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *908 + head_commit: *909 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -168821,10 +169076,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *869 - merge_group: *909 - organization: *870 - repository: *871 + installation: *870 + merge_group: *910 + organization: *871 + repository: *872 sender: *4 required: - action @@ -168897,7 +169152,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 + enterprise: *869 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -169006,16 +169261,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *869 - organization: *870 + installation: *870 + organization: *871 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *910 - required: *911 + properties: *911 + required: *912 nullable: true sender: *4 required: @@ -169096,11 +169351,11 @@ x-webhooks: type: string enum: - closed - enterprise: *868 - installation: *869 - milestone: *902 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + milestone: *903 + organization: *871 + repository: *872 sender: *4 required: - action @@ -169179,9 +169434,9 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - milestone: &912 + enterprise: *869 + installation: *870 + milestone: &913 title: Milestone description: A collection of related issues and pull requests. type: object @@ -169318,8 +169573,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -169398,11 +169653,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - milestone: *902 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + milestone: *903 + organization: *871 + repository: *872 sender: *4 required: - action @@ -169512,11 +169767,11 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 - milestone: *902 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + milestone: *903 + organization: *871 + repository: *872 sender: *4 required: - action @@ -169596,11 +169851,11 @@ x-webhooks: type: string enum: - opened - enterprise: *868 - installation: *869 - milestone: *912 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + milestone: *913 + organization: *871 + repository: *872 sender: *4 required: - action @@ -169679,11 +169934,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *897 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + blocked_user: *898 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -169762,11 +170017,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *897 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + blocked_user: *898 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -169842,7 +170097,7 @@ x-webhooks: enum: - created definition: *153 - enterprise: *868 + enterprise: *869 sender: *4 required: - action @@ -169922,8 +170177,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 sender: *4 required: - action @@ -169996,8 +170251,8 @@ x-webhooks: enum: - updated definition: *153 - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 sender: *4 required: - action @@ -170069,9 +170324,9 @@ x-webhooks: type: string enum: - updated - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 sender: *4 new_property_values: type: array @@ -170159,9 +170414,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - membership: &913 + enterprise: *869 + installation: *870 + membership: &914 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -170268,8 +170523,8 @@ x-webhooks: - role - organization_url - user - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 required: - action @@ -170347,11 +170602,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *868 - installation: *869 - membership: *913 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + membership: *914 + organization: *871 + repository: *872 sender: *4 required: - action @@ -170430,8 +170685,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -170547,10 +170802,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 - user: *897 + user: *898 required: - action - invitation @@ -170628,11 +170883,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *868 - installation: *869 - membership: *913 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + membership: *914 + organization: *871 + repository: *872 sender: *4 required: - action @@ -170719,11 +170974,11 @@ x-webhooks: properties: from: type: string - enterprise: *868 - installation: *869 - membership: *913 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + membership: *914 + organization: *871 + repository: *872 sender: *4 required: - action @@ -170801,9 +171056,9 @@ x-webhooks: type: string enum: - published - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 package: description: Information about the package. type: object @@ -171302,7 +171557,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &914 + items: &915 title: Ruby Gems metadata type: object properties: @@ -171397,7 +171652,7 @@ x-webhooks: - owner - package_version - registry - repository: *871 + repository: *872 sender: *4 required: - action @@ -171474,9 +171729,9 @@ x-webhooks: type: string enum: - updated - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 package: description: Information about the package. type: object @@ -171829,7 +172084,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *914 + items: *915 source_url: type: string format: uri @@ -171899,7 +172154,7 @@ x-webhooks: - owner - package_version - registry - repository: *871 + repository: *872 sender: *4 required: - action @@ -172075,12 +172330,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *868 + enterprise: *869 id: type: integer - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - id @@ -172157,7 +172412,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &915 + personal_access_token_request: &916 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -172303,10 +172558,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *868 - organization: *870 + enterprise: *869 + organization: *871 sender: *4 - installation: *869 + installation: *870 required: - action - personal_access_token_request @@ -172383,11 +172638,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *915 - enterprise: *868 - organization: *870 + personal_access_token_request: *916 + enterprise: *869 + organization: *871 sender: *4 - installation: *869 + installation: *870 required: - action - personal_access_token_request @@ -172463,11 +172718,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *915 - enterprise: *868 - organization: *870 + personal_access_token_request: *916 + enterprise: *869 + organization: *871 sender: *4 - installation: *869 + installation: *870 required: - action - personal_access_token_request @@ -172542,11 +172797,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *915 - organization: *870 - enterprise: *868 + personal_access_token_request: *916 + organization: *871 + enterprise: *869 sender: *4 - installation: *869 + installation: *870 required: - action - personal_access_token_request @@ -172651,7 +172906,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *916 + last_response: *917 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -172683,8 +172938,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 zen: description: Random string of GitHub zen. @@ -172929,10 +173184,10 @@ x-webhooks: - from required: - note - enterprise: *868 - installation: *869 - organization: *870 - project_card: &917 + enterprise: *869 + installation: *870 + organization: *871 + project_card: &918 title: Project Card type: object properties: @@ -173051,7 +173306,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *871 + repository: *872 sender: *4 required: - action @@ -173132,11 +173387,11 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - project_card: *917 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + project_card: *918 + repository: *872 sender: *4 required: - action @@ -173216,9 +173471,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 project_card: title: Project Card type: object @@ -173346,8 +173601,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *910 - required: *911 + properties: *911 + required: *912 nullable: true sender: *4 required: @@ -173441,11 +173696,11 @@ x-webhooks: - from required: - note - enterprise: *868 - installation: *869 - organization: *870 - project_card: *917 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + project_card: *918 + repository: *872 sender: *4 required: - action @@ -173539,9 +173794,9 @@ x-webhooks: - from required: - column_id - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 project_card: allOf: - title: Project Card @@ -173731,7 +173986,7 @@ x-webhooks: type: string required: - after_id - repository: *871 + repository: *872 sender: *4 required: - action @@ -173811,10 +174066,10 @@ x-webhooks: type: string enum: - closed - enterprise: *868 - installation: *869 - organization: *870 - project: &919 + enterprise: *869 + installation: *870 + organization: *871 + project: &920 title: Project type: object properties: @@ -173938,7 +174193,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *871 + repository: *872 sender: *4 required: - action @@ -174018,10 +174273,10 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - project_column: &918 + enterprise: *869 + installation: *870 + organization: *871 + project_column: &919 title: Project Column type: object properties: @@ -174060,7 +174315,7 @@ x-webhooks: - name - created_at - updated_at - repository: *871 + repository: *872 sender: *4 required: - action @@ -174139,18 +174394,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 - project_column: *918 + enterprise: *869 + installation: *870 + organization: *871 + project_column: *919 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *910 - required: *911 + properties: *911 + required: *912 nullable: true sender: *4 required: @@ -174240,11 +174495,11 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 - organization: *870 - project_column: *918 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + project_column: *919 + repository: *872 sender: *4 required: - action @@ -174324,11 +174579,11 @@ x-webhooks: type: string enum: - moved - enterprise: *868 - installation: *869 - organization: *870 - project_column: *918 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + project_column: *919 + repository: *872 sender: *4 required: - action @@ -174408,11 +174663,11 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - project: *919 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + project: *920 + repository: *872 sender: *4 required: - action @@ -174492,18 +174747,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 - project: *919 + enterprise: *869 + installation: *870 + organization: *871 + project: *920 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *910 - required: *911 + properties: *911 + required: *912 nullable: true sender: *4 required: @@ -174605,11 +174860,11 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 - organization: *870 - project: *919 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + project: *920 + repository: *872 sender: *4 required: - action @@ -174688,11 +174943,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *868 - installation: *869 - organization: *870 - project: *919 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + project: *920 + repository: *872 sender: *4 required: - action @@ -174773,9 +175028,9 @@ x-webhooks: type: string enum: - closed - installation: *869 - organization: *870 - projects_v2: *417 + installation: *870 + organization: *871 + projects_v2: *418 sender: *4 required: - action @@ -174856,9 +175111,9 @@ x-webhooks: type: string enum: - created - installation: *869 - organization: *870 - projects_v2: *417 + installation: *870 + organization: *871 + projects_v2: *418 sender: *4 required: - action @@ -174939,9 +175194,9 @@ x-webhooks: type: string enum: - deleted - installation: *869 - organization: *870 - projects_v2: *417 + installation: *870 + organization: *871 + projects_v2: *418 sender: *4 required: - action @@ -175058,9 +175313,9 @@ x-webhooks: type: string to: type: string - installation: *869 - organization: *870 - projects_v2: *417 + installation: *870 + organization: *871 + projects_v2: *418 sender: *4 required: - action @@ -175143,7 +175398,7 @@ x-webhooks: type: string enum: - archived - changes: &923 + changes: &924 type: object properties: archived_at: @@ -175157,9 +175412,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *869 - organization: *870 - projects_v2_item: &920 + installation: *870 + organization: *871 + projects_v2_item: &921 title: Projects v2 Item description: An item belonging to a project type: object @@ -175177,7 +175432,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *424 + content_type: *425 creator: *4 created_at: type: string @@ -175294,9 +175549,9 @@ x-webhooks: nullable: true to: type: string - installation: *869 - organization: *870 - projects_v2_item: *920 + installation: *870 + organization: *871 + projects_v2_item: *921 sender: *4 required: - action @@ -175378,9 +175633,9 @@ x-webhooks: type: string enum: - created - installation: *869 - organization: *870 - projects_v2_item: *920 + installation: *870 + organization: *871 + projects_v2_item: *921 sender: *4 required: - action @@ -175461,9 +175716,9 @@ x-webhooks: type: string enum: - deleted - installation: *869 - organization: *870 - projects_v2_item: *920 + installation: *870 + organization: *871 + projects_v2_item: *921 sender: *4 required: - action @@ -175569,7 +175824,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &921 + - &922 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -175591,7 +175846,7 @@ x-webhooks: required: - id - name - - &922 + - &923 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -175625,8 +175880,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *921 - *922 + - *923 required: - field_value - type: object @@ -175642,9 +175897,9 @@ x-webhooks: nullable: true required: - body - installation: *869 - organization: *870 - projects_v2_item: *920 + installation: *870 + organization: *871 + projects_v2_item: *921 sender: *4 required: - action @@ -175739,9 +175994,9 @@ x-webhooks: to: type: string nullable: true - installation: *869 - organization: *870 - projects_v2_item: *920 + installation: *870 + organization: *871 + projects_v2_item: *921 sender: *4 required: - action @@ -175824,10 +176079,10 @@ x-webhooks: type: string enum: - restored - changes: *923 - installation: *869 - organization: *870 - projects_v2_item: *920 + changes: *924 + installation: *870 + organization: *871 + projects_v2_item: *921 sender: *4 required: - action @@ -175909,9 +176164,9 @@ x-webhooks: type: string enum: - reopened - installation: *869 - organization: *870 - projects_v2: *417 + installation: *870 + organization: *871 + projects_v2: *418 sender: *4 required: - action @@ -175992,14 +176247,14 @@ x-webhooks: type: string enum: - created - installation: *869 - organization: *870 - projects_v2_status_update: &926 + installation: *870 + organization: *871 + projects_v2_status_update: &927 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *924 - required: *925 + properties: *925 + required: *926 sender: *4 required: - action @@ -176080,9 +176335,9 @@ x-webhooks: type: string enum: - deleted - installation: *869 - organization: *870 - projects_v2_status_update: *926 + installation: *870 + organization: *871 + projects_v2_status_update: *927 sender: *4 required: - action @@ -176218,9 +176473,9 @@ x-webhooks: type: string format: date nullable: true - installation: *869 - organization: *870 - projects_v2_status_update: *926 + installation: *870 + organization: *871 + projects_v2_status_update: *927 sender: *4 required: - action @@ -176291,10 +176546,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - repository @@ -176371,13 +176626,13 @@ x-webhooks: type: string enum: - assigned - assignee: *897 - enterprise: *868 - installation: *869 - number: &927 + assignee: *898 + enterprise: *869 + installation: *870 + number: &928 description: The pull request number. type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -178682,7 +178937,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -178764,11 +179019,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 number: type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -181068,7 +181323,7 @@ x-webhooks: - draft reason: type: string - repository: *871 + repository: *872 sender: *4 required: - action @@ -181150,11 +181405,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 number: type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -183454,7 +183709,7 @@ x-webhooks: - draft reason: type: string - repository: *871 + repository: *872 sender: *4 required: - action @@ -183536,13 +183791,13 @@ x-webhooks: type: string enum: - closed - enterprise: *868 - installation: *869 - number: *927 - organization: *870 - pull_request: &928 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 + pull_request: &929 allOf: - - *716 + - *717 - type: object properties: allow_auto_merge: @@ -183604,7 +183859,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *871 + repository: *872 sender: *4 required: - action @@ -183685,12 +183940,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *868 - installation: *869 - number: *927 - organization: *870 - pull_request: *928 - repository: *871 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 + pull_request: *929 + repository: *872 sender: *4 required: - action @@ -183770,11 +184025,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *868 - milestone: *698 - number: *927 - organization: *870 - pull_request: &929 + enterprise: *869 + milestone: *699 + number: *928 + organization: *871 + pull_request: &930 title: Pull Request type: object properties: @@ -186059,7 +186314,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -186138,11 +186393,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 number: type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -188446,7 +188701,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *871 + repository: *872 sender: *4 required: - action @@ -188570,12 +188825,12 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 - number: *927 - organization: *870 - pull_request: *928 - repository: *871 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 + pull_request: *929 + repository: *872 sender: *4 required: - action @@ -188655,11 +188910,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 number: type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -190948,7 +191203,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -191028,11 +191283,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *868 - installation: *869 - label: *891 - number: *927 - organization: *870 + enterprise: *869 + installation: *870 + label: *892 + number: *928 + organization: *871 pull_request: title: Pull Request type: object @@ -193336,7 +193591,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -193417,10 +193672,10 @@ x-webhooks: type: string enum: - locked - enterprise: *868 - installation: *869 - number: *927 - organization: *870 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 pull_request: title: Pull Request type: object @@ -195722,7 +195977,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -195802,12 +196057,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *868 - milestone: *698 - number: *927 - organization: *870 - pull_request: *929 - repository: *871 + enterprise: *869 + milestone: *699 + number: *928 + organization: *871 + pull_request: *930 + repository: *872 sender: *4 required: - action @@ -195886,12 +196141,12 @@ x-webhooks: type: string enum: - opened - enterprise: *868 - installation: *869 - number: *927 - organization: *870 - pull_request: *928 - repository: *871 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 + pull_request: *929 + repository: *872 sender: *4 required: - action @@ -195972,12 +196227,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *868 - installation: *869 - number: *927 - organization: *870 - pull_request: *928 - repository: *871 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 + pull_request: *929 + repository: *872 sender: *4 required: - action @@ -196057,12 +196312,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *868 - installation: *869 - number: *927 - organization: *870 - pull_request: *928 - repository: *871 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 + pull_request: *929 + repository: *872 sender: *4 required: - action @@ -196428,9 +196683,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 pull_request: type: object properties: @@ -198622,7 +198877,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *871 + repository: *872 sender: *4 required: - action @@ -198702,7 +198957,7 @@ x-webhooks: type: string enum: - deleted - comment: &931 + comment: &932 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. @@ -198987,9 +199242,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 pull_request: type: object properties: @@ -201169,7 +201424,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *871 + repository: *872 sender: *4 required: - action @@ -201249,11 +201504,11 @@ x-webhooks: type: string enum: - edited - changes: *930 - comment: *931 - enterprise: *868 - installation: *869 - organization: *870 + changes: *931 + comment: *932 + enterprise: *869 + installation: *870 + organization: *871 pull_request: type: object properties: @@ -203436,7 +203691,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *871 + repository: *872 sender: *4 required: - action @@ -203517,9 +203772,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 pull_request: title: Simple Pull Request type: object @@ -205714,7 +205969,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *871 + repository: *872 review: description: The review that was affected. type: object @@ -205961,9 +206216,9 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 pull_request: title: Simple Pull Request type: object @@ -208017,8 +208272,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *871 - review: &932 + repository: *872 + review: &933 description: The review that was affected. type: object properties: @@ -208251,12 +208506,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 number: description: The pull request number. type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -210561,7 +210816,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 requested_reviewer: title: User type: object @@ -210645,12 +210900,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 number: description: The pull request number. type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -212962,7 +213217,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213154,12 +213409,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 number: description: The pull request number. type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -215466,7 +215721,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 requested_reviewer: title: User type: object @@ -215551,12 +215806,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *868 - installation: *869 + enterprise: *869 + installation: *870 number: description: The pull request number. type: integer - organization: *870 + organization: *871 pull_request: title: Pull Request type: object @@ -217854,7 +218109,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 requested_team: title: Team description: Groups of organization members that gives permissions @@ -218035,9 +218290,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 pull_request: title: Simple Pull Request type: object @@ -220234,8 +220489,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *871 - review: *932 + repository: *872 + review: *933 sender: *4 required: - action @@ -220315,9 +220570,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 pull_request: title: Simple Pull Request type: object @@ -222409,7 +222664,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *871 + repository: *872 sender: *4 thread: type: object @@ -222796,9 +223051,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 pull_request: title: Simple Pull Request type: object @@ -224876,7 +225131,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *871 + repository: *872 sender: *4 thread: type: object @@ -225266,10 +225521,10 @@ x-webhooks: type: string before: type: string - enterprise: *868 - installation: *869 - number: *927 - organization: *870 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 pull_request: title: Pull Request type: object @@ -227562,7 +227817,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -227644,11 +227899,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *933 - enterprise: *868 - installation: *869 - number: *927 - organization: *870 + assignee: *934 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 pull_request: title: Pull Request type: object @@ -229953,7 +230208,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -230032,11 +230287,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *868 - installation: *869 - label: *891 - number: *927 - organization: *870 + enterprise: *869 + installation: *870 + label: *892 + number: *928 + organization: *871 pull_request: title: Pull Request type: object @@ -232331,7 +232586,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -232412,10 +232667,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *868 - installation: *869 - number: *927 - organization: *870 + enterprise: *869 + installation: *870 + number: *928 + organization: *871 pull_request: title: Pull Request type: object @@ -234702,7 +234957,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *871 + repository: *872 sender: *4 required: - action @@ -234902,7 +235157,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *868 + enterprise: *869 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -234994,8 +235249,8 @@ x-webhooks: - url - author - committer - installation: *869 - organization: *870 + installation: *870 + organization: *871 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -235581,9 +235836,9 @@ x-webhooks: type: string enum: - published - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 registry_package: type: object properties: @@ -236029,7 +236284,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *914 + items: *915 summary: type: string tag_name: @@ -236083,7 +236338,7 @@ x-webhooks: - owner - package_version - registry - repository: *871 + repository: *872 sender: *4 required: - action @@ -236161,9 +236416,9 @@ x-webhooks: type: string enum: - updated - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 registry_package: type: object properties: @@ -236471,7 +236726,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *914 + items: *915 summary: type: string tag_name: @@ -236520,7 +236775,7 @@ x-webhooks: - owner - package_version - registry - repository: *871 + repository: *872 sender: *4 required: - action @@ -236597,10 +236852,10 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - release: &934 + enterprise: *869 + installation: *870 + organization: *871 + release: &935 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -236918,7 +237173,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *871 + repository: *872 sender: *4 required: - action @@ -236995,11 +237250,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 - release: *934 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + release: *935 + repository: *872 sender: *4 required: - action @@ -237116,11 +237371,11 @@ x-webhooks: type: boolean required: - to - enterprise: *868 - installation: *869 - organization: *870 - release: *934 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + release: *935 + repository: *872 sender: *4 required: - action @@ -237198,9 +237453,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -237522,7 +237777,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *871 + repository: *872 sender: *4 required: - action @@ -237598,10 +237853,10 @@ x-webhooks: type: string enum: - published - enterprise: *868 - installation: *869 - organization: *870 - release: &935 + enterprise: *869 + installation: *870 + organization: *871 + release: &936 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -237920,7 +238175,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *871 + repository: *872 sender: *4 required: - action @@ -237996,11 +238251,11 @@ x-webhooks: type: string enum: - released - enterprise: *868 - installation: *869 - organization: *870 - release: *934 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + release: *935 + repository: *872 sender: *4 required: - action @@ -238076,11 +238331,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *868 - installation: *869 - organization: *870 - release: *935 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + release: *936 + repository: *872 sender: *4 required: - action @@ -238156,11 +238411,11 @@ x-webhooks: type: string enum: - published - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - repository_advisory: *768 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + repository_advisory: *769 sender: *4 required: - action @@ -238236,11 +238491,11 @@ x-webhooks: type: string enum: - reported - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - repository_advisory: *768 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + repository_advisory: *769 sender: *4 required: - action @@ -238316,10 +238571,10 @@ x-webhooks: type: string enum: - archived - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -238396,10 +238651,10 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -238477,10 +238732,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -238564,10 +238819,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -238679,10 +238934,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -238754,10 +239009,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 status: type: string @@ -238838,10 +239093,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -238918,10 +239173,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -239015,10 +239270,10 @@ x-webhooks: - name required: - repository - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -239098,10 +239353,10 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 repository_ruleset: *193 sender: *4 required: @@ -239180,10 +239435,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 repository_ruleset: *193 sender: *4 required: @@ -239262,10 +239517,10 @@ x-webhooks: type: string enum: - edited - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 repository_ruleset: *193 changes: type: object @@ -239327,16 +239582,16 @@ x-webhooks: properties: added: type: array - items: *736 + items: *737 deleted: type: array - items: *736 + items: *737 updated: type: array items: type: object properties: - rule: *736 + rule: *737 changes: type: object properties: @@ -239570,10 +239825,10 @@ x-webhooks: - from required: - owner - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -239651,10 +239906,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -239732,7 +239987,7 @@ x-webhooks: type: string enum: - create - alert: &936 + alert: &937 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -239854,10 +240109,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -240063,10 +240318,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -240144,11 +240399,11 @@ x-webhooks: type: string enum: - reopen - alert: *936 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + alert: *937 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -240347,10 +240602,10 @@ x-webhooks: enum: - fixed - open - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -240428,7 +240683,7 @@ x-webhooks: type: string enum: - assigned - alert: &937 + alert: &938 type: object properties: number: *130 @@ -240547,10 +240802,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -240628,11 +240883,11 @@ x-webhooks: type: string enum: - created - alert: *937 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + alert: *938 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -240713,11 +240968,11 @@ x-webhooks: type: string enum: - created - alert: *937 - installation: *869 - location: *938 - organization: *870 - repository: *871 + alert: *938 + installation: *870 + location: *939 + organization: *871 + repository: *872 sender: *4 required: - location @@ -240955,11 +241210,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *937 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + alert: *938 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -241037,11 +241292,11 @@ x-webhooks: type: string enum: - reopened - alert: *937 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + alert: *938 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -241119,11 +241374,11 @@ x-webhooks: type: string enum: - resolved - alert: *937 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + alert: *938 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -241201,12 +241456,12 @@ x-webhooks: type: string enum: - unassigned - alert: *937 + alert: *938 assignee: *4 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -241284,11 +241539,11 @@ x-webhooks: type: string enum: - validated - alert: *937 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + alert: *938 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -241414,10 +241669,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *871 - enterprise: *868 - installation: *869 - organization: *870 + repository: *872 + enterprise: *869 + installation: *870 + organization: *871 sender: *4 required: - action @@ -241495,11 +241750,11 @@ x-webhooks: type: string enum: - published - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - security_advisory: &939 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + security_advisory: &940 description: The details of the security advisory, including summary, description, and severity. type: object @@ -241682,11 +241937,11 @@ x-webhooks: type: string enum: - updated - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 - security_advisory: *939 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 + security_advisory: *940 sender: *4 required: - action @@ -241759,10 +242014,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -241946,11 +242201,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *434 - enterprise: *868 - installation: *869 - organization: *870 - repository: *477 + security_and_analysis: *435 + enterprise: *869 + installation: *870 + organization: *871 + repository: *478 sender: *4 required: - changes @@ -242028,12 +242283,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - sponsorship: &940 + sponsorship: &941 type: object properties: created_at: @@ -242334,12 +242589,12 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - sponsorship: *940 + sponsorship: *941 required: - action - sponsorship @@ -242427,12 +242682,12 @@ x-webhooks: type: string required: - from - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - sponsorship: *940 + sponsorship: *941 required: - action - changes @@ -242509,17 +242764,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &941 + effective_date: &942 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: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - sponsorship: *940 + sponsorship: *941 required: - action - sponsorship @@ -242593,7 +242848,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &942 + changes: &943 type: object properties: tier: @@ -242637,13 +242892,13 @@ x-webhooks: - from required: - tier - effective_date: *941 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + effective_date: *942 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - sponsorship: *940 + sponsorship: *941 required: - action - changes @@ -242720,13 +242975,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *942 - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + changes: *943 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - sponsorship: *940 + sponsorship: *941 required: - action - changes @@ -242800,10 +243055,10 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242886,10 +243141,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243309,15 +243564,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *868 + enterprise: *869 id: description: The unique identifier of the status. type: integer - installation: *869 + installation: *870 name: type: string - organization: *870 - repository: *871 + organization: *871 + repository: *872 sender: *4 sha: description: The Commit SHA. @@ -243432,9 +243687,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *227 - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -243524,9 +243779,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *227 - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -243616,9 +243871,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *227 - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -243708,9 +243963,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *227 - installation: *869 - organization: *870 - repository: *871 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -243787,12 +244042,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 - team: &943 + team: &944 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -244015,9 +244270,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 repository: title: Repository description: A git repository @@ -244475,7 +244730,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *943 + team: *944 required: - action - team @@ -244551,9 +244806,9 @@ x-webhooks: type: string enum: - created - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 repository: title: Repository description: A git repository @@ -245011,7 +245266,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *943 + team: *944 required: - action - team @@ -245088,9 +245343,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 repository: title: Repository description: A git repository @@ -245548,7 +245803,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *943 + team: *944 required: - action - team @@ -245692,9 +245947,9 @@ x-webhooks: - from required: - permissions - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 repository: title: Repository description: A git repository @@ -246152,7 +246407,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *943 + team: *944 required: - action - changes @@ -246230,9 +246485,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *868 - installation: *869 - organization: *870 + enterprise: *869 + installation: *870 + organization: *871 repository: title: Repository description: A git repository @@ -246690,7 +246945,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *943 + team: *944 required: - action - team @@ -246766,10 +247021,10 @@ x-webhooks: type: string enum: - started - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 required: - action @@ -246842,16 +247097,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *868 + enterprise: *869 inputs: type: object nullable: true additionalProperties: true - installation: *869 - organization: *870 + installation: *870 + organization: *871 ref: type: string - repository: *871 + repository: *872 sender: *4 workflow: type: string @@ -246933,10 +247188,10 @@ x-webhooks: type: string enum: - completed - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 workflow_job: allOf: @@ -247173,7 +247428,7 @@ x-webhooks: type: string required: - conclusion - deployment: *616 + deployment: *617 required: - action - repository @@ -247252,10 +247507,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 workflow_job: allOf: @@ -247515,7 +247770,7 @@ x-webhooks: required: - status - steps - deployment: *616 + deployment: *617 required: - action - repository @@ -247594,10 +247849,10 @@ x-webhooks: type: string enum: - queued - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 workflow_job: type: object @@ -247732,7 +247987,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *616 + deployment: *617 required: - action - repository @@ -247811,10 +248066,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *868 - installation: *869 - organization: *870 - repository: *871 + enterprise: *869 + installation: *870 + organization: *871 + repository: *872 sender: *4 workflow_job: type: object @@ -247950,7 +248205,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *616 + deployment: *617 required: - action - repository @@ -248030,12 +248285,12 @@ x-webhooks: type: string {"code":"deadline_exceeded","msg":"operation timed out"}